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:12 +0000
committerNamhyung Kim <[email protected]>2025-07-24 20:41:35 +0000
commitcd63c22168257a0b0b59245394915e2488065f7d (patch)
tree8069bf3b9dc38accefcae258805896394490c4fb /tools/perf/util/scripting-engines/trace-event-python.c
parentperf pmus: Factor perf_pmus__find_by_attr out of evsel__find_pmu (diff)
downloadkernel-cd63c22168257a0b0b59245394915e2488065f7d.tar.gz
kernel-cd63c22168257a0b0b59245394915e2488065f7d.zip
perf parse-events: Minor __add_event refactoring
Rename cpu_list to user_cpus. If a PMU isn't given, find it early from the perf_event_attr. Make the pmu_cpus more explicitly a copy from the PMU (except when user_cpus are given). Derive the cpus from pmu_cpus and user_cpus as appropriate. Handle strdup errors on name and metric_id. 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