perf list: Fix max event string size
authorIngo Molnar <mingo@elte.hu>
Fri, 29 Apr 2011 20:52:42 +0000 (22:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Apr 2011 20:52:54 +0000 (22:52 +0200)
commit947b4ad1d198b7303ecc961f4939a331be0c48f0
treee143b2ed2027ee4a9e35a73dc8c43763790988c8
parent301120396b766ae4480e52ece220516a1707822b
perf list: Fix max event string size

Recent stalled-cycles event names were larger than the 40 chars printout
used by perf list.

Extend that, make it robust for future extensions and also adjust alignments
in face of wider event names.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/n/tip-7y40wib8n009io7hjpn1dsrm@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c