Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. config PSTORE
  2. tristate "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_PMSG
  23. bool "Log user space messages"
  24. depends on PSTORE
  25. help
  26. When the option is enabled, pstore will export a character
  27. interface /dev/pmsg0 to log user space messages. On reboot
  28. data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
  29. If unsure, say N.
  30. config PSTORE_FTRACE
  31. bool "Persistent function tracer"
  32. depends on PSTORE
  33. depends on FUNCTION_TRACER
  34. depends on DEBUG_FS
  35. help
  36. With this option kernel traces function calls into a persistent
  37. ram buffer that can be decoded and dumped after reboot through
  38. pstore filesystem. It can be used to determine what function
  39. was last called before a reset or panic.
  40. If unsure, say N.
  41. config PSTORE_RAM
  42. tristate "Log panic/oops to a RAM buffer"
  43. depends on PSTORE
  44. depends on HAS_IOMEM
  45. depends on HAVE_MEMBLOCK
  46. select REED_SOLOMON
  47. select REED_SOLOMON_ENC8
  48. select REED_SOLOMON_DEC8
  49. help
  50. This enables panic and oops messages to be logged to a circular
  51. buffer in RAM where it can be read back at some later point.
  52. Note that for historical reasons, the module will be named
  53. "ramoops.ko".
  54. For more information, see Documentation/ramoops.txt.