Lines Matching refs:branch_info

111 	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()
145 strlen(h->branch_info->srcline_to)); in hists__calc_col_len()
430 if (he->branch_info) { in hist_entry__init()
436 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__init()
437 if (he->branch_info == NULL) in hist_entry__init()
440 memcpy(he->branch_info, template->branch_info, in hist_entry__init()
441 sizeof(*he->branch_info)); in hist_entry__init()
443 map__get(he->branch_info->from.map); in hist_entry__init()
444 map__get(he->branch_info->to.map); in hist_entry__init()
491 if (he->branch_info) { in hist_entry__init()
492 map__put(he->branch_info->from.map); in hist_entry__init()
493 map__put(he->branch_info->to.map); in hist_entry__init()
494 zfree(&he->branch_info); in hist_entry__init()
676 struct branch_info *bi, in __hists__add_entry()
709 .branch_info = bi, in __hists__add_entry()
729 struct branch_info *bi, in hists__add_entry()
742 struct branch_info *bi, in hists__add_entry_ops()
856 struct branch_info *bi; in iter_prepare_branch_entry()
880 struct branch_info *bi = iter->priv; in iter_next_branch_entry()
898 struct branch_info *bi; in iter_add_next_branch_entry()
1246 if (he->branch_info) { in hist_entry__delete()
1247 map__zput(he->branch_info->from.map); in hist_entry__delete()
1248 map__zput(he->branch_info->to.map); in hist_entry__delete()
1249 free_srcline(he->branch_info->srcline_from); in hist_entry__delete()
1250 free_srcline(he->branch_info->srcline_to); in hist_entry__delete()
1251 zfree(&he->branch_info); in hist_entry__delete()
2574 struct branch_info *bi; in hist__account_cycles()