Re: Debug options

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Thu, 21 Apr 2005 15:09:02 -0700
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

Received on Thu Apr 21 2005 - 20:09:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC