aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorKui-Feng Lee <[email protected]>2024-05-29 23:59:43 -0700
committerMartin KaFai Lau <[email protected]>2024-05-30 15:34:14 -0700
commit1a4b858b6a045828de1b536cfab7819c50864ed6 (patch)
treef53330aaf10aa8fd2acce185f5fc2745fe236e3c /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent67c3e8353f45c27800eecc46e00e8272f063f7d1 (diff)
selftests/bpf: test struct_ops with epoll
Verify whether a user space program is informed through epoll with EPOLLHUP when a struct_ops object is detached. The BPF code in selftests/bpf/progs/struct_ops_module.c has become complex. Therefore, struct_ops_detach.c has been added to segregate the BPF code for detachment tests from the BPF code for other tests based on the recommendation of Andrii Nakryiko. Suggested-by: Andrii Nakryiko <[email protected]> Signed-off-by: Kui-Feng Lee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions