Lines Matching refs:leader
2445 void hists__match(struct hists *leader, struct hists *other) in hists__match() argument
2453 return hists__match_hierarchy(&leader->entries_collapsed, in hists__match()
2457 if (hists__has(leader, need_collapse)) in hists__match()
2458 root = &leader->entries_collapsed; in hists__match()
2460 root = leader->entries_in; in hists__match()
2477 struct hist_entry *pos, *leader; in hists__link_hierarchy() local
2485 list_for_each_entry(leader, &pos->pairs.head, pairs.node) { in hists__link_hierarchy()
2486 if (leader->hists == leader_hists) { in hists__link_hierarchy()
2494 leader = add_dummy_hierarchy_entry(leader_hists, in hists__link_hierarchy()
2496 if (leader == NULL) in hists__link_hierarchy()
2500 leader->parent_he = parent; in hists__link_hierarchy()
2502 hist_entry__add_pair(pos, leader); in hists__link_hierarchy()
2506 if (hists__link_hierarchy(leader_hists, leader, in hists__link_hierarchy()
2507 &leader->hroot_in, in hists__link_hierarchy()
2520 int hists__link(struct hists *leader, struct hists *other) in hists__link() argument
2528 return hists__link_hierarchy(leader, NULL, in hists__link()
2529 &leader->entries_collapsed, in hists__link()
2542 pair = hists__add_dummy_entry(leader, pos); in hists__link()