diff options
author | Will Deacon <will.deacon@arm.com> | 2013-09-26 13:36:36 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-09-30 17:41:55 +0200 |
commit | 7495f3742dda97612a77d92fa62f85cb7591ab14 (patch) | |
tree | b9208a9e15ed268b6e96394493a09793b7fc1f0f /tools/perf/config | |
parent | ARM: perf: add support for perf registers API (diff) | |
download | linux-7495f3742dda97612a77d92fa62f85cb7591ab14.tar.xz linux-7495f3742dda97612a77d92fa62f85cb7591ab14.zip |
ARM: perf: wire up perf_regs and unwind support for ARM
This patch hooks in the perf_regs and libunwind code for ARM.
Cc: Jean Pihet <jean.pihet@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/config')
-rw-r--r-- | tools/perf/config/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 5f6f9b3271bb..4796ce54e653 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -29,6 +29,10 @@ ifeq ($(ARCH),x86_64) NO_PERF_REGS := 0 LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 endif +ifeq ($(ARCH),arm) + NO_PERF_REGS := 0 + LIBUNWIND_LIBS = -lunwind -lunwind-arm +endif ifeq ($(NO_PERF_REGS),0) CFLAGS += -DHAVE_PERF_REGS @@ -208,8 +212,7 @@ ifeq ($(call try-cc,$(SOURCE_ELF_MMAP),$(FLAGS_LIBELF),-DLIBELF_MMAP),y) endif # try-cc endif # NO_LIBELF -# There's only x86 (both 32 and 64) support for CFI unwind so far -ifneq ($(ARCH),x86) +ifeq ($(LIBUNWIND_LIBS),) NO_LIBUNWIND := 1 endif |