kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: printk or pr_<level>?
Date: Wed, 23 Jul 2014 11:56:57 -0700	[thread overview]
Message-ID: <20140723185657.GA5396@kroah.com> (raw)
In-Reply-To: <CAAXLKtQXJh4QD=ufZO6iLRLp2cmLbHwveRA8uzskcLpQB7C9ig@mail.gmail.com>

On Wed, Jul 23, 2014 at 08:40:04PM +0200, Kristofer Hallin wrote:
> Yes.
> 
> https://www.kernel.org/doc/local/pr_debug.txt

No, that isn't true if CONFIG_DYNAMIC_DEBUG is enabled, which you really
should enable all the time.  If that option is enabled, then you can
enable the debugging messages after the code is loaded, or from the
module load command line, through that interface, which is much more
useful than just "enable/disable at build time".

Hope this helps,

greg k-h

  reply	other threads:[~2014-07-23 18:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 18:16 printk or pr_<level>? Raphael Silva
2014-07-23 18:34 ` Kristofer Hallin
2014-07-23 18:39   ` Fernando Apesteguía
2014-07-23 18:40     ` Kristofer Hallin
2014-07-23 18:56       ` Greg KH [this message]
2014-07-23 21:45   ` Arlie Stephens
2014-07-23 23:00     ` Greg KH
2014-07-23 23:00       ` Greg KH
2014-07-24  0:02         ` Raphael Silva
2014-07-24 18:36       ` Arlie Stephens

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=20140723185657.GA5396@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).