sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels
authorIngo Molnar <mingo@kernel.org>
Fri, 8 Mar 2024 10:58:56 +0000 (11:58 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Mar 2024 10:03:41 +0000 (11:03 +0100)
All major Linux distributions enable CONFIG_SCHEDSTATS,
so make it more widely available.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240308105901.1096078-6-mingo@kernel.org
lib/Kconfig.debug

index 6c596e65de8ae121271aea42bb4f165bac88dbd6..ed2ad1a0cec6bd1b416f63f5dc54c0c512dbdc3c 100644 (file)
@@ -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