]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit933ef6fd34caca99f0e161e053eba9d9a3f6b62b
tree20f3ed168646ae3519b47dcf91794570fb6975f2
parent67d88edf78283a7538359e9c0a49ea3c2e02ce47
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