summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-10-27 19:26:01 +0000
committerrwatson <rwatson@FreeBSD.org>2004-10-27 19:26:01 +0000
commite2756c4e4cc293e7c9787293bb82f4222b3492d3 (patch)
tree74551880a50be9d0df7b9239c7d3d33ecdbf2170 /sys/conf
parent0a4f1e0cd49fc25a21cb693c72d7c809f026b6ab (diff)
downloadFreeBSD-src-e2756c4e4cc293e7c9787293bb82f4222b3492d3.zip
FreeBSD-src-e2756c4e4cc293e7c9787293bb82f4222b3492d3.tar.gz
Move the 'debug' sysctl tree under options SYSCTL_DEBUG. It generates
an inordinate amount of synchronous console output that is fairly undesirable on slower serial console. It's easily hit by accident when frobbing other sysctls late at night.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES8
-rw-r--r--sys/conf/options1
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index c60f002..236da8b 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -300,6 +300,14 @@ options DDB_NUMSYM
options GDB
#
+# SYSCTL_DEBUG enables a 'sysctl' debug tree that can be used to dump the
+# contents of the registered sysctl nodes on the console. It is disabled by
+# default because it generates excessively verbose consol output that can
+# interfere with serial console operation.
+#
+options SYSCTL_DEBUG
+
+#
# KTRACE enables the system-call tracing facility ktrace(2). To be more
# SMP-friendly, KTRACE uses a worker thread to process most trace events
# asynchronously to the thread generating the event. This requires a
diff --git a/sys/conf/options b/sys/conf/options
index 6ecda32..2f0b33d 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -54,6 +54,7 @@ GDBSPEED opt_gdb.h
KDB opt_global.h
KDB_TRACE opt_kdb.h
KDB_UNATTENDED opt_kdb.h
+SYSCTL_DEBUG opt_sysctl.h
# Miscellaneous options.
ADAPTIVE_GIANT opt_adaptive_mutexes.h
OpenPOWER on IntegriCloud