loglevel 7 (debug) and pr_debug()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux