Lines Matching refs:leader
2492 void hists__match(struct hists *leader, struct hists *other) in hists__match() argument
2500 return hists__match_hierarchy(&leader->entries_collapsed, in hists__match()
2504 if (hists__has(leader, need_collapse)) in hists__match()
2505 root = &leader->entries_collapsed; in hists__match()
2507 root = leader->entries_in; in hists__match()
2524 struct hist_entry *pos, *leader; in hists__link_hierarchy() local
2532 list_for_each_entry(leader, &pos->pairs.head, pairs.node) { in hists__link_hierarchy()
2533 if (leader->hists == leader_hists) { in hists__link_hierarchy()
2541 leader = add_dummy_hierarchy_entry(leader_hists, in hists__link_hierarchy()
2543 if (leader == NULL) in hists__link_hierarchy()
2547 leader->parent_he = parent; in hists__link_hierarchy()
2549 hist_entry__add_pair(pos, leader); in hists__link_hierarchy()
2553 if (hists__link_hierarchy(leader_hists, leader, in hists__link_hierarchy()
2554 &leader->hroot_in, in hists__link_hierarchy()
2567 int hists__link(struct hists *leader, struct hists *other) in hists__link() argument
2575 return hists__link_hierarchy(leader, NULL, in hists__link()
2576 &leader->entries_collapsed, in hists__link()
2589 pair = hists__add_dummy_entry(leader, pos); in hists__link()