diff options
author | Ian Rogers <irogers@google.com> | 2025-01-09 14:21:06 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-01-29 14:05:57 -0800 |
commit | 6ab89b7fc2b5ef7eaa6054143ba09f6e0fefb657 (patch) | |
tree | d942242ff73105826ba90779db51a370d6fee335 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 66e99fd5a1a6f249b56b910d42ec66598f681e47 (diff) |
perf evsel: Add pmu_name helper
Add helper to get the name of the evsel's PMU. This handles the case
where there's no sysfs PMU via parse_events event_type helper.
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: James Clark <james.clark@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Tested-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20250109222109.567031-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions