libperf: Adopt perf_cpu_map__max() function
authorJiri Olsa <jolsa@kernel.org>
Mon, 2 Sep 2019 12:12:53 +0000 (14:12 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Sep 2019 13:33:32 +0000 (14:33 +0100)
commit4256d434935e9c85a731823be562785494ca364b
tree332664e6c61b1ea891cd2b3849b15a28361d1ab7
parent227cb129858a3eb4b874937274b09834ffcc39b0
libperf: Adopt perf_cpu_map__max() function

From 'perf stat', so that it can be used from multiple places.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20190902121255.536-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/lib/cpumap.c
tools/perf/lib/include/perf/cpumap.h
tools/perf/lib/libperf.map