linux/tools/testing/selftests/bpf/bpf_testmod
Andrii Nakryiko b0cd726f9a selftests/bpf: test passing iterator to a kfunc
Define BPF iterator "getter" kfunc, which accepts iterator pointer as
one of the arguments. Make sure that argument passed doesn't have to be
the very first argument (unlike new-next-destroy combo).

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240808232230.2848712-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-08-21 10:37:52 -07:00
..
.gitignore selftests/bpf: Add bpf_testmod kernel module for testing 2020-12-03 17:38:20 -08:00
bpf_testmod_kfunc.h selftests/bpf: Add kfunc_call test for simple dtor in bpf_testmod 2024-06-21 14:46:29 -07:00
bpf_testmod-events.h bpf/selftests: Add test for writable bare tracepoint 2021-10-08 13:22:57 -07:00
bpf_testmod.c selftests/bpf: test passing iterator to a kfunc 2024-08-21 10:37:52 -07:00
bpf_testmod.h selftests/bpf: Ensure the unsupported struct_ops prog cannot be loaded 2024-07-29 13:09:10 -07:00
Makefile selftests/bpf: Add bpf_testmod kernel module for testing 2020-12-03 17:38:20 -08:00