Debug options

Andre Guibert de Bruet andy at siliconlandmark.com
Fri Apr 22 23:45:01 PDT 2005


On Thu, 21 Apr 2005, Brooks Davis wrote:

> On Fri, Apr 22, 2005 at 12:03:35AM +0200, Niklas Sorensson wrote:
>
>> 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

May I also suggest tuning(7)?

| Andre Guibert de Bruet | Enterprise Software Consultant >
| Silicon Landmark, LLC. | http://siliconlandmark.com/    >




More information about the freebsd-current mailing list