diff options
| author | Ian Rogers <[email protected]> | 2025-07-19 03:05:12 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-07-24 20:41:35 +0000 |
| commit | cd63c22168257a0b0b59245394915e2488065f7d (patch) | |
| tree | 8069bf3b9dc38accefcae258805896394490c4fb /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf pmus: Factor perf_pmus__find_by_attr out of evsel__find_pmu (diff) | |
| download | kernel-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
