Home
last modified time | relevance | path

Searched refs:aggr_mode (Results 1 – 11 of 11) sorted by relevance

/tools/perf/
Dbuiltin-stat.c184 enum aggr_mode aggr_mode; member
193 .aggr_mode = AGGR_GLOBAL,
916 if (stat_config.aggr_mode == AGGR_GLOBAL) in __run_perf_stat()
1111 OPT_SET_UINT('A', "no-aggr", &stat_config.aggr_mode,
1137 OPT_SET_UINT(0, "per-socket", &stat_config.aggr_mode,
1139 OPT_SET_UINT(0, "per-die", &stat_config.aggr_mode,
1141 OPT_SET_UINT(0, "per-core", &stat_config.aggr_mode,
1143 OPT_SET_UINT(0, "per-thread", &stat_config.aggr_mode,
1145 OPT_SET_UINT(0, "per-node", &stat_config.aggr_mode,
1267 switch (stat_config.aggr_mode) { in perf_stat_init_aggr_mode()
[all …]
/tools/perf/pmu-events/
Dpmu-events.h22 const char *aggr_mode; member
Djevents.c64 char *aggr_mode; member
72 enum aggr_mode_class convert(const char *aggr_mode) in convert() argument
74 if (!strcmp(aggr_mode, "PerCore")) in convert()
76 else if (!strcmp(aggr_mode, "PerChip")) in convert()
79 pr_err("%s: Wrong AggregationMode value '%s'\n", prog, aggr_mode); in convert()
372 if (je->aggr_mode) in print_events_table_entry()
373 fprintf(outfp, "\t.aggr_mode = \"%d\",\n", convert(je->aggr_mode)); in print_events_table_entry()
398 char *aggr_mode; member
428 op(aggr_mode); \
630 addfield(map, &je.aggr_mode, "", "", val); in json_events()
[all …]
/tools/perf/util/
Dstat.h46 enum aggr_mode { enum
106 enum aggr_mode aggr_mode; member
Dstat.c341 switch (config->aggr_mode) { in process_counter_values()
351 if ((config->aggr_mode == AGGR_NONE) && (!evsel->percore)) { in process_counter_values()
356 if (config->aggr_mode == AGGR_THREAD) { in process_counter_values()
427 if (config->aggr_mode != AGGR_GLOBAL) in perf_stat_process_counter()
504 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
Dstat-display.c73 switch (config->aggr_mode) { in aggr_printout()
167 if (config->aggr_mode == AGGR_NONE) in do_new_line_std()
327 if (config->aggr_mode == AGGR_NONE) in first_shadow_cpu()
434 os.nfields += aggr_fields[config->aggr_mode]; in printout()
933 aggr_header_lens[config->aggr_mode], ""); in print_metric_headers()
937 fputs(aggr_header_csv[config->aggr_mode], config->output); in print_metric_headers()
971 switch (config->aggr_mode) { in print_interval()
1212 if (config->aggr_mode == AGGR_GLOBAL && prefix) in perf_evlist__print_counters()
1216 switch (config->aggr_mode) { in perf_evlist__print_counters()
Devent.c136 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
Dsynthetic-events.c1252 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
/tools/perf/tests/
Dstat.c44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event()
53 .aggr_mode = AGGR_CORE, in test__synthesize_stat_config()
/tools/perf/arch/powerpc/util/
Dheader.c48 atoi(pe->aggr_mode) == PerChip ? strcat(path, "sockets") : strcat(path, "coresperchip"); in arch_get_runtimeparam()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1420 if (config->aggr_mode == AGGR_GLOBAL) { in python_process_stat()