Lines Matching defs:leader
2542 * Look for pairs to link to the leader buckets (hist_entries):
2544 void hists__match(struct hists *leader, struct hists *other)
2552 return hists__match_hierarchy(&leader->entries_collapsed,
2556 if (hists__has(leader, need_collapse))
2557 root = &leader->entries_collapsed;
2559 root = leader->entries_in;
2576 struct hist_entry *pos, *leader;
2584 list_for_each_entry(leader, &pos->pairs.head, pairs.node) {
2585 if (leader->hists == leader_hists) {
2593 leader = add_dummy_hierarchy_entry(leader_hists,
2595 if (leader == NULL)
2599 leader->parent_he = parent;
2601 hist_entry__add_pair(pos, leader);
2605 if (hists__link_hierarchy(leader_hists, leader,
2606 &leader->hroot_in,
2615 * Look for entries in the other hists that are not present in the leader, if
2616 * we find them, just add a dummy entry on the leader hists, with period=0,
2619 int hists__link(struct hists *leader, struct hists *other)
2627 return hists__link_hierarchy(leader, NULL,
2628 &leader->entries_collapsed,
2641 pair = hists__add_dummy_entry(leader, pos);