]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/perf/util/cpumap.h
perf tools: Separate 'mem:' event scanner bits
[mirror_ubuntu-bionic-kernel.git] / tools / perf / util / cpumap.h
CommitLineData
a12b51c4
PM
1#ifndef __PERF_CPUMAP_H
2#define __PERF_CPUMAP_H
3
9ae7d335
ACM
4#include <stdio.h>
5
60d567e2
ACM
6struct cpu_map {
7 int nr;
8 int map[];
9};
10
11struct cpu_map *cpu_map__new(const char *cpu_list);
12struct cpu_map *cpu_map__dummy_new(void);
915fce20 13void cpu_map__delete(struct cpu_map *map);
a12b51c4 14
9ae7d335
ACM
15size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
16
a12b51c4 17#endif /* __PERF_CPUMAP_H */