Kconfig 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. config PROC_FS
  2. bool "/proc file system support" if EXPERT
  3. default y
  4. help
  5. This is a virtual file system providing information about the status
  6. of the system. "Virtual" means that it doesn't take up any space on
  7. your hard disk: the files are created on the fly by the kernel when
  8. you try to access them. Also, you cannot read the files with older
  9. version of the program less: you need to use more or cat.
  10. It's totally cool; for example, "cat /proc/interrupts" gives
  11. information about what the different IRQs are used for at the moment
  12. (there is a small number of Interrupt ReQuest lines in your computer
  13. that are used by the attached devices to gain the CPU's attention --
  14. often a source of trouble if two devices are mistakenly configured
  15. to use the same IRQ). The program procinfo to display some
  16. information about your system gathered from the /proc file system.
  17. Before you can use the /proc file system, it has to be mounted,
  18. meaning it has to be given a location in the directory hierarchy.
  19. That location should be /proc. A command such as "mount -t proc proc
  20. /proc" or the equivalent line in /etc/fstab does the job.
  21. The /proc file system is explained in the file
  22. <file:Documentation/filesystems/proc.txt> and on the proc(5) manpage
  23. ("man 5 proc").
  24. This option will enlarge your kernel by about 67 KB. Several
  25. programs depend on this, so everyone should say Y here.
  26. config PROC_KCORE
  27. bool "/proc/kcore support" if !ARM
  28. depends on PROC_FS && MMU
  29. help
  30. Provides a virtual ELF core file of the live kernel. This can
  31. be read with gdb and other ELF tools. No modifications can be
  32. made using this mechanism.
  33. config PROC_VMCORE
  34. bool "/proc/vmcore support"
  35. depends on PROC_FS && CRASH_DUMP
  36. default y
  37. help
  38. Exports the dump image of crashed kernel in ELF format.
  39. config PROC_VMCORE_DEVICE_DUMP
  40. bool "Device Hardware/Firmware Log Collection"
  41. depends on PROC_VMCORE
  42. default n
  43. help
  44. After kernel panic, device drivers can collect the device
  45. specific snapshot of their hardware or firmware before the
  46. underlying devices are initialized in crash recovery kernel.
  47. Note that the device driver must be present in the crash
  48. recovery kernel's initramfs to collect its underlying device
  49. snapshot.
  50. If you say Y here, the collected device dumps will be added
  51. as ELF notes to /proc/vmcore.
  52. config PROC_SYSCTL
  53. bool "Sysctl support (/proc/sys)" if EXPERT
  54. depends on PROC_FS
  55. select SYSCTL
  56. default y
  57. ---help---
  58. The sysctl interface provides a means of dynamically changing
  59. certain kernel parameters and variables on the fly without requiring
  60. a recompile of the kernel or reboot of the system. The primary
  61. interface is through /proc/sys. If you say Y here a tree of
  62. modifiable sysctl entries will be generated beneath the
  63. /proc/sys directory. They are explained in the files
  64. in <file:Documentation/sysctl/>. Note that enabling this
  65. option will enlarge the kernel by at least 8 KB.
  66. As it is generally a good thing, you should say Y here unless
  67. building a kernel for install/rescue disks or your system is very
  68. limited in memory.
  69. config PROC_PAGE_MONITOR
  70. default y
  71. depends on PROC_FS && MMU
  72. bool "Enable /proc page monitoring" if EXPERT
  73. help
  74. Various /proc files exist to monitor process memory utilization:
  75. /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
  76. /proc/kpagecount, and /proc/kpageflags. Disabling these
  77. interfaces will reduce the size of the kernel by approximately 4kb.
  78. config PROC_CHILDREN
  79. bool "Include /proc/<pid>/task/<tid>/children file"
  80. default n
  81. help
  82. Provides a fast way to retrieve first level children pids of a task. See
  83. <file:Documentation/filesystems/proc.txt> for more information.
  84. Say Y if you are running any user-space software which takes benefit from
  85. this interface. For example, rkt is such a piece of software.