perf tools: Add ARM64 perf_regs_load to support libunwind and enable testing
authorWang Nan <[email protected]>
Fri, 27 Mar 2015 13:08:01 +0000 (13:08 +0000)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 29 May 2015 15:43:40 +0000 (12:43 -0300)
commit3237f28188c3e41a938781a369652772a23e97a9
tree07d3adbb43075484ea93931ae519bdc3765604f2
parentb236512280fb96dcca45a3f5bbae1839bd673e58
perf tools: Add ARM64 perf_regs_load to support libunwind and enable testing

Newest libunwind does support ARM64, and perf is able to utilize it
also.

This patch enables the perf test dwarf unwind for arm64.

 Test result:
  # ./perf test unwind
  25: Test dwarf unwind                                      : Ok

Signed-off-by: Wang Nan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/arch/arm64/Build
tools/perf/arch/arm64/include/perf_regs.h
tools/perf/arch/arm64/tests/Build [new file with mode: 0644]
tools/perf/arch/arm64/tests/dwarf-unwind.c [new file with mode: 0644]
tools/perf/arch/arm64/tests/regs_load.S [new file with mode: 0644]
tools/perf/tests/Build
tools/perf/tests/builtin-test.c
tools/perf/tests/tests.h