Centos-kernel-stream-9/tools/testing/selftests/bpf/bpf_testmod
Jerome Marchand 85895332bd selftests/bpf: Add test for __nullable suffix in tp_btf
JIRA: https://issues.redhat.com/browse/RHEL-63880

commit 2060f07f861a237345922023e9347a204c0795af
Author: Philo Lu <lulie@linux.alibaba.com>
Date:   Wed Sep 11 11:37:16 2024 +0800

    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>

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2025-01-21 11:27:05 +01:00
..
.gitignore
Makefile
bpf_testmod-events.h selftests/bpf: Add test for __nullable suffix in tp_btf 2025-01-21 11:27:05 +01:00
bpf_testmod.c selftests/bpf: Add test for __nullable suffix in tp_btf 2025-01-21 11:27:05 +01:00
bpf_testmod.h selftests/bpf: Test gen_prologue and gen_epilogue 2025-01-21 11:27:01 +01:00
bpf_testmod_kfunc.h selftests/bpf: Add tests for iter next method returning valid pointer 2025-01-21 11:27:01 +01:00