A long time ago David Daney submitted patches to add MIPS support to perf-tools. Running out of out of time the the series the minor reviewer comments were never dealt with so I now picked up the series and am posting a version 3. David Daney (3): MIPS: Add user stack and registers to perf. perf tools: Add support for MIPS userspace DWARF callchains. perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile --- v3: Fixed issues raised by Jiri Olsa in the previous version. The short review thread is archived at https://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=cover.1428450297.git.ralf%40linux-mips.org arch/mips/Kconfig | 2 + arch/mips/include/uapi/asm/perf_regs.h | 41 ++++++++++++++ arch/mips/kernel/Makefile | 2 +- arch/mips/kernel/perf_regs.c | 67 ++++++++++++++++++++++ tools/perf/arch/mips/Build | 2 +- tools/perf/arch/mips/Makefile | 7 +++ tools/perf/arch/mips/include/perf_regs.h | 84 ++++++++++++++++++++++++++++ tools/perf/arch/mips/util/Build | 2 + tools/perf/arch/mips/util/dwarf-regs.c | 37 ++++++++++++ tools/perf/arch/mips/util/unwind-libunwind.c | 20 +++++++ tools/perf/config/Makefile | 5 ++ 11 files changed, 267 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/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/unwind-libunwind.c -- 2.5.5