| /linux-6.15/tools/perf/tests/ |
| H A D | hists_output.c | 133 #define SYM(he) (he->ms.sym->name) argument 134 #define CPU(he) (he->cpu) argument 282 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2() 287 CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100); in test2() 518 CPU(he) == 0 && PID(he) == 100 && in test5() 525 CPU(he) == 2 && PID(he) == 200 && in test5() 532 CPU(he) == 1 && PID(he) == 300 && in test5() 539 CPU(he) == 0 && PID(he) == 300 && in test5() 546 CPU(he) == 3 && PID(he) == 300 && in test5() 553 CPU(he) == 1 && PID(he) == 100 && in test5() [all …]
|
| H A D | hists_common.c | 177 struct hist_entry *he; in print_hists_in() local 181 if (!he->filtered) { in print_hists_in() 182 struct dso *dso = map__dso(he->ms.map); in print_hists_in() 185 i, thread__comm_str(he->thread), in print_hists_in() 187 he->ms.sym->name, he->stat.period); in print_hists_in() 206 struct hist_entry *he; in print_hists_out() local 210 if (!he->filtered) { in print_hists_out() 211 struct dso *dso = map__dso(he->ms.map); in print_hists_out() 214 i, thread__comm_str(he->thread), thread__tid(he->thread), in print_hists_out() 216 he->ms.sym->name, he->stat.period, in print_hists_out() [all …]
|
| H A D | hists_link.c | 70 struct hist_entry *he; in add_hist_entries() local 92 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 94 if (he == NULL) { in add_hist_entries() 114 if (he == NULL) { in add_hist_entries() 176 struct hist_entry *he; in __validate_match() local 180 if (hist_entry__has_pairs(he)) { in __validate_match() 183 he->thread, he->ms.map, he->ms.sym)) { in __validate_match() 228 struct hist_entry *he; in __validate_link() local 232 if (hist_entry__has_pairs(he)) { in __validate_link() 235 he->thread, he->ms.map, he->ms.sym) && in __validate_link() [all …]
|
| H A D | hists_cumulate.c | 132 struct hist_entry *he; in del_hist_entries() local 150 hist_entry__delete(he); in del_hist_entries() 166 #define COMM(he) (thread__comm_str(he->thread)) argument 167 #define DSO(he) (dso__short_name(map__dso(he->ms.map))) argument 168 #define SYM(he) (he->ms.sym->name) argument 169 #define CPU(he) (he->cpu) argument 170 #define DEPTH(he) (he->callchain->max_depth) argument 195 struct hist_entry *he; in do_test() local 225 !strcmp(DSO(he), expected[i].dso) && in do_test() 226 !strcmp(SYM(he), expected[i].sym)); in do_test() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | hist.c | 470 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init() 476 he->ms.map = map__get(he->ms.map); in hist_entry__init() 507 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init() 894 iter->he = he; in iter_add_single_mem_entry() 995 iter->he = he; in iter_add_next_branch_entry() 1046 iter->he = he; in iter_add_single_normal_entry() 1111 iter->he = he; in iter_add_single_cumulative_entry() 1214 iter->he = he; in iter_add_next_cumulative_entry() 2105 he = he->parent_he; in __rb_hierarchy_next() 2122 he = he->parent_he; in rb_hierarchy_prev() [all …]
|
| H A D | sort.c | 400 return _hist_entry__sym_snprintf(&he->ms, he->ip, in hist_entry__sym_snprintf() 473 return map__srcline(he->ms.map, he->ip, he->ms.sym); in hist_entry__srcline() 509 he->srcline = hist_entry__srcline(he); in sort__srcline_init() 827 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init() 1120 he->trace_output = get_trace_output(he); in hist_entry__trace_snprintf() 1799 he->weight * he->stat.nr_events); in hist_entry__global_weight_snprintf() 1832 he->ins_lat * he->stat.nr_events); in hist_entry__global_ins_lat_snprintf() 1852 he->p_stage_cyc * he->stat.nr_events); in hist_entry__global_p_stage_cyc_snprintf() 2333 he->mem_type = hist_entry__get_data_type(he); in sort__type_init() 2952 he->trace_output = get_trace_output(he); in update_dynamic_len() [all …]
|
| H A D | block-info.c | 137 if (!he->ms.map || !he->ms.sym) in block_info__process_sym() 141 al.map = he->ms.map; in block_info__process_sym() 142 al.sym = he->ms.sym; in block_info__process_sym() 212 struct hist_entry *he) in block_total_cycles_pct_entry() argument 285 struct hist_entry *he) in block_avg_cycles_entry() argument 299 struct hist_entry *he) in block_range_entry() argument 309 he->ms.sym); in block_range_entry() 312 he->ms.sym); in block_range_entry() 330 struct hist_entry *he) in block_dso_entry() argument 333 struct map *map = he->ms.map; in block_dso_entry() [all …]
|
| H A D | hist.h | 148 struct hist_entry *he; member 309 return he->callchain_size != 0; in hist_entry__has_callchains() 314 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 319 if (hist_entry__has_pairs(he)) in hist_entry__next_pair() 325 struct hist_entry *he) in hist_entry__add_pair() argument 366 void hist_entry__delete(struct hist_entry *he); 423 u64 period = he->stat.period; in hist_entry__get_percent_limit() 430 period = he->stat_acc->period; in hist_entry__get_percent_limit() 481 struct hist_entry *he); 483 struct hist_entry *he); [all …]
|
| H A D | sort.h | 121 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size, 123 int (*se_filter)(struct hist_entry *he, int type, const void *arg); 124 void (*se_init)(struct hist_entry *he); 158 char *hist_entry__srcline(struct hist_entry *he);
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_set_hash.c | 97 if (he != NULL) in nft_rhash_lookup() 98 *ext = &he->ext; in nft_rhash_lookup() 100 return !!he; in nft_rhash_lookup() 117 if (he != NULL) in nft_rhash_get() 118 return &he->priv; in nft_rhash_get() 143 if (he != NULL) in nft_rhash_update() 160 he = prev; in nft_rhash_update() 164 *ext = &he->ext; in nft_rhash_update() 231 if (he) in nft_rhash_deactivate() 236 return &he->priv; in nft_rhash_deactivate() [all …]
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-diff.c | 282 double old_percent = period_percent(he, he->stat.period); in compute_delta() 375 return &bh->he; in block_hist_zalloc() 382 bh = container_of(he, struct block_hist, he); in block_hist_free() 628 he->block_info->cycles_aggr / he->block_info->num_aggr; in compute_cycles_diff() 693 bh = container_of(he, struct block_hist, he); in hists__precompute() 720 bh = container_of(he, struct block_hist, he); in hists__precompute() 1333 if (!he->dummy) in hpp__entry_baseline() 1366 he->ms.sym); in cycles_printf() 1398 bh = container_of(he, struct block_hist, he); in __hpp__color_compare() 1417 if (he->dummy) in __hpp__color_compare() [all …]
|
| H A D | builtin-c2c.c | 178 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free() 209 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists() 329 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() 363 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() 527 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_entry() 541 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_count() 602 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_hitm_entry() 2199 he->srcline = hist_entry__srcline(he); in filter_cb() 2575 he = cl_browser->he; in perf_c2c_cacheline_browser__title() 2594 browser->he = he; in c2c_cacheline_browser__new() [all …]
|
| H A D | builtin-annotate.c | 177 struct hist_entry *he = iter->he; in hist_iter__branch_callback() local 183 bi = he->branch_info; in hist_iter__branch_callback() 244 struct hist_entry *he; in evsel__add_sample() local 276 if (he == NULL) in evsel__add_sample() 329 return hist_entry__tty_annotate2(he, evsel); in hist_entry__stdio_annotate() 331 return hist_entry__tty_annotate(he, evsel); in hist_entry__stdio_annotate() 424 if (he->ms.sym == NULL || dso__annotate_warned(map__dso(he->ms.map))) in hists__find_annotations() 442 notes = symbol__annotation(he->ms.sym); in hists__find_annotations() 454 if (he->mem_type->histograms == NULL) in hists__find_annotations() 504 int (*annotate)(struct hist_entry *he, in hists__find_annotations() [all …]
|
| H A D | builtin-kvm.c | 165 event = container_of(he, struct kvm_event, he); \ 215 event = container_of(he, struct kvm_event, he); in ev_entry_mean() 246 event = container_of(he, struct kvm_event, he); \ 655 event = container_of(he, struct kvm_event, he); in clear_events_cache_stats() 711 kvm_ev = container_of(he, struct kvm_event, he); in kvm_he_free() 739 if (he == NULL) { in find_create_kvm_event() 745 event = container_of(he, struct kvm_event, he); in find_create_kvm_event() 993 event = container_of(he, struct kvm_event, he); in filter_cb() 996 he->filtered = 1; in filter_cb() 998 he->filtered = 0; in filter_cb() [all …]
|
| H A D | builtin-top.c | 120 if (!he || !he->ms.sym) in perf_top__parse_source() 125 sym = he->ms.sym; in perf_top__parse_source() 126 map = he->ms.map; in perf_top__parse_source() 152 top->sym_filter_entry = he; in perf_top__parse_source() 165 struct symbol *sym = he->ms.sym; in __zero_source_counters() 198 struct hist_entry *he, in perf_top__record_precise_ip() argument 204 struct symbol *sym = he->ms.sym; in perf_top__record_precise_ip() 226 mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip() 236 mutex_lock(&he->hists->lock); in perf_top__record_precise_ip() 248 if (!he) in perf_top__show_details() [all …]
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac3_mac.c | 17 struct ieee80211_radiotap_he *he, in mt76_connac3_mac_decode_he_radiotap_ru() argument 53 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac3_mac_decode_he_radiotap_ru() 54 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac3_mac_decode_he_radiotap_ru() 123 struct ieee80211_radiotap_he *he; in mt76_connac3_mac_decode_he_radiotap() local 127 he = skb_push(skb, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 128 memcpy(he, &known, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 137 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac3_mac_decode_he_radiotap() 143 he->data1 |= HE_BITS(DATA1_FORMAT_SU) | in mt76_connac3_mac_decode_he_radiotap() 152 he->data1 |= HE_BITS(DATA1_FORMAT_EXT_SU) | in mt76_connac3_mac_decode_he_radiotap() 159 he->data1 |= HE_BITS(DATA1_FORMAT_MU) | in mt76_connac3_mac_decode_he_radiotap() [all …]
|
| /linux-6.15/tools/perf/ui/browsers/ |
| H A D | hists.c | 74 if (he->leaf && he->unfolded) in hist_browser__get_folding() 280 if (he->leaf) in hierarchy_count_rows() 307 if (!he) in hist_entry__toggle_fold() 313 he->unfolded = !he->unfolded; in hist_entry__toggle_fold() 388 he->has_children = !RB_EMPTY_ROOT(&he->sorted_chain); in hist_entry__init_have_children() 391 he->has_children = !RB_EMPTY_ROOT(&he->hroot_out.rb_root); in hist_entry__init_have_children() 464 if (he->leaf) in hist_browser__toggle_fold() 477 he->nr_rows = hierarchy_count_rows(browser, he, false); in hist_browser__toggle_fold() 483 if (!he->leaf && he->nr_rows == 0) { in hist_browser__toggle_fold() 587 he->unfolded = unfold ? he->has_children : false; in hist_entry__set_folding() [all …]
|
| /linux-6.15/tools/perf/ui/stdio/ |
| H A D | hist.c | 445 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 447 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 458 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf() 519 fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 521 fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 531 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 546 struct block_hist *bh = container_of(he, struct block_hist, he); in hist_entry__block_fprintf() 557 hist_entry__snprintf(he, &hpp); in hist_entry__block_fprintf() 578 hist_entry__snprintf(he, &hpp); in hist_entry__individual_block_fprintf() 595 struct hists *hists = he->hists; in hist_entry__fprintf() [all …]
|
| /linux-6.15/net/mac80211/ |
| H A D | spectmgmt.c | 153 } __packed he; in validate_chandef_by_6ghz_he_eht_oper() local 170 he._oper.he_oper_params = in validate_chandef_by_6ghz_he_eht_oper() 172 he._6ghz_oper.primary = in validate_chandef_by_6ghz_he_eht_oper() 175 he._6ghz_oper.ccfs1 = center_freq2 ? in validate_chandef_by_6ghz_he_eht_oper() 180 he._6ghz_oper.ccfs1 = he._6ghz_oper.ccfs0; in validate_chandef_by_6ghz_he_eht_oper() 185 he._6ghz_oper.ccfs1 = he._6ghz_oper.ccfs0; in validate_chandef_by_6ghz_he_eht_oper() 189 he._6ghz_oper.control = in validate_chandef_by_6ghz_he_eht_oper() 193 he._6ghz_oper.control = in validate_chandef_by_6ghz_he_eht_oper() 197 he._6ghz_oper.control = in validate_chandef_by_6ghz_he_eht_oper() 201 he._6ghz_oper.control = in validate_chandef_by_6ghz_he_eht_oper() [all …]
|
| /linux-6.15/kernel/locking/ |
| H A D | qspinlock_paravirt.h | 203 #define for_each_hash_entry(he, offset, hash) \ argument 211 struct pv_hash_entry *he; in pv_hash() local 214 for_each_hash_entry(he, offset, hash) { in pv_hash() 217 if (try_cmpxchg(&he->lock, &old, lock)) { in pv_hash() 218 WRITE_ONCE(he->node, node); in pv_hash() 220 return &he->lock; in pv_hash() 239 struct pv_hash_entry *he; in pv_unhash() local 242 for_each_hash_entry(he, offset, hash) { in pv_unhash() 243 if (READ_ONCE(he->lock) == lock) { in pv_unhash() 244 node = READ_ONCE(he->node); in pv_unhash() [all …]
|
| /linux-6.15/tools/perf/ui/gtk/ |
| H A D | hists.c | 46 return he->stat._field; \ 51 struct hist_entry *he) \ 60 return he->stat_acc->_field; \ 65 struct hist_entry *he) \ 414 struct hist_entry *he; in perf_gtk__add_hierarchy_entries() local 426 if (he->filtered) in perf_gtk__add_hierarchy_entries() 442 fmt->color(fmt, hpp, he); in perf_gtk__add_hierarchy_entries() 444 fmt->entry(fmt, hpp, he); in perf_gtk__add_hierarchy_entries() 465 if (!he->leaf) { in perf_gtk__add_hierarchy_entries() 485 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in perf_gtk__add_hierarchy_entries() [all …]
|
| /linux-6.15/tools/perf/ui/ |
| H A D | hist.c | 61 struct hists *hists = he->hists; in __hpp__fmt() 77 values[0].val = get_field(he); in __hpp__fmt() 78 values[0].samples = he->stat.nr_events; in __hpp__fmt() 121 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument 128 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt() 141 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument 361 static u64 he_get_##_field(struct hist_entry *he) \ 363 return he->stat._field; \ 391 return he->stat_acc->_field; \ 419 return he->stat._field; \ [all …]
|
| /linux-6.15/include/linux/ |
| H A D | rhashtable.h | 114 const struct rhash_head *he) in rht_obj() argument 599 struct rhash_head *he; in __rhashtable_lookup() local 612 return he; in __rhashtable_lookup() 648 return he ? rht_obj(ht, he) : NULL; in rhashtable_lookup() 698 return he ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup() 1002 struct rhash_head *he; in __rhashtable_remove_fast_one() local 1019 if (he != obj) { in __rhashtable_remove_fast_one() 1022 pprev = &he->next; in __rhashtable_remove_fast_one() 1155 struct rhash_head *he; in __rhashtable_replace_fast() local 1175 if (he != obj_old) { in __rhashtable_replace_fast() [all …]
|
| /linux-6.15/Documentation/core-api/ |
| H A D | errseq.rst | 49 Let me tell you a story about a worker drone. Now, he's a good worker 52 from out of town and he's sure to test the poor fellow too. 54 They're all handing him work to do -- so much he can't keep track of who 57 far and whether he made any mistakes since they last asked. 60 but he can't keep track of things at that level of detail, all he can 61 remember is the most recent mistake that he made. 90 whether he made any mistakes on any of it:: 100 glitches and he makes a mistake. He sighs a heavy sigh, and marks it 110 Note that the supervisors can't tell how many mistakes he made, only 116 full-time like the supervisors, but he does need to know whether a [all …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | rx.c | 171 struct ieee80211_radiotap_he *he, in iwl_mld_decode_he_phy_ru_alloc() argument 219 he->data2 |= le16_encode_bits(offs, in iwl_mld_decode_he_phy_ru_alloc() 224 he->data2 |= in iwl_mld_decode_he_phy_ru_alloc() 243 he->data6 |= in iwl_mld_decode_he_phy_ru_alloc() 303 struct ieee80211_radiotap_he *he, in iwl_mld_decode_he_phy_data() argument 442 struct ieee80211_radiotap_he *he = NULL; in iwl_mld_rx_he() local 465 he = skb_put_data(skb, &known, sizeof(known)); in iwl_mld_rx_he() 483 iwl_mld_decode_he_phy_data(phy_data, he, he_mu, rx_status, in iwl_mld_rx_he() 503 he->data1 |= in iwl_mld_rx_he() 515 he->data1 |= cpu_to_le16(he_type >> RATE_MCS_HE_TYPE_POS); in iwl_mld_rx_he() [all …]
|