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)
commita7e9eab3dbd35268c16244557a4155a2d9a641c3
tree763cdf182e296fdb11f9e781a3b9d56669a202dd
parent4e5c01a7c746130033eb6e7153b346b8ca61e7a5
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