libbpf: Add LoongArch support to bpf_tracing.h
authorHengqi Chen <hengqi.chen@gmail.com>
Sat, 31 Dec 2022 10:07:57 +0000 (18:07 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 3 Jan 2023 15:46:09 +0000 (16:46 +0100)
commit00883922ab404c0fc921709d8c2cec86f49c32f2
treea4c682eb39b0b03e94d1eaf20474ff2d86f231ed
parentbb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8
libbpf: Add LoongArch support to bpf_tracing.h

Add PT_REGS macros for LoongArch ([0]).

  [0]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/bpf/20221231100757.3177034-1-hengqi.chen@gmail.com
tools/lib/bpf/bpf_tracing.h