Skip to content
Commit 06943ae6 authored by Puranjay Mohan's avatar Puranjay Mohan Committed by Andrii Nakryiko
Browse files

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: 3a95c42d ("libbpf: Define arm syscall regs spec in bpf_tracing.h")
Signed-off-by: default avatarPuranjay Mohan <puranjay12@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230223095346.10129-1-puranjay12@gmail.com
parent 11e456ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment