Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. config PSTORE
  2. tristate "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. choice
  15. prompt "Choose compression algorithm"
  16. depends on PSTORE
  17. default PSTORE_ZLIB_COMPRESS
  18. help
  19. This option chooses compression algorithm.
  20. config PSTORE_ZLIB_COMPRESS
  21. bool "ZLIB"
  22. select ZLIB_DEFLATE
  23. select ZLIB_INFLATE
  24. help
  25. This option enables ZLIB compression algorithm support.
  26. config PSTORE_LZO_COMPRESS
  27. bool "LZO"
  28. select LZO_COMPRESS
  29. select LZO_DECOMPRESS
  30. help
  31. This option enables LZO compression algorithm support.
  32. config PSTORE_LZ4_COMPRESS
  33. bool "LZ4"
  34. select LZ4_COMPRESS
  35. select LZ4_DECOMPRESS
  36. help
  37. This option enables LZ4 compression algorithm support.
  38. endchoice
  39. config PSTORE_CONSOLE
  40. bool "Log kernel console messages"
  41. depends on PSTORE
  42. help
  43. When the option is enabled, pstore will log all kernel
  44. messages, even if no oops or panic happened.
  45. config PSTORE_PMSG
  46. bool "Log user space messages"
  47. depends on PSTORE
  48. help
  49. When the option is enabled, pstore will export a character
  50. interface /dev/pmsg0 to log user space messages. On reboot
  51. data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
  52. If unsure, say N.
  53. config PSTORE_FTRACE
  54. bool "Persistent function tracer"
  55. depends on PSTORE
  56. depends on FUNCTION_TRACER
  57. depends on DEBUG_FS
  58. help
  59. With this option kernel traces function calls into a persistent
  60. ram buffer that can be decoded and dumped after reboot through
  61. pstore filesystem. It can be used to determine what function
  62. was last called before a reset or panic.
  63. If unsure, say N.
  64. config PSTORE_RAM
  65. tristate "Log panic/oops to a RAM buffer"
  66. depends on PSTORE
  67. depends on HAS_IOMEM
  68. depends on HAVE_MEMBLOCK
  69. select REED_SOLOMON
  70. select REED_SOLOMON_ENC8
  71. select REED_SOLOMON_DEC8
  72. help
  73. This enables panic and oops messages to be logged to a circular
  74. buffer in RAM where it can be read back at some later point.
  75. Note that for historical reasons, the module will be named
  76. "ramoops.ko".
  77. For more information, see Documentation/ramoops.txt.