diff options
author | Erik Gilling <konkers@android.com> | 2010-11-20 02:08:51 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-23 09:29:07 (GMT) |
commit | 28d0686cf7b14e30243096bd874d3f80591ed392 (patch) | |
tree | a5e9c1ed7dfb51049de3a725fdcb8d782d2f3ed8 /kernel/sched.c | |
parent | 9437178f623a19af5951808d880a8599f66ac150 (diff) | |
download | linux-28d0686cf7b14e30243096bd874d3f80591ed392.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 550cf3a..324afce 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -5249,7 +5249,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) |