diff options
| author | Yonghong Song <[email protected]> | 2025-05-23 20:53:31 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-05-27 17:30:07 +0000 |
| commit | 92de53d247dffdf29d2abecf7deb4760dde98d6c (patch) | |
| tree | eb2f156b17093645f4ee76ada91fa002a56f3b1e /tools/bpf/bpftool/bash-completion | |
| parent | bpf: Warn with __bpf_trap() kfunc maybe due to uninitialized variable (diff) | |
| download | kernel-92de53d247dffdf29d2abecf7deb4760dde98d6c.tar.gz kernel-92de53d247dffdf29d2abecf7deb4760dde98d6c.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Eduard Zingerman <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/bash-completion')
0 files changed, 0 insertions, 0 deletions
