]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc4583d23adc1b57fa8af9d786a7270f5f448043
tree6da633f81fb35f4180c46d7047c2e36de4a248c2
parent320d331e17589b6b4a1bfa82a7a59a761cbca8a4
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