]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Fix CPU filtering of a script's switch events
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 15 Dec 2021 08:06:35 +0000 (10:06 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Dec 2021 20:26:25 +0000 (17:26 -0300)
commita23fe6f44da016a7fae3683a89fd4af18152e394
treed9aae5a58c274761cabc8591447ee207039ae6c9
parentbdef39baab2e1924ed639d7e8c1f3b10a6c7d4ca
perf script: Fix CPU filtering of a script's switch events

CPU filtering was not being applied to a script's switch events.

Fixes: 1da6811251430c7a ("perf script: Add scripting operation process_switch()")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Riccardo Mancini <rickyman7@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20211215080636.149562-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c