Lines Matching refs:hists
76 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
92 he = __hists__add_entry(hists, &al, NULL, in add_hist_entries()
118 he = __hists__add_entry(hists, &al, NULL, in add_hist_entries()
151 static int __validate_match(struct hists *hists) in __validate_match() argument
161 root = &hists->entries_collapsed; in __validate_match()
163 root = hists->entries_in; in __validate_match()
194 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
199 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
213 root = &hists->entries_collapsed; in __validate_link()
215 root = hists->entries_in; in __validate_link()
272 static int validate_link(struct hists *leader, struct hists *other) in validate_link()
280 struct hists *hists, *first_hists; in test__hists_link() local
316 hists = evsel__hists(evsel); in test__hists_link()
317 hists__collapse_resort(hists, NULL); in test__hists_link()
320 print_hists_in(hists); in test__hists_link()
327 hists = evsel__hists(evsel); in test__hists_link()
330 hists__match(first_hists, hists); in test__hists_link()
331 err = validate_match(first_hists, hists); in test__hists_link()
336 hists__link(first_hists, hists); in test__hists_link()
337 err = validate_link(first_hists, hists); in test__hists_link()