diff options
author | Ravi Bangoria <[email protected]> | 2022-05-09 10:19:10 +0530 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-05-11 16:27:10 +0200 |
commit | 838de1d843fc9b6161e0e1c6308a8c027d08606d (patch) | |
tree | 312a40c4a0a12d222db387c5f95e7e165ff14e75 /lib/mpi/mpi-sub-ui.c | |
parent | ba5d35b442c65f32d38ef61f732218274c6dcf4c (diff) |
perf/amd/ibs: Advertise zen4_ibs_extensions as pmu capability attribute
PMU driver can advertise certain feature via capability attribute('caps'
sysfs directory) which can be consumed by userspace tools like perf. Add
zen4_ibs_extensions capability attribute for IBS pmus. This attribute
will be enabled when CPUID_Fn8000001B_EAX[11] is set.
With patch on Zen4:
$ ls /sys/bus/event_source/devices/ibs_op/caps
zen4_ibs_extensions
Signed-off-by: Ravi Bangoria <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions