• Home
  • Raw
  • Download

Lines Matching refs:he

125 static char hist_entry__folded(const struct hist_entry *he)  in hist_entry__folded()  argument
127 return map_symbol__folded(&he->ms); in hist_entry__folded()
252 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children() argument
254 if (!he->init_have_children) { in hist_entry__init_have_children()
255 he->ms.has_children = !RB_EMPTY_ROOT(&he->sorted_chain); in hist_entry__init_have_children()
256 callchain__init_have_children(&he->sorted_chain); in hist_entry__init_have_children()
257 he->init_have_children = true; in hist_entry__init_have_children()
264 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold() local
266 hist_entry__init_have_children(he); in hist_browser__toggle_fold()
267 browser->b.nr_entries -= he->nr_rows; in hist_browser__toggle_fold()
268 browser->nr_callchain_rows -= he->nr_rows; in hist_browser__toggle_fold()
270 if (he->ms.unfolded) in hist_browser__toggle_fold()
271 he->nr_rows = callchain__count_rows(&he->sorted_chain); in hist_browser__toggle_fold()
273 he->nr_rows = 0; in hist_browser__toggle_fold()
275 browser->b.nr_entries += he->nr_rows; in hist_browser__toggle_fold()
276 browser->nr_callchain_rows += he->nr_rows; in hist_browser__toggle_fold()
339 static void hist_entry__set_folding(struct hist_entry *he, bool unfold) in hist_entry__set_folding() argument
341 hist_entry__init_have_children(he); in hist_entry__set_folding()
342 map_symbol__set_folding(&he->ms, unfold); in hist_entry__set_folding()
344 if (he->ms.has_children) { in hist_entry__set_folding()
345 int n = callchain__set_folding(&he->sorted_chain, unfold); in hist_entry__set_folding()
346 he->nr_rows = unfold ? n : 0; in hist_entry__set_folding()
348 he->nr_rows = 0; in hist_entry__set_folding()
360 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in __hist_browser__set_folding() local
361 hist_entry__set_folding(he, unfold); in __hist_browser__set_folding()
362 browser->nr_callchain_rows += he->nr_rows; in __hist_browser__set_folding()
661 static u64 __hpp_get_##_field(struct hist_entry *he) \
663 return he->stat._field; \
669 struct hist_entry *he) \
671 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
676 static u64 __hpp_get_acc_##_field(struct hist_entry *he) \
678 return he->stat_acc->_field; \
684 struct hist_entry *he) \
694 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1072 struct hist_entry *he, FILE *fp) in hist_browser__fprintf_callchain() argument
1074 u64 total = hists__total_period(he->hists); in hist_browser__fprintf_callchain()
1080 total = he->stat_acc->period; in hist_browser__fprintf_callchain()
1082 hist_browser__show_callchain(browser, &he->sorted_chain, 1, 0, total, in hist_browser__fprintf_callchain()
1089 struct hist_entry *he, FILE *fp) in hist_browser__fprintf_entry() argument
1103 folded_sign = hist_entry__folded(he); in hist_browser__fprintf_entry()
1118 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
1124 printed += hist_browser__fprintf_callchain(browser, he, fp); in hist_browser__fprintf_entry()
1685 struct hist_entry *he; in perf_evsel__hists_browse() local
1692 he = hist_browser__selected_entry(browser); in perf_evsel__hists_browse()
1693 if (he == NULL) in perf_evsel__hists_browse()
1703 he->ms.sym = he->branch_info->from.sym; in perf_evsel__hists_browse()
1704 he->ms.map = he->branch_info->from.map; in perf_evsel__hists_browse()
1706 he->ms.sym = he->branch_info->to.sym; in perf_evsel__hists_browse()
1707 he->ms.map = he->branch_info->to.map; in perf_evsel__hists_browse()
1710 notes = symbol__annotation(he->ms.sym); in perf_evsel__hists_browse()
1717 he->used = true; in perf_evsel__hists_browse()
1718 err = hist_entry__tui_annotate(he, evsel, hbt); in perf_evsel__hists_browse()
1719 he->used = false; in perf_evsel__hists_browse()