Home
last modified time | relevance | path

Searched refs:branch_info (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/tools/perf/util/
Dsort.c395 if (!left->branch_info->srcline_from) in sort__srcline_from_cmp()
396 left->branch_info->srcline_from = addr_map_symbol__srcline(&left->branch_info->from); in sort__srcline_from_cmp()
398 if (!right->branch_info->srcline_from) in sort__srcline_from_cmp()
399 right->branch_info->srcline_from = addr_map_symbol__srcline(&right->branch_info->from); in sort__srcline_from_cmp()
401 return strcmp(right->branch_info->srcline_from, left->branch_info->srcline_from); in sort__srcline_from_cmp()
407 return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_from); in hist_entry__srcline_from_snprintf()
422 if (!left->branch_info->srcline_to) in sort__srcline_to_cmp()
423 left->branch_info->srcline_to = addr_map_symbol__srcline(&left->branch_info->to); in sort__srcline_to_cmp()
425 if (!right->branch_info->srcline_to) in sort__srcline_to_cmp()
426 right->branch_info->srcline_to = addr_map_symbol__srcline(&right->branch_info->to); in sort__srcline_to_cmp()
[all …]
Dhist.c111 if (h->branch_info) { in hists__calc_col_len()
112 if (h->branch_info->from.sym) { in hists__calc_col_len()
113 symlen = (int)h->branch_info->from.sym->namelen + 4; in hists__calc_col_len()
118 symlen = dso__name_len(h->branch_info->from.map->dso); in hists__calc_col_len()
126 if (h->branch_info->to.sym) { in hists__calc_col_len()
127 symlen = (int)h->branch_info->to.sym->namelen + 4; in hists__calc_col_len()
132 symlen = dso__name_len(h->branch_info->to.map->dso); in hists__calc_col_len()
140 if (h->branch_info->srcline_from) in hists__calc_col_len()
142 strlen(h->branch_info->srcline_from)); in hists__calc_col_len()
143 if (h->branch_info->srcline_to) in hists__calc_col_len()
[all …]
Dsort.h134 struct branch_info *branch_info; member
Dbranch.h26 struct branch_info { struct
Dhist.h17 struct branch_info;
140 struct branch_info *bi,
149 struct branch_info *bi,
Dmachine.h170 struct branch_info *sample__resolve_bstack(struct perf_sample *sample,
Dmachine.c2104 struct branch_info *sample__resolve_bstack(struct perf_sample *sample, in sample__resolve_bstack()
2109 struct branch_info *bi = calloc(bs->nr, sizeof(struct branch_info)); in sample__resolve_bstack()
/Linux-v5.4/tools/perf/
Dbuiltin-annotate.c133 struct branch_info *bi; in process_branch_stack()
161 struct branch_info *bi; in hist_iter__branch_callback()
166 bi = he->branch_info; in hist_iter__branch_callback()
Dbuiltin-report.c145 struct branch_info *bi; in hist_iter__report_callback()
151 bi = he->branch_info; in hist_iter__report_callback()
184 struct branch_info *bi; in hist_iter__branch_callback()
192 bi = he->branch_info; in hist_iter__branch_callback()
/Linux-v5.4/tools/perf/ui/browsers/
Dhists.c2391 if ((err == 'q' || err == CTRL('c')) && he->branch_info) in do_annotate()
2834 struct branch_info *bi = NULL; in perf_evsel__hists_browse()
3105 bi = browser->he_selection->branch_info; in perf_evsel__hists_browse()