perf: Use format string of printf to align strings
authorAmerigo Wang <amwang@redhat.com>
Mon, 14 Dec 2009 08:23:56 +0000 (03:23 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Dec 2009 08:03:16 +0000 (09:03 +0100)
commit3912f2abc942a002ef611fc973add5e5eadb3432
tree41972a146e2f5d25b36429611fa53108fc8edd69
parent049ae80b8790bd3c150d78e3351dcc491e9f2416
perf: Use format string of printf to align strings

Instead of filling whitespaces to do alignment, use
printf's format string.

This simplifies the code a bit.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091214082700.4224.57640.sendpatchset@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-help.c