Messages in this thread | | | Date | Thu, 15 Apr 2010 22:13:22 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 1/3 v4] Add tracing_off_event() to stop tracing when a bug or warning occur |
| |
On Wed, Apr 14, 2010 at 12:20:14PM -0400, Chase Douglas wrote: > The tracing_off_event() function calls tracing_off() to stop tracing > when an event occurs. By default, only BUG-type events stop tracing, > while WARNING type events do not. This is controlled through the > tracing_off={none,warn,bug} commandline parameter. > > Call this function from bug and warning event handlers to enable a user > to debug their kernel by starting a trace, hitting an event, and then > retrieving trace info knowing that the trace was stopped right after the > event was hit.
That's a good idea!
> > Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
| |