linux/tools/testing/selftests/bpf/bpf_testmod
Kui-Feng Lee 0253e0590e selftests/bpf: test case for register_bpf_struct_ops().
Create a new struct_ops type called bpf_testmod_ops within the bpf_testmod
module. When a struct_ops object is registered, the bpf_testmod module will
invoke test_2 from the module.

Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240119225005.668602-15-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2024-01-23 17:12:52 -08:00
..
.gitignore
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 case for register_bpf_struct_ops(). 2024-01-23 17:12:52 -08:00
bpf_testmod.h selftests/bpf: test case for register_bpf_struct_ops(). 2024-01-23 17:12:52 -08:00
bpf_testmod_kfunc.h selftests/bpf: Add test for missed counts of perf event link kprobe 2023-09-25 16:37:44 -07:00
Makefile