From: john@jjdev.com (John de la Garza)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to use pr_debug
Date: Wed, 26 Feb 2014 11:47:41 -0800 [thread overview]
Message-ID: <20140226194740.GA15616@vega.jjdev.com> (raw)
In-Reply-To: <CABMudhS65ghDsA56NGmayAt8wwgvX+miLX2a1SB__xbXhq_7Kw@mail.gmail.com>
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
next prev parent reply other threads:[~2014-02-26 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-26 19:35 How to use pr_debug m silverstri
2014-02-26 19:47 ` John de la Garza [this message]
2014-02-26 22:28 ` Valdis.Kletnieks at vt.edu
2014-02-27 0:28 ` 회신: " 김찬
2014-02-27 0:36 ` Kim Chan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140226194740.GA15616@vega.jjdev.com \
--to=john@jjdev.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).