Debug options

Brooks Davis brooks at one-eyed-alien.net
Thu Apr 21 15:09:07 PDT 2005


On Fri, Apr 22, 2005 at 12:03:35AM +0200, Niklas Sorensson wrote:
> Hi,
> 
> I was wondering how to turn off the debug options mentioned in /usr/src/UPDATING.
> So far, I only found these kernel options:
> 
> options        KDB
> options        DDB
> options        GDB
> options        INVARIANTS
> options        INVARIANT_SUPPORT
> options        WITNESS
> options        WITNESS_SKIPSPIN
> 
> Are there any other options that affect performance? The note mentions
> malloc-debugging flags, but I don't know how to turn it off.

That's the big stuff in the kernel.  For malloc options, see the
malloc(3) manpage.  To completely disable the default malloc debugging
options do:

ln -s 'aj' /etc/malloc.conf

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050421/983c2e60/attachment.bin


More information about the freebsd-current mailing list