Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: Antti Kantee <email@example.com>
From: Adam Hamsik <firstname.lastname@example.org>
Date: 11/06/2007 15:17:57
On Nov,Tuesday 6 2007, at 1:10 PM, Antti Kantee 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.
IMHO something like boot -c debug/lockdebug... doesn't hurt and
should be useable for everyone. if you need debug you can turn it on
is it possible to do this or we have to change to much code for this?