lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] small xhci cleanups
On Tue, Mar 16, 2010 at 02:24:45PM -0700, Sarah Sharp wrote:
> Ok, I didn't see Greg's email about dynamic debugging. I guess you
> shouldn't refresh the second patch. I'm not sure how I would go about
> converting the xHCI driver to dynamic debugging, as I haven't looked
> into it. Is there any documentation/simple examples?

Yes, just use 'dev_dbg' and you are finished.

Or pr_debug if you want to use different logging levels with your
macros.

> Greg, does the less-verbose patch with log levels still make sense if
> the driver got converted over to dynamic debugging?

I don't know what people really want to see. In 6 months you will
probably only care about "debugging on or off" as the majority of the
messages only help you out when developing the driver, right?

So maybe par down some of the messages, or just live with seeing them
all, it will be easier in the end.

thanks,

grg k-h


\
 
 \ /
  Last update: 2010-03-16 22:43    [W:0.033 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site