Searched refs:aggr_cpu_id (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | cpumap.h | 11 struct aggr_cpu_id { struct 35 struct aggr_cpu_id map[]; 91 typedef struct aggr_cpu_id (*aggr_cpu_id_get_t)(struct perf_cpu cpu, void *data); 102 bool aggr_cpu_id__equal(const struct aggr_cpu_id *a, const struct aggr_cpu_id *b); 103 bool aggr_cpu_id__is_empty(const struct aggr_cpu_id *a); 104 struct aggr_cpu_id aggr_cpu_id__empty(void); 112 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data); 118 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data); 124 struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data); 130 struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data); [all …]
|
D | cpumap.c | 179 struct cpu_aggr_map *cpus = malloc(sizeof(*cpus) + sizeof(struct aggr_cpu_id) * nr); in cpu_aggr_map__empty_new() 210 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data __maybe_unused) in aggr_cpu_id__socket() 212 struct aggr_cpu_id id = aggr_cpu_id__empty(); in aggr_cpu_id__socket() 220 struct aggr_cpu_id *a = (struct aggr_cpu_id *)a_pointer; in aggr_cpu_id__cmp() 221 struct aggr_cpu_id *b = (struct aggr_cpu_id *)b_pointer; in aggr_cpu_id__cmp() 251 struct aggr_cpu_id cpu_id = get_id(cpu, data); in cpu_aggr_map__new() 268 sizeof(struct cpu_aggr_map) + sizeof(struct aggr_cpu_id) * c->nr); in cpu_aggr_map__new() 274 qsort(c->map, c->nr, sizeof(struct aggr_cpu_id), aggr_cpu_id__cmp); in cpu_aggr_map__new() 287 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data) in aggr_cpu_id__die() 289 struct aggr_cpu_id id; in aggr_cpu_id__die() [all …]
|
D | stat-display.c | 87 struct evsel *evsel, struct aggr_cpu_id id, int nr) in aggr_printout() 217 struct aggr_cpu_id id; 446 struct evsel *evsel, const struct aggr_cpu_id *id) in first_shadow_map_idx() 462 struct aggr_cpu_id cpu_id = config->aggr_get_id(config, cpu); in first_shadow_map_idx() 471 struct aggr_cpu_id id, int nr, struct evsel *evsel, double avg) in abs_printout() 537 static void printout(struct perf_stat_config *config, struct aggr_cpu_id id, int nr, in printout() 665 struct aggr_cpu_id s2, id; in aggr_update_shadow() 777 struct aggr_cpu_id id; 789 struct aggr_cpu_id s2; in aggr_cb() 826 struct aggr_cpu_id id; in print_counter_aggrdata() [all …]
|
D | stat.h | 117 typedef struct aggr_cpu_id (*aggr_get_id_t)(struct perf_stat_config *config, struct perf_cpu cpu); 207 struct aggr_cpu_id id;
|
/linux-6.1.9/tools/perf/ |
D | builtin-stat.c | 1310 static struct aggr_cpu_id perf_stat__get_socket(struct perf_stat_config *config __maybe_unused, in perf_stat__get_socket() 1316 static struct aggr_cpu_id perf_stat__get_die(struct perf_stat_config *config __maybe_unused, in perf_stat__get_die() 1322 static struct aggr_cpu_id perf_stat__get_core(struct perf_stat_config *config __maybe_unused, in perf_stat__get_core() 1328 static struct aggr_cpu_id perf_stat__get_node(struct perf_stat_config *config __maybe_unused, in perf_stat__get_node() 1334 static struct aggr_cpu_id perf_stat__get_aggr(struct perf_stat_config *config, in perf_stat__get_aggr() 1337 struct aggr_cpu_id id = aggr_cpu_id__empty(); in perf_stat__get_aggr() 1346 static struct aggr_cpu_id perf_stat__get_socket_cached(struct perf_stat_config *config, in perf_stat__get_socket_cached() 1352 static struct aggr_cpu_id perf_stat__get_die_cached(struct perf_stat_config *config, in perf_stat__get_die_cached() 1358 static struct aggr_cpu_id perf_stat__get_core_cached(struct perf_stat_config *config, in perf_stat__get_core_cached() 1364 static struct aggr_cpu_id perf_stat__get_node_cached(struct perf_stat_config *config, in perf_stat__get_node_cached() [all …]
|
/linux-6.1.9/tools/perf/tests/ |
D | topology.c | 80 struct aggr_cpu_id id; in check_cpu_topology()
|