]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/Makefile
mm, kasan: stackdepot implementation. Enable stackdepot for SLAB
[karo-tx-linux.git] / arch / x86 / kernel / Makefile
index d5fb0871aba3fcb3a556dae66255c8b185b7e32e..616ebd22ef9a2eee183dde7fae5bac7d03e28351 100644 (file)
@@ -19,12 +19,19 @@ endif
 KASAN_SANITIZE_head$(BITS).o                           := n
 KASAN_SANITIZE_dumpstack.o                             := n
 KASAN_SANITIZE_dumpstack_$(BITS).o                     := n
+KASAN_SANITIZE_stacktrace.o := n
 
 OBJECT_FILES_NON_STANDARD_head_$(BITS).o               := y
 OBJECT_FILES_NON_STANDARD_relocate_kernel_$(BITS).o    := y
 OBJECT_FILES_NON_STANDARD_mcount_$(BITS).o             := y
 OBJECT_FILES_NON_STANDARD_test_nx.o                    := y
 
+# If instrumentation of this dir is enabled, boot hangs during first second.
+# Probably could be more selective here, but note that files related to irqs,
+# boot, dumpstack/stacktrace, etc are either non-interesting or can lead to
+# non-deterministic coverage.
+KCOV_INSTRUMENT                := n
+
 CFLAGS_irq.o := -I$(src)/../include/asm/trace
 
 obj-y                  := process_$(BITS).o signal.o