浏览代码

sched: prettify /proc/sched_debug output

print the correct amount of dashes in /proc/sched_debug.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Ingo Molnar 17 年之前
父节点
当前提交
1a75b94f7b
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      kernel/sched_debug.c

+ 2 - 4
kernel/sched_debug.c

@@ -60,10 +60,8 @@ static void print_rq(struct seq_file *m, struct rq *rq, int rq_cpu)
 	"\nrunnable tasks:\n"
 	"\nrunnable tasks:\n"
 	"            task   PID        tree-key  switches  prio"
 	"            task   PID        tree-key  switches  prio"
 	"    exec-runtime        sum-exec       sum-sleep\n"
 	"    exec-runtime        sum-exec       sum-sleep\n"
-	"------------------------------------------------------------------"
-	"--------------------------------"
-	"------------------------------------------------"
-	"--------------------------------\n");
+	"------------------------------------------------------"
+	"------------------------------------------------");
 
 
 	read_lock_irq(&tasklist_lock);
 	read_lock_irq(&tasklist_lock);