v2: add R26 and R27 to the enum perf_event_mips_regs in patch #1
Tiezhu Yang (3):
MIPS: kernel: Support extracting off-line stack traces from user-space
with perf
perf tools: Support mips unwinding and dwarf-regs
perf tools: Generate mips syscalls_n64.c syscall table
arch/mips/Kconfig | 2 +
arch/mips/include/uapi/asm/perf_regs.h | 40 +++
arch/mips/kernel/Makefile | 2 +-
arch/mips/kernel/perf_regs.c | 68 ++++
tools/perf/Makefile.config | 9 +-
tools/perf/arch/mips/Makefile | 22 ++
tools/perf/arch/mips/entry/syscalls/mksyscalltbl | 32 ++
.../perf/arch/mips/entry/syscalls/syscall_n64.tbl | 358 +++++++++++++++++++++
tools/perf/arch/mips/include/dwarf-regs-table.h | 31 ++
tools/perf/arch/mips/include/perf_regs.h | 84 +++++
tools/perf/arch/mips/util/Build | 3 +
tools/perf/arch/mips/util/dwarf-regs.c | 38 +++
tools/perf/arch/mips/util/perf_regs.c | 6 +
tools/perf/arch/mips/util/unwind-libunwind.c | 22 ++
tools/perf/check-headers.sh | 1 +
tools/perf/util/dwarf-regs.c | 3 +
tools/perf/util/syscalltbl.c | 4 +
17 files changed, 723 insertions(+), 2 deletions(-)
create mode 100644 arch/mips/include/uapi/asm/perf_regs.h
create mode 100644 arch/mips/kernel/perf_regs.c
create mode 100644 tools/perf/arch/mips/Makefile
create mode 100644 tools/perf/arch/mips/entry/syscalls/mksyscalltbl
create mode 100644 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl
create mode 100644 tools/perf/arch/mips/include/dwarf-regs-table.h
create mode 100644 tools/perf/arch/mips/include/perf_regs.h
create mode 100644 tools/perf/arch/mips/util/Build
create mode 100644 tools/perf/arch/mips/util/dwarf-regs.c
create mode 100644 tools/perf/arch/mips/util/perf_regs.c
create mode 100644 tools/perf/arch/mips/util/unwind-libunwind.c