debug.kdb.stop_cpus sysctl: hint that this is also a tunable
MFC after: 1 week
This commit is contained in:
parent
d801e824f6
commit
10b2a365a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user