How to use pr_debug
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Wed Feb 26 17:28:42 EST 2014
On Wed, 26 Feb 2014 11:35:23 -0800, m silverstri said:
> 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()?
You probably need a #define DEBUG. Also, check your console logging
level, make sure it's set to output debug-level to the console.
/proc/sys/kernel/printk and 'dmesg --console-level' are your friends.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140226/86818c70/attachment.bin
More information about the Kernelnewbies
mailing list