perf tools arm64: Add libdw DWARF post unwind support for ARM64
authorKim Phillips <kim.phillips@arm.com>
Fri, 9 Mar 2018 03:10:30 +0000 (21:10 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Mar 2018 16:53:46 +0000 (13:53 -0300)
commit744e9a91cf898bf027dbe65cc61a5d7565335cba
tree234692bdb93a9f480b656aab1d9a3c52f39d67fe
parent03d9fcb701340de3446b4ff4ddb9f5407d1412f5
perf tools arm64: Add libdw DWARF post unwind support for ARM64

Based on prior work:

  https://lkml.org/lkml/2014/5/6/395

and on how other arches add libdw unwind support.  Includes support for
running the unwind test, e.g., on a system with only elfutils' libdw
0.170, the test now runs, and successfully:

  $ ./perf test unwind
  56: Test dwarf unwind                 : Ok

Originally-by: Jean Pihet <jean.pihet@linaro.org>
Reported-by: Christian Hansen <chansen3@cisco.com>
Signed-off-by: Kim Phillips <kim.phillips@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180308211030.4ee4a0d6ff6dc5cda1b567d4@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/arch/arm64/include/arch-tests.h [new file with mode: 0644]
tools/perf/arch/arm64/tests/Build
tools/perf/arch/arm64/tests/arch-tests.c [new file with mode: 0644]
tools/perf/arch/arm64/util/Build
tools/perf/arch/arm64/util/unwind-libdw.c [new file with mode: 0644]