aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
diff options
context:
space:
mode:
authorJerry Crunchtime <[email protected]>2020-07-31 17:08:01 +0200
committerDaniel Borkmann <[email protected]>2020-07-31 17:20:49 +0200
commit1acf8f90ea7ee59006d0474275922145ac291331 (patch)
tree50962eb52b976def5e7846a393b1d8fc12307503 /tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
parentc64c9c282a9a7ec0515b725d5aaed68c32e403a4 (diff)
libbpf: Fix register in PT_REGS MIPS macros
The o32, n32 and n64 calling conventions require the return value to be stored in $v0 which maps to $2 register, i.e., the register 2. Fixes: c1932cd ("bpf: Add MIPS support to samples/bpf.") Signed-off-by: Jerry Crunchtime <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c')
0 files changed, 0 insertions, 0 deletions