Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: Antti Kantee <firstname.lastname@example.org>
From: matthew sporleder <email@example.com>
Date: 11/06/2007 07:14:51
On Nov 6, 2007 7:10 AM, Antti Kantee <firstname.lastname@example.org> wrote:
> On Tue Nov 06 2007 at 07:03:34 -0500, matthew sporleder wrote:
> > > Actually, I believe in the "no debug options at all" approach, i.e. all
> > > debugging code enabled all the time, but that's another bikeshed.
> > >
> > Isn't the ideal situation to have these options available at runtime,
> > then less desirable would be to toggle them at boot, and then least
> > desirable is in the kernel config itself?
> Ignoring the technical aspects: No, that doesn't solve the problem:
> "whoops, had a crash, better toggle my debugging options on now...
> oh... bummer" ;)
> And when you do turn them on your problem of course magically doesn't
> happen anymore.
It's better than "whoops I had a crash, now I need a new kernel." :)
(maybe enabling at boot is the best idea-- yay bootprops)
I can't really speak to the debugging solving issues because I've
never seen it happen myself.