summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/Makefile
diff options
context:
space:
mode:
authorJean Pihet <jean.pihet@linaro.org>2014-05-16 10:41:12 +0200
committerJiri Olsa <jolsa@kernel.org>2014-05-16 11:39:29 +0200
commit97eac381b113932bd7bd4a5c3c68b18e9ff7a2a0 (patch)
tree24162ddee6efa8f6af1ba4a06bd900906e66e6d0 /tools/perf/arch/arm/Makefile
parentperf tests: Add dwarf unwind test on ARM (diff)
downloadlinux-97eac381b113932bd7bd4a5c3c68b18e9ff7a2a0.tar.xz
linux-97eac381b113932bd7bd4a5c3c68b18e9ff7a2a0.zip
perf tools: Add libdw DWARF post unwind support for ARM
Adding libdw DWARF post unwind support, which is part of elfutils-devel/libdw-dev package from version 0.158. The new code is contained in unwin-libdw.c object, and implements unwind__get_entries unwind interface function. Signed-off-by: Jean Pihet <jean.pihet@linaro.org> Reviewed-by: Will Deacon <will.deacon@arm.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1400229672-16104-4-git-send-email-jean.pihet@linaro.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/arch/arm/Makefile')
-rw-r--r--tools/perf/arch/arm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
index 221f21d5ca28..09d62153d384 100644
--- a/tools/perf/arch/arm/Makefile
+++ b/tools/perf/arch/arm/Makefile
@@ -4,6 +4,11 @@ LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
endif
ifndef NO_LIBUNWIND
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libunwind.o
+endif
+ifndef NO_LIBDW_DWARF_UNWIND
+LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libdw.o
+endif
+ifndef NO_DWARF_UNWIND
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/regs_load.o
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/dwarf-unwind.o
endif