viewing pr_debug messages
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
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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/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.
Yes, but you should also see: https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt Bjørn
participants (3)
-
Bjørn Mork -
Kevin Wilson -
Thomas Gummerer