[PATCH 2/5] sched: make task dump print all 15 chars of proc comm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Stultz
Date: Friday, November 19, 2010 - 7:08 pm

From: Erik Gilling <konkers@android.com>

CC: Ingo Molnar <mingo@elte.hu>
CC: Peter Zijlstra <peterz@infradead.org>
Change-Id: I1a5c9676baa06c9f9b4424bbcab01b9b2fbfcd99
Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 kernel/sched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 0b58415..c99bbb2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5390,7 +5390,7 @@ void sched_show_task(struct task_struct *p)
 	unsigned state;
 
 	state = p->state ? __ffs(p->state) + 1 : 0;
-	printk(KERN_INFO "%-13.13s %c", p->comm,
+	printk(KERN_INFO "%-15.15s %c", p->comm,
 		state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?');
 #if BITS_PER_LONG == 32
 	if (state == TASK_RUNNING)
-- 
1.7.3.2.146.gca209

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] sched: make task dump print all 15 chars of pr ..., John Stultz, (Fri Nov 19, 7:08 pm)
Re: [PATCH 3/5] scheduler: cpuacct: Enable platform hooks ..., Florian Mickler, (Sun Nov 21, 10:51 pm)
[tip:sched/core] sched: Make task dump print all 15 chars ..., tip-bot for Erik Gilling, (Tue Nov 23, 3:21 am)