commit | 483d7a30f538e2f8addd32aa9a3d2e94ae55fa65 | [log] [tgz] |
---|---|---|
author | Wenbo Zhang <ethercflow@gmail.com> | Sun Mar 15 04:32:52 2020 -0400 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Mar 17 19:33:40 2020 +0100 |
tree | 968d29ce16ea67806562979e2c5d2021e49ea28d | |
parent | fd27b1835e7079d26809cd4d33ba98f84e593766 [diff] |
bpf, libbpf: Fix ___bpf_kretprobe_args1(x) macro definition Use PT_REGS_RC instead of PT_REGS_RET to get ret correctly. Fixes: df8ff35311c8 ("libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h") Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200315083252.22274-1-ethercflow@gmail.com