[PATCH] sched/debug:fix stale comments of sched_debug
From: Hailong Liu
Date: Sat May 29 2021 - 23:06:57 EST
From: Hailong Liu <liu.hailong6@xxxxxxxxxx>
Now /proc/sched_debug has been moved to debugfs, so make the comments
consistent with it.
Signed-off-by: Hailong Liu <liu.hailong6@xxxxxxxxxx>
---
kernel/sched/debug.c | 2 +-
lib/Kconfig.debug | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
index 9c882f20803e..4cbd6d602829 100644
--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -9,7 +9,7 @@
#include "sched.h"
/*
- * This allows printing both to /proc/sched_debug and
+ * This allows printing both to debugfs/sched/debug and
* to the console
*/
#define SEQ_printf(m, x...) \
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 678c13967580..bb4bc59b0920 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1166,7 +1166,7 @@ config SCHED_DEBUG
depends on DEBUG_KERNEL && PROC_FS
default y
help
- If you say Y here, the /proc/sched_debug file will be provided
+ If you say Y here, the debugfs/sched/debug file will be provided
that can help debug the scheduler. The runtime overhead of this
option is minimal.
--
2.17.1