Lines Matching refs:cpu_map

146 typedef int (*aggr_get_id_t)(struct cpu_map *m, int cpu);
175 static struct cpu_map *aggr_map;
196 struct cpu_map *cpus;
532 struct cpu_map *cpus = counter->cpus; in store_counter_ids()
2044 static int perf_stat__get_socket(struct cpu_map *map, int cpu) in perf_stat__get_socket()
2049 static int perf_stat__get_core(struct cpu_map *map, int cpu) in perf_stat__get_core()
2054 static int cpu_map__get_max(struct cpu_map *map) in cpu_map__get_max()
2066 static struct cpu_map *cpus_aggr_map;
2068 static int perf_stat__get_aggr(aggr_get_id_t get_id, struct cpu_map *map, int idx) in perf_stat__get_aggr()
2083 static int perf_stat__get_socket_cached(struct cpu_map *map, int idx) in perf_stat__get_socket_cached()
2088 static int perf_stat__get_core_cached(struct cpu_map *map, int idx) in perf_stat__get_core_cached()
2138 static inline int perf_env__get_cpu(struct perf_env *env, struct cpu_map *map, int idx) in perf_env__get_cpu()
2153 static int perf_env__get_socket(struct cpu_map *map, int idx, void *data) in perf_env__get_socket()
2161 static int perf_env__get_core(struct cpu_map *map, int idx, void *data) in perf_env__get_core()
2181 static int perf_env__build_socket_map(struct perf_env *env, struct cpu_map *cpus, in perf_env__build_socket_map()
2182 struct cpu_map **sockp) in perf_env__build_socket_map()
2187 static int perf_env__build_core_map(struct perf_env *env, struct cpu_map *cpus, in perf_env__build_core_map()
2188 struct cpu_map **corep) in perf_env__build_core_map()
2193 static int perf_stat__get_socket_file(struct cpu_map *map, int idx) in perf_stat__get_socket_file()
2198 static int perf_stat__get_core_file(struct cpu_map *map, int idx) in perf_stat__get_core_file()
2696 struct cpu_map *cpus; in process_cpu_map_event()
2703 cpus = cpu_map__new_data(&event->cpu_map.data); in process_cpu_map_event()
2750 .cpu_map = process_cpu_map_event,