libbpf: Allow overriding PT_REGS_PARM1{_CORE}_SYSCALL
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 9 Feb 2022 02:17:43 +0000 (03:17 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 9 Feb 2022 05:37:50 +0000 (21:37 -0800)
commit60d16c5ccb811c9817bb0a71644b9ba14115f68e
tree6da633f81fb35f4180c46d7047c2e36de4a248c2
parent9e45a377f29b5a66f75c0c3a0d84ad5c583290e8
libbpf: Allow overriding PT_REGS_PARM1{_CORE}_SYSCALL

arm64 and s390 need a special way to access the first syscall argument.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220209021745.2215452-9-iii@linux.ibm.com
tools/lib/bpf/bpf_tracing.h