Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 11:33:15 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/conf GENERIC
Message-ID:  <XFMail.010525113315.jhb@FreeBSD.org>
In-Reply-To: <20010525111502.B95361@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-May-01 David O'Brien wrote:
> On Fri, May 25, 2001 at 10:47:50AM -0700, John Baldwin wrote:
>> >   Modified files:
>> >     sys/alpha/conf       GENERIC 
>> >   Log:
>> ...
>> >   + Add example KTR (debugging) options.
>> 
>> Those are already in NOTES.  I think that is the preferred place to add in
>> commented out examples of kernel options moreso than GENERIC.
> 
> I can back those out, but I thought you wanted to encourage people
> running -current to use as many debugging options possible to help find
> bugs.  You had me put those in my kernel at one point.

KTR is a bit more involved than things like invariants or witness which just
provide a panic message that one can usually use to find a bug quickly.  For
KTR, you have to setup the machine to log certain classes of events and then
wade through those event logs to figure out what happened to cause the bug. 
This can involve a lot more work, and setting up what options to log is usually
something you do when you have a specific reproducible bug you want to track
down.  Logging everyhing in sight would just slow things down to an absolute
crawl and add in so many irrelevant log messages in between the useful ones in
case of a bug to make them all worthless anyways.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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