perf sort: Make column width code per hists instance
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Jul 2010 17:42:52 +0000 (14:42 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Jul 2010 11:55:59 +0000 (08:55 -0300)
commit8a6c5b261c1188379469807d84bfb1365d0f6823
treeb18ac8d951c33a480bd7c0a743d341d0e9bf3e90
parent7a007ca90b7c465137de06795ef4d5faa10f459e
perf sort: Make column width code per hists instance

They were globals, and since we support multiple hists and sessions
at the same time, it doesn't make sense to calculate those values
considereing all symbols in all sessions.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c
tools/perf/util/hist.c
tools/perf/util/hist.h
tools/perf/util/newt.c
tools/perf/util/sort.c
tools/perf/util/sort.h
tools/perf/util/symbol.c
tools/perf/util/symbol.h