From: Ingo Molnar Date: Mon, 9 Jul 2007 16:52:00 +0000 (+0200) Subject: sched: scheduler debugging, enable in Kconfig X-Git-Tag: v2.6.23-rc1~1236 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b642b6d3fad45f659270a9e35df876b38c489082;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index da95e10cfd7..fab32a28637 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -105,6 +105,15 @@ config DETECT_SOFTLOCKUP can be detected via the NMI-watchdog, on platforms that support it.) +config SCHED_DEBUG + bool "Collect scheduler debugging info" + depends on DEBUG_KERNEL && PROC_FS + default y + help + If you say Y here, the /proc/sched_debug file will be provided + that can help debug the scheduler. The runtime overhead of this + option is minimal. + config SCHEDSTATS bool "Collect scheduler statistics" depends on DEBUG_KERNEL && PROC_FS