| /linux/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 204 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare() 304 skel->rodata->aggr_mode = con->aggr_mode; in lock_contention_prepare() 309 if (con->aggr_mode == LOCK_AGGR_CGROUP || con->filters->nr_cgrps) { in lock_contention_prepare() 396 if (con->aggr_mode == LOCK_AGGR_CGROUP) in lock_contention_prepare() 450 enum lock_aggr_mode aggr_mode, in update_lock_stat() 462 switch (aggr_mode) { in update_lock_stat() 503 enum lock_aggr_mode aggr_mode = con->aggr_mode; in account_end_timestamp() 515 if (aggr_mode in account_end_timestamp() 443 update_lock_stat(int map_fd,int pid,u64 end_ts,enum lock_aggr_mode aggr_mode,struct tstamp_data * ts_data) update_lock_stat() argument 496 enum lock_aggr_mode aggr_mode = con->aggr_mode; account_end_timestamp() local [all...] |
| H 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() 914 if (config->aggr_mode == AGGR_THREAD && config->system_wide) in should_skip_zero_counter() 967 if (config->aggr_mode != AGGR_NONE) { in print_counter_aggrdata() 1171 int len = aggr_header_lens[config->aggr_mode]; in print_metric_headers_std() 1190 p = aggr_header_csv[config->aggr_mode]; in print_metric_headers_csv() 1235 config->aggr_mode ! in print_metric_headers() [all...] |
| H A D | stat.h | 45 enum aggr_mode { enum 62 enum aggr_mode aggr_mode; member
|
| H A D | stat.c | 284 if (config->aggr_mode != AGGR_GLOBAL) in evlist__copy_res_stats() 377 if (config->aggr_mode == AGGR_GLOBAL) in evsel__count_has_error() 408 if (config->aggr_mode == AGGR_THREAD) { in process_counter_values() 495 if (config->aggr_mode != AGGR_GLOBAL) in perf_stat_process_counter() 572 if (config->aggr_mode == AGGR_NONE) in perf_stat_merge_counters() 643 if (config->aggr_mode != AGGR_NONE) in perf_stat_process_percore() 716 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
|
| H A D | bpf-trace-summary.c | 35 skel->rodata->aggr_mode = SYSCALL_AGGR_THREAD; in trace_prepare_bpf_summary() 37 skel->rodata->aggr_mode = SYSCALL_AGGR_CGROUP; in trace_prepare_bpf_summary() 39 skel->rodata->aggr_mode = SYSCALL_AGGR_CPU; in trace_prepare_bpf_summary() 399 switch (skel->rodata->aggr_mode) { in trace_print_bpf_summary() 428 switch (skel->rodata->aggr_mode) { in trace_print_bpf_summary()
|
| H A D | lock-contention.h | 156 int aggr_mode; member
|
| H A D | config.c | 44 .aggr_mode = AGGR_GLOBAL,
|
| H A D | event.c | 170 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
|
| H A D | synthetic-events.c | 1404 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
|
| H A D | evsel.c | 4551 if (config->aggr_mode == AGGR_NONE) {
|
| /linux/tools/perf/ |
| H A D | builtin-stat.c | 152 enum aggr_mode aggr_mode; member 167 static enum aggr_mode opt_aggr_mode_to_aggr_mode(const struct opt_aggr_mode *opt_mode) in opt_aggr_mode_to_aggr_mode() 169 enum aggr_mode mode = AGGR_GLOBAL; in opt_aggr_mode_to_aggr_mode() 1528 static aggr_cpu_id_get_t aggr_mode__get_aggr(enum aggr_mode aggr_mode) in aggr_mode__get_aggr() 1530 switch (aggr_mode) { in aggr_mode__get_aggr() 1555 static aggr_get_id_t aggr_mode__get_id(enum aggr_mode aggr_mode) in aggr_mode__get_id() 1557 switch (aggr_mode) { in aggr_mode__get_id() 1513 aggr_mode__get_aggr(enum aggr_mode aggr_mode) aggr_mode__get_aggr() argument 1540 aggr_mode__get_id(enum aggr_mode aggr_mode) aggr_mode__get_id() argument 1823 aggr_mode__get_aggr_file(enum aggr_mode aggr_mode) aggr_mode__get_aggr_file() argument 1850 aggr_mode__get_id_file(enum aggr_mode aggr_mode) aggr_mode__get_id_file() argument [all...] |
| H A D | builtin-lock.c | 70 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; in thread_stat_find() 534 switch (aggr_mode) { 544 pr_err("Invalid aggregation mode: %d\n", aggr_mode); in get_key_by_aggr_mode_simple() 555 if (aggr_mode == LOCK_AGGR_CALLER) { 1018 switch (aggr_mode) { in report_lock_contention_begin_event() 1565 switch (aggr_mode) { in print_header_stdio() 1592 switch (aggr_mode) { in print_header_csv() 1635 switch (aggr_mode) { in print_lock_stat_stdio() 1656 if (aggr_mode == LOCK_AGGR_CALLER && verbose > 0) { in print_lock_stat_stdio() 1686 switch (aggr_mode) { in print_lock_stat_csv() 68 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; global() variable [all...] |
| H A D | builtin-script.c | 2321 assert(stat_config.aggr_mode == AGGR_GLOBAL); in perf_sample__fprint_metric() 3897 stat_config.aggr_mode = AGGR_NONE;
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | debugfs_sta.c | 188 (arsta->aggr_mode == ATH10K_DBG_AGGR_MODE_AUTO) ? in ath10k_dbg_sta_read_aggr_mode() 202 u32 aggr_mode; in ath10k_dbg_sta_write_aggr_mode() 205 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode() 208 if (aggr_mode >= ATH10K_DBG_AGGR_MODE_MAX) in ath10k_dbg_sta_write_aggr_mode() 213 (aggr_mode == arsta->aggr_mode)) { in ath10k_dbg_sta_write_aggr_mode() 224 arsta->aggr_mode = aggr_mode; in ath10k_dbg_sta_write_aggr_mode() 264 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba() 315 (arsta->aggr_mode ! in ath10k_dbg_sta_write_addba_resp() 203 u32 aggr_mode; ath10k_dbg_sta_write_aggr_mode() local [all...] |
| /linux/tools/perf/util/bpf_skel/ |
| H A D | syscall_summary.bpf.c | 38 const volatile enum syscall_aggr_mode aggr_mode; variable 137 if (aggr_mode == SYSCALL_AGGR_THREAD) in sys_exit() 139 else if (aggr_mode == SYSCALL_AGGR_CGROUP) in sys_exit()
|
| H A D | lock_contention.bpf.c | 203 const volatile int aggr_mode; 600 if (aggr_mode == LOCK_AGGR_CGROUP) in contention_begin() 674 } else if (aggr_mode == LOCK_AGGR_TASK) { in contention_end() 816 switch (aggr_mode) { in contention_end() 860 if (aggr_mode == LOCK_AGGR_ADDR) { 195 const volatile int aggr_mode; global() variable
|
| /linux/tools/perf/pmu-events/ |
| H A D | pmu-events.h | 75 enum aggr_mode_class aggr_mode; member
|
| H A D | jevents.py | 61 'default_metricgroup_name', 'aggr_mode', 'event_grouping', 65 _json_enum_attributes = ['aggr_mode', 'deprecated', 'event_grouping', 'perpkg', 221 def convert_aggr_mode(aggr_mode: str) -> Optional[str]: 223 if not aggr_mode: 229 return aggr_mode_to_enum[aggr_mode] 351 self.aggr_mode = convert_aggr_mode(jd.get('AggregationMode'))
|
| H A D | empty-pmu-events.c | 5538 pm->aggr_mode = *p - '0';
|