ftrace: make output nicely spaced for up to 999 cpus
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 20 Aug 2008 23:36:11 +0000 (16:36 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:34 +0000 (10:36 +0200)
commita6168353d1c0b24b7512e14d1c3e47ed69881a23
treef019f0304ed7465b5dbe25374a62fa704196749a
parent2ff01c6a17391225a18256d510b6e5b4aba40aa1
ftrace: make output nicely spaced for up to 999 cpus

Currently some of the ftrace output goes skewiff if you have more
than 9 cpus, and some if you have more than 99.

Twiddle with the headers and format strings to make up to 999 cpus
display without causing spacing problems.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c