From owner-cvs-all Fri May 25 11:33:27 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 92F6537B424; Fri, 25 May 2001 11:33:16 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f4PIXBG19437; Fri, 25 May 2001 11:33:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010525111502.B95361@dragon.nuxi.com> Date: Fri, 25 May 2001 11:33:15 -0700 (PDT) From: John Baldwin To: "David O'Brien" Subject: Re: cvs commit: src/sys/alpha/conf GENERIC Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- 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