Date: Sat, 4 Nov 2006 20:31:51 +0000 From: John Birrell <jb@what-creek.com> To: "Simon L. Nielsen" <simon@FreeBSD.org> Cc: cvs-src@FreeBSD.org, John Birrell <jb@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/conf DEFAULTS src/sys/i386/conf DEFAULTS src/sys/ia64/conf DEFAULTS src/sys/pc98/conf DEFAULTS src/sys/powerpc/conf DEFAULTS src/sys/sparc64/conf DEFAULTS src/sys/sparc64/sparc64 machdep.c src/sys/sun4v/conf DEFAULTS Message-ID: <20061104203150.GB2027@what-creek.com> In-Reply-To: <20061104091155.GA12770@zaphod.nitro.dk> References: <200611040458.kA44wAKN097086@repoman.freebsd.org> <20061104091155.GA12770@zaphod.nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 04, 2006 at 10:11:56AM +0100, Simon L. Nielsen wrote: > Why isn't it just in GENERIC so people can easily disable it if they > like? I thought DEFAULTS was just meant for things which caused users > pain (and people answering support mails...) if they accidentally > missed the option? I don't really see DTrace falling in that > category. I added it to DEFAULTS so that it would be available automatically for people who didn't know that they want it. 8-) Adding it to GENERIC doesn't cover the people who have their own kernel configs. And they can still disable it in GENERIC or whatever config they are using just as easily as they could add it. The point is that there is negligible run-time impact and only a small increase in code size to have it enabled. Remember it's only the hooks and a few support functions. The guts of DTrace is in the 'dtrace' kernel module (and the associated providers) which still have to be loaded as modules. -- John Birrell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061104203150.GB2027>