/linux/tools/perf/util/ |
H A D | bpf_lock_contention.c | 39 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare() 165 skel->bss->aggr_mode = con->aggr_mode; in lock_contention_prepare() 169 if (con->aggr_mode == LOCK_AGGR_CGROUP) { in lock_contention_prepare() 197 enum lock_aggr_mode aggr_mode, in update_lock_stat() argument 209 switch (aggr_mode) { in update_lock_stat() 250 enum lock_aggr_mode aggr_mode = con->aggr_mode; in account_end_timestamp() local 262 if (aggr_mode == LOCK_AGGR_TASK && con->owner) in account_end_timestamp() 265 update_lock_stat(stat_fd, pid, end_ts, aggr_mode, in account_end_timestamp() 273 if (aggr_mode == LOCK_AGGR_TASK || aggr_mode == LOCK_AGGR_CGROUP) in account_end_timestamp() 292 update_lock_stat(stat_fd, -1, end_ts, aggr_mode, in account_end_timestamp() [all …]
|
H A D | stat-display.c | 196 int idx = config->aggr_mode; in print_aggr_id_std() 199 switch (config->aggr_mode) { in print_aggr_id_std() 251 switch (config->aggr_mode) { in print_aggr_id_csv() 304 switch (config->aggr_mode) { in print_aggr_id_json() 400 if (config->aggr_mode == AGGR_NONE) in do_new_line_std() 915 if (config->aggr_mode == AGGR_NONE || hybrid_uniquify(counter, config)) in uniquify_counter() 946 if (config->aggr_mode == AGGR_THREAD && config->system_wide) in should_skip_zero_counter() 1177 int len = aggr_header_lens[config->aggr_mode]; in print_metric_headers_std() 1196 p = aggr_header_csv[config->aggr_mode]; in print_metric_headers_csv() 1240 if (config->aggr_mode != AGGR_NONE && counter->metric_leader != counter) in print_metric_headers() [all …]
|
H 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() 595 if (config->aggr_mode == AGGR_NONE) in perf_stat_merge_counters() 666 if (config->aggr_mode != AGGR_NONE) in perf_stat_process_percore() 738 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
|
H A D | stat.h | 46 enum aggr_mode { enum 68 enum aggr_mode aggr_mode; member
|
H A D | lock-contention.h | 145 int aggr_mode; member
|
H A D | event.c | 162 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
|
H A D | synthetic-events.c | 1391 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
|
/linux/tools/perf/ |
H A D | builtin-stat.c | 143 enum aggr_mode aggr_mode; member 153 .aggr_mode = AGGR_GLOBAL, 173 static enum aggr_mode opt_aggr_mode_to_aggr_mode(struct opt_aggr_mode *opt_mode) in opt_aggr_mode_to_aggr_mode() 175 enum aggr_mode mode = AGGR_GLOBAL; in opt_aggr_mode_to_aggr_mode() 1410 static aggr_cpu_id_get_t aggr_mode__get_aggr(enum aggr_mode aggr_mode) in aggr_mode__get_aggr() argument 1412 switch (aggr_mode) { in aggr_mode__get_aggr() 1437 static aggr_get_id_t aggr_mode__get_id(enum aggr_mode aggr_mode) in aggr_mode__get_id() argument 1439 switch (aggr_mode) { in aggr_mode__get_id() 1467 aggr_cpu_id_get_t get_id = aggr_mode__get_aggr(stat_config.aggr_mode); in perf_stat_init_aggr_mode() 1470 bool needs_sort = stat_config.aggr_mode != AGGR_NONE; in perf_stat_init_aggr_mode() [all …]
|
H A D | builtin-lock.c | 81 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; variable 631 switch (aggr_mode) { in get_key_by_aggr_mode_simple() 641 pr_err("Invalid aggregation mode: %d\n", aggr_mode); in get_key_by_aggr_mode_simple() 652 if (aggr_mode == LOCK_AGGR_CALLER) { in get_key_by_aggr_mode() 1113 switch (aggr_mode) { in report_lock_contention_begin_event() 1663 switch (aggr_mode) { in print_header_stdio() 1690 switch (aggr_mode) { in print_header_csv() 1733 switch (aggr_mode) { in print_lock_stat_stdio() 1754 if (aggr_mode == LOCK_AGGR_CALLER && verbose > 0) { in print_lock_stat_stdio() 1784 switch (aggr_mode) { in print_lock_stat_csv() [all …]
|
H A D | builtin-script.c | 3732 stat_config.aggr_mode = AGGR_NONE; in process_thread_map_event()
|
/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() local 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 != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba_resp() 365 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_delba()
|
H A D | core.h | 547 bool aggr_mode; member
|
/linux/drivers/phy/intel/ |
H A D | phy-intel-lgm-combo.c | 100 enum aggregated_mode aggr_mode; member 151 if (cbphy->aggr_mode != PHY_DL_MODE) in intel_cbphy_iphy_cfg() 203 enum aggregated_mode aggr = cbphy->aggr_mode; in intel_cbphy_set_mode() 496 cbphy->aggr_mode = PHY_DL_MODE; in intel_cbphy_fwnode_parse() 498 cbphy->aggr_mode = PHY_SL_MODE; in intel_cbphy_fwnode_parse() 527 if (cbphy->aggr_mode == PHY_DL_MODE && iphy_id == PHY_1) { in intel_cbphy_xlate() 548 if (cbphy->aggr_mode == PHY_DL_MODE && iphy->id == PHY_1) in intel_cbphy_create()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 505 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_delba() 556 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba_resp() 606 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba() 644 (arsta->aggr_mode == ATH11K_DBG_AGGR_MODE_AUTO) ? in ath11k_dbg_sta_read_aggr_mode() 658 u32 aggr_mode; in ath11k_dbg_sta_write_aggr_mode() local 661 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath11k_dbg_sta_write_aggr_mode() 664 if (aggr_mode >= ATH11K_DBG_AGGR_MODE_MAX) in ath11k_dbg_sta_write_aggr_mode() 669 aggr_mode == arsta->aggr_mode) { in ath11k_dbg_sta_write_aggr_mode() 681 arsta->aggr_mode = aggr_mode; in ath11k_dbg_sta_write_aggr_mode()
|
H A D | core.h | 556 bool aggr_mode; member
|
/linux/tools/perf/tests/ |
H A D | stat.c | 44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 54 .aggr_mode = AGGR_CORE, in test__synthesize_stat_config()
|
/linux/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 134 int aggr_mode; variable 381 } else if (aggr_mode == LOCK_AGGR_TASK) { in contention_begin() 449 switch (aggr_mode) { in contention_end() 496 if (aggr_mode == LOCK_AGGR_ADDR) in contention_end()
|
/linux/tools/perf/arch/powerpc/util/ |
H A D | header.c | 48 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
|
/linux/tools/perf/pmu-events/ |
H A D | pmu-events.h | 66 enum aggr_mode_class aggr_mode; member
|
H A D | jevents.py | 216 def convert_aggr_mode(aggr_mode: str) -> Optional[str]: 218 if not aggr_mode: 224 return aggr_mode_to_enum[aggr_mode] 341 self.aggr_mode = convert_aggr_mode(jd.get('AggregationMode'))
|
/linux/tools/perf/arch/x86/util/ |
H A D | iostat.c | 347 config->aggr_mode = AGGR_GLOBAL; in iostat_prepare()
|