Lines Matching refs:perf_cpu_map

21 static struct perf_cpu_map *cpu_map__from_entries(struct cpu_map_entries *cpus)  in cpu_map__from_entries()
23 struct perf_cpu_map *map; in cpu_map__from_entries()
45 static struct perf_cpu_map *cpu_map__from_mask(struct perf_record_record_cpu_map *mask) in cpu_map__from_mask()
47 struct perf_cpu_map *map; in cpu_map__from_mask()
63 struct perf_cpu_map *cpu_map__new_data(struct perf_record_cpu_map_data *data) in cpu_map__new_data()
71 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp) in cpu_map__fprintf()
81 struct perf_cpu_map *perf_cpu_map__empty_new(int nr) in perf_cpu_map__empty_new()
83 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int) * nr); in perf_cpu_map__empty_new()
114 int cpu_map__get_socket(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket()
131 int cpu_map__build_map(struct perf_cpu_map *cpus, struct perf_cpu_map **res, in cpu_map__build_map()
132 int (*f)(struct perf_cpu_map *map, int cpu, void *data), in cpu_map__build_map()
135 struct perf_cpu_map *c; in cpu_map__build_map()
170 int cpu_map__get_die(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_die()
209 int cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_core()
238 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct perf_cpu_map **sockp) in cpu_map__build_socket_map()
243 int cpu_map__build_die_map(struct perf_cpu_map *cpus, struct perf_cpu_map **diep) in cpu_map__build_die_map()
248 int cpu_map__build_core_map(struct perf_cpu_map *cpus, struct perf_cpu_map **corep) in cpu_map__build_core_map()
460 bool cpu_map__has(struct perf_cpu_map *cpus, int cpu) in cpu_map__has()
465 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
470 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint()
522 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint_mask()
562 const struct perf_cpu_map *cpu_map__online(void) /* thread unsafe */ in cpu_map__online()
564 static const struct perf_cpu_map *online = NULL; in cpu_map__online()