* viewing pr_debug messages
@ 2014-11-09 18:10 Kevin Wilson
2014-11-09 22:14 ` Thomas Gummerer
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Wilson @ 2014-11-09 18:10 UTC (permalink / raw)
To: kernelnewbies
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 ?
regards,
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* viewing pr_debug messages
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
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gummerer @ 2014-11-09 22:14 UTC (permalink / raw)
To: kernelnewbies
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
> regards,
> Kevin
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 3+ messages in thread
* viewing pr_debug messages
2014-11-09 22:14 ` Thomas Gummerer
@ 2014-11-09 23:03 ` Bjørn Mork
0 siblings, 0 replies; 3+ messages in thread
From: Bjørn Mork @ 2014-11-09 23:03 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-09 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).