perf tools: Add ARM64 perf_regs_load to support libunwind and enable testing
authorWang Nan <wangnan0@huawei.com>
Fri, 27 Mar 2015 13:08:01 +0000 (13:08 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
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 <wangnan0@huawei.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Link: http://lkml.kernel.org/r/1427461681-72971-1-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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