OSDN Git Service

libperf: Make perf_cpu_map__alloc() available as an internal function for tools/perf...
[tomoyo/tomoyo-test1.git] / tools / lib / perf / include / internal / cpumap.h
index 35dd296..f5bffb1 100644 (file)
@@ -24,6 +24,7 @@ struct perf_cpu_map {
 #define MAX_NR_CPUS    2048
 #endif
 
+struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus);
 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
 bool perf_cpu_map__is_subset(const struct perf_cpu_map *a, const struct perf_cpu_map *b);