Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / tools / perf / util / cpumap.h
blobc41518573c6af013e5de3c16d916bfac84e92897
1 #ifndef __PERF_CPUMAP_H
2 #define __PERF_CPUMAP_H
4 #include <stdio.h>
6 struct cpu_map {
7 int nr;
8 int map[];
9 };
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);
15 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
17 #endif /* __PERF_CPUMAP_H */