Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 05:11:29 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232997 - head/sys/kern
Message-ID:  <201203150511.q2F5BT5M048639@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Thu Mar 15 05:11:29 2012
New Revision: 232997
URL: http://svn.freebsd.org/changeset/base/232997

Log:
  Add debug.kld_debug loader tunable.
  
  MFC after:	2 weeks

Modified:
  head/sys/kern/kern_linker.c

Modified: head/sys/kern/kern_linker.c
==============================================================================
--- head/sys/kern/kern_linker.c	Thu Mar 15 02:46:12 2012	(r232996)
+++ head/sys/kern/kern_linker.c	Thu Mar 15 05:11:29 2012	(r232997)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203150511.q2F5BT5M048639>