perf script: Filter COMM/FORK/.. events by CPU
authorAndi Kleen <ak@linux.intel.com>
Mon, 11 Mar 2019 14:44:52 +0000 (07:44 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 19:13:05 +0000 (16:13 -0300)
commite87e548126cdc66fd4f194b38b59f351b6e5d3e8
tree7704e4781f9d4e003260a9d79f69f68d4a587f4f
parent2fb71043e8894ca78258f7458a2db2eb3a142a22
perf script: Filter COMM/FORK/.. events by CPU

The --cpu option only filtered samples. Filter other perf events, such
as COMM, FORK, SWITCH by the CPU too.

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