summaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile.config
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-12-06 22:39:39 +0100
committerIngo Molnar <mingo@kernel.org>2017-12-06 22:39:39 +0100
commitd6eabce2577a695197e9433302fd6a9f0e1a7666 (patch)
treee5c5bcc7803879d5d911cc8faeb74a946c242395 /tools/perf/Makefile.config
parent6e948c67c47211afcc65c9ccdeedbd5db5c57077 (diff)
parent328b4ed93b69a6f2083d52f31a240a09e5de386a (diff)
downloadlinux-stable-d6eabce2577a695197e9433302fd6a9f0e1a7666.tar.gz
linux-stable-d6eabce2577a695197e9433302fd6a9f0e1a7666.tar.bz2
linux-stable-d6eabce2577a695197e9433302fd6a9f0e1a7666.zip
Merge branch 'linus' into perf/urgent, to synchronize UAPI headers
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/Makefile.config')
-rw-r--r--tools/perf/Makefile.config6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 63f534a0902f..ed65e82f034e 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -53,6 +53,10 @@ ifeq ($(SRCARCH),arm64)
LIBUNWIND_LIBS = -lunwind -lunwind-aarch64
endif
+ifeq ($(ARCH),s390)
+ NO_PERF_REGS := 0
+endif
+
ifeq ($(NO_PERF_REGS),0)
$(call detected,CONFIG_PERF_REGS)
endif
@@ -61,7 +65,7 @@ endif
# Disable it on all other architectures in case libdw unwind
# support is detected in system. Add supported architectures
# to the check.
-ifneq ($(SRCARCH),$(filter $(SRCARCH),x86 arm powerpc))
+ifneq ($(SRCARCH),$(filter $(SRCARCH),x86 arm powerpc s390))
NO_LIBDW_DWARF_UNWIND := 1
endif