Lines Matching refs:hists
81 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
92 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
112 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
160 static int __validate_match(struct hists *hists) in __validate_match() argument
169 if (hists__has(hists, need_collapse)) in __validate_match()
170 root = &hists->entries_collapsed; in __validate_match()
172 root = hists->entries_in; in __validate_match()
203 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
208 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
221 if (hists__has(hists, need_collapse)) in __validate_link()
222 root = &hists->entries_collapsed; in __validate_link()
224 root = hists->entries_in; in __validate_link()
281 static int validate_link(struct hists *leader, struct hists *other) in validate_link()
289 struct hists *hists, *first_hists; in test__hists_link() local
326 hists = evsel__hists(evsel); in test__hists_link()
327 hists__collapse_resort(hists, NULL); in test__hists_link()
330 print_hists_in(hists); in test__hists_link()
337 hists = evsel__hists(evsel); in test__hists_link()
340 hists__match(first_hists, hists); in test__hists_link()
341 err = validate_match(first_hists, hists); in test__hists_link()
346 hists__link(first_hists, hists); in test__hists_link()
347 err = validate_link(first_hists, hists); in test__hists_link()