/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 143 enum aggr_mode aggr_mode; member 153 .aggr_mode = AGGR_GLOBAL, 1119 u32 *aggr_mode = (u32 *)opt->value; in parse_cache_level() local 1158 *aggr_mode = AGGR_CACHE; in parse_cache_level() 1206 OPT_SET_UINT('A', "no-aggr", &stat_config.aggr_mode, 1236 OPT_SET_UINT(0, "per-socket", &stat_config.aggr_mode, 1238 OPT_SET_UINT(0, "per-die", &stat_config.aggr_mode, 1240 OPT_CALLBACK_OPTARG(0, "per-cache", &stat_config.aggr_mode, &stat_config.aggr_level, 1243 OPT_SET_UINT(0, "per-core", &stat_config.aggr_mode, 1539 aggr_mode__get_aggr(enum aggr_mode aggr_mode) aggr_mode__get_aggr() argument 1564 aggr_mode__get_id(enum aggr_mode aggr_mode) aggr_mode__get_id() argument 1837 aggr_mode__get_aggr_file(enum aggr_mode aggr_mode) aggr_mode__get_aggr_file() argument 1862 aggr_mode__get_id_file(enum aggr_mode aggr_mode) aggr_mode__get_id_file() argument [all...] |
H A D | builtin-lock.c | 79 static enum lock_aggr_mode aggr_mode = LOCK_AGGR_ADDR; variable 629 switch (aggr_mode) { in get_key_by_aggr_mode_simple() 638 pr_err("Invalid aggregation mode: %d\n", aggr_mode); in get_key_by_aggr_mode_simple() 649 if (aggr_mode == LOCK_AGGR_CALLER) { in get_key_by_aggr_mode() 1110 switch (aggr_mode) { in report_lock_contention_begin_event() 1660 switch (aggr_mode) { in print_header_stdio() 1684 switch (aggr_mode) { in print_header_csv() 1724 switch (aggr_mode) { in print_lock_stat_stdio() 1742 if (aggr_mode == LOCK_AGGR_CALLER && verbose > 0) { in print_lock_stat_stdio() 1772 switch (aggr_mode) { in print_lock_stat_csv() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 184 enum aggr_mode aggr_mode; member 193 .aggr_mode = AGGR_GLOBAL, 916 if (stat_config.aggr_mode == AGGR_GLOBAL) in __run_perf_stat() 1111 OPT_SET_UINT('A', "no-aggr", &stat_config.aggr_mode, 1137 OPT_SET_UINT(0, "per-socket", &stat_config.aggr_mode, 1139 OPT_SET_UINT(0, "per-die", &stat_config.aggr_mode, 1141 OPT_SET_UINT(0, "per-core", &stat_config.aggr_mode, 1143 OPT_SET_UINT(0, "per-thread", &stat_config.aggr_mode, 1145 OPT_SET_UINT(0, "per-node", &stat_config.aggr_mode, [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_lock_contention.c | 37 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare() 150 skel->bss->aggr_mode = con->aggr_mode; in lock_contention_prepare() 184 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_get_name() 202 if (con->aggr_mode == LOCK_AGGR_ADDR) { in lock_contention_get_name() 271 if (con->aggr_mode == LOCK_AGGR_TASK) { in lock_contention_read() 278 if (con->aggr_mode == LOCK_AGGR_ADDR) { in lock_contention_read() 308 switch (con->aggr_mode) { in lock_contention_read() 349 if (con->aggr_mode == LOCK_AGGR_CALLER && verbose > 0) { in lock_contention_read()
|
H A D | stat.h | 46 enum aggr_mode { enum 67 enum aggr_mode aggr_mode; member
|
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() 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-display.c | 193 int idx = config->aggr_mode; in print_aggr_id_std() 196 switch (config->aggr_mode) { in print_aggr_id_std() 245 switch (config->aggr_mode) { in print_aggr_id_csv() 294 switch (config->aggr_mode) { in print_aggr_id_json() 386 if (config->aggr_mode == AGGR_NONE) in do_new_line_std() 932 if (config->aggr_mode == AGGR_THREAD && config->system_wide) in should_skip_zero_counter() 1158 int len = aggr_header_lens[config->aggr_mode]; in print_metric_headers_std() 1173 fputs(aggr_header_csv[config->aggr_mode], config->output); in print_metric_headers_csv() 1247 switch (config->aggr_mode) { in print_header_interval_std() 1255 aggr_header_lens[config->aggr_mode], in print_header_interval_std() [all...] |
H A D | lock-contention.h | 142 int aggr_mode; member
|
/kernel/linux/linux-5.10/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() 511 cbphy->aggr_mode = PHY_DL_MODE; in intel_cbphy_fwnode_parse() 513 cbphy->aggr_mode = PHY_SL_MODE; in intel_cbphy_fwnode_parse() 542 if (cbphy->aggr_mode == PHY_DL_MODE && iphy_id == PHY_1) { in intel_cbphy_xlate() 563 if (cbphy->aggr_mode == PHY_DL_MODE && iphy->id == PHY_1) in intel_cbphy_create()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | debugfs_sta.c | 187 (arsta->aggr_mode == ATH10K_DBG_AGGR_MODE_AUTO) ? in ath10k_dbg_sta_read_aggr_mode() 201 u32 aggr_mode; in ath10k_dbg_sta_write_aggr_mode() local 204 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode() 207 if (aggr_mode >= ATH10K_DBG_AGGR_MODE_MAX) in ath10k_dbg_sta_write_aggr_mode() 212 (aggr_mode == arsta->aggr_mode)) { in ath10k_dbg_sta_write_aggr_mode() 223 arsta->aggr_mode = aggr_mode; in ath10k_dbg_sta_write_aggr_mode() 263 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba() 314 (arsta->aggr_mode ! in ath10k_dbg_sta_write_addba_resp() [all...] |
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
H A D | jevents.c | 64 char *aggr_mode; member 72 enum aggr_mode_class convert(const char *aggr_mode) in convert() argument 74 if (!strcmp(aggr_mode, "PerCore")) in convert() 76 else if (!strcmp(aggr_mode, "PerChip")) in convert() 79 pr_err("%s: Wrong AggregationMode value '%s'\n", prog, aggr_mode); in convert() 372 if (je->aggr_mode) in print_events_table_entry() 373 fprintf(outfp, "\t.aggr_mode = \"%d\",\n", convert(je->aggr_mode)); in print_events_table_entry() 398 char *aggr_mode; member 428 op(aggr_mode); \ [all...] |
H A D | pmu-events.h | 22 const char *aggr_mode; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | debugfs_sta.c | 187 (arsta->aggr_mode == ATH10K_DBG_AGGR_MODE_AUTO) ? in ath10k_dbg_sta_read_aggr_mode() 201 u32 aggr_mode; in ath10k_dbg_sta_write_aggr_mode() local 204 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode() 207 if (aggr_mode >= ATH10K_DBG_AGGR_MODE_MAX) in ath10k_dbg_sta_write_aggr_mode() 212 (aggr_mode == arsta->aggr_mode)) { in ath10k_dbg_sta_write_aggr_mode() 223 arsta->aggr_mode = aggr_mode; in ath10k_dbg_sta_write_aggr_mode() 263 (arsta->aggr_mode != ATH10K_DBG_AGGR_MODE_MANUAL)) { in ath10k_dbg_sta_write_addba() 314 (arsta->aggr_mode ! in ath10k_dbg_sta_write_addba_resp() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat.h | 46 enum aggr_mode { enum 106 enum aggr_mode aggr_mode; member
|
H A D | stat.c | 341 switch (config->aggr_mode) { in process_counter_values() 351 if ((config->aggr_mode == AGGR_NONE) && (!evsel->percore)) { in process_counter_values() 356 if (config->aggr_mode == AGGR_THREAD) { in process_counter_values() 427 if (config->aggr_mode != AGGR_GLOBAL) in perf_stat_process_counter() 504 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
|
H A D | stat-display.c | 73 switch (config->aggr_mode) { in aggr_printout() 167 if (config->aggr_mode == AGGR_NONE) in do_new_line_std() 327 if (config->aggr_mode == AGGR_NONE) in first_shadow_cpu() 434 os.nfields += aggr_fields[config->aggr_mode]; in printout() 933 aggr_header_lens[config->aggr_mode], ""); in print_metric_headers() 937 fputs(aggr_header_csv[config->aggr_mode], config->output); in print_metric_headers() 971 switch (config->aggr_mode) { in print_interval() 1212 if (config->aggr_mode == AGGR_GLOBAL && prefix) in perf_evlist__print_counters() 1216 switch (config->aggr_mode) { in perf_evlist__print_counters()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | stat.c | 36 TEST_ASSERT_VAL("wrong aggr_mode", HAS(AGGR_MODE, AGGR_CORE)); in process_stat_config_event() 44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 53 .aggr_mode = AGGR_CORE, in test__synthesize_stat_config()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | stat.c | 36 TEST_ASSERT_VAL("wrong aggr_mode", HAS(AGGR_MODE, AGGR_CORE)); in process_stat_config_event() 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 574 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_delba() 625 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba_resp() 675 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba() 713 (arsta->aggr_mode == ATH11K_DBG_AGGR_MODE_AUTO) ? in ath11k_dbg_sta_read_aggr_mode() 727 u32 aggr_mode; in ath11k_dbg_sta_write_aggr_mode() local 730 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath11k_dbg_sta_write_aggr_mode() 733 if (aggr_mode >= ATH11K_DBG_AGGR_MODE_MAX) in ath11k_dbg_sta_write_aggr_mode() 738 aggr_mode == arsta->aggr_mode) { in ath11k_dbg_sta_write_aggr_mode() 750 arsta->aggr_mode in ath11k_dbg_sta_write_aggr_mode() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 504 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_delba() 555 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba_resp() 605 arsta->aggr_mode != ATH11K_DBG_AGGR_MODE_MANUAL) { in ath11k_dbg_sta_write_addba() 643 (arsta->aggr_mode == ATH11K_DBG_AGGR_MODE_AUTO) ? in ath11k_dbg_sta_read_aggr_mode() 657 u32 aggr_mode; in ath11k_dbg_sta_write_aggr_mode() local 660 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath11k_dbg_sta_write_aggr_mode() 663 if (aggr_mode >= ATH11K_DBG_AGGR_MODE_MAX) in ath11k_dbg_sta_write_aggr_mode() 668 aggr_mode == arsta->aggr_mode) { in ath11k_dbg_sta_write_aggr_mode() 680 arsta->aggr_mode in ath11k_dbg_sta_write_aggr_mode() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 122 int aggr_mode; variable 305 } else if (aggr_mode == LOCK_AGGR_TASK) { in contention_begin() 354 switch (aggr_mode) { in contention_end() 393 if (aggr_mode == LOCK_AGGR_ADDR) in contention_end()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
H A D | header.c | 48 atoi(pe->aggr_mode) == PerChip ? strcat(path, "sockets") : strcat(path, "coresperchip"); in arch_get_runtimeparam()
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/ |
H A D | header.c | 48 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
|
/kernel/linux/linux-6.6/tools/perf/pmu-events/ |
H A D | pmu-events.h | 66 enum aggr_mode_class aggr_mode; member
|