diff options
| author | 2026-07-08 12:47:17 +0200 | |
|---|---|---|
| committer | 2026-07-08 21:55:23 +0200 | |
| commit | 41ec7e4a17792599af6c208dcc32c038a9f78da8 (patch) | |
| tree | 51e22a678e468ab768040abe26cbee2c5f29bf28 /scripts/Makefile.thinlto | |
| parent | selftests/bpf: Close fd on unexpected success in signed loader (diff) | |
selftests/bpf: Skip res_spin_lock_stress if no perf support
Probe PMU support before loading bpf_test_rqspinlock.ko,
otherwise the test fails with not obvious error without
proper perf event support:
Failed to load bpf_test_rqspinlock.ko into the kernel: -2
serial_test_res_spin_lock_stress:FAIL:load module AA
unexpected error: -22 (errno 2)
Reported-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Maxim Khmelevskii <max@linux.ibm.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/bpf/20260708104729.1248234-2-max@linux.ibm.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
