using the kmsg_dumper.

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

 



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,

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux