viewing pr_debug messages

Bjørn Mork bjorn at mork.no
Sun Nov 9 18:03:59 EST 2014


Thomas Gummerer <t.gummerer at gmail.com> writes:
> Kevin Wilson <wkevils at 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



More information about the Kernelnewbies mailing list