OSDN Git Service

libperf: Make perf_cpu_map__alloc() available as an internal function for tools/perf...
[tomoyo/tomoyo-test1.git] / tools / lib / perf / cpumap.c
index 6cd0be7..0833423 100644 (file)
@@ -10,7 +10,7 @@
 #include <ctype.h>
 #include <limits.h>
 
-static struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus)
+struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus)
 {
        struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus);