xref: /linux/tools/perf/util/cpumap.h (revision 3bb598fb23b6040e67b5e6db9a00b28cd26e5809)
1 #ifndef __PERF_CPUMAP_H
2 #define __PERF_CPUMAP_H
3 
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);
11 void cpu_map__delete(struct cpu_map *map);
12 
13 #endif /* __PERF_CPUMAP_H */
14