[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cab881354cedd64c53ce4e35ef8c86806baad99c.1645525354.git.christophe.leroy@csgroup.eu>
Date: Tue, 22 Feb 2022 11:23:24 +0100
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Aaron Tomlin <atomlin@...hat.com>,
Luis Chamberlain <mcgrof@...nel.org>,
linux-modules@...r.kernel.org
Cc: Christophe Leroy <christophe.leroy@...roup.eu>,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/4] Fixup for 87b31159f78a ("module: Move all into module/")
Fixes: 87b31159f78a ("module: Move all into module/")
Signed-off-by: Christophe Leroy <christophe.leroy@...roup.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
Powered by blists - more mailing lists