From: Ingo Molnar Date: Fri, 8 Mar 2024 10:58:56 +0000 (+0100) Subject: sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9ab121d65e03b4dc38f207871070eb353b396b05;p=linux.git sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels All major Linux distributions enable CONFIG_SCHEDSTATS, so make it more widely available. Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240308105901.1096078-6-mingo@kernel.org --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6c596e65de8ae..ed2ad1a0cec6b 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1250,7 +1250,7 @@ config SCHED_INFO config SCHEDSTATS bool "Collect scheduler statistics" - depends on DEBUG_KERNEL && PROC_FS + depends on PROC_FS select SCHED_INFO help If you say Y here, additional code will be inserted into the