How to enable dev_dbg messaging
How do I turn on dev_dbg messaging in the kernel? I can get printk(KERN_DEBUG ...) to work just fine, but I don't know how to enable dev_dbg.
Thanks,
Jay
Quoted 3 lines · Jay Cliburn
How do I turn on
dev_dbgmessaging in the kernel? I can getprintk(KERN_DEBUG ...)to work just fine, but I don't know how to enabledev_dbg.
Defining DEBUG before including <linux/device.h> enables dev_dbg to work.