diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-01-03 15:54:30 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-01-03 15:54:30 +0100 |
commit | 65f8d08cf838df3c3d728cdef908090237931496 (patch) | |
tree | f4902ce189fc0304527eaf2ad29da2e88c2e9a6d /tools/perf/builtin-script.c | |
parent | perf powerpc: Add data source encodings for power10 platform (diff) | |
parent | Linux 5.16-rc8 (diff) | |
download | linux-65f8d08cf838df3c3d728cdef908090237931496.tar.xz linux-65f8d08cf838df3c3d728cdef908090237931496.zip |
Merge remote-tracking branch 'torvalds/master' into perf/core
To pick up fixes.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index d308adfd1176..c9b3002ec254 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -2475,7 +2475,7 @@ static int process_switch_event(struct perf_tool *tool, if (perf_event__process_switch(tool, event, sample, machine) < 0) return -1; - if (scripting_ops && scripting_ops->process_switch) + if (scripting_ops && scripting_ops->process_switch && !filter_cpu(sample)) scripting_ops->process_switch(event, sample, machine); if (!script->show_switch_events) |