aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-07-10 16:51:22 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-11 12:36:40 -0700
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)
downloadlinux-7d5b635d9f4314c93bc1f9828f5d757decb860bc.tar.gz
linux-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 <irogers@google.com> Link: https://lore.kernel.org/r/20250710235126.1086011-10-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions