c41518573c6af013e5de3c16d916bfac84e92897
[cascardo/linux.git] / tools / perf / util / cpumap.h
1 #ifndef __PERF_CPUMAP_H
2 #define __PERF_CPUMAP_H
3
4 #include <stdio.h>
5
6 struct cpu_map {
7         int nr;
8         int map[];
9 };
10
11 struct cpu_map *cpu_map__new(const char *cpu_list);
12 struct cpu_map *cpu_map__dummy_new(void);
13 void cpu_map__delete(struct cpu_map *map);
14
15 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
16
17 #endif /* __PERF_CPUMAP_H */