lkml.org 
[lkml]   [2023]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Kconfig.debug: fix the depends about config SCHED DEBUG
From: ye xingchen <ye.xingchen@zte.com.cn>

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@zte.com.cn>
---
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
\
 
 \ /
  Last update: 2023-03-27 00:00    [W:0.086 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site