diff options
| -rw-r--r-- | tools/perf/config/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index ee21fa95ebcf..a71fb395e38f 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
| @@ -34,6 +34,14 @@ ifeq ($(ARCH),arm) | |||
| 34 | LIBUNWIND_LIBS = -lunwind -lunwind-arm | 34 | LIBUNWIND_LIBS = -lunwind -lunwind-arm |
| 35 | endif | 35 | endif |
| 36 | 36 | ||
| 37 | # So far there's only x86 libdw unwind support merged in perf. | ||
| 38 | # Disable it on all other architectures in case libdw unwind | ||
| 39 | # support is detected in system. Add supported architectures | ||
| 40 | # to the check. | ||
| 41 | ifneq ($(ARCH),x86) | ||
| 42 | NO_LIBDW_DWARF_UNWIND := 1 | ||
| 43 | endif | ||
| 44 | |||
| 37 | ifeq ($(LIBUNWIND_LIBS),) | 45 | ifeq ($(LIBUNWIND_LIBS),) |
| 38 | NO_LIBUNWIND := 1 | 46 | NO_LIBUNWIND := 1 |
| 39 | else | 47 | else |
