Skip to contentSkip to conversation

Kconfig.debug: fix the depends about config SCHED_DEBUG

PATCH Applied [email protected] 1 participant 1 message Jan 29, 2023 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig.debug: fix the depends about config SCHED_DEBUG

From: ye xingchen <[email protected]>

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

---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug +1 -1
index 520884f8f8e1..223b4459e710 100644
@@ -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
Signature · 1 line
2.25.1