| /tools/perf/util/ |
| A D | bpf_lock_contention.c | 197 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare() 292 skel->rodata->aggr_mode = con->aggr_mode; in lock_contention_prepare() 383 if (con->aggr_mode == LOCK_AGGR_CGROUP) in lock_contention_prepare() 437 enum lock_aggr_mode aggr_mode, in update_lock_stat() argument 449 switch (aggr_mode) { in update_lock_stat() 490 enum lock_aggr_mode aggr_mode = con->aggr_mode; in account_end_timestamp() local 513 if (aggr_mode == LOCK_AGGR_TASK || aggr_mode == LOCK_AGGR_CGROUP) in account_end_timestamp() 566 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_get_name() 585 if (con->aggr_mode == LOCK_AGGR_ADDR) { in lock_contention_get_name() 736 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_read() [all …]
|
| A D | stat.h | 45 enum aggr_mode { enum 67 enum aggr_mode aggr_mode; member
|
| A D | bpf-trace-summary.c | 34 skel->rodata->aggr_mode = SYSCALL_AGGR_THREAD; in trace_prepare_bpf_summary() 36 skel->rodata->aggr_mode = SYSCALL_AGGR_CGROUP; in trace_prepare_bpf_summary() 38 skel->rodata->aggr_mode = SYSCALL_AGGR_CPU; in trace_prepare_bpf_summary() 392 switch (skel->rodata->aggr_mode) { in trace_print_bpf_summary() 421 switch (skel->rodata->aggr_mode) { in trace_print_bpf_summary()
|
| A D | stat.c | 282 if (config->aggr_mode != AGGR_GLOBAL) in evlist__copy_res_stats() 375 if (config->aggr_mode == AGGR_GLOBAL) in evsel__count_has_error() 406 if (config->aggr_mode == AGGR_THREAD) { in process_counter_values() 493 if (config->aggr_mode != AGGR_GLOBAL) in perf_stat_process_counter() 570 if (config->aggr_mode == AGGR_NONE) in perf_stat_merge_counters() 641 if (config->aggr_mode != AGGR_NONE) in perf_stat_process_percore() 713 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
|
| A D | stat-display.c | 261 int idx = config->aggr_mode; in print_aggr_id_std() 264 switch (config->aggr_mode) { in print_aggr_id_std() 316 switch (config->aggr_mode) { in print_aggr_id_csv() 367 switch (config->aggr_mode) { in print_aggr_id_json() 451 if (config->aggr_mode == AGGR_NONE) in do_new_line_std() 1004 if (config->aggr_mode != AGGR_NONE) { in print_counter_aggrdata() 1309 switch (config->aggr_mode) { in print_header_interval_std() 1318 aggr_header_lens[config->aggr_mode], in print_header_interval_std() 1319 aggr_header_std[config->aggr_mode]); in print_header_interval_std() 1324 aggr_header_lens[config->aggr_mode], in print_header_interval_std() [all …]
|
| A D | lock-contention.h | 156 int aggr_mode; member
|
| A D | config.c | 41 .aggr_mode = AGGR_GLOBAL,
|
| A D | event.c | 167 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
|
| A D | synthetic-events.c | 1399 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
|
| A D | evsel.c | 4018 if (config->aggr_mode == AGGR_NONE) { in evsel__set_needs_uniquify()
|
| /tools/perf/ |
| A D | builtin-stat.c | 141 enum aggr_mode aggr_mode; member 1426 static aggr_cpu_id_get_t aggr_mode__get_aggr(enum aggr_mode aggr_mode) in aggr_mode__get_aggr() argument 1428 switch (aggr_mode) { in aggr_mode__get_aggr() 1453 static aggr_get_id_t aggr_mode__get_id(enum aggr_mode aggr_mode) in aggr_mode__get_id() argument 1455 switch (aggr_mode) { in aggr_mode__get_id() 1736 static aggr_cpu_id_get_t aggr_mode__get_aggr_file(enum aggr_mode aggr_mode) in aggr_mode__get_aggr_file() argument 1738 switch (aggr_mode) { in aggr_mode__get_aggr_file() 1763 static aggr_get_id_t aggr_mode__get_id_file(enum aggr_mode aggr_mode) in aggr_mode__get_id_file() argument 1765 switch (aggr_mode) { in aggr_mode__get_id_file() 2147 stat_config.aggr_mode = st->aggr_mode; in process_stat_config_event() [all …]
|
| A D | builtin-lock.c | 68 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; variable 538 switch (aggr_mode) { in get_key_by_aggr_mode_simple() 559 if (aggr_mode == LOCK_AGGR_CALLER) { in get_key_by_aggr_mode() 1020 switch (aggr_mode) { in report_lock_contention_begin_event() 1568 switch (aggr_mode) { in print_header_stdio() 1595 switch (aggr_mode) { in print_header_csv() 1638 switch (aggr_mode) { in print_lock_stat_stdio() 1689 switch (aggr_mode) { in print_lock_stat_csv() 1903 aggr_mode = LOCK_AGGR_TASK; in __cmd_report() 2037 con.aggr_mode = aggr_mode = show_thread_stats ? LOCK_AGGR_TASK : in __cmd_contention() [all …]
|
| A D | builtin-script.c | 3543 stat_config.aggr_mode = AGGR_NONE; in process_stat_config_event()
|
| /tools/perf/util/bpf_skel/ |
| A D | syscall_summary.bpf.c | 38 const volatile enum syscall_aggr_mode aggr_mode; variable 139 if (aggr_mode == SYSCALL_AGGR_THREAD) in sys_exit() 141 else if (aggr_mode == SYSCALL_AGGR_CGROUP) in sys_exit()
|
| A D | lock_contention.bpf.c | 195 const volatile int aggr_mode; variable 611 } else if (aggr_mode == LOCK_AGGR_TASK) { in contention_begin() 753 switch (aggr_mode) { in contention_end() 797 if (aggr_mode == LOCK_AGGR_ADDR) { in contention_end()
|
| /tools/perf/tests/ |
| A D | stat.c | 44 TEST_ASSERT_VAL("wrong aggr_mode", test_stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 54 .aggr_mode = AGGR_CORE, in test__synthesize_stat_config()
|
| /tools/perf/arch/powerpc/util/ |
| A D | header.c | 78 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
|
| /tools/perf/pmu-events/ |
| A D | pmu-events.h | 75 enum aggr_mode_class aggr_mode; member
|
| A D | jevents.py | 219 def convert_aggr_mode(aggr_mode: str) -> Optional[str]: 221 if not aggr_mode: 227 return aggr_mode_to_enum[aggr_mode] 347 self.aggr_mode = convert_aggr_mode(jd.get('AggregationMode'))
|
| A D | empty-pmu-events.c | 390 pm->aggr_mode = *p - '0'; in decompress_metric()
|
| /tools/perf/arch/x86/util/ |
| A D | iostat.c | 347 config->aggr_mode = AGGR_GLOBAL; in iostat_prepare()
|