Re: viewing pr_debug messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Gummerer <t.gummerer@xxxxxxxxx> writes:
> Kevin Wilson <wkevils@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux