Thread (6 messages) flat view 6 messages, 3 authors, 2012-05-16

Re: [PATCH net-next 2/2] net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debug

From: Joe Perches <joe@perches.com>
Date: 2012-05-16 01:49:50
Also in: lkml

On Tue, 2012-05-15 at 18:35 -0700, Stephen Hemminger wrote:
On Tue, 15 May 2012 17:11:54 -0700
Joe Perches [off-list ref] wrote:
quoted
Use the current debugging style and enable dynamic_debug.

Signed-off-by: Joe Perches <joe@perches.com>
This changes the action of the system. By default:
  printk(KERN_DEBUG "foo\n");
is enabled all the time and prints to log with debug level.

But your version
  pr_debug("foo\n");
defaults to being dropped until the system is built with dynamic
debug, and that particular debug instance is enabled.

Since these are all useful, but low priority messages, not I
don't think disabling them by default is such a great idea now.
Just had that discussion with David Miller.

http://marc.info/?l=linux-sctp&m=133710673230503&w=2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help