perf tools: Ditch the symbol_conf.nr_events global
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 May 2018 20:38:51 +0000 (17:38 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:52 +0000 (10:28 -0300)
commit9fd5578a3cdd6cb59603b04a9282199d08f85607
treee1aa1009282039f1c7797cc9b435568515137807
parent14c8dde170cc1ba6754a1275ff378092ab36b257
perf tools: Ditch the symbol_conf.nr_events global

Since over time the places where we need to pass this got reduced
because we can obtain it from evsel->evlist->nr_entries, no need to have
this global anymore.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-ovhikrfj8pzdv93yq3gt6sei@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c
tools/perf/builtin-top.c
tools/perf/util/header.c
tools/perf/util/symbol.h