Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 6 of 6) sorted by relevance

/tools/perf/
Dbuiltin-annotate.c125 struct branch_info *bi; in process_branch_stack() local
131 bi = sample__resolve_bstack(sample, al); in process_branch_stack()
132 if (!bi) in process_branch_stack()
140 process_basic_block(prev, &bi[i].from, &bi[i].flags); in process_branch_stack()
141 prev = &bi[i].to; in process_branch_stack()
144 free(bi); in process_branch_stack()
Dbuiltin-report.c109 struct branch_info *bi; in hist_iter__report_callback() local
118 bi = he->branch_info; in hist_iter__report_callback()
119 err = addr_map_symbol__inc_samples(&bi->from, evsel->idx); in hist_iter__report_callback()
123 err = addr_map_symbol__inc_samples(&bi->to, evsel->idx); in hist_iter__report_callback()
/tools/perf/util/
Dhist.c571 struct branch_info *bi, in __hists__add_entry() argument
597 .branch_info = bi, in __hists__add_entry()
611 struct branch_info *bi, in hists__add_entry() argument
616 return __hists__add_entry(hists, al, sym_parent, bi, mi, in hists__add_entry()
624 struct branch_info *bi, in hists__add_entry_ops() argument
629 return __hists__add_entry(hists, al, sym_parent, bi, mi, in hists__add_entry_ops()
726 struct branch_info *bi; in iter_prepare_branch_entry() local
729 bi = sample__resolve_bstack(sample, al); in iter_prepare_branch_entry()
730 if (!bi) in iter_prepare_branch_entry()
736 iter->priv = bi; in iter_prepare_branch_entry()
[all …]
Dhist.h127 struct branch_info *bi,
136 struct branch_info *bi,
Dmachine.c1679 struct branch_info *bi = calloc(bs->nr, sizeof(struct branch_info)); in sample__resolve_bstack() local
1681 if (!bi) in sample__resolve_bstack()
1685 ip__resolve_ams(al->thread, &bi[i].to, bs->entries[i].to); in sample__resolve_bstack()
1686 ip__resolve_ams(al->thread, &bi[i].from, bs->entries[i].from); in sample__resolve_bstack()
1687 bi[i].flags = bs->entries[i].flags; in sample__resolve_bstack()
1689 return bi; in sample__resolve_bstack()
/tools/perf/ui/browsers/
Dhists.c2717 struct branch_info *bi; in perf_evsel__hists_browse() local
2979 bi = browser->he_selection->branch_info; in perf_evsel__hists_browse()
2981 if (bi == NULL) in perf_evsel__hists_browse()
2987 bi->from.map, in perf_evsel__hists_browse()
2988 bi->from.sym); in perf_evsel__hists_browse()
2989 if (bi->to.sym != bi->from.sym) in perf_evsel__hists_browse()
2993 bi->to.map, in perf_evsel__hists_browse()
2994 bi->to.sym); in perf_evsel__hists_browse()