debug.kdb.stop_cpus sysctl: hint that this is also a tunable

MFC after:	1 week
This commit is contained in:
Andriy Gapon 2010-09-30 16:47:01 +00:00
parent d801e824f6
commit 10b2a365a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213304

View File

@ -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