Description of problem: m1_cmn_pmu对采样相关的 perf event 提示不准确。 Version-Release number of selected component (if applicable): anolis-cloud-kernel-devel-5.10 How reproducible: Steps to Reproduce: 1. perf record -e m1_cmn_0/hnf_atomic_fwd/ ls Actual results: Error: The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (m1_cmn_0/hnf_atomic_fwd/). /bin/dmesg | grep -i perf may provide additional information. Expected results: Error: m1_cmn_0/hnf_atomic_fwd/: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat' Additional info:
https://gitee.com/anolis/cloud-kernel/pulls/732