[PATCH 1/1] Ubuntu: Sauce: Disable function tracing after hitting __schedule_bug

Chase Douglas chase.douglas at canonical.com
Fri Mar 12 17:30:11 UTC 2010


On Fri, Mar 12, 2010 at 12:15 PM, Andy Whitcroft <apw at canonical.com> wrote:
> On Fri, Mar 12, 2010 at 10:23:45AM -0500, Chase Douglas wrote:
>
>> >> +       tracing_off();
>> >> +
>
> How about adding a __read_mostly toggle for this set by a boot
> parameter:
>
>        if (likely(sched_tracing_stop))
>                tracing_off();
>
> -apw

Possible, but a more invasive patch. If we think people will ever want
to disable it, then it's probably worth while. I'm just not sure
whether people will ever want to do so in an official Ubuntu kernel.




More information about the kernel-team mailing list