mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
sched: fix formatting of /proc/sched_debug
fix formatting of /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>
This commit is contained in:
parent
ef83a5714d
commit
c86da3a3d4
1 changed files with 4 additions and 4 deletions
|
@ -67,7 +67,7 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
|
||||||
(long long)(p->nvcsw + p->nivcsw),
|
(long long)(p->nvcsw + p->nivcsw),
|
||||||
p->prio);
|
p->prio);
|
||||||
#ifdef CONFIG_SCHEDSTATS
|
#ifdef CONFIG_SCHEDSTATS
|
||||||
SEQ_printf(m, "%15Ld.%06ld %15Ld.%06ld %15Ld.%06ld\n",
|
SEQ_printf(m, "%9Ld.%06ld %9Ld.%06ld %9Ld.%06ld\n",
|
||||||
SPLIT_NS(p->se.vruntime),
|
SPLIT_NS(p->se.vruntime),
|
||||||
SPLIT_NS(p->se.sum_exec_runtime),
|
SPLIT_NS(p->se.sum_exec_runtime),
|
||||||
SPLIT_NS(p->se.sum_sleep_runtime));
|
SPLIT_NS(p->se.sum_sleep_runtime));
|
||||||
|
@ -83,10 +83,10 @@ static void print_rq(struct seq_file *m, struct rq *rq, int rq_cpu)
|
||||||
|
|
||||||
SEQ_printf(m,
|
SEQ_printf(m,
|
||||||
"\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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue