Re: [PATCH v5 03/15] perf tools script: Filter COMM/FORK/.. events by CPU

2019-03-11 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 09:56:16PM -0800, Andi Kleen wrote: > From: Andi Kleen > > The --cpu option only filtered samples. Filter other perf events, > such as COMM, FORK, SWITCH by the CPU too. > > Reported-by: Jiri Olsa > Signed-off-by: Andi Kleen > > --- > v2: Only filter printf output > --

[PATCH v5 03/15] perf tools script: Filter COMM/FORK/.. events by CPU

2019-03-08 Thread Andi Kleen
From: Andi Kleen The --cpu option only filtered samples. Filter other perf events, such as COMM, FORK, SWITCH by the CPU too. Reported-by: Jiri Olsa Signed-off-by: Andi Kleen --- v2: Only filter printf output --- tools/perf/builtin-script.c | 62 +++-- 1 file