kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: bjorn@mork.no (Bjørn Mork)
To: kernelnewbies@lists.kernelnewbies.org
Subject: viewing pr_debug messages
Date: Mon, 10 Nov 2014 00:03:59 +0100	[thread overview]
Message-ID: <878ujk563k.fsf@nemi.mork.no> (raw)
In-Reply-To: <87k334ja2v.fsf@gmail.com> (Thomas Gummerer's message of "Sun, 09 Nov 2014 23:14:16 +0100")

Thomas Gummerer <t.gummerer@gmail.com> writes:
> Kevin Wilson <wkevils@gmail.com> writes:
>
>> I am using journalctl -kf or journalctl -k
>> to see kernel log messages.
>>
>> However, messages of "pr_debug" are not shown by this commands.
>>
>> Is there some way to view pr_debug kernel messages with journalctl -k ?
>
> pr_debug messages is usually an empty macro, unless it is explicitly
> enabled by using -DDEBUG in the Makefile for the specific file.
>
> see: https://www.kernel.org/doc/local/pr_debug.txt

Yes, but you should also see:
https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt


Bj?rn

      reply	other threads:[~2014-11-09 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-09 18:10 viewing pr_debug messages Kevin Wilson
2014-11-09 22:14 ` Thomas Gummerer
2014-11-09 23:03   ` Bjørn Mork [this message]

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=878ujk563k.fsf@nemi.mork.no \
    --to=bjorn@mork.no \
    --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).