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:01 -0800
committerDaniel Borkmann <[email protected]>2023-01-23 20:53:00 +0100
commit8ccabeef913311eb54599abc52a6bcfc3e7bf1d8 (patch)
tree94760da5a6edc0a16085578dfc6fcb1907ed152b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentbc72742bebec8e0766af1e07e13169a873f9119c (diff)
libbpf: Improve syscall tracing support in bpf_tracing.h
Set up generic support in bpf_tracing.h for up to 7 syscall arguments tracing with BPF_KSYSCALL, which seems to be the limit according to syscall(2) manpage. Also change the way that syscall convention is specified to be more explicit. Subsequent patches will adjust and define proper per-architecture syscall conventions. __PT_PARM1_SYSCALL_REG through __PT_PARM6_SYSCALL_REG is added temporarily to keep everything working before each architecture has syscall reg tables defined. They will be removed afterwards. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Alan Maguire <[email protected]> # arm64 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