aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-07-19 03:05:13 +0000
committerNamhyung Kim <[email protected]>2025-07-24 20:41:35 +0000
commite9387ba56918eb3c16aab3e6f0155a7251e339ec (patch)
tree99b3c15d06dee0bb718dc4b4e58bcd930481b9ac /tools/perf/util/scripting-engines/trace-event-python.c
parentperf parse-events: Minor __add_event refactoring (diff)
downloadkernel-e9387ba56918eb3c16aab3e6f0155a7251e339ec.tar.gz
kernel-e9387ba56918eb3c16aab3e6f0155a7251e339ec.zip
perf evsel: Add evsel__open_per_cpu_and_thread
Add evsel__open_per_cpu_and_thread that combines the operation of evsel__open_per_cpu and evsel__open_per_thread so that an event without the "any" cpumask can be opened with its cpumask and with threads it specifies. Change the implementation of evsel__open_per_cpu and evsel__open_per_thread to use evsel__open_per_cpu_and_thread to make the implementation of those functions clearer. Reviewed-by: Thomas Falcon <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Tested-by: James Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions