: Ram oops/panic logger
PATCH 1/1 : Ram oops/panic logger
Ramoops, like mtdoops, can log oops/panic information but in RAM. It can be used with persistent RAM for systems without flash support. In addition, for this systems, with this driver, it's no more needed add to the kernel the mtd subsystem with advantage in footprint.
Signed-off-by Marco Stornelli <[email protected]>
--
drivers/char/Kconfig +7 -0
@@ -1105,5 +1105,12 @@ source "drivers/s390/char/Kconfig" +config RAMOOPS + tristate "Log panic/oops to a RAM buffer" + default n + help + 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. + endmenu
drivers/char/Makefile +1 -0
@@ -107,6 +107,7 @@ obj-$(CONFIG_TCG_TPM) += tpm/ obj-$(CONFIG_PS3_FLASH) += ps3flash.o +obj-$(CONFIG_RAMOOPS) += ramoops.o obj-$(CONFIG_JS_RTC) += js-rtc.o js-rtc-y = rtc.o
drivers/char/ramoops.c +163 -0
163 lines not on this page · raw message