Searched refs:aggr_map (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | stat-display.c | 918 * In per-thread mode the aggr_map and aggr_get_id functions may be in should_skip_zero_counter() 921 if (!config->aggr_map || !config->aggr_get_id) in should_skip_zero_counter() 958 struct aggr_cpu_id id = config->aggr_map->map[aggr_idx]; in print_counter_aggrdata() 1032 id = config->aggr_map->map[aggr_idx]; in print_metric_begin() 1061 if (!config->aggr_map || !config->aggr_get_id) in print_aggr() 1068 cpu_aggr_map__for_each_idx(aggr_idx, config->aggr_map) { in print_aggr() 1085 if (!config->aggr_map || !config->aggr_get_id) in print_aggr_cgroup() 1094 cpu_aggr_map__for_each_idx(aggr_idx, config->aggr_map) { in print_aggr_cgroup() 1114 if (!config->aggr_map) in print_counter() 1117 cpu_aggr_map__for_each_idx(aggr_idx, config->aggr_map) { in print_counter() [all...] |
| H A D | cpumap.h | 45 #define cpu_aggr_map__for_each_idx(idx, aggr_map) \ 46 for ((idx) = 0; (idx) < aggr_map->nr; (idx)++) 47 cpu_aggr_map__for_each_idx(idx,aggr_map) global() argument
|
| H A D | stat-shadow.c | 32 cpu_aggr_map__for_each_idx(aggr_idx, config->aggr_map) { in tool_pmu__is_time_event() 33 if (config->aggr_map->map[aggr_idx].cpu.cpu == 0) { in tool_pmu__is_time_event()
|
| H A D | stat.c | 195 if (config && config->aggr_map) in evlist__alloc_stats() 196 nr_aggr = config->aggr_map->nr; in evlist__alloc_stats() 433 if (!aggr_cpu_id__equal(&aggr_id, &config->aggr_map->map[i])) in process_counter_values() 616 /* we have an aggr_map for cpu, but want to aggregate the counters per-core */ in evsel__process_percore()
|
| H A D | stat.h | 100 struct cpu_aggr_map *aggr_map; member
|
| /linux/tools/perf/ |
| H A D | builtin-stat.c | 1589 stat_config.aggr_map = cpu_aggr_map__new(evsel_list->core.user_requested_cpus, in perf_stat_init_aggr_mode() 1591 if (!stat_config.aggr_map) { in perf_stat_init_aggr_mode() 1600 stat_config.aggr_map = cpu_aggr_map__empty_new(nr); in perf_stat_init_aggr_mode() 1601 if (stat_config.aggr_map == NULL) in perf_stat_init_aggr_mode() 1608 stat_config.aggr_map->map[s] = id; in cpu_aggr_map__delete() 1630 cpu_aggr_map__delete(stat_config.aggr_map); in perf_env__get_socket_aggr_by_cpu() 1632 stat_config.aggr_map = NULL; in perf_env__get_die_aggr_by_cpu() 1907 stat_config.aggr_map = cpu_aggr_map__empty_new(nr); in perf_stat_init_aggr_mode_file() 1908 if (stat_config.aggr_map == NULL) in perf_stat_init_aggr_mode_file() 1915 stat_config.aggr_map in default_evlist_evsel_cmp() [all...] |
| H A D | builtin-script.c | 2319 if (!stat_config.aggr_map) { in perf_sample__fprint_metric() 2323 stat_config.aggr_map = in perf_sample__fprint_metric() 2338 if (evlist__alloc_aggr_stats(evsel->evlist, stat_config.aggr_map->nr) < 0) in perf_sample__fprint_metric() 2378 cpu_aggr_map__for_each_idx(aggr_idx, stat_config.aggr_map) { in show_event()
|