perf record: make the record options available outside perf record
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 10 Nov 2010 14:11:30 +0000 (08:11 -0600)
committerTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 10 Nov 2010 14:11:30 +0000 (08:11 -0600)
commitbca647aac5067fec8dfcbf8ddb79a4c0d5afdfdd
tree20f3ed168646ae3519b47dcf91794570fb6975f2
parentb0b6d914e2b7e0a736635515e87be718050c17c8
perf record: make the record options available outside perf record

Other perf commands that invoke perf record, such as perf trace, may
want to reuse the options used by perf record.

This makes them non-static and renames them to avoid clashes with
other 'options' variables.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
tools/perf/builtin-record.c