using the kmsg_dumper.

sandeep kumar coolsandyforyou at gmail.com
Fri Sep 16 09:12:34 EDT 2011


Hi,

I want to store the kernel logs just before somebody calls the machine
reset.
I was exploring several ways to implement it.

When i am going through the code in printk.c i saw a function kmsg_dump(),
which says it will dump the kmsg buffer to all dump devices attached to it.

What is a dump device? can we write them to our flash.

I also saw in panic() implementation they are using this. TO which dump
device those messages will be stored.


-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110916/38aafefd/attachment.html 


More information about the Kernelnewbies mailing list