libbpf: Fix arm syscall regs spec in bpf_tracing.h
authorPuranjay Mohan <puranjay12@gmail.com>
Thu, 23 Feb 2023 09:53:46 +0000 (09:53 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 27 Feb 2023 19:58:24 +0000 (11:58 -0800)
commit06943ae675945c762bb8d5edc93d203f2b041d8d
tree0b44d1d17198fe257f53da3ba9b996420cac68fe
parent11e456cae91e9044cb12c2b037b52c9b268925f7
libbpf: Fix arm syscall regs spec in bpf_tracing.h

The syscall register definitions for ARM in bpf_tracing.h doesn't define
the fifth parameter for the syscalls. Because of this some KPROBES based
selftests fail to compile for ARM architecture.

Define the fifth parameter that is passed in the R5 register (uregs[4]).

Fixes: 3a95c42d65d5 ("libbpf: Define arm syscall regs spec in bpf_tracing.h")
Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230223095346.10129-1-puranjay12@gmail.com
tools/lib/bpf/bpf_tracing.h