blob: 817c02b13b1d549675997df79ba363cdb319105d [file] [log] [blame]
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -07001config PROC_FS
David Rientjes6a108a12011-01-20 14:44:16 -08002 bool "/proc file system support" if EXPERT
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -07003 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
11 It's totally cool; for example, "cat /proc/interrupts" gives
12 information about what the different IRQs are used for at the moment
13 (there is a small number of Interrupt ReQuest lines in your computer
14 that are used by the attached devices to gain the CPU's attention --
15 often a source of trouble if two devices are mistakenly configured
16 to use the same IRQ). The program procinfo to display some
17 information about your system gathered from the /proc file system.
18
19 Before you can use the /proc file system, it has to be mounted,
20 meaning it has to be given a location in the directory hierarchy.
21 That location should be /proc. A command such as "mount -t proc proc
22 /proc" or the equivalent line in /etc/fstab does the job.
23
24 The /proc file system is explained in the file
25 <file:Documentation/filesystems/proc.txt> and on the proc(5) manpage
26 ("man 5 proc").
27
28 This option will enlarge your kernel by about 67 KB. Several
29 programs depend on this, so everyone should say Y here.
30
31config PROC_KCORE
32 bool "/proc/kcore support" if !ARM
33 depends on PROC_FS && MMU
Omar Sandoval23c85092018-08-21 21:55:20 -070034 select CRASH_CORE
Randy Dunlap1c3fc3e2013-11-12 15:11:16 -080035 help
36 Provides a virtual ELF core file of the live kernel. This can
37 be read with gdb and other ELF tools. No modifications can be
38 made using this mechanism.
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -070039
40config PROC_VMCORE
WANG Conga4f73262010-10-26 14:21:21 -070041 bool "/proc/vmcore support"
42 depends on PROC_FS && CRASH_DUMP
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -070043 default y
44 help
45 Exports the dump image of crashed kernel in ELF format.
46
Rahul Lakkireddy27242732018-05-02 15:17:17 +053047config PROC_VMCORE_DEVICE_DUMP
48 bool "Device Hardware/Firmware Log Collection"
49 depends on PROC_VMCORE
50 default n
51 help
52 After kernel panic, device drivers can collect the device
53 specific snapshot of their hardware or firmware before the
54 underlying devices are initialized in crash recovery kernel.
55 Note that the device driver must be present in the crash
56 recovery kernel's initramfs to collect its underlying device
57 snapshot.
58
59 If you say Y here, the collected device dumps will be added
60 as ELF notes to /proc/vmcore.
61
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -070062config PROC_SYSCTL
David Rientjes6a108a12011-01-20 14:44:16 -080063 bool "Sysctl support (/proc/sys)" if EXPERT
Alexey Dobriyan6eedf8d2008-07-25 01:48:30 -070064 depends on PROC_FS
65 select SYSCTL
66 default y
67 ---help---
68 The sysctl interface provides a means of dynamically changing
69 certain kernel parameters and variables on the fly without requiring
70 a recompile of the kernel or reboot of the system. The primary
71 interface is through /proc/sys. If you say Y here a tree of
72 modifiable sysctl entries will be generated beneath the
73 /proc/sys directory. They are explained in the files
74 in <file:Documentation/sysctl/>. Note that enabling this
75 option will enlarge the kernel by at least 8 KB.
76
77 As it is generally a good thing, you should say Y here unless
78 building a kernel for install/rescue disks or your system is very
79 limited in memory.
Alexey Dobriyan53167a32008-10-03 02:01:51 +040080
81config PROC_PAGE_MONITOR
82 default y
83 depends on PROC_FS && MMU
David Rientjes6a108a12011-01-20 14:44:16 -080084 bool "Enable /proc page monitoring" if EXPERT
Alexey Dobriyan53167a32008-10-03 02:01:51 +040085 help
86 Various /proc files exist to monitor process memory utilization:
87 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
88 /proc/kpagecount, and /proc/kpageflags. Disabling these
89 interfaces will reduce the size of the kernel by approximately 4kb.
Iago López Galeiras2e13ba52015-06-25 15:00:57 -070090
91config PROC_CHILDREN
92 bool "Include /proc/<pid>/task/<tid>/children file"
93 default n
Iago López Galeirasdb5d5b32015-07-17 16:23:23 -070094 help
95 Provides a fast way to retrieve first level children pids of a task. See
96 <file:Documentation/filesystems/proc.txt> for more information.
97
98 Say Y if you are running any user-space software which takes benefit from
99 this interface. For example, rkt is such a piece of software.