lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PATCH] driver core patches for your 2.6-git tree
On Thu, Oct 16, 2008 at 10:09:55AM -0700, Greg KH wrote:
> Here is the driver core patchset for your 2.6-git tree.
>
> Highlights include:

> - dynamic dev_printk() patch, allows debugging to be turned on
> the fly, instead of at build time. This is very good and has
> been in the opensuse beta releases already with much success.

while I think this is a good feature b/c it allows dynamically turning debug
information on/off at runtime, and it creates a standard framework for
all the DEBUGP, dprintk, DEBUG, calls that each subsystems defines for
itself, there was some resistance to this approach in another thread,
see: http://marc.info/?l=linux-kernel&m=122164181331567&w=2
I am adding the relevant parties to the 'cc here in the interest of making sure
interested parties are aware of this patch proposal.

One concern, raised in the other thread was that subsystems might want
to use their own defined tags, as opposed to KBUILD_MODNAME, which is
used by default to group together debugging control. Layering this tag
ability on top of this patchset is not hard, and I already have patches
which begin to do that...Also, this patch allows passing one command
line argument to enable all debugging which can later be turn on/off
as desired. This patch already stands on its own in enabling all pr_debug and
dev_dbg calls to be dynamically enabled.

thanks,

-Jason


\
 
 \ /
  Last update: 2008-10-17 17:35    [W:0.223 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site