summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-25 18:25:06 +1000
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-09-17 17:08:07 -0300
commit65ccb4faae872b63dd8f5fbc83d0195e3dfabf0d (patch)
tree2a106bc40a37ea30d01970c9414cdb5d90b8e992 /tools/perf/arch
parent1a1c0ffb2adb2d2ce7bb9c4dfd2935ba345cf2c2 (diff)
downloadop-kernel-dev-65ccb4faae872b63dd8f5fbc83d0195e3dfabf0d.zip
op-kernel-dev-65ccb4faae872b63dd8f5fbc83d0195e3dfabf0d.tar.gz
perf tools powerpc: Fix build issue when DWARF support is disabled
The powerpc skip callchain code uses DWARF, so we must disable it if DWARF is disabled. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20140825182506.2be6512d@kryten Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
-rw-r--r--tools/perf/arch/powerpc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/powerpc/Makefile b/tools/perf/arch/powerpc/Makefile
index b92219b..6f7782b 100644
--- a/tools/perf/arch/powerpc/Makefile
+++ b/tools/perf/arch/powerpc/Makefile
@@ -1,6 +1,6 @@
ifndef NO_DWARF
PERF_HAVE_DWARF_REGS := 1
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
+LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/skip-callchain-idx.o
endif
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/header.o
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/skip-callchain-idx.o
OpenPOWER on IntegriCloud