git: e376d28ce861 - main - LINT: enable KLD_DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Sep 2026 09:55:03 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=e376d28ce86135a12e3a9b31ca31fe80c59611be
commit e376d28ce86135a12e3a9b31ca31fe80c59611be
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2026-09-21 09:51:26 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2026-09-21 09:54:12 +0000
LINT: enable KLD_DEBUG
Without this, no kernel config contained this option so it was easy to
break.
Sponsored by: Innovate UK
---
sys/conf/NOTES | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index a51f471befa7..c9075d89c8ed 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -634,6 +634,11 @@ options NUM_CORE_FILES=5
options TSLOG
options TSLOGSIZE=262144
+#
+# The KLD_DEBUG debug option enables debug printfs in the kernel linker.
+#
+options KLD_DEBUG=3
+
#####################################################################
# PERFORMANCE MONITORING OPTIONS