libbpf: Define riscv syscall regs spec in bpf_tracing.h
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 20 Jan 2023 20:09:10 +0000 (12:09 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 23 Jan 2023 19:53:01 +0000 (20:53 +0100)
commita0426216a32004bbb1c96dbffaeca7ac261960cf
treefca476eeb43659de9621f52f7fc63acf46b820f3
parent377c15b1a2cd6e38db86be7a721c8311d8a73836
libbpf: Define riscv syscall regs spec in bpf_tracing.h

Define explicit table of registers used for syscall argument passing.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Pu Lehui <pulehui@huawei.com> # RISC-V
Link: https://lore.kernel.org/bpf/20230120200914.3008030-22-andrii@kernel.org
tools/lib/bpf/bpf_tracing.h