perf tools: Use perf_cpu_map__nr instead of cpu_map__nr
authorJiri Olsa <jolsa@kernel.org>
Thu, 22 Aug 2019 11:11:38 +0000 (13:11 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 14:14:54 +0000 (11:14 -0300)
commit6549cd8f2cc2cdf7e107fbbc3a68ecefb774bb2f
tree5ec0de16bed8e4a67eaaa8e5562d2a62dd36aca6
parentdb9a5fd02a06113848fd3eabe302f56059d27366
perf tools: Use perf_cpu_map__nr instead of cpu_map__nr

Switch the rest of the perf code to use libperf's perf_cpu_map__nr(),
which is the same as current cpu_map__nr() and remove the cpu_map__nr()
function.

Link: http://lkml.kernel.org/n/tip-6e0guy75clis7nm0xpuz9fga@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190822111141.25823-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c
tools/perf/util/cpumap.h
tools/perf/util/evlist.c
tools/perf/util/mmap.c
tools/perf/util/stat-display.c