/linux-6.3-rc2/tools/perf/tests/ |
A D | hists_output.c | 120 #define SYM(he) (he->ms.sym->name) argument 121 #define CPU(he) (he->cpu) argument 122 #define PID(he) (he->thread->tid) argument 269 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2() 274 CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100); in test2() 505 CPU(he) == 0 && PID(he) == 100 && in test5() 512 CPU(he) == 2 && PID(he) == 200 && in test5() 519 CPU(he) == 1 && PID(he) == 300 && in test5() 526 CPU(he) == 0 && PID(he) == 300 && in test5() 533 CPU(he) == 3 && PID(he) == 300 && in test5() [all …]
|
A D | hists_common.c | 177 struct hist_entry *he; in print_hists_in() local 181 if (!he->filtered) { in print_hists_in() 183 i, thread__comm_str(he->thread), in print_hists_in() 184 he->ms.map->dso->short_name, in print_hists_in() 185 he->ms.sym->name, he->stat.period); in print_hists_in() 204 struct hist_entry *he; in print_hists_out() local 208 if (!he->filtered) { in print_hists_out() 210 i, thread__comm_str(he->thread), he->thread->tid, in print_hists_out() 211 he->ms.map->dso->short_name, in print_hists_out() 212 he->ms.sym->name, he->stat.period, in print_hists_out() [all …]
|
A D | hists_link.c | 68 struct hist_entry *he; in add_hist_entries() local 89 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 91 if (he == NULL) { in add_hist_entries() 110 if (he == NULL) { in add_hist_entries() 157 struct hist_entry *he; in __validate_match() local 161 if (hist_entry__has_pairs(he)) { in __validate_match() 164 he->thread, he->ms.map, he->ms.sym)) { in __validate_match() 209 struct hist_entry *he; in __validate_link() local 213 if (hist_entry__has_pairs(he)) { in __validate_link() 216 he->thread, he->ms.map, he->ms.sym) && in __validate_link() [all …]
|
A D | hists_cumulate.c | 128 struct hist_entry *he; in del_hist_entries() local 146 hist_entry__delete(he); in del_hist_entries() 152 #define COMM(he) (thread__comm_str(he->thread)) argument 153 #define DSO(he) (he->ms.map->dso->short_name) argument 154 #define SYM(he) (he->ms.sym->name) argument 155 #define CPU(he) (he->cpu) argument 156 #define PID(he) (he->thread->tid) argument 157 #define DEPTH(he) (he->callchain->max_depth) argument 182 struct hist_entry *he; in do_test() local 213 !strcmp(SYM(he), expected[i].sym)); in do_test() [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | hist.c | 447 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init() 480 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init() 854 iter->he = he; in iter_add_single_mem_entry() 864 struct hist_entry *he = iter->he; in iter_finish_mem_entry() local 960 iter->he = he; in iter_add_next_branch_entry() 994 iter->he = he; in iter_add_single_normal_entry() 1055 iter->he = he; in iter_add_single_cumulative_entry() 1155 iter->he = he; in iter_add_next_cumulative_entry() 2007 he = he->parent_he; in __rb_hierarchy_next() 2024 he = he->parent_he; in rb_hierarchy_prev() [all …]
|
A D | sort.c | 236 return dso && (!he->ms.map || he->ms.map->dso != dso); in hist_entry__dso_filter() 352 return _hist_entry__sym_snprintf(&he->ms, he->ip, in hist_entry__sym_snprintf() 379 return map__srcline(he->ms.map, he->ip, he->ms.sym); in hist_entry__srcline() 415 he->srcline = hist_entry__srcline(he); in sort__srcline_init() 642 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init() 901 he->trace_output = get_trace_output(he); in hist_entry__trace_snprintf() 1576 he->weight * he->stat.nr_events); in hist_entry__global_weight_snprintf() 1609 he->ins_lat * he->stat.nr_events); in hist_entry__global_ins_lat_snprintf() 1629 he->p_stage_cyc * he->stat.nr_events); in hist_entry__global_p_stage_cyc_snprintf() 2532 he->trace_output = get_trace_output(he); in update_dynamic_len() [all …]
|
A D | sort.h | 168 return he->callchain_size != 0; in hist_entry__has_callchains() 175 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 180 if (hist_entry__has_pairs(he)) in hist_entry__next_pair() 186 struct hist_entry *he) in hist_entry__add_pair() argument 188 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair() 193 u64 period = he->stat.period; in hist_entry__get_percent_limit() 194 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit() 200 period = he->stat_acc->period; in hist_entry__get_percent_limit() 288 void (*se_init)(struct hist_entry *he); 298 struct hist_entry he; member [all …]
|
A D | block-info.c | 124 if (!he->ms.map || !he->ms.sym) in block_info__process_sym() 128 al.map = he->ms.map; in block_info__process_sym() 129 al.sym = he->ms.sym; in block_info__process_sym() 197 struct hist_entry *he) in block_total_cycles_pct_entry() argument 270 struct hist_entry *he) in block_avg_cycles_entry() argument 284 struct hist_entry *he) in block_range_entry() argument 294 he->ms.sym); in block_range_entry() 297 he->ms.sym); in block_range_entry() 315 struct hist_entry *he) in block_dso_entry() argument 318 struct map *map = he->ms.map; in block_dso_entry() [all …]
|
A D | hist.h | 133 struct hist_entry *he; member 182 void hist_entry__delete(struct hist_entry *he); 184 typedef int (*hists__resort_cb_t)(struct hist_entry *he, void *arg); 228 void hists__calc_col_len(struct hists *hists, struct hist_entry *he); 275 void (*init)(struct perf_hpp_fmt *fmt, struct hist_entry *he); 277 struct hist_entry *he); 279 struct hist_entry *he); 419 typedef u64 (*hpp_field_fn)(struct hist_entry *he); 424 struct hist_entry *he, hpp_field_fn get_field, 427 struct hist_entry *he, hpp_field_fn get_field, [all …]
|
A D | stream.c | 99 static void update_hot_callchain(struct hist_entry *he, in update_hot_callchain() argument 102 struct rb_root *root = &he->sorted_chain; in update_hot_callchain() 118 struct hist_entry *he; in init_hot_callchain() local 120 he = rb_entry(next, struct hist_entry, rb_node); in init_hot_callchain() 121 update_hot_callchain(he, es); in init_hot_callchain() 122 next = rb_next(&he->rb_node); in init_hot_callchain()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_set_hash.c | 90 if (he != NULL) in nft_rhash_lookup() 93 return !!he; in nft_rhash_lookup() 108 if (he != NULL) in nft_rhash_get() 109 return he; in nft_rhash_get() 131 if (he != NULL) in nft_rhash_update() 147 he = prev; in nft_rhash_update() 223 he = NULL; in nft_rhash_deactivate() 227 return he; in nft_rhash_deactivate() 357 if (he) { in nft_rhash_gc() 486 return he; in nft_hash_get() [all …]
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-diff.c | 281 double old_percent = period_percent(he, he->stat.period); in compute_delta() 374 return &bh->he; in block_hist_zalloc() 381 bh = container_of(he, struct block_hist, he); in block_hist_free() 639 he->block_info->cycles_aggr / he->block_info->num_aggr; in compute_cycles_diff() 704 bh = container_of(he, struct block_hist, he); in hists__precompute() 731 bh = container_of(he, struct block_hist, he); in hists__precompute() 1344 if (!he->dummy) in hpp__entry_baseline() 1377 he->ms.sym); in cycles_printf() 1409 bh = container_of(he, struct block_hist, he); in __hpp__color_compare() 1428 if (he->dummy) in __hpp__color_compare() [all …]
|
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() 323 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() 357 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() 539 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_entry() 553 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_count() 614 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_hitm_entry() 2211 he->srcline = hist_entry__srcline(he); in filter_cb() 2591 he = cl_browser->he; in perf_c2c_cacheline_browser__title() 2610 browser->he = he; in c2c_cacheline_browser__new() [all …]
|
A D | builtin-annotate.c | 167 struct hist_entry *he = iter->he; in hist_iter__branch_callback() local 173 bi = he->branch_info; in hist_iter__branch_callback() 225 struct hist_entry *he; in evsel__add_sample() local 256 if (he == NULL) in evsel__add_sample() 302 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate() argument 323 if (he->ms.sym == NULL || he->ms.map->dso->annotate_warned) in hists__find_annotations() 335 percent = 100.0 * he->stat.period / total; in hists__find_annotations() 341 notes = symbol__annotation(he->ms.sym); in hists__find_annotations() 353 int (*annotate)(struct hist_entry *he, in hists__find_annotations() 364 ret = annotate(he, evsel, NULL); in hists__find_annotations() [all …]
|
A D | builtin-top.c | 119 if (!he || !he->ms.sym) in perf_top__parse_source() 124 sym = he->ms.sym; in perf_top__parse_source() 125 map = he->ms.map; in perf_top__parse_source() 151 top->sym_filter_entry = he; in perf_top__parse_source() 164 struct symbol *sym = he->ms.sym; in __zero_source_counters() 196 struct hist_entry *he, in perf_top__record_precise_ip() argument 202 struct symbol *sym = he->ms.sym; in perf_top__record_precise_ip() 224 mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip() 234 mutex_lock(&he->hists->lock); in perf_top__record_precise_ip() 246 if (!he) in perf_top__show_details() [all …]
|
/linux-6.3-rc2/tools/perf/ui/stdio/ |
A D | hist.c | 441 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 443 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 454 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf() 515 fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 517 fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 527 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 542 struct block_hist *bh = container_of(he, struct block_hist, he); in hist_entry__block_fprintf() 553 hist_entry__snprintf(he, &hpp); in hist_entry__block_fprintf() 574 hist_entry__snprintf(he, &hpp); in hist_entry__individual_block_fprintf() 591 struct hists *hists = he->hists; in hist_entry__fprintf() [all …]
|
/linux-6.3-rc2/tools/perf/ui/browsers/ |
A D | hists.c | 73 if (he->leaf && he->unfolded) in hist_browser__get_folding() 279 if (he->leaf) in hierarchy_count_rows() 306 if (!he) in hist_entry__toggle_fold() 312 he->unfolded = !he->unfolded; in hist_entry__toggle_fold() 387 he->has_children = !RB_EMPTY_ROOT(&he->sorted_chain); in hist_entry__init_have_children() 390 he->has_children = !RB_EMPTY_ROOT(&he->hroot_out.rb_root); in hist_entry__init_have_children() 468 if (he->leaf) in hist_browser__toggle_fold() 481 he->nr_rows = hierarchy_count_rows(browser, he, false); in hist_browser__toggle_fold() 487 if (!he->leaf && he->nr_rows == 0) { in hist_browser__toggle_fold() 591 he->unfolded = unfold ? he->has_children : false; in __hist_entry__set_folding() [all …]
|
/linux-6.3-rc2/kernel/locking/ |
A D | qspinlock_paravirt.h | 207 #define for_each_hash_entry(he, offset, hash) \ argument 215 struct pv_hash_entry *he; in pv_hash() local 218 for_each_hash_entry(he, offset, hash) { in pv_hash() 220 if (!cmpxchg(&he->lock, NULL, lock)) { in pv_hash() 221 WRITE_ONCE(he->node, node); in pv_hash() 223 return &he->lock; in pv_hash() 242 struct pv_hash_entry *he; in pv_unhash() local 245 for_each_hash_entry(he, offset, hash) { in pv_unhash() 246 if (READ_ONCE(he->lock) == lock) { in pv_unhash() 247 node = READ_ONCE(he->node); in pv_unhash() [all …]
|
/linux-6.3-rc2/tools/perf/ui/gtk/ |
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.3-rc2/tools/perf/ui/ |
A D | hist.c | 30 struct hists *hists = he->hists; in __hpp__fmt() 40 percent = 100.0 * get_field(he) / total; in __hpp__fmt() 53 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt() 115 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument 121 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt() 134 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument 341 static u64 he_get_##_field(struct hist_entry *he) \ 343 return he->stat._field; \ 347 struct perf_hpp *hpp, struct hist_entry *he) \ 371 return he->stat_acc->_field; \ [all …]
|
/linux-6.3-rc2/include/linux/ |
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.3-rc2/Documentation/core-api/ |
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.3-rc2/fs/reiserfs/ |
A D | README | 20 under the GPL, because he wants to know if it is okay to do so and put 21 a check in the mail to you (for non-trivial improvements) when he 23 though he feels motivated to motivate contributors, and you can surely 88 Vladimir Saveljev was one of the programmers, and he worked long hours 92 to work the way he did, he is one of the most selfless men I know. 102 align files), and he invented and implemented indirect items and 110 curious, because he never really understood the value of our project, 112 general, but he was sure that he ought to be controlling it. Every 113 innovation had to be forced past him while he was with us. He added 117 that he was shown much generosity just makes it more painful. [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | rxmq.c | 1233 struct ieee80211_radiotap_he *he, in iwl_mvm_decode_he_phy_ru_alloc() argument 1282 he->data2 |= le16_encode_bits(offs, in iwl_mvm_decode_he_phy_ru_alloc() 1287 he->data2 |= in iwl_mvm_decode_he_phy_ru_alloc() 1306 he->data6 |= in iwl_mvm_decode_he_phy_ru_alloc() 1315 struct ieee80211_radiotap_he *he, in iwl_mvm_decode_he_phy_data() argument 1337 he->data4 |= le16_encode_bits(le32_get_bits(phy_data->d2, in iwl_mvm_decode_he_phy_data() 1340 he->data4 |= le16_encode_bits(le32_get_bits(phy_data->d2, in iwl_mvm_decode_he_phy_data() 1454 struct ieee80211_radiotap_he *he = NULL; in iwl_mvm_rx_he() local 1477 he = skb_put_data(skb, &known, sizeof(known)); in iwl_mvm_rx_he() 1520 he->data1 |= in iwl_mvm_rx_he() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76_connac_mac.c | 709 struct ieee80211_radiotap_he *he, in mt76_connac2_mac_decode_he_radiotap_ru() argument 750 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac2_mac_decode_he_radiotap_ru() 751 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac2_mac_decode_he_radiotap_ru() 826 struct ieee80211_radiotap_he *he; in mt76_connac2_mac_decode_he_radiotap() local 830 he = skb_push(skb, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap() 831 memcpy(he, &known, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap() 840 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac2_mac_decode_he_radiotap() 846 he->data1 |= HE_BITS(DATA1_FORMAT_SU) | in mt76_connac2_mac_decode_he_radiotap() 855 he->data1 |= HE_BITS(DATA1_FORMAT_EXT_SU) | in mt76_connac2_mac_decode_he_radiotap() 862 he->data1 |= HE_BITS(DATA1_FORMAT_MU) | in mt76_connac2_mac_decode_he_radiotap() [all …]
|