]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - tools/perf/util/cpumap.h
Merge tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[mirror_ubuntu-zesty-kernel.git] / tools / perf / util / cpumap.h
1 #ifndef __PERF_CPUMAP_H
2 #define __PERF_CPUMAP_H
3
4 #include <stdio.h>
5
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);
13 void cpu_map__delete(struct cpu_map *map);
14
15 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
16
17 #endif /* __PERF_CPUMAP_H */