lkml.org 
[lkml]   [2019]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V5 0/2] csky: perf callchain dwarf support
Date
This patch set add perf DWARF unwinding support for C-SKY.
Including user registers/stack dump API, and libdw support.

CC: Guo Ren <guoren@kernel.org>

Changes since v4:
- remove some of the dwarf regs definition

Changes since v3:
- update with patch from Arnaldo
replace other hweight_long with hweight64

Changes since v2:
- use same registers name as struct pt_regs
- code convention

Changes since v1:
- seperate the callchain support using frame pointer
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 | 51 ++++++++++++++
arch/csky/kernel/Makefile | 1 +
arch/csky/kernel/perf_regs.c | 40 +++++++++++
tools/arch/csky/include/uapi/asm/perf_regs.h | 51 ++++++++++++++
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 | 100 +++++++++++++++++++++++++++
tools/perf/arch/csky/util/Build | 2 +
tools/perf/arch/csky/util/dwarf-regs.c | 49 +++++++++++++
tools/perf/arch/csky/util/unwind-libdw.c | 77 +++++++++++++++++++++
12 files changed, 382 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

\
 
 \ /
  Last update: 2019-04-15 11:23    [W:0.066 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site