perf record: Support direct --user-regs arguments
authorAndi Kleen <ak@linux.intel.com>
Tue, 5 Sep 2017 17:00:28 +0000 (10:00 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Sep 2017 12:49:14 +0000 (09:49 -0300)
commit84c417422798c897f637b0249f64a52807b4a61b
treee68d787314c8837fd7b0bf5b44c2c752813102a7
parentb90f1333ef08d2a497ae239798868b046f4e3a97
perf record: Support direct --user-regs arguments

USER_REGS can currently only collected implicitely with call graph
recording. Sometimes it is useful to see them separately, and filter
them. Add a new --user-regs option to record that is similar to
--intr-regs, but acts on user regs.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170905170029.19722-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/perf.h
tools/perf/util/evsel.c