39c21e4
From 4419ebdc68684c0a1e5236d896f6393dd8e27f97 Mon Sep 17 00:00:00 2001
6a91557
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
6a91557
Date: Fri, 18 Apr 2014 06:58:29 -0400
6a91557
Subject: [PATCH] disable libdw unwind on non-x86
6a91557
6a91557
Bugzilla: 1025603
6a91557
Upstream-status: ??
6a91557
---
6a91557
 tools/perf/config/Makefile | 4 ++++
6a91557
 1 file changed, 4 insertions(+)
6a91557
4f60176
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
6a91557
index 1f67aa02d240..86c21a24da46 100644
4f60176
--- a/tools/perf/config/Makefile
4f60176
+++ b/tools/perf/config/Makefile
6a91557
@@ -52,6 +52,10 @@ ifeq ($(ARCH),powerpc)
6a91557
   CFLAGS += -DHAVE_SKIP_CALLCHAIN_IDX
4f60176
 endif
4f60176
 
4f60176
+ifneq ($(ARCH),x86)
4f60176
+  NO_LIBDW_DWARF_UNWIND := 1
4f60176
+endif
4f60176
+
4f60176
 ifeq ($(LIBUNWIND_LIBS),)
4f60176
   NO_LIBUNWIND := 1
4f60176
 else
6a91557
-- 
6a91557
1.9.3
6a91557