[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080717225611.GA27481@isilmar.linta.de>
Date: Fri, 18 Jul 2008 00:56:11 +0200
From: Dominik Brodowski <linux@...inikbrodowski.net>
To: Greg KH <greg@...ah.com>
Cc: Jason Baron <jbaron@...hat.com>, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, joe@...ches.com, nick@...k-andrew.net,
randy.dunlap@...cle.com
Subject: Re: [PATCH 1/7] dynamic debug v2 - infrastructure
Hi,
On Thu, Jul 17, 2008 at 03:32:22PM -0700, Greg KH wrote:
> > that is correct. any callers of dev_dbg() don't have to do anything. its really
> > only the more complex debugging, where there are flags or levels that need to
> > make adjustments to work with the new infrastructure.
>
> For this reason alone, I see no reason why your patch should not be
> merged today. You don't need the other subsystems at this point in time
> in my opinion, it's benifit is huge already.
not to object to this statement, but:
what about the user-visible interface? currently, it's based around one big
debugfs file. What about doing
<debugfs>/dynamic_printk/<module_name>/{enabled[,level][,flag][,modules]}
instead, or even
<sysfs>/module/<module_name>/debug/{enabled[,level][,flag]}
For "shared" modules like cpufreq (only user so far, AFAICS), things might
get a bit more interesting, but we found that out already in the other
thread ;)
Best wishes,
Dominik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists