blob: 072c0a374794eafcdbfd628ae80c9fe1b0e88240 [file] [log] [blame]
Paul Mackerrasa12b51c2010-03-10 20:36:09 +11001#ifndef __PERF_CPUMAP_H
2#define __PERF_CPUMAP_H
3
Arnaldo Carvalho de Melo60d567e2011-01-03 17:49:48 -02004struct cpu_map {
5 int nr;
6 int map[];
7};
8
9struct cpu_map *cpu_map__new(const char *cpu_list);
10struct cpu_map *cpu_map__dummy_new(void);
Arnaldo Carvalho de Melo915fce22011-01-14 16:19:12 -020011void cpu_map__delete(struct cpu_map *map);
Paul Mackerrasa12b51c2010-03-10 20:36:09 +110012
13#endif /* __PERF_CPUMAP_H */