Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. depends on DEBUG_FS
  25. help
  26. With this option kernel traces function calls into a persistent
  27. ram buffer that can be decoded and dumped after reboot through
  28. pstore filesystem. It can be used to determine what function
  29. was last called before a reset or panic.
  30. If unsure, say N.
  31. config PSTORE_RAM
  32. tristate "Log panic/oops to a RAM buffer"
  33. depends on PSTORE
  34. depends on HAS_IOMEM
  35. depends on HAVE_MEMBLOCK
  36. select REED_SOLOMON
  37. select REED_SOLOMON_ENC8
  38. select REED_SOLOMON_DEC8
  39. help
  40. This enables panic and oops messages to be logged to a circular
  41. buffer in RAM where it can be read back at some later point.
  42. Note that for historical reasons, the module will be named
  43. "ramoops.ko".
  44. For more information, see Documentation/ramoops.txt.