[PATCH] Kconfig.debug: fix the depends about config SCHED_DEBUG

From: ye.xingchen
Date: Sat Jan 28 2023 - 22:10:21 EST


From: ye xingchen <ye.xingchen@xxxxxxxxxx>

Now, the right File Path about SCHED_DEBUG is /sys/kernel/debug/sched.
So, SCHED_DEBUG should depend on DEBUG_FS, not PROC_FS.

Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 520884f8f8e1..223b4459e710 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1143,7 +1143,7 @@ menu "Scheduler Debugging"

config SCHED_DEBUG
bool "Collect scheduler debugging info"
- depends on DEBUG_KERNEL && PROC_FS
+ depends on DEBUG_KERNEL && DEBUG_FS
default y
help
If you say Y here, the /proc/sched_debug file will be provided
--
2.25.1