aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-07-10 23:51:22 +0000
committerNamhyung Kim <[email protected]>2025-07-11 19:36:40 +0000
commit7d5b635d9f4314c93bc1f9828f5d757decb860bc (patch)
treec08397ee14ed43fc62fdaf825e4230e216170bb6 /tools/perf/scripts/python/flamegraph.py
parentperf jevents: If the long_desc and desc are identical then drop the long_desc (diff)
downloadkernel-7d5b635d9f4314c93bc1f9828f5d757decb860bc.tar.gz
kernel-7d5b635d9f4314c93bc1f9828f5d757decb860bc.zip
perf python: In str(evsel) use the evsel__pmu_name helper
The evsel__pmu_name helper will internally use evsel__find_pmu that handles legacy events, extended types, etc. in determining a PMU and will provide a better value than just trying to access the PMU's name directly as the PMU may not have been computed. Signed-off-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions