]>
Commit | Line | Data |
---|---|---|
a12b51c4 PM |
1 | #ifndef __PERF_CPUMAP_H |
2 | #define __PERF_CPUMAP_H | |
3 | ||
9ae7d335 ACM |
4 | #include <stdio.h> |
5 | ||
60d567e2 ACM |
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); | |
915fce20 | 13 | void cpu_map__delete(struct cpu_map *map); |
a12b51c4 | 14 | |
9ae7d335 ACM |
15 | size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp); |
16 | ||
a12b51c4 | 17 | #endif /* __PERF_CPUMAP_H */ |