libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx()
authorJiri Olsa <jolsa@kernel.org>
Thu, 22 Aug 2019 11:11:40 +0000 (13:11 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 14:18:45 +0000 (11:18 -0300)
commitb4df75de3b3930703415aa053a269ae07c78d9b2
tree2168be6fcc68efae33c437d088c8cbdeb2376eac
parent315c0a1f0ccdd44c65f80ccbc62202fed8a23050
libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx()

As an internal function that will be used by both perf and libperf, but
is not exported at this point.

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-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/cpumap.c
tools/perf/lib/include/internal/cpumap.h
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h
tools/perf/util/evlist.c