diff options
| author | Namhyung Kim <[email protected]> | 2025-05-07 21:59:39 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-05-09 17:44:44 +0000 |
| commit | c60b7d6f50ae25a91a6998a8118bba325a382d28 (patch) | |
| tree | 3590464d6c9bed6063a37f67d33ab7af04c5979a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf lock contention: Add -J/--inject-delay option (diff) | |
| download | kernel-c60b7d6f50ae25a91a6998a8118bba325a382d28.tar.gz kernel-c60b7d6f50ae25a91a6998a8118bba325a382d28.zip | |
perf pmu: Use available core PMU for raw events
When it finds a matching PMU for a legacy event, it should look for
core PMUs. The raw events also refers to core events so it should be
handled similarly.
On x86, PERF_TYPE_RAW should match with the existing cpu PMU. But on
ARM, there's no PMU with the matching type so it'll pick the first core
PMU for it.
Suggested-by: Ian Rogers <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
