From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Mon, 10 Nov 2014 00:03:59 +0100 Subject: viewing pr_debug messages In-Reply-To: <87k334ja2v.fsf@gmail.com> (Thomas Gummerer's message of "Sun, 09 Nov 2014 23:14:16 +0100") References: <87k334ja2v.fsf@gmail.com> Message-ID: <878ujk563k.fsf@nemi.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Thomas Gummerer writes: > Kevin Wilson 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