Hi,  

Gabriele Filosofi spiffera, alle Friday 21 November 2008 circa:
> In order to debug a driver module (built in), I would like to display
> debugging messages. These messages are of the form
> dev_dbg(dev, "message", args)
> How can I enable it?

dev_dbg is defined in include/linux/device.h:

#ifdef DEBUG
#define dev_dbg(dev, format, arg...)            \
        dev_printk(KERN_DEBUG , dev , format , ## arg)
#else
#define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0)
#endif

take a look of what you need enable DEBUG in that specific file.
byebye!
-- 
Andrea Gasparini 
---- ImaVis S.r.l. ----
web: www.imavis.com

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to