Kconfig 1.5 KB

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