Lines Matching refs:leader
2303 void hists__match(struct hists *leader, struct hists *other) in hists__match() argument
2311 return hists__match_hierarchy(&leader->entries_collapsed, in hists__match()
2315 if (hists__has(leader, need_collapse)) in hists__match()
2316 root = &leader->entries_collapsed; in hists__match()
2318 root = leader->entries_in; in hists__match()
2335 struct hist_entry *pos, *leader; in hists__link_hierarchy() local
2343 list_for_each_entry(leader, &pos->pairs.head, pairs.node) { in hists__link_hierarchy()
2344 if (leader->hists == leader_hists) { in hists__link_hierarchy()
2352 leader = add_dummy_hierarchy_entry(leader_hists, in hists__link_hierarchy()
2354 if (leader == NULL) in hists__link_hierarchy()
2358 leader->parent_he = parent; in hists__link_hierarchy()
2360 hist_entry__add_pair(pos, leader); in hists__link_hierarchy()
2364 if (hists__link_hierarchy(leader_hists, leader, in hists__link_hierarchy()
2365 &leader->hroot_in, in hists__link_hierarchy()
2378 int hists__link(struct hists *leader, struct hists *other) in hists__link() argument
2386 return hists__link_hierarchy(leader, NULL, in hists__link()
2387 &leader->entries_collapsed, in hists__link()
2400 pair = hists__add_dummy_entry(leader, pos); in hists__link()