Lines Matching refs:ms

400 	struct map_symbol *ms = browser->selection;  in hist_browser__selection_has_children()  local
402 if (!he || !ms) in hist_browser__selection_has_children()
405 if (ms == &he->ms) in hist_browser__selection_has_children()
408 return container_of(ms, struct callchain_list, ms)->has_children; in hist_browser__selection_has_children()
414 struct map_symbol *ms = browser->selection; in hist_browser__selection_unfolded() local
416 if (!he || !ms) in hist_browser__selection_unfolded()
419 if (ms == &he->ms) in hist_browser__selection_unfolded()
422 return container_of(ms, struct callchain_list, ms)->unfolded; in hist_browser__selection_unfolded()
428 struct map_symbol *ms = browser->selection; in hist_browser__selection_sym_name() local
431 if (!he || !ms) in hist_browser__selection_sym_name()
434 if (ms == &he->ms) { in hist_browser__selection_sym_name()
439 callchain_entry = container_of(ms, struct callchain_list, ms); in hist_browser__selection_sym_name()
446 struct map_symbol *ms = browser->selection; in hist_browser__toggle_fold() local
447 struct callchain_list *cl = container_of(ms, struct callchain_list, ms); in hist_browser__toggle_fold()
450 if (!he || !ms) in hist_browser__toggle_fold()
453 if (ms == &he->ms) in hist_browser__toggle_fold()
797 bool show_annotated = browser->show_dso && chain->ms.sym && symbol__annotation(chain->ms.sym)->src; in hist_browser__show_callchain_entry()
802 browser->selection = &chain->ms; in hist_browser__show_callchain_entry()
1344 browser->selection = &entry->ms; in hist_browser__show_entry()
1457 browser->selection = &entry->ms; in hist_browser__show_hierarchy_entry()
2460 struct map_symbol ms; member
2478 notes = symbol__annotation(act->ms.sym); in do_annotate()
2487 err = map_symbol__tui_annotate(&act->ms, evsel, browser->hbt); in do_annotate()
2526 struct map_symbol *ms, in add_annotate_opt() argument
2531 if (!ms->map || (dso = map__dso(ms->map)) == NULL || dso__annotate_warned(dso)) in add_annotate_opt()
2534 if (!ms->sym) in add_annotate_opt()
2535 ms->sym = symbol__new_unresolved(addr, ms->map); in add_annotate_opt()
2537 if (ms->sym == NULL || symbol__annotation(ms->sym)->src == NULL) in add_annotate_opt()
2540 if (asprintf(optstr, "Annotate %s", ms->sym->name) < 0) in add_annotate_opt()
2543 act->ms = *ms; in add_annotate_opt()
2662 return hists_browser__zoom_map(browser, act->ms.map); in do_zoom_dso()
2677 act->ms.map = map; in add_dso_opt()
2708 map__browse(act->ms.map); in do_browse_map()
2722 act->ms.map = map; in add_map_opt()
2738 else if (act->ms.sym) in do_run_script()
2739 len += strlen(act->ms.sym->name); in do_run_script()
2748 } else if (act->ms.sym) { in do_run_script()
2750 act->ms.sym->name); in do_run_script()
2803 act->ms.sym = sym; in add_script_opt_2()
3154 if (!bi || !bi->to.ms.map) in evsel__hists_browse()
3157 actions->ms.sym = symbol__new_unresolved(bi->to.al_addr, bi->to.ms.map); in evsel__hists_browse()
3158 actions->ms.map = bi->to.ms.map; in evsel__hists_browse()
3160 actions->ms.sym = symbol__new_unresolved(browser->he_selection->ip, in evsel__hists_browse()
3162 actions->ms.map = browser->selection->map; in evsel__hists_browse()
3165 if (!actions->ms.sym) in evsel__hists_browse()
3176 actions->ms.map = browser->selection->map; in evsel__hists_browse()
3177 actions->ms.sym = browser->selection->sym; in evsel__hists_browse()
3186 actions->ms.map = map; in evsel__hists_browse()
3222 actions->ms.sym = NULL; in evsel__hists_browse()
3295 actions->ms.map = map; in evsel__hists_browse()
3353 &bi->from.ms, in evsel__hists_browse()
3355 if (bi->to.ms.sym != bi->from.ms.sym) in evsel__hists_browse()
3358 &bi->to.ms, in evsel__hists_browse()
3757 action.ms.map = browser->selection->map; in block_hists_tui_browse()
3758 action.ms.sym = browser->selection->sym; in block_hists_tui_browse()