perf top: Remove redundant perf_top->sym_counter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Mar 2011 13:11:48 +0000 (10:11 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Mar 2011 16:28:45 +0000 (13:28 -0300)
commitec52d9765a0f3603c62b4238482bf38897e4d42f
treea836047186077efda945d63bdd11aabccfd941b5
parent137ee20ddd10fdc20600c389fe63edab0c39cb1a
perf top: Remove redundant perf_top->sym_counter

We can get that counter index from perf_top->sym_evsel->idx instead.

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/builtin-top.c
tools/perf/util/top.c
tools/perf/util/top.h