Tony Luck | ca01d6d | 2010-12-28 14:25:21 -0800 | [diff] [blame] | 1 | config PSTORE |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 2 | bool "Persistent store support" |
Tony Luck | ca01d6d | 2010-12-28 14:25:21 -0800 | [diff] [blame] | 3 | default n |
| 4 | help |
| 5 | This option enables generic access to platform level |
| 6 | persistent storage via "pstore" filesystem that can |
| 7 | be mounted as /dev/pstore. Only useful if you have |
| 8 | a platform level driver that registers with pstore to |
| 9 | provide the data, so you probably should just go say "Y" |
| 10 | (or "M") to a platform specific persistent store driver |
| 11 | (e.g. ACPI_APEI on X86) which will select this for you. |
| 12 | If you don't have a platform persistent store driver, |
| 13 | say N. |
Anton Vorontsov | 1894a25 | 2012-05-16 05:43:08 -0700 | [diff] [blame] | 14 | |
Anton Vorontsov | f29e595 | 2012-05-26 06:20:19 -0700 | [diff] [blame] | 15 | config PSTORE_CONSOLE |
| 16 | bool "Log kernel console messages" |
| 17 | depends on PSTORE |
| 18 | help |
| 19 | When the option is enabled, pstore will log all kernel |
| 20 | messages, even if no oops or panic happened. |
| 21 | |
Anton Vorontsov | 060287b | 2012-07-09 17:10:41 -0700 | [diff] [blame^] | 22 | config PSTORE_FTRACE |
| 23 | bool "Persistent function tracer" |
| 24 | depends on PSTORE |
| 25 | depends on FUNCTION_TRACER |
| 26 | help |
| 27 | With this option kernel traces function calls into a persistent |
| 28 | ram buffer that can be decoded and dumped after reboot through |
| 29 | pstore filesystem. It can be used to determine what function |
| 30 | was last called before a reset or panic. |
| 31 | |
| 32 | If unsure, say N. |
| 33 | |
Anton Vorontsov | 1894a25 | 2012-05-16 05:43:08 -0700 | [diff] [blame] | 34 | config PSTORE_RAM |
| 35 | tristate "Log panic/oops to a RAM buffer" |
Anton Vorontsov | 1894a25 | 2012-05-16 05:43:08 -0700 | [diff] [blame] | 36 | depends on PSTORE |
Anton Vorontsov | cddb875 | 2012-05-17 00:15:08 -0700 | [diff] [blame] | 37 | depends on HAS_IOMEM |
| 38 | depends on HAVE_MEMBLOCK |
| 39 | select REED_SOLOMON |
| 40 | select REED_SOLOMON_ENC8 |
| 41 | select REED_SOLOMON_DEC8 |
Anton Vorontsov | 1894a25 | 2012-05-16 05:43:08 -0700 | [diff] [blame] | 42 | help |
| 43 | This enables panic and oops messages to be logged to a circular |
| 44 | buffer in RAM where it can be read back at some later point. |
| 45 | |
| 46 | Note that for historical reasons, the module will be named |
| 47 | "ramoops.ko". |
| 48 | |
| 49 | For more information, see Documentation/ramoops.txt. |