<div>Hi,</div>
<div> </div>
<div>I want to store the kernel logs just before somebody calls the machine reset.</div>
<div>I was exploring several ways to implement it.</div>
<div> </div>
<div>When i am going through the code in printk.c i saw a function kmsg_dump(),</div>
<div>which says it will dump the kmsg buffer to all dump devices attached to it.</div>
<div> </div>
<div>What is a dump device? can we write them to our flash.</div>
<div> </div>
<div>I also saw in panic() implementation they are using this. TO which dump device those messages will be stored.</div>
<div><br clear="all"><br>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br><br></div>