lkml.org 
[lkml]   [2021]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] sched/debug:fix stale comments of sched_debug
Date
From: Hailong Liu <liu.hailong6@zte.com.cn>

Now /proc/sched_debug has been moved to debugfs, so make the comments
consistent with it.

Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
---
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
\
 
 \ /
  Last update: 2021-05-30 04:54    [W:0.063 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site