]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: wq: add bpf_wq_init() checks
authorBenjamin Tissoires <bentiss@kernel.org>
Sat, 20 Apr 2024 09:09:12 +0000 (11:09 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 24 Apr 2024 02:46:57 +0000 (19:46 -0700)
commite3d9eac99afd94980475833479332fefd74c5c2b
tree574bb867d45251d887c5ace80758a5f01322909b
parenteb48f6cd41a0f7803770a76bbffb6bd5b1b2ae2f
selftests/bpf: wq: add bpf_wq_init() checks

Allows to test if allocation/free works

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240420-bpf_wq-v2-12-6c986a5a741f@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/bpf_experimental.h
tools/testing/selftests/bpf/prog_tests/wq.c
tools/testing/selftests/bpf/progs/wq.c
tools/testing/selftests/bpf/progs/wq_failures.c [new file with mode: 0644]