2010-03-10 20:36:09 +11:00
|
|
|
#ifndef __PERF_CPUMAP_H
|
|
|
|
|
#define __PERF_CPUMAP_H
|
|
|
|
|
|
2012-01-19 14:07:23 -02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
2011-01-03 17:49:48 -02:00
|
|
|
struct cpu_map {
|
|
|
|
|
int nr;
|
|
|
|
|
int map[];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct cpu_map *cpu_map__new(const char *cpu_list);
|
|
|
|
|
struct cpu_map *cpu_map__dummy_new(void);
|
2011-01-14 16:19:12 -02:00
|
|
|
void cpu_map__delete(struct cpu_map *map);
|
2010-03-10 20:36:09 +11:00
|
|
|
|
2012-01-19 14:07:23 -02:00
|
|
|
size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
|
|
|
|
|
|
2010-03-10 20:36:09 +11:00
|
|
|
#endif /* __PERF_CPUMAP_H */
|