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

how to use printk()



Dear All!
   I am using printk() for debugging purpose. I am using printk() in
sched.c but i did n't see any information. I have n't use printk() 
before. I am using printk() in following manner:--

#include <linux/kernel.h>

printk(KERN_ALERT "Hello world\n");


please tell me where should i look for output from printk(). I was
thinking that i should get into the console when i will use "make
bzImage" to compile modified sched.c . I have also looked in
/etc/sysconfig/syslog but i did n't get any information there.

waiting for your reply!

Abhijit


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