diff options
author | Ilya Leoshkevich <[email protected]> | 2019-07-16 12:56:34 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-07-16 09:24:46 -0700 |
commit | 4e59afbbed9638f95adfac8d2f222aca3b2b1bc0 (patch) | |
tree | 003b35870e74a4660579e59894555c16f577e631 /net/lapb/lapb_timer.c | |
parent | 3461a0a02141b2612f2916e9250a430de41b0290 (diff) |
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 <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions