summaryrefslogtreecommitdiffstats
path: root/tools/perf/lib/libperf.map
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2019-09-02 14:12:53 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-10 15:33:32 +0200
commit4256d434935e9c85a731823be562785494ca364b (patch)
tree332664e6c61b1ea891cd2b3849b15a28361d1ab7 /tools/perf/lib/libperf.map
parentlibperf: Add missing event.h file to install rule (diff)
downloadlinux-4256d434935e9c85a731823be562785494ca364b.tar.xz
linux-4256d434935e9c85a731823be562785494ca364b.zip
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>
Diffstat (limited to '')
-rw-r--r--tools/perf/lib/libperf.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/lib/libperf.map b/tools/perf/lib/libperf.map
index dc4d66363bc4..cd0d17b996c8 100644
--- a/tools/perf/lib/libperf.map
+++ b/tools/perf/lib/libperf.map
@@ -9,6 +9,7 @@ LIBPERF_0.0.1 {
perf_cpu_map__nr;
perf_cpu_map__cpu;
perf_cpu_map__empty;
+ perf_cpu_map__max;
perf_thread_map__new_dummy;
perf_thread_map__set_pid;
perf_thread_map__comm;