Lines Matching refs:hists
78 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
89 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
108 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
141 static int __validate_match(struct hists *hists) in __validate_match() argument
150 if (hists__has(hists, need_collapse)) in __validate_match()
151 root = &hists->entries_collapsed; in __validate_match()
153 root = hists->entries_in; in __validate_match()
184 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
189 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
202 if (hists__has(hists, need_collapse)) in __validate_link()
203 root = &hists->entries_collapsed; in __validate_link()
205 root = hists->entries_in; in __validate_link()
262 static int validate_link(struct hists *leader, struct hists *other) in validate_link()
270 struct hists *hists, *first_hists; in test__hists_link() local
307 hists = evsel__hists(evsel); in test__hists_link()
308 hists__collapse_resort(hists, NULL); in test__hists_link()
311 print_hists_in(hists); in test__hists_link()
318 hists = evsel__hists(evsel); in test__hists_link()
321 hists__match(first_hists, hists); in test__hists_link()
322 err = validate_match(first_hists, hists); in test__hists_link()
327 hists__link(first_hists, hists); in test__hists_link()
328 err = validate_link(first_hists, hists); in test__hists_link()