Lines Matching defs:leader
2490 * Look for pairs to link to the leader buckets (hist_entries):
2492 void hists__match(struct hists *leader, struct hists *other)
2500 return hists__match_hierarchy(&leader->entries_collapsed,
2504 if (hists__has(leader, need_collapse))
2505 root = &leader->entries_collapsed;
2507 root = leader->entries_in;
2524 struct hist_entry *pos, *leader;
2532 list_for_each_entry(leader, &pos->pairs.head, pairs.node) {
2533 if (leader->hists == leader_hists) {
2541 leader = add_dummy_hierarchy_entry(leader_hists,
2543 if (leader == NULL)
2547 leader->parent_he = parent;
2549 hist_entry__add_pair(pos, leader);
2553 if (hists__link_hierarchy(leader_hists, leader,
2554 &leader->hroot_in,
2563 * Look for entries in the other hists that are not present in the leader, if
2564 * we find them, just add a dummy entry on the leader hists, with period=0,
2567 int hists__link(struct hists *leader, struct hists *other)
2575 return hists__link_hierarchy(leader, NULL,
2576 &leader->entries_collapsed,
2589 pair = hists__add_dummy_entry(leader, pos);