diff options
author | Yonghong Song <yhs@fb.com> | 2020-03-04 11:11:05 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-03-05 14:02:41 -0800 |
commit | c4ef2f3256e3bc008f98121cad39ee5467db07a6 (patch) | |
tree | 92d864323c3302206195a100bc8cc17e4d2530da /tools/perf/scripts/python/export-to-postgresql.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 <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Cc: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200304191105.2796601-1-yhs@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions