Commit b642b6d3fad45f659270a9e35df876b38c489082
1 parent
43ae34cb4c
Exists in
master
and in
7 other branches
sched: scheduler debugging, enable in Kconfig
enable CONFIG_SCHED_DEBUG in lib/Kconfig.debug. the runtime overhead of this option is very small. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 9 additions and 0 deletions Side-by-side Diff
lib/Kconfig.debug
... | ... | @@ -105,6 +105,15 @@ |
105 | 105 | can be detected via the NMI-watchdog, on platforms that |
106 | 106 | support it.) |
107 | 107 | |
108 | +config SCHED_DEBUG | |
109 | + bool "Collect scheduler debugging info" | |
110 | + depends on DEBUG_KERNEL && PROC_FS | |
111 | + default y | |
112 | + help | |
113 | + If you say Y here, the /proc/sched_debug file will be provided | |
114 | + that can help debug the scheduler. The runtime overhead of this | |
115 | + option is minimal. | |
116 | + | |
108 | 117 | config SCHEDSTATS |
109 | 118 | bool "Collect scheduler statistics" |
110 | 119 | depends on DEBUG_KERNEL && PROC_FS |