aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2010-11-19 21:08:51 -0500
committerIngo Molnar <mingo@elte.hu>2010-11-23 04:29:07 -0500
commit28d0686cf7b14e30243096bd874d3f80591ed392 (patch)
treea5e9c1ed7dfb51049de3a725fdcb8d782d2f3ed8 /kernel/sched.c
parent9437178f623a19af5951808d880a8599f66ac150 (diff)
sched: Make task dump print all 15 chars of proc comm
Signed-off-by: Erik Gilling <konkers@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1290218934-8544-3-git-send-email-john.stultz@linaro.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 550cf3a02377..324afce0e223 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5249,7 +5249,7 @@ void sched_show_task(struct task_struct *p)
5249 unsigned state; 5249 unsigned state;
5250 5250
5251 state = p->state ? __ffs(p->state) + 1 : 0; 5251 state = p->state ? __ffs(p->state) + 1 : 0;
5252 printk(KERN_INFO "%-13.13s %c", p->comm, 5252 printk(KERN_INFO "%-15.15s %c", p->comm,
5253 state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?'); 5253 state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?');
5254#if BITS_PER_LONG == 32 5254#if BITS_PER_LONG == 32
5255 if (state == TASK_RUNNING) 5255 if (state == TASK_RUNNING)