aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/lib/include/internal/cpumap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/lib/include/internal/cpumap.h')
-rw-r--r--tools/perf/lib/include/internal/cpumap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/cpumap.h b/tools/perf/lib/include/internal/cpumap.h
index 3306319f7df8..840d4032587b 100644
--- a/tools/perf/lib/include/internal/cpumap.h
+++ b/tools/perf/lib/include/internal/cpumap.h
@@ -14,4 +14,6 @@ struct perf_cpu_map {
#define MAX_NR_CPUS 2048
#endif
+int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu);
+
#endif /* __LIBPERF_INTERNAL_CPUMAP_H */