]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb959920cf02952cb56df930cc5a8b5894dde1d2d
treef019f0304ed7465b5dbe25374a62fa704196749a
parent801b9fcadac3df486ebca468bdbbdbca966b2e8e
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