I want to write a proc file by which i can enable or disable the printk msg printed on the console.Or there will be something like all the printk messages will be printed in my proc file.Then I will be able to read those printk messages in my proc file. How to do this all.Please give me some advise.
Thanks
Baldev Singh