Re: How to use pr_debug

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

 



On Wed, Feb 26, 2014 at 11:35:23AM -0800, m silverstri wrote:
> I am using 'pr_debug()' to print debug statements. But I don't see
> anything in my serial console. But when I use pr_info(), I see the
> debug statements.
> Do I need to do anything to see pr_debug()?

add this to the top of the file (before the includes)

#define DEBUG


on my system the output goes to /var/log/debug


_______________________________________________
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