lkml.org 
[lkml]   [2022]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/4] Fixup for 87b31159f78a ("module: Move all into module/")
Date
Fixes: 87b31159f78a ("module: Move all into module/")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
kernel/Makefile | 1 -
kernel/module/Makefile | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/kernel/Makefile b/kernel/Makefile
index 3a6380975c57..04cb6932c0d3 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -29,7 +29,6 @@ KCOV_INSTRUMENT_softirq.o := n
KCSAN_SANITIZE_softirq.o = n
# These are called from save_stack_trace() on slub debug path,
# and produce insane amounts of uninteresting coverage.
-KCOV_INSTRUMENT_module.o := n
KCOV_INSTRUMENT_extable.o := n
KCOV_INSTRUMENT_stacktrace.o := n
# Don't self-instrument.
diff --git a/kernel/module/Makefile b/kernel/module/Makefile
index 686ca921fc8f..b57953bd47eb 100644
--- a/kernel/module/Makefile
+++ b/kernel/module/Makefile
@@ -3,6 +3,10 @@
# Makefile for linux kernel module support
#

+# These are called from save_stack_trace() on slub debug path,
+# and produce insane amounts of uninteresting coverage.
+KCOV_INSTRUMENT_main.o := n
+
obj-$(CONFIG_MODULES) += main.o
obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
obj-$(CONFIG_MODULE_SIG) += signing.o
--
2.34.1
\
 
 \ /
  Last update: 2022-02-22 11:24    [W:0.044 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site