perf hists: Remove needless global col lenght calcs
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Mar 2011 17:51:33 +0000 (14:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 6 Mar 2011 01:31:04 +0000 (22:31 -0300)
commitd7603d5122d9700fb8f36fa08b04f4e900fef059
tree092dca7764059cbd85903c3a470e717732d3b9e8
parenta03f35ceeb3d279da35c5a914ac01a4b1effb0a1
perf hists: Remove needless global col lenght calcs

To support multiple events we need to do these calcs per 'struct hists'
instance, and it turns out we already do that at:

__hists__add_entry
hists__inc_nr_entries
hists__calc_col_len

for all the unfiltered hist_entry instances we stash in the rb tree, so
trow away the dead code.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.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/symbol.c
tools/perf/util/symbol.h
This page took 0.029073 seconds and 5 git commands to generate.