Thread (2 messages) 2 messages, 2 authors, 2014-02-26

How to use pr_debug

From: John de la Garza <hidden>
Date: 2014-02-26 19:47:41

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help