Lines Matching full:hists
225 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
247 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
277 static int __validate_match(struct hists *hists)
287 root = &hists->entries_collapsed;
289 root = hists->entries_in;
320 static int validate_match(struct hists *leader, struct hists *other)
325 static int __validate_link(struct hists *hists, int idx)
334 * Leader hists (idx = 0) will have dummy entries from other,
336 * in other hists should have (dummy) pair.
339 root = &hists->entries_collapsed;
341 root = hists->entries_in;
360 pr_debug("A entry from the other hists should have pair\n");
369 * Note that we have a entry collapsed in the other (idx = 1) hists.
389 pr_debug("Other hists should not have dummy entries: %zd\n",
398 static int validate_link(struct hists *leader, struct hists *other)
403 static void print_hists(struct hists *hists)
410 root = &hists->entries_collapsed;
412 root = hists->entries_in;
468 hists__collapse_resort(&evsel->hists);
471 print_hists(&evsel->hists);
478 hists__match(&first->hists, &evsel->hists);
479 err = validate_match(&first->hists, &evsel->hists);
484 hists__link(&first->hists, &evsel->hists);
485 err = validate_link(&first->hists, &evsel->hists);