diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2025-08-22 15:05:57 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-08-28 17:47:58 +0300 |
commit | ce971233242b5391d99442271f3ca096fb49818d (patch) | |
tree | d7bd5d5cb7af440723d90321523154237f7c6c7c /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 85941afd2c404247e583c827fae0a45da1c1d92c (diff) | |
download | linux-ce971233242b5391d99442271f3ca096fb49818d.tar.xz |
s390/cpum_cf: Deny all sampling events by counter PMU
Deny all sampling event by the CPUMF counter facility device driver
and return -ENOENT. This return value is used to try other PMUs.
Up to now events for type PERF_TYPE_HARDWARE were not tested for
sampling and returned later on -EOPNOTSUPP. This ends the search
for alternative PMUs. Change that behavior and try other PMUs
instead.
Fixes: 613a41b0d16e ("s390/cpum_cf: Reject request for sampling in event initialization")
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions