From mboxrd@z Thu Jan 1 00:00:00 1970 From: john@jjdev.com (John de la Garza) Date: Wed, 26 Feb 2014 11:47:41 -0800 Subject: How to use pr_debug In-Reply-To: References: Message-ID: <20140226194740.GA15616@vega.jjdev.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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