Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dbpf_lock_contention.c129 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare()
203 skel->rodata->aggr_mode = con->aggr_mode; in lock_contention_prepare()
285 if (con->aggr_mode == LOCK_AGGR_CGROUP) in lock_contention_prepare()
339 enum lock_aggr_mode aggr_mode, in update_lock_stat() argument
351 switch (aggr_mode) { in update_lock_stat()
392 enum lock_aggr_mode aggr_mode = con->aggr_mode; in account_end_timestamp() local
415 if (aggr_mode == LOCK_AGGR_TASK || aggr_mode == LOCK_AGGR_CGROUP) in account_end_timestamp()
468 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_get_name()
487 if (con->aggr_mode == LOCK_AGGR_ADDR) { in lock_contention_get_name()
633 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_read()
[all …]
H A Dstat.h46 enum aggr_mode { enum
68 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()
604 if (config->aggr_mode == AGGR_NONE) in perf_stat_merge_counters()
675 if (config->aggr_mode != AGGR_NONE) in perf_stat_process_percore()
747 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()
1372 switch (config->aggr_mode) { in print_header_interval_std()
1381 aggr_header_lens[config->aggr_mode], in print_header_interval_std()
1382 aggr_header_std[config->aggr_mode]); in print_header_interval_std()
1387 aggr_header_lens[config->aggr_mode], in print_header_interval_std()
1708 if (config->aggr_mode == AGGR_NONE) { in evsel__set_needs_uniquify()
[all …]
H A Dlock-contention.h148 int aggr_mode; member
H A Dconfig.c41 .aggr_mode = AGGR_GLOBAL,
H A Devent.c162 CASE(AGGR_MODE, aggr_mode) in perf_event__read_stat_config()
H A Dsynthetic-events.c1393 ADD(AGGR_MODE, config->aggr_mode) in perf_event__synthesize_stat_config()
/linux-6.15/tools/perf/
H A Dbuiltin-stat.c143 enum aggr_mode aggr_mode; member
1430 static aggr_cpu_id_get_t aggr_mode__get_aggr(enum aggr_mode aggr_mode) in aggr_mode__get_aggr() argument
1432 switch (aggr_mode) { in aggr_mode__get_aggr()
1457 static aggr_get_id_t aggr_mode__get_id(enum aggr_mode aggr_mode) in aggr_mode__get_id() argument
1459 switch (aggr_mode) { in aggr_mode__get_id()
1743 static aggr_cpu_id_get_t aggr_mode__get_aggr_file(enum aggr_mode aggr_mode) in aggr_mode__get_aggr_file() argument
1745 switch (aggr_mode) { in aggr_mode__get_aggr_file()
1770 static aggr_get_id_t aggr_mode__get_id_file(enum aggr_mode aggr_mode) in aggr_mode__get_id_file() argument
1772 switch (aggr_mode) { in aggr_mode__get_id_file()
2151 stat_config.aggr_mode = st->aggr_mode; in process_stat_config_event()
[all …]
H A Dbuiltin-lock.c66 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; variable
536 switch (aggr_mode) { in get_key_by_aggr_mode_simple()
557 if (aggr_mode == LOCK_AGGR_CALLER) { in get_key_by_aggr_mode()
1018 switch (aggr_mode) { in report_lock_contention_begin_event()
1566 switch (aggr_mode) { in print_header_stdio()
1593 switch (aggr_mode) { in print_header_csv()
1636 switch (aggr_mode) { in print_lock_stat_stdio()
1687 switch (aggr_mode) { in print_lock_stat_csv()
1901 aggr_mode = LOCK_AGGR_TASK; in __cmd_report()
2033 con.aggr_mode = aggr_mode = show_thread_stats ? LOCK_AGGR_TASK : in __cmd_contention()
[all …]
H A Dbuiltin-script.c3533 stat_config.aggr_mode = AGGR_NONE; in process_stat_config_event()
/linux-6.15/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c188 (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 Dcore.h547 bool aggr_mode; member
/linux-6.15/drivers/phy/intel/
H A Dphy-intel-lgm-combo.c100 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-6.15/tools/perf/tests/
H A Dstat.c44 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()
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c505 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 Dcore.h556 bool aggr_mode; member
/linux-6.15/tools/perf/arch/powerpc/util/
H A Dheader.c78 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
/linux-6.15/tools/perf/pmu-events/
H A Dpmu-events.h66 enum aggr_mode_class aggr_mode; member
H A Djevents.py216 def convert_aggr_mode(aggr_mode: str) -> Optional[str]:
218 if not aggr_mode:
224 return aggr_mode_to_enum[aggr_mode]
342 self.aggr_mode = convert_aggr_mode(jd.get('AggregationMode'))
H A Dempty-pmu-events.c346 pm->aggr_mode = *p - '0'; in decompress_metric()
/linux-6.15/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c181 const volatile int aggr_mode; variable
568 } else if (aggr_mode == LOCK_AGGR_TASK) { in contention_begin()
710 switch (aggr_mode) { in contention_end()
754 if (aggr_mode == LOCK_AGGR_ADDR) { in contention_end()
/linux-6.15/tools/perf/arch/x86/util/
H A Diostat.c347 config->aggr_mode = AGGR_GLOBAL; in iostat_prepare()