perf tools: Refactor cpumap to hold nr and the map
[deliverable/linux.git] / tools / perf / util / cpumap.h
CommitLineData
a12b51c4
PM
1#ifndef __PERF_CPUMAP_H
2#define __PERF_CPUMAP_H
3
60d567e2
ACM
4struct 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);
11void *cpu_map__delete(struct cpu_map *map);
a12b51c4
PM
12
13#endif /* __PERF_CPUMAP_H */
This page took 0.066065 seconds and 5 git commands to generate.