Log panic/oops to a RAM buffer

modulename: ramoops.ko

configname: CONFIG_PSTORE_RAM

Linux Kernel Configuration
└─>File systems
└─>Miscellaneous filesystems
└─>Log panic/oops to a RAM buffer
In linux kernel since version 3.1 (release Date: 2011-10-24)  
This enables panic and oops messages to be logged to a circular
buffer in RAM where it can be read back at some later point.

Note that for historical reasons, the module will be named
"ramoops.ko".

For more information, see Documentation/admin-guide/ramoops.rst.

source code: