libbpf: Clean up now not needed __PT_PARM{1-6}_SYSCALL_REG defaults
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 20 Jan 2023 20:09:14 +0000 (12:09 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 23 Jan 2023 19:53:01 +0000 (20:53 +0100)
commita4d325ae461c5d8e3c5e222082e0b5755b7b9b7f
tree615e830a783ee73630e295e68f088bca56082bac
parent92dc5cdfc1131befa061cab8ed772c7bf8bfb2db
libbpf: Clean up now not needed __PT_PARM{1-6}_SYSCALL_REG defaults

Each architecture supports at least 6 syscall argument registers, so now
that specs for each architecture is defined in bpf_tracing.h, remove
unnecessary macro overrides, which previously were required to keep
existing BPF_KSYSCALL() uses compiling and working.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230120200914.3008030-26-andrii@kernel.org
tools/lib/bpf/bpf_tracing.h