tools/perf: Add basic support for LoongArch
authorHuacai Chen <chenhuacai@loongson.cn>
Mon, 1 May 2023 09:19:59 +0000 (17:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 1 May 2023 09:19:59 +0000 (17:19 +0800)
commit2fa5ebe3bc4e31e07a99196455498472417842f2
tree671c8b1d5b5c3e9f54b61b2bfb62e7f4ed26a7f9
parent22f367a689ceceb08d9ce6a65c43c9640f5cb935
tools/perf: Add basic support for LoongArch

Add basic support for LoongArch, which is very similar to the MIPS
version.

Signed-off-by: Ming Wang <wangming01@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
21 files changed:
tools/arch/loongarch/include/uapi/asm/perf_regs.h [new file with mode: 0644]
tools/arch/loongarch/include/uapi/asm/unistd.h [new file with mode: 0644]
tools/perf/Makefile.config
tools/perf/arch/loongarch/Build [new file with mode: 0644]
tools/perf/arch/loongarch/Makefile [new file with mode: 0644]
tools/perf/arch/loongarch/annotate/instructions.c [new file with mode: 0644]
tools/perf/arch/loongarch/entry/syscalls/mksyscalltbl [new file with mode: 0755]
tools/perf/arch/loongarch/include/dwarf-regs-table.h [new file with mode: 0644]
tools/perf/arch/loongarch/include/perf_regs.h [new file with mode: 0644]
tools/perf/arch/loongarch/util/Build [new file with mode: 0644]
tools/perf/arch/loongarch/util/dwarf-regs.c [new file with mode: 0644]
tools/perf/arch/loongarch/util/perf_regs.c [new file with mode: 0644]
tools/perf/arch/loongarch/util/unwind-libdw.c [new file with mode: 0644]
tools/perf/arch/loongarch/util/unwind-libunwind.c [new file with mode: 0644]
tools/perf/check-headers.sh
tools/perf/util/annotate.c
tools/perf/util/dwarf-regs.c
tools/perf/util/env.c
tools/perf/util/genelf.h
tools/perf/util/perf_regs.c
tools/perf/util/syscalltbl.c