Lines Matching refs:hists
79 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
90 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
109 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
142 static int __validate_match(struct hists *hists) in __validate_match() argument
151 if (hists__has(hists, need_collapse)) in __validate_match()
152 root = &hists->entries_collapsed; in __validate_match()
154 root = hists->entries_in; in __validate_match()
185 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
190 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
203 if (hists__has(hists, need_collapse)) in __validate_link()
204 root = &hists->entries_collapsed; in __validate_link()
206 root = hists->entries_in; in __validate_link()
263 static int validate_link(struct hists *leader, struct hists *other) in validate_link()
271 struct hists *hists, *first_hists; in test__hists_link() local
308 hists = evsel__hists(evsel); in test__hists_link()
309 hists__collapse_resort(hists, NULL); in test__hists_link()
312 print_hists_in(hists); in test__hists_link()
319 hists = evsel__hists(evsel); in test__hists_link()
322 hists__match(first_hists, hists); in test__hists_link()
323 err = validate_match(first_hists, hists); in test__hists_link()
328 hists__link(first_hists, hists); in test__hists_link()
329 err = validate_link(first_hists, hists); in test__hists_link()