csky: Add support for libdw
authorMao Han <han_mao@c-sky.com>
Sun, 21 Apr 2019 15:33:14 +0000 (23:33 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 May 2019 19:36:46 +0000 (16:36 -0300)
commitb399ec215b8488468b947c34dfc097003408fe34
tree62ae370f8e3f3a02ce9a990101a7cc2e66230de0
parent1455ea2391be5a5bf0a53258af94fa2abbd73cca
csky: Add support for libdw

This patch add support for DWARF register mappings and libdw registers
initialization, which is used by perf callchain analyzing when
--call-graph=dwarf is given.

Here is the elfutils csky backend patch set:

https://sourceware.org/ml/elfutils-devel/2019-q2/msg00007.html

Signed-off-by: Mao Han <han_mao@c-sky.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1555860794-10572-1-git-send-email-guoren@kernel.org
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/csky/include/uapi/asm/perf_regs.h [new file with mode: 0644]
tools/perf/Makefile.config
tools/perf/arch/csky/Build [new file with mode: 0644]
tools/perf/arch/csky/Makefile [new file with mode: 0644]
tools/perf/arch/csky/include/perf_regs.h [new file with mode: 0644]
tools/perf/arch/csky/util/Build [new file with mode: 0644]
tools/perf/arch/csky/util/dwarf-regs.c [new file with mode: 0644]
tools/perf/arch/csky/util/unwind-libdw.c [new file with mode: 0644]