lkml.org 
[lkml]   [2008]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc] [patch] hook tracer to dynamic debug
On Fri, Dec 05, 2008 at 02:39:28PM -0500, Jason Baron wrote:
> hi,
>
> Currently, the dynamic debug framework uses 'printk' for output. Here,
> i've hooked the backend of the dynamic debug framework to the tracing
> framework. This allows the dynamic debug output to be seaprated from the
> system log, and allows for higher performance.

Is this really an issue most of the time?

I know logs can get full, but this seems like a bit of an overkill :)

> I've implemented it as a compile time option, but a user might want to
> be able to toggle b/w 'printk' and the tracer at run-time...other
> ideas? Patch is against the -tip tree...

It would have to be a run-time option if you want any distro to ever be
able to enable this in their kernels.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-12-07 07:01    [W:0.733 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site