summaryrefslogtreecommitdiff
path: root/tools/perf/config/Makefile
diff options
context:
space:
mode:
authorChandan Kumar <chandan.kumar@linux.vnet.ibm.com>2016-04-28 15:01:09 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:54:06 +1000
commitc4522469e6418fb547fbcd9d3aeb73bea0f6f859 (patch)
tree92a8abbe37779c4dff842c301cde97698536947a /tools/perf/config/Makefile
parent17ed7c38427ff84ef77eac15724b6faf35e5492e (diff)
downloadlinux-c4522469e6418fb547fbcd9d3aeb73bea0f6f859.tar.gz
perf/powerpc: Add support for unwinding perf-stackdump
Adds support for unwinding user stack dump by linking with libunwind. Signed-off-by: Chandan Kumar <chandan.kumar@linux.vnet.ibm.com> Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r--tools/perf/config/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index eda1cfbbfb2d..220536cf2b59 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -26,6 +26,7 @@ NO_PERF_REGS := 1
# Additional ARCH settings for ppc
ifeq ($(ARCH),powerpc)
NO_PERF_REGS := 0
+ LIBUNWIND_LIBS := -lunwind -lunwind-ppc64
endif
# Additional ARCH settings for x86