Home
last modified time | relevance | path

Searched refs:he (Results 1 – 25 of 105) sorted by relevance

12345

/linux/tools/perf/tests/
A Dhists_output.c120 #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 Dhists_common.c177 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 Dhists_link.c68 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 Dhists_cumulate.c128 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/tools/perf/util/
A Dhist.c442 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init()
475 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init()
849 iter->he = he; in iter_add_single_mem_entry()
859 struct hist_entry *he = iter->he; in iter_finish_mem_entry() local
955 iter->he = he; in iter_add_next_branch_entry()
989 iter->he = he; in iter_add_single_normal_entry()
1050 iter->he = he; in iter_add_single_cumulative_entry()
1150 iter->he = he; in iter_add_next_cumulative_entry()
2002 he = he->parent_he; in __rb_hierarchy_next()
2019 he = he->parent_he; in rb_hierarchy_prev()
[all …]
A Dsort.c225 return dso && (!he->ms.map || he->ms.map->dso != dso); in hist_entry__dso_filter()
341 return _hist_entry__sym_snprintf(&he->ms, he->ip, in hist_entry__sym_snprintf()
368 return map__srcline(he->ms.map, he->ip, he->ms.sym); in hist_entry__srcline()
386 he->srcline = hist_entry__srcline(he); in hist_entry__srcline_snprintf()
548 he->srcfile = hist_entry__get_srcfile(he); in hist_entry__srcfile_snprintf()
578 he->parent ? he->parent->name : "[other]"); in hist_entry__parent_snprintf()
799 he->trace_output = get_trace_output(he); in hist_entry__trace_snprintf()
1351 he->weight * he->stat.nr_events); in hist_entry__global_weight_snprintf()
1384 he->ins_lat * he->stat.nr_events); in hist_entry__global_ins_lat_snprintf()
2215 he->trace_output = get_trace_output(he); in update_dynamic_len()
[all …]
A Dsort.h168 return he->callchain_size != 0; in hist_entry__has_callchains()
173 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
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()
291 struct hist_entry he; member
[all …]
A Dblock-info.c124 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 Dhist.h129 struct hist_entry *he; member
178 void hist_entry__delete(struct hist_entry *he);
180 typedef int (*hists__resort_cb_t)(struct hist_entry *he, void *arg);
223 void hists__calc_col_len(struct hists *hists, struct hist_entry *he);
271 struct hist_entry *he);
273 struct hist_entry *he);
413 typedef u64 (*hpp_field_fn)(struct hist_entry *he);
418 struct hist_entry *he, hpp_field_fn get_field,
421 struct hist_entry *he, hpp_field_fn get_field,
469 int hist_entry__tui_annotate(struct hist_entry *he, struct evsel *evsel,
[all …]
A Dstream.c99 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/net/netfilter/
A Dnft_set_hash.c90 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()
146 he = prev; in nft_rhash_update()
221 he = NULL; in nft_rhash_deactivate()
225 return he; in nft_rhash_deactivate()
355 if (he) { in nft_rhash_gc()
484 return he; in nft_hash_get()
[all …]
/linux/tools/perf/
A Dbuiltin-c2c.c165 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free()
196 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists()
306 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
340 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
522 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_entry()
536 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_count()
596 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_hitm_entry()
1975 he->srcline = hist_entry__srcline(he); in filter_cb()
2317 he = cl_browser->he; in perf_c2c_cacheline_browser__title()
2336 browser->he = he; in c2c_cacheline_browser__new()
[all …]
A Dbuiltin-diff.c281 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 Dbuiltin-annotate.c160 struct hist_entry *he = iter->he; in hist_iter__branch_callback() local
166 bi = he->branch_info; in hist_iter__branch_callback()
220 struct hist_entry *he; in evsel__add_sample() local
251 if (he == NULL) in evsel__add_sample()
297 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate() argument
302 return symbol__tty_annotate(&he->ms, evsel, &ann->opts); in hist_entry__tty_annotate()
318 if (he->ms.sym == NULL || he->ms.map->dso->annotate_warned) in hists__find_annotations()
325 notes = symbol__annotation(he->ms.sym); in hists__find_annotations()
337 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
348 ret = annotate(he, evsel, NULL); in hists__find_annotations()
[all …]
A Dbuiltin-top.c119 if (!he || !he->ms.sym) in perf_top__parse_source()
122 evsel = hists_to_evsel(he->hists); 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
201 struct symbol *sym = he->ms.sym; in perf_top__record_precise_ip()
245 if (!he) in perf_top__show_details()
250 symbol = he->ms.sym; in perf_top__show_details()
[all …]
/linux/tools/perf/ui/browsers/
A Dhists.c73 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/tools/perf/ui/stdio/
A Dhist.c441 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/kernel/locking/
A Dqspinlock_paravirt.h207 #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/tools/perf/ui/gtk/
A Dhists.c46 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/tools/perf/ui/
A Dhist.c30 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/include/linux/
A Drhashtable.h114 const struct rhash_head *he) in rht_obj() argument
591 struct rhash_head *he; in __rhashtable_lookup() local
604 return he; in __rhashtable_lookup()
640 return he ? rht_obj(ht, he) : NULL; in rhashtable_lookup()
690 return he ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup()
993 struct rhash_head *he; in __rhashtable_remove_fast_one() local
1009 if (he != obj) { in __rhashtable_remove_fast_one()
1012 pprev = &he->next; in __rhashtable_remove_fast_one()
1145 struct rhash_head *he; in __rhashtable_replace_fast() local
1164 if (he != obj_old) { in __rhashtable_replace_fast()
[all …]
/linux/Documentation/core-api/
A Derrseq.rst49 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/fs/reiserfs/
A DREADME20 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/drivers/net/wireless/intel/iwlwifi/mvm/
A Drxmq.c1223 struct ieee80211_radiotap_he *he, in iwl_mvm_decode_he_phy_ru_alloc() argument
1271 he->data2 |= le16_encode_bits(offs, in iwl_mvm_decode_he_phy_ru_alloc()
1276 he->data2 |= in iwl_mvm_decode_he_phy_ru_alloc()
1295 he->data6 |= in iwl_mvm_decode_he_phy_ru_alloc()
1304 struct ieee80211_radiotap_he *he, in iwl_mvm_decode_he_phy_data() argument
1322 he->data4 |= le16_encode_bits(le32_get_bits(phy_data->d2, in iwl_mvm_decode_he_phy_data()
1421 he, he_mu, rx_status); in iwl_mvm_decode_he_phy_data()
1440 struct ieee80211_radiotap_he *he = NULL; in iwl_mvm_rx_he() local
1461 he = skb_put_data(skb, &known, sizeof(known)); in iwl_mvm_rx_he()
1504 he->data1 |= in iwl_mvm_rx_he()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmac.c173 struct ieee80211_radiotap_he *he, in mt7921_mac_decode_he_radiotap_ru() argument
214 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt7921_mac_decode_he_radiotap_ru()
215 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt7921_mac_decode_he_radiotap_ru()
284 struct ieee80211_radiotap_he *he = NULL; in mt7921_mac_decode_he_radiotap() local
287 he = skb_push(skb, sizeof(known)); in mt7921_mac_decode_he_radiotap()
288 memcpy(he, &known, sizeof(known)); in mt7921_mac_decode_he_radiotap()
297 he->data5 |= HE_BITS(DATA5_TXBF); in mt7921_mac_decode_he_radiotap()
303 he->data1 |= HE_BITS(DATA1_FORMAT_SU) | in mt7921_mac_decode_he_radiotap()
312 he->data1 |= HE_BITS(DATA1_FORMAT_EXT_SU) | in mt7921_mac_decode_he_radiotap()
318 he->data1 |= HE_BITS(DATA1_FORMAT_MU) | in mt7921_mac_decode_he_radiotap()
[all …]

Completed in 83 milliseconds

12345