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()
445 if (he->branch_info) { in hist_entry__init()
451 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__init()
452 if (he->branch_info == NULL) in hist_entry__init()
455 memcpy(he->branch_info, template->branch_info, in hist_entry__init()
456 sizeof(*he->branch_info)); in hist_entry__init()
458 map__get(he->branch_info->from.ms.map); in hist_entry__init()
459 map__get(he->branch_info->to.ms.map); in hist_entry__init()
506 if (he->branch_info) { in hist_entry__init()
507 map__put(he->branch_info->from.ms.map); in hist_entry__init()
508 map__put(he->branch_info->to.ms.map); in hist_entry__init()
509 zfree(&he->branch_info); in hist_entry__init()
691 struct branch_info *bi, in __hists__add_entry()
726 .branch_info = bi, in __hists__add_entry()
746 struct branch_info *bi, in hists__add_entry()
759 struct branch_info *bi, in hists__add_entry_ops()
878 struct branch_info *bi; in iter_prepare_branch_entry()
902 struct branch_info *bi = iter->priv; in iter_next_branch_entry()
921 struct branch_info *bi; in iter_add_next_branch_entry()
1293 if (he->branch_info) { in hist_entry__delete()
1294 map__zput(he->branch_info->from.ms.map); in hist_entry__delete()
1295 map__zput(he->branch_info->to.ms.map); in hist_entry__delete()
1296 free_srcline(he->branch_info->srcline_from); in hist_entry__delete()
1297 free_srcline(he->branch_info->srcline_to); in hist_entry__delete()
1298 zfree(&he->branch_info); in hist_entry__delete()
2622 struct branch_info *bi; in hist__account_cycles()