diff options
author | Yonghong Song <[email protected]> | 2020-03-04 11:11:05 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-03-05 14:02:41 -0800 |
commit | c4ef2f3256e3bc008f98121cad39ee5467db07a6 (patch) | |
tree | 92d864323c3302206195a100bc8cc17e4d2530da /scripts/gdb/linux/timerlist.py | |
parent | 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 (diff) |
selftests/bpf: Add send_signal_sched_switch test
Added one test, send_signal_sched_switch, to test bpf_send_signal()
helper triggered by sched/sched_switch tracepoint. This test can be used
to verify kernel deadlocks fixed by the previous commit. The test itself
is heavily borrowed from Commit eac9153f2b58 ("bpf/stackmap: Fix deadlock
with rq_lock in bpf_get_stack()").
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Cc: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions