diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-01-03 11:54:30 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-01-03 11:54:30 -0300 |
commit | 65f8d08cf838df3c3d728cdef908090237931496 (patch) | |
tree | f4902ce189fc0304527eaf2ad29da2e88c2e9a6d /tools/perf/builtin-script.c | |
parent | af2b24f228a0373ac65eb7a502e0bc31e2c0269d (diff) | |
parent | c9e6606c7fe92b50a02ce51dda82586ebdf99b48 (diff) | |
download | linux-stable-65f8d08cf838df3c3d728cdef908090237931496.tar.gz linux-stable-65f8d08cf838df3c3d728cdef908090237931496.tar.bz2 linux-stable-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) |