Commit 2079b4b
committed
perf python: In str(evsel) use the evsel__pmu_name helper
JIRA: https://issues.redhat.com/browse/RHEL-78198
upstream
========
commit 7d5b635
Author: Ian Rogers <irogers@google.com>
Date: Thu Jul 10 16:51:22 2025 -0700
description
===========
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>
Signed-off-by: Michael Petlan <mpetlan@redhat.com>1 parent ee31088 commit 2079b4b
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
| 928 | + | |
932 | 929 | | |
933 | 930 | | |
934 | 931 | | |
| |||
0 commit comments