Lines Matching refs:he

111 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he)  in perf_top__parse_source()  argument
119 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()
149 err = symbol__annotate(&he->ms, evsel, &top->annotation_opts, NULL); in perf_top__parse_source()
151 top->sym_filter_entry = he; in perf_top__parse_source()
154 symbol__strerror_disassemble(&he->ms, err, msg, sizeof(msg)); in perf_top__parse_source()
162 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters() argument
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()
214 err = hist_entry__inc_addr_samples(he, sample, evsel, ip); in perf_top__record_precise_ip()
223 pthread_mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip()
225 if (err == -ERANGE && !he->ms.map->erange_warned) in perf_top__record_precise_ip()
226 ui__warn_map_erange(he->ms.map, sym, ip); in perf_top__record_precise_ip()
233 pthread_mutex_lock(&he->hists->lock); in perf_top__record_precise_ip()
239 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details() local
245 if (!he) in perf_top__show_details()
248 evsel = hists_to_evsel(he->hists); in perf_top__show_details()
250 symbol = he->ms.sym; in perf_top__show_details()
263 more = symbol__annotate_printf(&he->ms, top->sym_evsel, &top->annotation_opts); in perf_top__show_details()
729 struct hist_entry *he = iter->he; in hist_iter__top_callback() local
733 perf_top__record_precise_ip(top, he, iter->sample, evsel, al->addr); in hist_iter__top_callback()