summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-09-30 16:47:01 +0000
committeravg <avg@FreeBSD.org>2010-09-30 16:47:01 +0000
commit1f20beb47f6f8b94b4b99fe9718b2c311e8f9155 (patch)
tree2a8c6ef7e3a85b024039526128b7a337de1df39b /sys
parent54a87db1fb5cdd5f202f9ecdb3b4cefd894a592e (diff)
downloadFreeBSD-src-1f20beb47f6f8b94b4b99fe9718b2c311e8f9155.zip
FreeBSD-src-1f20beb47f6f8b94b4b99fe9718b2c311e8f9155.tar.gz
debug.kdb.stop_cpus sysctl: hint that this is also a tunable
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_kdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index 5a93f87..692ecb4 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -95,7 +95,7 @@ SYSCTL_PROC(_debug_kdb, OID_AUTO, trap_code, CTLTYPE_INT | CTLFLAG_RW, NULL, 0,
*/
#ifdef SMP
static int kdb_stop_cpus = 1;
-SYSCTL_INT(_debug_kdb, OID_AUTO, stop_cpus, CTLTYPE_INT | CTLFLAG_RW,
+SYSCTL_INT(_debug_kdb, OID_AUTO, stop_cpus, CTLFLAG_RW | CTLFLAG_TUN,
&kdb_stop_cpus, 0, "stop other CPUs when entering the debugger");
TUNABLE_INT("debug.kdb.stop_cpus", &kdb_stop_cpus);
#endif
OpenPOWER on IntegriCloud