how to use printk()

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux