Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2006 18:24:51 -0500
From:      Scott Robbins <scottro@nyc.rr.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Am I an Idiot?
Message-ID:  <20061209232451.GA49674@mail.scottro.net>
In-Reply-To: <457B3D6E.5080207@FreeBSD.org>
References:  <4579EB08.8080704@intersonic.se> <457A3B9B.5000304@datalinktech.com.au> <f2c91f770612091238v747a82fdy2908da9276c20801@mail.gmail.com> <457B352A.1040202@datalinktech.com.au> <f2c91f770612091423h51a7bd7du2b79e801ea4662f4@mail.gmail.com> <457B3D6E.5080207@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 09, 2006 at 02:49:18PM -0800, Doug Barton wrote:
> David Stanford wrote:
> > On 12/9/06, David Nugent <davidn@datalinktech.com.au> wrote:
> >>
> >> David Stanford wrote:
> >> > This is a somewhat OT question, but what needs to be done to turn off
> > 
> > It was my assumption to simply remove this entire section to disable
> > debugging:
> > 
> > =====================
> > # Debugging for use in -current
> 
> These don't really hurt performance
> 
> > options         KDB                     # Enable kernel debugger support.
> > options         DDB                     # Support DDB.
> 

<useful information from Doug ruthlessly snipped>

I believe that it also helps to turn off malloc debugging.  For quite
awhile I've been doing

ln -s aj /etc/malloc.conf

Also, (though I'm not sure this is still necessary)
I've been adding 

CFLAGS+=-DNO_MALLOC_EXTRAS

to /etc/make.conf.  



-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: Then why with the crazy? 
Riley: Because I'm so in love with you I can't think straight. 




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