summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/Makefile
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-06-20 14:08:32 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-06-28 09:32:39 +0200
commit907fa061cc24f7092db4fcb7938b9cb6ea7dd15e (patch)
treebb1e172354bb805359f98358e0ba4fc573dd5ac6 /arch/s390/kernel/Makefile
parents390/cpumf: use basic block for ecctr inline assembly (diff)
downloadlinux-907fa061cc24f7092db4fcb7938b9cb6ea7dd15e.tar.xz
linux-907fa061cc24f7092db4fcb7938b9cb6ea7dd15e.zip
s390: enable kcov support
Now that hopefully all inline assemblies have been converted to single basic blocks we can enable kcov on s390. Note that this patch does not disable as many files on s390 like the x86 variant does. Right now I didn't see a reason to do that, however additional files or directories can be excluded at any time. The runtime overhead seems to be quite high. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/Makefile')
-rw-r--r--arch/s390/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile
index 8d1419120bb7..f37be37edd3a 100644
--- a/arch/s390/kernel/Makefile
+++ b/arch/s390/kernel/Makefile
@@ -2,6 +2,9 @@
# Makefile for the linux kernel.
#
+KCOV_INSTRUMENT_early.o := n
+KCOV_INSTRUMENT_sclp.o := n
+
ifdef CONFIG_FUNCTION_TRACER
# Don't trace early setup code and tracing code
CFLAGS_REMOVE_early.o = $(CC_FLAGS_FTRACE)