Message ID | 20220209021745.2215452-5-iii@linux.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f07f1503469b11b739892d50c836992ffbe026ee |
Delegated to: | BPF |
Headers | show |
Series | Fix accessing syscall arguments | expand |
diff --git a/tools/lib/bpf/bpf_tracing.h b/tools/lib/bpf/bpf_tracing.h index a5e92656bfba..20bc63770c9f 100644 --- a/tools/lib/bpf/bpf_tracing.h +++ b/tools/lib/bpf/bpf_tracing.h @@ -180,6 +180,8 @@ #define __PT_RC_REG gpr[3] #define __PT_SP_REG sp #define __PT_IP_REG nip +/* powerpc does not select ARCH_HAS_SYSCALL_WRAPPER. */ +#define PT_REGS_SYSCALL_REGS(ctx) ctx #elif defined(bpf_target_sparc)