summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-04-24 23:57:18 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-04-25 00:05:05 +0300
commit82e38a505c9868e784ec31e743fd8a9fa5ca1084 (patch)
tree90df058db0db4dde730a1aff5fb2eb4119db8634 /tools/perf/scripts/python/libxed.py
parent5305b378b351dc5fd55f5f1f37ef362ae0e11d7e (diff)
downloadlinux-82e38a505c9868e784ec31e743fd8a9fa5ca1084.tar.xz
selftests/bpf: Fix wq test.
The wq test was missing destroy(skel) part which was causing bpf progs to stay loaded. That was causing test_progs to complain with "Failed to unload bpf_testmod.ko from kernel: -11" message, but adding destroy() wasn't enough, since wq callback may be delayed, so loop on unload of bpf_testmod if errno is EAGAIN. Acked-by: Andrii Nakryiko <andrii@kernel.org> Fixes: 8290dba51910 ("selftests/bpf: wq: add bpf_wq_start() checks") Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions