diff options
author | Jean Pihet <jean.pihet@linaro.org> | 2014-04-28 08:32:33 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-29 09:31:19 -0400 |
commit | 8ab596afb97bc9e2f9140dc1d993e81749acff42 (patch) | |
tree | 76e352baf6cf3e1029c37bc2866775f3e32abb9d /tools/perf/config | |
parent | 88080ce7f6af1ad99ad4b2825938411975910116 (diff) |
perf tools ARM64: Wire up perf_regs and unwind support
This patch hooks in the perf_regs and libunwind code for ARM64.
The tools/perf/arch/arm64 is created; it contains the arch specific
code for DWARF unwinding.
Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1398688353-3737-1-git-send-email-jean.pihet@linaro.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/config')
-rw-r--r-- | tools/perf/config/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index a71fb395e38f..cd568699157c 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -29,11 +29,17 @@ ifeq ($(ARCH),x86) | |||
29 | endif | 29 | endif |
30 | NO_PERF_REGS := 0 | 30 | NO_PERF_REGS := 0 |
31 | endif | 31 | endif |
32 | |||
32 | ifeq ($(ARCH),arm) | 33 | ifeq ($(ARCH),arm) |
33 | NO_PERF_REGS := 0 | 34 | NO_PERF_REGS := 0 |
34 | LIBUNWIND_LIBS = -lunwind -lunwind-arm | 35 | LIBUNWIND_LIBS = -lunwind -lunwind-arm |
35 | endif | 36 | endif |
36 | 37 | ||
38 | ifeq ($(ARCH),arm64) | ||
39 | NO_PERF_REGS := 0 | ||
40 | LIBUNWIND_LIBS = -lunwind -lunwind-aarch64 | ||
41 | endif | ||
42 | |||
37 | # So far there's only x86 libdw unwind support merged in perf. | 43 | # So far there's only x86 libdw unwind support merged in perf. |
38 | # Disable it on all other architectures in case libdw unwind | 44 | # Disable it on all other architectures in case libdw unwind |
39 | # support is detected in system. Add supported architectures | 45 | # support is detected in system. Add supported architectures |
@@ -363,7 +369,7 @@ else | |||
363 | endif | 369 | endif |
364 | 370 | ||
365 | ifndef NO_LIBUNWIND | 371 | ifndef NO_LIBUNWIND |
366 | ifeq ($(ARCH),arm) | 372 | ifeq ($(ARCH),$(filter $(ARCH),arm arm64)) |
367 | $(call feature_check,libunwind-debug-frame) | 373 | $(call feature_check,libunwind-debug-frame) |
368 | ifneq ($(feature-libunwind-debug-frame), 1) | 374 | ifneq ($(feature-libunwind-debug-frame), 1) |
369 | msg := $(warning No debug_frame support found in libunwind); | 375 | msg := $(warning No debug_frame support found in libunwind); |