mirror_ubuntu-kernels/tools/testing/selftests/bpf/bpf_testmod
Philo Lu 2060f07f86 selftests/bpf: Add test for __nullable suffix in tp_btf
Add a tracepoint with __nullable suffix in bpf_testmod, and add cases
for it:

$ ./test_progs -t "tp_btf_nullable"
 #406/1   tp_btf_nullable/handle_tp_btf_nullable_bare1:OK
 #406/2   tp_btf_nullable/handle_tp_btf_nullable_bare2:OK
 #406     tp_btf_nullable:OK
 Summary: 1/2 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240911033719.91468-3-lulie@linux.alibaba.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2024-09-11 08:56:42 -07:00
..
.gitignore
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 selftests/bpf: Add test for __nullable suffix in tp_btf 2024-09-11 08:56:42 -07:00
bpf_testmod.c selftests/bpf: Add test for __nullable suffix in tp_btf 2024-09-11 08:56:42 -07:00
bpf_testmod.h selftests/bpf: Bad_struct_ops test 2024-03-06 15:18:15 -08:00
Makefile