Bug 2251 - m1_cmn_pmu对采样相关的 perf event 提示不准确
Summary: m1_cmn_pmu对采样相关的 perf event 提示不准确
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: aarch64 Linux
: P4-Low S4-trivial
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-22 17:32 UTC by 苟浩
Modified: 2022-09-23 13:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 苟浩 uniontech_group 2022-09-22 17:32:11 UTC
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: