Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757304Ab0KTCJq (ORCPT ); Fri, 19 Nov 2010 21:09:46 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]:38719 "EHLO e33.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756605Ab0KTCJX (ORCPT ); Fri, 19 Nov 2010 21:09:23 -0500 From: John Stultz To: lkml Cc: Erik Gilling , Ingo Molnar , Peter Zijlstra , John Stultz Subject: [PATCH 2/5] sched: make task dump print all 15 chars of proc comm Date: Fri, 19 Nov 2010 18:08:51 -0800 Message-Id: <1290218934-8544-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.3.2.146.gca209 In-Reply-To: <1290218934-8544-1-git-send-email-john.stultz@linaro.org> References: <1290218934-8544-1-git-send-email-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 32 From: Erik Gilling CC: Ingo Molnar CC: Peter Zijlstra Change-Id: I1a5c9676baa06c9f9b4424bbcab01b9b2fbfcd99 Signed-off-by: Erik Gilling Signed-off-by: John Stultz --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/