using the kmsg_dumper.

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


I want to store the kernel logs just before somebody calls the machine
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...

More information about the Kernelnewbies mailing list