Kconfig 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_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.
  55. config PSTORE_CONSOLE_SIZE
  56. hex "Log kernel console buffer size"
  57. depends on PSTORE
  58. depends on PSTORE_CONSOLE
  59. help
  60. The option is used as the default value of console size.
  61. config PSTORE_PMSG_SIZE
  62. hex "Log kernel pmsg buffer size"
  63. depends on PSTORE
  64. depends on PSTORE_PMSG
  65. help
  66. The option is used as the default value of pmsg size.
  67. config PSTORE_MEM_ADDR
  68. hex "pstore default physical memory address"
  69. depends on PSTORE
  70. help
  71. The option is used as the default value of mem address.
  72. config PSTORE_MEM_SIZE
  73. hex "pstore default memory size"
  74. depends on PSTORE
  75. help
  76. The option is used as the default value of mem size.