summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/xsk.c
diff options
context:
space:
mode:
authorIlya Leoshkevich2019-07-16 12:56:34 +0200
committerAlexei Starovoitov2019-07-16 18:24:46 +0200
commit4e59afbbed9638f95adfac8d2f222aca3b2b1bc0 (patch)
tree003b35870e74a4660579e59894555c16f577e631 /tools/lib/bpf/xsk.c
parentselftests/bpf: fix "alu with different scalars 1" on s390 (diff)
downloadkernel-qcow2-linux-4e59afbbed9638f95adfac8d2f222aca3b2b1bc0.tar.gz
kernel-qcow2-linux-4e59afbbed9638f95adfac8d2f222aca3b2b1bc0.tar.xz
kernel-qcow2-linux-4e59afbbed9638f95adfac8d2f222aca3b2b1bc0.zip
selftests/bpf: skip nmi test when perf hw events are disabled
Some setups (e.g. virtual machines) might run with hardware perf events disabled. If this is the case, skip the test_send_signal_nmi test. Add a separate test involving a software perf event. This allows testing the perf event path regardless of hardware perf event support. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/xsk.c')
0 files changed, 0 insertions, 0 deletions