Revert "lib/Kconfig.debug: Remove DEBUG_KERNEL depend on DEBUG_KMEMLEAK|SCHED_DEBUG|SCHEDSTATS"

This reverts commit bb13d89a87.
This commit is contained in:
Ksawlii 2024-12-18 11:09:39 +01:00
parent febb7ecbd1
commit eb0ca57e21

View file

@ -660,7 +660,7 @@ config HAVE_DEBUG_KMEMLEAK
config DEBUG_KMEMLEAK
bool "Kernel memory leak detector"
depends on HAVE_DEBUG_KMEMLEAK
depends on DEBUG_KERNEL && HAVE_DEBUG_KMEMLEAK
select DEBUG_FS
select STACKTRACE if STACKTRACE_SUPPORT
select KALLSYMS
@ -1111,7 +1111,7 @@ menu "Scheduler Debugging"
config SCHED_DEBUG
bool "Collect scheduler debugging info"
depends on PROC_FS
depends on DEBUG_KERNEL && PROC_FS
default y
help
If you say Y here, the /proc/sched_debug file will be provided
@ -1124,7 +1124,7 @@ config SCHED_INFO
config SCHEDSTATS
bool "Collect scheduler statistics"
depends on PROC_FS
depends on DEBUG_KERNEL && PROC_FS
select SCHED_INFO
help
If you say Y here, additional code will be inserted into the