Lines Matching refs:branch_info
115 if (h->branch_info) { in hists__calc_col_len()
116 if (h->branch_info->from.ms.sym) { in hists__calc_col_len()
117 symlen = (int)h->branch_info->from.ms.sym->namelen + 4; in hists__calc_col_len()
122 symlen = dso__name_len(h->branch_info->from.ms.map->dso); in hists__calc_col_len()
130 if (h->branch_info->to.ms.sym) { in hists__calc_col_len()
131 symlen = (int)h->branch_info->to.ms.sym->namelen + 4; in hists__calc_col_len()
136 symlen = dso__name_len(h->branch_info->to.ms.map->dso); in hists__calc_col_len()
144 if (h->branch_info->srcline_from) in hists__calc_col_len()
146 strlen(h->branch_info->srcline_from)); in hists__calc_col_len()
147 if (h->branch_info->srcline_to) in hists__calc_col_len()
149 strlen(h->branch_info->srcline_to)); in hists__calc_col_len()
449 if (he->branch_info) { in hist_entry__init()
455 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__init()
456 if (he->branch_info == NULL) in hist_entry__init()
459 memcpy(he->branch_info, template->branch_info, in hist_entry__init()
460 sizeof(*he->branch_info)); in hist_entry__init()
462 map__get(he->branch_info->from.ms.map); in hist_entry__init()
463 map__get(he->branch_info->to.ms.map); in hist_entry__init()
510 if (he->branch_info) { in hist_entry__init()
511 map__put(he->branch_info->from.ms.map); in hist_entry__init()
512 map__put(he->branch_info->to.ms.map); in hist_entry__init()
513 zfree(&he->branch_info); in hist_entry__init()
694 struct branch_info *bi, in __hists__add_entry()
729 .branch_info = bi, in __hists__add_entry()
752 struct branch_info *bi, in hists__add_entry()
765 struct branch_info *bi, in hists__add_entry_ops()
884 struct branch_info *bi; in iter_prepare_branch_entry()
908 struct branch_info *bi = iter->priv; in iter_next_branch_entry()
927 struct branch_info *bi; in iter_add_next_branch_entry()
1299 if (he->branch_info) { in hist_entry__delete()
1300 map__zput(he->branch_info->from.ms.map); in hist_entry__delete()
1301 map__zput(he->branch_info->to.ms.map); in hist_entry__delete()
1302 free_srcline(he->branch_info->srcline_from); in hist_entry__delete()
1303 free_srcline(he->branch_info->srcline_to); in hist_entry__delete()
1304 zfree(&he->branch_info); in hist_entry__delete()
2633 struct branch_info *bi; in hist__account_cycles()