Date: Thu, 21 Apr 2005 15:09:02 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Niklas Sorensson <nik@cs.chalmers.se> Cc: freebsd-current@freebsd.org Subject: Re: Debug options Message-ID: <20050421220902.GA2960@odin.ac.hmc.edu> In-Reply-To: <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se> References: <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se>
next in thread | previous in thread | raw e-mail | index | archive | help
--x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2005 at 12:03:35AM +0200, Niklas Sorensson wrote: > Hi, >=20 > I was wondering how to turn off the debug options mentioned in /usr/src/U= PDATING. > So far, I only found these kernel options: >=20 > options KDB > options DDB > options GDB > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_SKIPSPIN >=20 > 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 --=20 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 --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCaCR9XY6L6fI4GtQRArQpAJ9zKaWjao8iax0+gWikYnPeWomf7gCg5yDl bN0JmawfEfBdwdb44nX11ek= =thu9 -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050421220902.GA2960>