Paul Mackerras | a12b51c | 2010-03-10 20:36:09 +1100 | [diff] [blame] | 1 | #ifndef __PERF_CPUMAP_H |
| 2 | #define __PERF_CPUMAP_H |
| 3 | |
Arnaldo Carvalho de Melo | 60d567e | 2011-01-03 17:49:48 -0200 | [diff] [blame] | 4 | struct cpu_map { |
| 5 | int nr; |
| 6 | int map[]; |
| 7 | }; |
| 8 | |
| 9 | struct cpu_map *cpu_map__new(const char *cpu_list); |
| 10 | struct cpu_map *cpu_map__dummy_new(void); |
Arnaldo Carvalho de Melo | 915fce2 | 2011-01-14 16:19:12 -0200 | [diff] [blame] | 11 | void cpu_map__delete(struct cpu_map *map); |
Paul Mackerras | a12b51c | 2010-03-10 20:36:09 +1100 | [diff] [blame] | 12 | |
| 13 | #endif /* __PERF_CPUMAP_H */ |