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