blob: 983d9510becca65778e395817d563e793a266741 [file] [log] [blame]
Tony Luckca01d6d2010-12-28 14:25:21 -08001config PSTORE
Lucas De Marchi25985ed2011-03-30 22:57:33 -03002 bool "Persistent store support"
Tony Luckca01d6d2010-12-28 14:25:21 -08003 default n
Aruna Balakrishnaiah90ce4ca2013-08-16 13:52:57 -07004 select ZLIB_DEFLATE
5 select ZLIB_INFLATE
Tony Luckca01d6d2010-12-28 14:25:21 -08006 help
7 This option enables generic access to platform level
8 persistent storage via "pstore" filesystem that can
9 be mounted as /dev/pstore. Only useful if you have
10 a platform level driver that registers with pstore to
11 provide the data, so you probably should just go say "Y"
12 (or "M") to a platform specific persistent store driver
13 (e.g. ACPI_APEI on X86) which will select this for you.
14 If you don't have a platform persistent store driver,
15 say N.
Anton Vorontsov1894a252012-05-16 05:43:08 -070016
Anton Vorontsovf29e5952012-05-26 06:20:19 -070017config PSTORE_CONSOLE
18 bool "Log kernel console messages"
19 depends on PSTORE
20 help
21 When the option is enabled, pstore will log all kernel
22 messages, even if no oops or panic happened.
23
Anton Vorontsov060287b2012-07-09 17:10:41 -070024config PSTORE_FTRACE
25 bool "Persistent function tracer"
26 depends on PSTORE
27 depends on FUNCTION_TRACER
Anton Vorontsov65f8c952012-07-17 14:26:15 -070028 depends on DEBUG_FS
Anton Vorontsov060287b2012-07-09 17:10:41 -070029 help
30 With this option kernel traces function calls into a persistent
31 ram buffer that can be decoded and dumped after reboot through
32 pstore filesystem. It can be used to determine what function
33 was last called before a reset or panic.
34
35 If unsure, say N.
36
Anton Vorontsov1894a252012-05-16 05:43:08 -070037config PSTORE_RAM
38 tristate "Log panic/oops to a RAM buffer"
Anton Vorontsov1894a252012-05-16 05:43:08 -070039 depends on PSTORE
Anton Vorontsovcddb8752012-05-17 00:15:08 -070040 depends on HAS_IOMEM
41 depends on HAVE_MEMBLOCK
42 select REED_SOLOMON
43 select REED_SOLOMON_ENC8
44 select REED_SOLOMON_DEC8
Anton Vorontsov1894a252012-05-16 05:43:08 -070045 help
46 This enables panic and oops messages to be logged to a circular
47 buffer in RAM where it can be read back at some later point.
48
49 Note that for historical reasons, the module will be named
50 "ramoops.ko".
51
52 For more information, see Documentation/ramoops.txt.