Lines Matching refs:he
89 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument
96 if (!he || !he->ms.sym) in perf_top__parse_source()
99 sym = he->ms.sym; in perf_top__parse_source()
100 map = he->ms.map; in perf_top__parse_source()
132 top->sym_filter_entry = he; in perf_top__parse_source()
139 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters() argument
141 struct symbol *sym = he->ms.sym; in __zero_source_counters()
173 struct hist_entry *he, in perf_top__record_precise_ip() argument
180 if (he == NULL || he->ms.sym == NULL || in perf_top__record_precise_ip()
182 top->sym_filter_entry->ms.sym != he->ms.sym) && use_browser != 1)) in perf_top__record_precise_ip()
185 sym = he->ms.sym; in perf_top__record_precise_ip()
191 ip = he->ms.map->map_ip(he->ms.map, ip); in perf_top__record_precise_ip()
194 err = hist_entry__inc_addr_samples(he, counter, ip); in perf_top__record_precise_ip()
202 pthread_mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip()
204 if (err == -ERANGE && !he->ms.map->erange_warned) in perf_top__record_precise_ip()
205 ui__warn_map_erange(he->ms.map, sym, ip); in perf_top__record_precise_ip()
212 pthread_mutex_lock(&he->hists->lock); in perf_top__record_precise_ip()
217 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details() local
222 if (!he) in perf_top__show_details()
225 symbol = he->ms.sym; in perf_top__show_details()
236 more = symbol__annotate_printf(symbol, he->ms.map, top->sym_evsel, in perf_top__show_details()
678 struct hist_entry *he = iter->he; in hist_iter__top_callback() local
687 perf_top__record_precise_ip(top, he, evsel->idx, ip); in hist_iter__top_callback()