LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@computergmbh.de>
To: Jason Baron <jbaron@redhat.com>
Cc: Joe Perches <joe@perches.com>,
	mathieu.desnoyers@polymtl.ca, akpm@linux-foundation.org,
	mingo@elte.hu, fche@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [patch 0/4] make pr_debug() dynamic
Date: Sat, 9 Feb 2008 23:21:58 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0802092320380.6917@fbirervta.pbzchgretzou.qr> (raw)
In-Reply-To: <20080208155204.GB13650@redhat.com>


On Feb 8 2008 10:52, Jason Baron wrote:
>On Thu, Feb 07, 2008 at 02:42:14PM -0800, Joe Perches wrote:
>> On Thu, 2008-02-07 at 16:03 -0500, Jason Baron wrote:
>> > make the pr_debug() function dependent upon the new immediate infrastruture.
>> 
>> What's wrong with klogd -c 8 or equivalent?
>
>Setting the loglevel higher, will not make pr_debug() calls visible. The only
>way to make them visible right now, is by re-compiling the kernel.

pr_debug() was IMHO meant to be a compile-time optimization
to throw out debug messages most people do not want.

If you want to switch on/off debugging messages, use
printk(KERN_DEBUG) [with klogd -c something] and not pr_debug!

  reply	other threads:[~2008-02-09 22:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 21:03 Jason Baron
2008-02-07 22:42 ` Joe Perches
2008-02-08 15:52   ` Jason Baron
2008-02-09 22:21     ` Jan Engelhardt [this message]
2008-02-11 16:38       ` Jason Baron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0802092320380.6917@fbirervta.pbzchgretzou.qr \
    --to=jengelh@computergmbh.de \
    --cc=akpm@linux-foundation.org \
    --cc=fche@redhat.com \
    --cc=jbaron@redhat.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@polymtl.ca \
    --cc=mingo@elte.hu \
    --subject='Re: [patch 0/4] make pr_debug() dynamic' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).