Lines Matching refs:ms
63 if (he->ms.unfolded) in hist_browser__get_folding()
139 static char map_symbol__folded(const struct map_symbol *ms) in map_symbol__folded() argument
141 return ms->has_children ? tree__folded_sign(ms->unfolded) : ' '; in map_symbol__folded()
146 return map_symbol__folded(&he->ms); in hist_entry__folded()
151 return map_symbol__folded(&cl->ms); in callchain_list__folded()
154 static void map_symbol__set_folding(struct map_symbol *ms, bool unfold) in map_symbol__set_folding() argument
156 ms->unfolded = unfold ? ms->has_children : false; in map_symbol__set_folding()
192 unfolded = chain->ms.unfolded; in callchain_node__count_rows()
214 static bool map_symbol__toggle_fold(struct map_symbol *ms) in map_symbol__toggle_fold() argument
216 if (!ms) in map_symbol__toggle_fold()
219 if (!ms->has_children) in map_symbol__toggle_fold()
222 ms->unfolded = !ms->unfolded; in map_symbol__toggle_fold()
238 chain->ms.has_children = chain->list.next != &child->val || in callchain_node__init_have_children_rb_tree()
241 chain->ms.has_children = chain->list.next == &child->val && in callchain_node__init_have_children_rb_tree()
255 chain->ms.has_children = has_sibling; in callchain_node__init_have_children()
259 chain->ms.has_children = !RB_EMPTY_ROOT(&node->rb_root); in callchain_node__init_have_children()
279 he->ms.has_children = !RB_EMPTY_ROOT(&he->sorted_chain); in hist_entry__init_have_children()
294 if (he->ms.unfolded) in hist_browser__toggle_fold()
321 map_symbol__set_folding(&chain->ms, unfold); in callchain_node__set_folding_rb_tree()
322 has_children = chain->ms.has_children; in callchain_node__set_folding_rb_tree()
340 map_symbol__set_folding(&chain->ms, unfold); in callchain_node__set_folding()
341 has_children = chain->ms.has_children; in callchain_node__set_folding()
366 map_symbol__set_folding(&he->ms, unfold); in hist_entry__set_folding()
368 if (he->ms.has_children) { in hist_entry__set_folding()
514 bool show_annotated = browser->show_dso && chain->ms.sym && symbol__annotation(chain->ms.sym)->src; in hist_browser__show_callchain_entry()
519 browser->selection = &chain->ms; in hist_browser__show_callchain_entry()
751 browser->selection = &entry->ms; in hist_browser__show_entry()
1019 if (h->ms.unfolded) { in ui_browser__hists_seek()
1040 if (h->ms.unfolded) { in ui_browser__hists_seek()
1077 if (h->ms.unfolded) in ui_browser__hists_seek()
1680 sym = browser->he_selection->ms.sym; in perf_evsel__hists_browse()
1709 struct map_symbol ms; in perf_evsel__hists_browse() local
1720 ms.map = he->branch_info->from.map; in perf_evsel__hists_browse()
1721 ms.sym = he->branch_info->from.sym; in perf_evsel__hists_browse()
1723 ms.map = he->branch_info->to.map; in perf_evsel__hists_browse()
1724 ms.sym = he->branch_info->to.sym; in perf_evsel__hists_browse()
1726 ms = *browser->selection; in perf_evsel__hists_browse()
1729 notes = symbol__annotation(ms.sym); in perf_evsel__hists_browse()
1733 err = map_symbol__tui_annotate(&ms, evsel, hbt); in perf_evsel__hists_browse()
1796 sprintf(script_opt, " -S %s ", browser->he_selection->ms.sym->name); in perf_evsel__hists_browse()