libperf: Move perf's cpu_map__empty() to perf_cpu_map__empty()
authorJiri Olsa <jolsa@kernel.org>
Thu, 22 Aug 2019 11:11:39 +0000 (13:11 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 14:17:03 +0000 (11:17 -0300)
commit315c0a1f0ccdd44c65f80ccbc62202fed8a23050
tree7a4ba0191b49d5ec462d2d7c8a9fb472475c47ee
parent6549cd8f2cc2cdf7e107fbbc3a68ecefb774bb2f
libperf: Move perf's cpu_map__empty() to perf_cpu_map__empty()

So it's part of the libperf library as one of basic functions operating
on the perf_cpu_map class.

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-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
14 files changed:
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/x86/util/intel-bts.c
tools/perf/arch/x86/util/intel-pt.c
tools/perf/builtin-c2c.c
tools/perf/builtin-stat.c
tools/perf/lib/cpumap.c
tools/perf/lib/include/perf/cpumap.h
tools/perf/lib/libperf.map
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h
tools/perf/util/event.c
tools/perf/util/evlist.c
tools/perf/util/record.c
tools/perf/util/stat.c