From: martink@posteo.de (Martin Kepplinger)
To: kernelnewbies@lists.kernelnewbies.org
Subject: loglevel 7 (debug) and pr_debug()
Date: Wed, 16 Apr 2014 10:43:49 +0200 [thread overview]
Message-ID: <534E42C5.1040904@posteo.de> (raw)
I'm on Debian here and I don't really get pr_debug and printk(KERN_DEBUG
...). Let's stick to pr_debug.
I have DYNAMIC_DEBUG enabled and
root at laptop:/proc/sys/kernel# cat /proc/sys/kernel/printk
7 7 1 7
I write a module with pr_debug's. I load the module and I *don't* see
anything in /var/log/messages (or anywhere in /var/log/* ). Adding
#define DEBUG doesn't help.
/sys/kernel/debug/dynamic_debug/control has the pr_debug entries I use
in my loaded module.
In short: How do I see debug log messages? Using pr_info() works as
expected. What am I missing? Do I need to edit my Makefile?
thanks!
martin
--
Martin Kepplinger
e-mail martink AT posteo DOT at
chat (XMPP) martink AT jabber DOT at
next reply other threads:[~2014-04-16 8:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 8:43 Martin Kepplinger [this message]
2014-04-16 9:00 ` loglevel 7 (debug) and pr_debug() Arun KS
2014-04-16 9:16 ` Martin Kepplinger
2014-04-16 9:58 ` Arun KS
2014-04-16 11:11 ` Martin Kepplinger
2014-04-16 11:43 ` Denis Pithon
2014-04-16 11:57 ` Martin Kepplinger
2014-04-16 12:29 ` Arun KS
2014-04-16 12:30 ` Valdis.Kletnieks at vt.edu
2014-04-16 12:37 ` Denis Pithon
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=534E42C5.1040904@posteo.de \
--to=martink@posteo.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.