Lines Matching refs:perf_cpu
17 static struct perf_cpu max_cpu_num;
18 static struct perf_cpu max_present_cpu_num;
200 int cpu__get_socket_id(struct perf_cpu cpu) in cpu__get_socket_id()
206 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data __maybe_unused) in aggr_cpu_id__socket()
240 struct perf_cpu cpu; in cpu_aggr_map__new()
282 int cpu__get_die_id(struct perf_cpu cpu) in cpu__get_die_id()
289 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data) in aggr_cpu_id__die()
312 int cpu__get_core_id(struct perf_cpu cpu) in cpu__get_core_id()
318 struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data) in aggr_cpu_id__core()
337 struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data) in aggr_cpu_id__cpu()
351 struct aggr_cpu_id aggr_cpu_id__node(struct perf_cpu cpu, void *data __maybe_unused) in aggr_cpu_id__node()
359 struct aggr_cpu_id aggr_cpu_id__global(struct perf_cpu cpu, void *data __maybe_unused) in aggr_cpu_id__global()
477 struct perf_cpu cpu__max_cpu(void) in cpu__max_cpu()
485 struct perf_cpu cpu__max_present_cpu(void) in cpu__max_present_cpu()
494 int cpu__get_node(struct perf_cpu cpu) in cpu__get_node()
585 struct perf_cpu cpu = { .cpu = INT_MAX }; in cpu_map__snprint()
635 struct perf_cpu last_cpu = perf_cpu_map__cpu(map, perf_cpu_map__nr(map) - 1); in cpu_map__snprint_mask()
714 .cpu = (struct perf_cpu){ .cpu = -1 }, in aggr_cpu_id__empty()