diff options
author | avg <avg@FreeBSD.org> | 2010-09-30 16:47:01 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-09-30 16:47:01 +0000 |
commit | 1f20beb47f6f8b94b4b99fe9718b2c311e8f9155 (patch) | |
tree | 2a8c6ef7e3a85b024039526128b7a337de1df39b /sys/kern/subr_kdb.c | |
parent | 54a87db1fb5cdd5f202f9ecdb3b4cefd894a592e (diff) | |
download | FreeBSD-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/kern/subr_kdb.c')
-rw-r--r-- | sys/kern/subr_kdb.c | 2 |
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 |