Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. config PSTORE
  2. bool "Persistent store support"
  3. default n
  4. select ZLIB_DEFLATE
  5. select ZLIB_INFLATE
  6. 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.
  16. config PSTORE_CONSOLE
  17. bool "Log kernel console messages"
  18. depends on PSTORE
  19. help
  20. When the option is enabled, pstore will log all kernel
  21. messages, even if no oops or panic happened.
  22. config PSTORE_FTRACE
  23. bool "Persistent function tracer"
  24. depends on PSTORE
  25. depends on FUNCTION_TRACER
  26. depends on DEBUG_FS
  27. help
  28. With this option kernel traces function calls into a persistent
  29. ram buffer that can be decoded and dumped after reboot through
  30. pstore filesystem. It can be used to determine what function
  31. was last called before a reset or panic.
  32. If unsure, say N.
  33. config PSTORE_RAM
  34. tristate "Log panic/oops to a RAM buffer"
  35. depends on PSTORE
  36. depends on HAS_IOMEM
  37. depends on HAVE_MEMBLOCK
  38. select REED_SOLOMON
  39. select REED_SOLOMON_ENC8
  40. select REED_SOLOMON_DEC8
  41. help
  42. This enables panic and oops messages to be logged to a circular
  43. buffer in RAM where it can be read back at some later point.
  44. Note that for historical reasons, the module will be named
  45. "ramoops.ko".
  46. For more information, see Documentation/ramoops.txt.