Skip to content

Add MIPS support to perf tools

Ralf Baechle linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 3 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MIPS: Add user stack and registers to perf.arch/mips/Kconfig arch/mips/include/uapi/asm/perf_regs.h arch/mips/kernel/Makefile +1 more+111 -10 replies
2/3perf tools: Add support for MIPS userspace DWARF callchains.tools/perf/arch/mips/Build tools/perf/arch/mips/Makefile tools/perf/arch/mips/include/perf_regs.h +3 more+151 -11 reply
3/3perf tools: Hook up MIPS unwind and dwarf-regs in the Makefiletools/perf/config/Makefile+5 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Add MIPS support to perf tools

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
Signature · 1 line
2.5.5