|
@@ -34,6 +34,14 @@ ifeq ($(ARCH),arm)
|
|
|
LIBUNWIND_LIBS = -lunwind -lunwind-arm
|
|
|
endif
|
|
|
|
|
|
+# So far there's only x86 libdw unwind support merged in perf.
|
|
|
+# Disable it on all other architectures in case libdw unwind
|
|
|
+# support is detected in system. Add supported architectures
|
|
|
+# to the check.
|
|
|
+ifneq ($(ARCH),x86)
|
|
|
+ NO_LIBDW_DWARF_UNWIND := 1
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(LIBUNWIND_LIBS),)
|
|
|
NO_LIBUNWIND := 1
|
|
|
else
|