Home
last modified time | relevance | path

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

123456789

/openbmc/linux/tools/perf/tests/
H A Dhists_output.c133 #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 Dhists_common.c177 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 Dhists_link.c70 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 Dhists_cumulate.c132 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) (map__dso(he->ms.map)->short_name) 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 …]
/openbmc/linux/tools/perf/util/
H A Dhist.c448 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init()
454 he->ms.map = map__get(he->ms.map); in hist_entry__init()
482 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init()
863 iter->he = he; in iter_add_single_mem_entry()
971 iter->he = he; in iter_add_next_branch_entry()
1005 iter->he = he; in iter_add_single_normal_entry()
1070 iter->he = he; in iter_add_single_cumulative_entry()
1173 iter->he = he; in iter_add_next_cumulative_entry()
2038 he = he->parent_he; in __rb_hierarchy_next()
2055 he = he->parent_he; in rb_hierarchy_prev()
[all …]
H A Dsort.c398 return _hist_entry__sym_snprintf(&he->ms, he->ip, in hist_entry__sym_snprintf()
425 return map__srcline(he->ms.map, he->ip, he->ms.sym); in hist_entry__srcline()
461 he->srcline = hist_entry__srcline(he); in sort__srcline_init()
683 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init()
720 he->parent ? he->parent->name : "[other]"); in hist_entry__parent_snprintf()
942 he->trace_output = get_trace_output(he); in hist_entry__trace_snprintf()
1620 he->weight * he->stat.nr_events); in hist_entry__global_weight_snprintf()
1653 he->ins_lat * he->stat.nr_events); in hist_entry__global_ins_lat_snprintf()
1673 he->p_stage_cyc * he->stat.nr_events); in hist_entry__global_p_stage_cyc_snprintf()
2576 he->trace_output = get_trace_output(he); in update_dynamic_len()
[all …]
H A Dsort.h170 return he->callchain_size != 0; in hist_entry__has_callchains()
177 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
182 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
188 struct hist_entry *he) in hist_entry__add_pair() argument
190 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
195 u64 period = he->stat.period; in hist_entry__get_percent_limit()
196 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
202 period = he->stat_acc->period; in hist_entry__get_percent_limit()
291 void (*se_init)(struct hist_entry *he);
301 struct hist_entry he; member
[all …]
H 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 …]
H A Dhist.h135 struct hist_entry *he; member
186 void hist_entry__delete(struct hist_entry *he);
188 typedef int (*hists__resort_cb_t)(struct hist_entry *he, void *arg);
232 void hists__calc_col_len(struct hists *hists, struct hist_entry *he);
279 void (*init)(struct perf_hpp_fmt *fmt, struct hist_entry *he);
281 struct hist_entry *he);
283 struct hist_entry *he);
423 typedef u64 (*hpp_field_fn)(struct hist_entry *he);
428 struct hist_entry *he, hpp_field_fn get_field,
431 struct hist_entry *he, hpp_field_fn get_field,
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_set_hash.c92 if (he != NULL) in nft_rhash_lookup()
95 return !!he; in nft_rhash_lookup()
110 if (he != NULL) in nft_rhash_get()
111 return he; in nft_rhash_get()
133 if (he != NULL) in nft_rhash_update()
137 if (he == NULL) in nft_rhash_update()
149 he = prev; in nft_rhash_update()
219 if (he) in nft_rhash_deactivate()
224 return he; in nft_rhash_deactivate()
517 return he; in nft_hash_get()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac3_mac.c14 struct ieee80211_radiotap_he *he, in mt76_connac3_mac_decode_he_radiotap_ru() argument
50 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac3_mac_decode_he_radiotap_ru()
51 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac3_mac_decode_he_radiotap_ru()
120 struct ieee80211_radiotap_he *he; in mt76_connac3_mac_decode_he_radiotap() local
124 he = skb_push(skb, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap()
125 memcpy(he, &known, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap()
134 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac3_mac_decode_he_radiotap()
140 he->data1 |= HE_BITS(DATA1_FORMAT_SU) | in mt76_connac3_mac_decode_he_radiotap()
149 he->data1 |= HE_BITS(DATA1_FORMAT_EXT_SU) | in mt76_connac3_mac_decode_he_radiotap()
156 he->data1 |= HE_BITS(DATA1_FORMAT_MU) | in mt76_connac3_mac_decode_he_radiotap()
[all …]
H A Dmt76_connac_mac.c740 struct ieee80211_radiotap_he *he, in mt76_connac2_mac_decode_he_radiotap_ru() argument
781 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac2_mac_decode_he_radiotap_ru()
782 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac2_mac_decode_he_radiotap_ru()
857 struct ieee80211_radiotap_he *he; in mt76_connac2_mac_decode_he_radiotap() local
861 he = skb_push(skb, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap()
862 memcpy(he, &known, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap()
871 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac2_mac_decode_he_radiotap()
877 he->data1 |= HE_BITS(DATA1_FORMAT_SU) | in mt76_connac2_mac_decode_he_radiotap()
886 he->data1 |= HE_BITS(DATA1_FORMAT_EXT_SU) | in mt76_connac2_mac_decode_he_radiotap()
893 he->data1 |= HE_BITS(DATA1_FORMAT_MU) | in mt76_connac2_mac_decode_he_radiotap()
[all …]
/openbmc/linux/tools/perf/
H 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()
641 he->block_info->cycles_aggr / he->block_info->num_aggr; in compute_cycles_diff()
706 bh = container_of(he, struct block_hist, he); in hists__precompute()
733 bh = container_of(he, struct block_hist, he); in hists__precompute()
1346 if (!he->dummy) in hpp__entry_baseline()
1379 he->ms.sym); in cycles_printf()
1411 bh = container_of(he, struct block_hist, he); in __hpp__color_compare()
1430 if (he->dummy) in __hpp__color_compare()
[all …]
H A Dbuiltin-c2c.c177 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free()
208 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists()
328 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
362 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
544 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_entry()
558 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_count()
619 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_hitm_entry()
2216 he->srcline = hist_entry__srcline(he); in filter_cb()
2596 he = cl_browser->he; in perf_c2c_cacheline_browser__title()
2615 browser->he = he; in c2c_cacheline_browser__new()
[all …]
H A Dbuiltin-annotate.c166 struct hist_entry *he = iter->he; in hist_iter__branch_callback() local
172 bi = he->branch_info; in hist_iter__branch_callback()
232 struct hist_entry *he; in evsel__add_sample() local
264 if (he == NULL) in evsel__add_sample()
317 return symbol__tty_annotate(&he->ms, evsel); in hist_entry__tty_annotate()
319 return symbol__tty_annotate2(&he->ms, evsel); in hist_entry__tty_annotate()
333 if (he->ms.sym == NULL || map__dso(he->ms.map)->annotate_warned) in hists__find_annotations()
351 notes = symbol__annotation(he->ms.sym); in hists__find_annotations()
363 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
374 ret = annotate(he, evsel, NULL); in hists__find_annotations()
[all …]
H A Dbuiltin-kvm.c165 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); \
716 event = container_of(he, struct kvm_event, he); in clear_events_cache_stats()
772 kvm_ev = container_of(he, struct kvm_event, he); in kvm_he_free()
800 if (he == NULL) { in find_create_kvm_event()
806 event = container_of(he, struct kvm_event, he); in find_create_kvm_event()
1054 event = container_of(he, struct kvm_event, he); in filter_cb()
1057 he->filtered = 1; in filter_cb()
1059 he->filtered = 0; in filter_cb()
[all …]
H A Dbuiltin-top.c120 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 …]
/openbmc/linux/tools/perf/ui/stdio/
H 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 …]
/openbmc/linux/tools/perf/ui/browsers/
H 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()
463 if (he->leaf) in hist_browser__toggle_fold()
476 he->nr_rows = hierarchy_count_rows(browser, he, false); in hist_browser__toggle_fold()
482 if (!he->leaf && he->nr_rows == 0) { in hist_browser__toggle_fold()
498 if (he->leaf) in hist_browser__toggle_fold()
[all …]
/openbmc/linux/kernel/locking/
H 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 …]
/openbmc/linux/tools/perf/ui/gtk/
H 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 …]
/openbmc/linux/tools/perf/ui/
H A Dhist.c31 struct hists *hists = he->hists; in __hpp__fmt()
41 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
54 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
116 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
122 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
135 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
344 static u64 he_get_##_field(struct hist_entry *he) \
346 return he->stat._field; \
350 struct perf_hpp *hpp, struct hist_entry *he) \
374 return he->stat_acc->_field; \
[all …]
/openbmc/linux/include/linux/
H A Drhashtable.h114 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 …]
/openbmc/linux/Documentation/core-api/
H 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 …]
/openbmc/linux/fs/reiserfs/
H 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 …]

123456789