summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2025-05-23 13:53:31 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-05-27 10:30:07 -0700
commit92de53d247dffdf29d2abecf7deb4760dde98d6c (patch)
treeeb2f156b17093645f4ee76ada91fa002a56f3b1e /tools/bpf/bpftool/prog.c
parentf95695f2c46592b4260032736a9bfc6e2a01c77c (diff)
selftests/bpf: Add unit tests with __bpf_trap() kfunc
Add some inline-asm tests and C tests where __bpf_trap() or __builtin_trap() is used in the code. The __builtin_trap() test is guarded with llvm21 ([1]) since otherwise the compilation failure will happen. [1] https://github.com/llvm/llvm-project/pull/131731 Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20250523205331.1291734-1-yonghong.song@linux.dev Tested-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions