aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-01-20 12:09:13 -0800
committerDaniel Borkmann <[email protected]>2023-01-23 20:53:01 +0100
commit92dc5cdfc1131befa061cab8ed772c7bf8bfb2db (patch)
tree20220b0d5adf82494f06de8f15d2ffba19f1492b /tools/testing/selftests/bpf/prog_tests/autoload.c
parent12a299f0b5c746c244bd06fe6a2b3672e9036e83 (diff)
selftests/bpf: Add 6-argument syscall tracing test
Turns out splice() is one of the syscalls that's using current maximum number of arguments (six). This is perfect for testing, so extend bpf_syscall_macro selftest to also trace splice() syscall, using BPF_KSYSCALL() macro. This makes sure all the syscall argument register definitions are correct. Suggested-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Alan Maguire <[email protected]> # arm64 Tested-by: Ilya Leoshkevich <[email protected]> # s390x Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions