Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dbpf_lock_contention.c200 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare()
295 skel->rodata->aggr_mode = con->aggr_mode; in lock_contention_prepare()
299 if (con->aggr_mode == LOCK_AGGR_CGROUP || con->filters->nr_cgrps) { in lock_contention_prepare()
386 if (con->aggr_mode == LOCK_AGGR_CGROUP) in lock_contention_prepare()
440 enum lock_aggr_mode aggr_mode, in update_lock_stat() argument
452 switch (aggr_mode) { in update_lock_stat()
493 enum lock_aggr_mode aggr_mode = con->aggr_mode; in account_end_timestamp() local
505 if (aggr_mode == LOCK_AGGR_TASK && con->owner) in account_end_timestamp()
508 update_lock_stat(stat_fd, pid, end_ts, aggr_mode, in account_end_timestamp()
516 if (aggr_mode == LOCK_AGGR_TASK || aggr_mode == LOCK_AGGR_CGROUP) in account_end_timestamp()
[all …]
H A Dstat.h45 enum aggr_mode { enum
62 enum aggr_mode aggr_mode; member
H A Dstat.c282 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()
714 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
H A Dstat-display.c261 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()
923 if (config->aggr_mode == AGGR_THREAD && config->system_wide) in should_skip_zero_counter()
976 if (config->aggr_mode != AGGR_NONE) { in print_counter_aggrdata()
1180 int len = aggr_header_lens[config->aggr_mode]; in print_metric_headers_std()
1199 p = aggr_header_csv[config->aggr_mode]; in print_metric_headers_csv()
1244 config->aggr_mode != AGGR_NONE && counter->metric_leader != counter) in print_metric_headers()
[all …]
H A Dbpf-trace-summary.c35 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 Dlock-contention.h156 int aggr_mode; member
H A Dconfig.c43 .aggr_mode = AGGR_GLOBAL,
H A Devent.c168 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
H A Dsynthetic-events.c1399 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
H A Devsel.c4162 if (config->aggr_mode == AGGR_NONE) { in evsel__set_needs_uniquify()
/linux/tools/perf/
H A Dbuiltin-stat.c152 enum aggr_mode aggr_mode; member
167 static enum aggr_mode opt_aggr_mode_to_aggr_mode(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()
1534 static aggr_cpu_id_get_t aggr_mode__get_aggr(enum aggr_mode aggr_mode) in aggr_mode__get_aggr() argument
1536 switch (aggr_mode) { in aggr_mode__get_aggr()
1561 static aggr_get_id_t aggr_mode__get_id(enum aggr_mode aggr_mode) in aggr_mode__get_id() argument
1563 switch (aggr_mode) { in aggr_mode__get_id()
1591 aggr_cpu_id_get_t get_id = aggr_mode__get_aggr(stat_config.aggr_mode); in perf_stat_init_aggr_mode()
1594 bool needs_sort = stat_config.aggr_mode != AGGR_NONE; in perf_stat_init_aggr_mode()
1598 pr_err("cannot build %s map\n", aggr_mode__string[stat_config.aggr_mode]); in perf_stat_init_aggr_mode()
[all …]
H A Dbuiltin-lock.c68 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; variable
538 switch (aggr_mode) { in get_key_by_aggr_mode_simple()
548 pr_err("Invalid aggregation mode: %d\n", 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()
1659 if (aggr_mode == LOCK_AGGR_CALLER && verbose > 0) { in print_lock_stat_stdio()
1689 switch (aggr_mode) { in print_lock_stat_csv()
[all …]
H A Dbuiltin-script.c2302 assert(stat_config.aggr_mode == AGGR_GLOBAL); in perf_sample__fprint_metric()
3857 stat_config.aggr_mode = AGGR_NONE; in process_stat_config_event()
/linux/tools/perf/util/bpf_skel/
H A Dsyscall_summary.bpf.c38 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()
H A Dlock_contention.bpf.c195 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()
/linux/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c189 (arsta->aggr_mode == ATH10K_DBG_AGGR_MODE_AUTO) ? in ath10k_dbg_sta_read_aggr_mode()
203 u32 aggr_mode; in ath10k_dbg_sta_write_aggr_mode() local
206 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode()
209 if (aggr_mode >= ATH10K_DBG_AGGR_MODE_MAX) in ath10k_dbg_sta_write_aggr_mode()
214 (aggr_mode == arsta->aggr_mode)) { in ath10k_dbg_sta_write_aggr_mode()
225 arsta->aggr_mode = aggr_mode; in ath10k_dbg_sta_write_aggr_mode()
265 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba()
316 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba_resp()
366 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_delba()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c506 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_delba()
557 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba_resp()
607 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba()
645 (arsta->aggr_mode == ATH11K_DBG_AGGR_MODE_AUTO) ? in ath11k_dbg_sta_read_aggr_mode()
659 u32 aggr_mode; in ath11k_dbg_sta_write_aggr_mode() local
662 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath11k_dbg_sta_write_aggr_mode()
665 if (aggr_mode >= ATH11K_DBG_AGGR_MODE_MAX) in ath11k_dbg_sta_write_aggr_mode()
670 aggr_mode == arsta->aggr_mode) { in ath11k_dbg_sta_write_aggr_mode()
682 arsta->aggr_mode = aggr_mode; in ath11k_dbg_sta_write_aggr_mode()
H A Dcore.h560 bool aggr_mode; member
/linux/tools/perf/pmu-events/
H A Dpmu-events.h75 enum aggr_mode_class aggr_mode; member
H A Djevents.py221 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 Dempty-pmu-events.c2910 pm->aggr_mode = *p - '0'; in decompress_metric()