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()
131 struct aggr_cpu_id cpu_map__get_socket(struct perf_cpu_map *map, int idx, in cpu_map__get_socket()
163 int cpu_map__build_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **res, in cpu_map__build_map()
164 struct aggr_cpu_id (*f)(struct perf_cpu_map *map, int cpu, void *data), in cpu_map__build_map()
203 struct aggr_cpu_id cpu_map__get_die(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_die()
242 struct aggr_cpu_id cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_core()
267 struct aggr_cpu_id cpu_map__get_node(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_node()
278 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **sockp) in cpu_map__build_socket_map()
283 int cpu_map__build_die_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **diep) in cpu_map__build_die_map()
288 int cpu_map__build_core_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **corep) in cpu_map__build_core_map()
293 int cpu_map__build_node_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **numap) in cpu_map__build_node_map()
505 bool cpu_map__has(struct perf_cpu_map *cpus, int cpu) in cpu_map__has()
510 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
515 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint()
567 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint_mask()
607 const struct perf_cpu_map *cpu_map__online(void) /* thread unsafe */ in cpu_map__online()
609 static const struct perf_cpu_map *online = NULL; in cpu_map__online()