]> git.baikalelectronics.ru Git - kernel.git/commit
perf mem: Allow all record/report options
authorAndi Kleen <ak@linux.intel.com>
Fri, 6 Apr 2018 20:38:09 +0000 (13:38 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Apr 2018 18:35:48 +0000 (15:35 -0300)
commite3a833dbbb7880f48ad84ddb834b1c3e5cd98859
tree763cdf182e296fdb11f9e781a3b9d56669a202dd
parenta5fc1e57eeb50a08ccc9ebcd11a0bc6679be40a1
perf mem: Allow all record/report options

For perf mem report / perf mem record, pass all unknown options
through to the underlying report/record commands. This makes things
like

perf mem record -a sleep 1

work. Matches how c2c and other tools work.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20180406203812.3087-2-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-mem.txt
tools/perf/builtin-mem.c