Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+9
+9
lib/Kconfig.debug
··· 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