summaryrefslogtreecommitdiffstats
path: root/disable-libdw-unwind-on-non-x86.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-04-18 06:58:29 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-04-18 06:58:29 -0400
commit4f60176946559ae67f6b3fc91e023aea42b5ae88 (patch)
tree32ef323db4fcebfc781c871770d7ba88df2977ac /disable-libdw-unwind-on-non-x86.patch
parentec661e9846b5a7819fcd535257f9c49281515152 (diff)
downloadkernel-4f60176946559ae67f6b3fc91e023aea42b5ae88.tar.gz
kernel-4f60176946559ae67f6b3fc91e023aea42b5ae88.tar.xz
kernel-4f60176946559ae67f6b3fc91e023aea42b5ae88.zip
Linux v3.15-rc1-113-g6ca2a88ad820
- Build perf with unwind support via libdw (rhbz 1025603)
Diffstat (limited to 'disable-libdw-unwind-on-non-x86.patch')
-rw-r--r--disable-libdw-unwind-on-non-x86.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/disable-libdw-unwind-on-non-x86.patch b/disable-libdw-unwind-on-non-x86.patch
new file mode 100644
index 000000000..445fc1942
--- /dev/null
+++ b/disable-libdw-unwind-on-non-x86.patch
@@ -0,0 +1,15 @@
+diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
+index ee21fa9..19ee413 100644
+--- a/tools/perf/config/Makefile
++++ b/tools/perf/config/Makefile
+@@ -34,6 +34,10 @@ ifeq ($(ARCH),arm)
+ LIBUNWIND_LIBS = -lunwind -lunwind-arm
+ endif
+
++ifneq ($(ARCH),x86)
++ NO_LIBDW_DWARF_UNWIND := 1
++endif
++
+ ifeq ($(LIBUNWIND_LIBS),)
+ NO_LIBUNWIND := 1
+ else