[PATCH v2 0/2] csky: perf callchain dwarf support
From: Mao Han
Date: Tue Apr 02 2019 - 02:41:06 EST
This patch set add perf DWARF unwinding support for C-SKY.
Including user registers/stack dump API, and libdw support.
Changes since v1:
- seperate the callchain support using frame pointer
CC: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxxxxx>
CC: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CC: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
CC: Jiri Olsa <jolsa@xxxxxxxxxx>
CC: Namhyung Kim <namhyung@xxxxxxxxxx>
CC: Guo Ren <guoren@xxxxxxxxxx>
Mao Han (2):
csky: Add support for perf registers sampling
csky: add support for libdw
arch/csky/Kconfig | 2 +
arch/csky/include/uapi/asm/perf_regs.h | 48 ++++++++++++++
arch/csky/kernel/Makefile | 1 +
arch/csky/kernel/perf_regs.c | 40 ++++++++++++
tools/arch/csky/include/uapi/asm/perf_regs.h | 48 ++++++++++++++
tools/perf/Makefile.config | 6 +-
tools/perf/arch/csky/Build | 1 +
tools/perf/arch/csky/Makefile | 3 +
tools/perf/arch/csky/include/perf_regs.h | 98 ++++++++++++++++++++++++++++
tools/perf/arch/csky/util/Build | 2 +
tools/perf/arch/csky/util/dwarf-regs.c | 25 +++++++
tools/perf/arch/csky/util/unwind-libdw.c | 58 ++++++++++++++++
12 files changed, 331 insertions(+), 1 deletion(-)
create mode 100644 arch/csky/include/uapi/asm/perf_regs.h
create mode 100644 arch/csky/kernel/perf_regs.c
create mode 100644 tools/arch/csky/include/uapi/asm/perf_regs.h
create mode 100644 tools/perf/arch/csky/Build
create mode 100644 tools/perf/arch/csky/Makefile
create mode 100644 tools/perf/arch/csky/include/perf_regs.h
create mode 100644 tools/perf/arch/csky/util/Build
create mode 100644 tools/perf/arch/csky/util/dwarf-regs.c
create mode 100644 tools/perf/arch/csky/util/unwind-libdw.c
--
2.7.4