Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dsort.c490 return left->branch_info->from.addr - right->branch_info->from.addr; in sort__srcline_from_cmp()
496 if (!left->branch_info->srcline_from) in sort__srcline_from_collapse()
497 left->branch_info->srcline_from = addr_map_symbol__srcline(&left->branch_info->from); in sort__srcline_from_collapse()
499 if (!right->branch_info->srcline_from) in sort__srcline_from_collapse()
500 right->branch_info->srcline_from = addr_map_symbol__srcline(&right->branch_info->from); in sort__srcline_from_collapse()
502 return strcmp(right->branch_info->srcline_from, left->branch_info->srcline_from); in sort__srcline_from_collapse()
513 if (!he->branch_info->srcline_from) in sort__srcline_from_init()
514 he->branch_info->srcline_from = addr_map_symbol__srcline(&he->branch_info->from); in sort__srcline_from_init()
520 return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_from); in hist_entry__srcline_from_snprintf()
538 return left->branch_info->to.addr - right->branch_info->to.addr; in sort__srcline_to_cmp()
[all …]
Dhist.c116 if (h->branch_info) { in hists__calc_col_len()
117 if (h->branch_info->from.ms.sym) { in hists__calc_col_len()
118 symlen = (int)h->branch_info->from.ms.sym->namelen + 4; in hists__calc_col_len()
123 symlen = dso__name_len(map__dso(h->branch_info->from.ms.map)); in hists__calc_col_len()
132 if (h->branch_info->to.ms.sym) { in hists__calc_col_len()
133 symlen = (int)h->branch_info->to.ms.sym->namelen + 4; in hists__calc_col_len()
138 symlen = dso__name_len(map__dso(h->branch_info->to.ms.map)); in hists__calc_col_len()
147 if (h->branch_info->srcline_from) in hists__calc_col_len()
149 strlen(h->branch_info->srcline_from)); in hists__calc_col_len()
150 if (h->branch_info->srcline_to) in hists__calc_col_len()
[all …]
Dsort.h143 struct branch_info *branch_info; member
Dbranch.h33 struct branch_info { struct
Dhist.h18 struct branch_info;
153 struct branch_info *bi,
163 struct branch_info *bi,
Dmachine.h190 struct branch_info *sample__resolve_bstack(struct perf_sample *sample,
Dmachine.c2400 struct branch_info *sample__resolve_bstack(struct perf_sample *sample, in sample__resolve_bstack()
2406 struct branch_info *bi = calloc(bs->nr, sizeof(struct branch_info)); in sample__resolve_bstack()
/linux-6.6.21/tools/perf/
Dbuiltin-annotate.c140 struct branch_info *bi; in process_branch_stack()
168 struct branch_info *bi; in hist_iter__branch_callback()
173 bi = he->branch_info; in hist_iter__branch_callback()
Dbuiltin-report.c172 struct branch_info *bi; in hist_iter__report_callback()
178 bi = he->branch_info; in hist_iter__report_callback()
211 struct branch_info *bi = he->branch_info; in hist_iter__branch_callback()
/linux-6.6.21/tools/perf/ui/browsers/
Dhists.c2455 if ((err == 'q' || err == CTRL('c')) && he->branch_info) in do_annotate()
2951 struct branch_info *bi = NULL; in evsel__hists_browse()
3098 bi = browser->he_selection->branch_info; in evsel__hists_browse()
3289 bi = browser->he_selection->branch_info; in evsel__hists_browse()