Lines Matching refs:branch_info
102 if (h->branch_info) { in hists__calc_col_len()
103 if (h->branch_info->from.sym) { in hists__calc_col_len()
104 symlen = (int)h->branch_info->from.sym->namelen + 4; in hists__calc_col_len()
109 symlen = dso__name_len(h->branch_info->from.map->dso); in hists__calc_col_len()
117 if (h->branch_info->to.sym) { in hists__calc_col_len()
118 symlen = (int)h->branch_info->to.sym->namelen + 4; in hists__calc_col_len()
123 symlen = dso__name_len(h->branch_info->to.map->dso); in hists__calc_col_len()
287 if (he->branch_info) { in hist_entry__new()
293 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__new()
294 if (he->branch_info == NULL) { in hist_entry__new()
299 memcpy(he->branch_info, template->branch_info, in hist_entry__new()
300 sizeof(*he->branch_info)); in hist_entry__new()
302 if (he->branch_info->from.map) in hist_entry__new()
303 he->branch_info->from.map->referenced = true; in hist_entry__new()
304 if (he->branch_info->to.map) in hist_entry__new()
305 he->branch_info->to.map->referenced = true; in hist_entry__new()
430 .branch_info = NULL, in __hists__add_mem_entry()
438 struct branch_info *bi, in __hists__add_branch_entry()
458 .branch_info = bi, in __hists__add_branch_entry()
488 .branch_info = NULL, in __hists__add_entry()
531 free(he->branch_info); in hist_entry__free()