aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-06-14 00:45:28 +0000
committerNamhyung Kim <[email protected]>2025-06-20 20:14:07 +0000
commit588d22b40480bca9efdb6e24d253baaa5165884c (patch)
tree1bf41000d0fe1b511ea6a83c1b227451663ea451 /tools/perf/util/parse-events.c
parentperf vendor events arm64: Update FUJITSU-MONAKA pmu event (diff)
downloadkernel-588d22b40480bca9efdb6e24d253baaa5165884c.tar.gz
kernel-588d22b40480bca9efdb6e24d253baaa5165884c.zip
perf test: Expand user space event reading (rdpmc) tests
Test that disabling rdpmc support via /sys/bus/event_source/cpu*/rdpmc disables reading in the mmap (libperf read support will fallback to using a system call). Test all hybrid PMUs support rdpmc. Ensure hybrid PMUs use the correct CPU to rdpmc the correct event. Previously the test would open cycles or instructions with no extended type then rdpmc it on whatever CPU. This could fail/skip due to which CPU the test was scheduled upon. Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: Kan Liang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/parse-events.c')
0 files changed, 0 insertions, 0 deletions