xref: /linux/tools/perf/util/cpumap.h (revision e9e8bcb8178e197d889ec31e79fa1ddc1732c8f9)
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