cpumap.h 335 B

123456789101112131415161718
  1. #ifndef __PERF_CPUMAP_H
  2. #define __PERF_CPUMAP_H
  3. #include <stdio.h>
  4. struct cpu_map {
  5. int nr;
  6. int map[];
  7. };
  8. struct cpu_map *cpu_map__new(const char *cpu_list);
  9. struct cpu_map *cpu_map__dummy_new(void);
  10. void cpu_map__delete(struct cpu_map *map);
  11. size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
  12. #endif /* __PERF_CPUMAP_H */