Debugging Printk

From: Amit Yadav (amit_ra_at_hotmail.com)
Date: 05/15/05


Date: Sun, 15 May 2005 21:41:56 +0530

Hi,

I have written some code which uses printk. However, there seems to be
something wrong in printk as it is not able to detect the level
information (KERN_DEBUG etc) at the start of the message i am trying to
pass to printk and hece appending Level <4> to all strings passed to printk.

I am wondering if anyone can suggest how can i debug printk ie how can i
  print the state of the string i have passed to printk once printk
starts processing the string.

Any suggestion would be highly appreciated.

Thanks

Amit.



Relevant Pages