Add debug.kld_debug loader tunable.
MFC after: 2 weeks
This commit is contained in:
parent
7e61ff80de
commit
9be115302d
@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
|
||||
int kld_debug = 0;
|
||||
SYSCTL_INT(_debug, OID_AUTO, kld_debug, CTLFLAG_RW,
|
||||
&kld_debug, 0, "Set various levels of KLD debug");
|
||||
TUNABLE_INT("debug.kld_debug", &kld_debug);
|
||||
#endif
|
||||
|
||||
#define KLD_LOCK() sx_xlock(&kld_sx)
|
||||
|
Loading…
Reference in New Issue
Block a user