Lines Matching refs:hists

76 static int add_hist_entries(struct hists *hists, struct machine *machine)  in add_hist_entries()  argument
79 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries()
127 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
135 root_in = &hists->entries_collapsed; in del_hist_entries()
137 root_in = hists->entries_in; in del_hist_entries()
139 root_out = &hists->entries; in del_hist_entries()
178 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() argument
193 hists__collapse_resort(hists, NULL); in do_test()
194 hists__output_resort(hists, NULL); in do_test()
200 print_hists_out(hists); in do_test()
203 root = &hists->entries; in do_test()
252 struct hists *hists = evsel__hists(evsel); in test1() local
287 err = add_hist_entries(hists, machine); in test1()
291 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1()
294 del_hist_entries(hists); in test1()
303 struct hists *hists = evsel__hists(evsel); in test2() local
434 err = add_hist_entries(hists, machine); in test2()
438 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2()
442 del_hist_entries(hists); in test2()
451 struct hists *hists = evsel__hists(evsel); in test3() local
492 err = add_hist_entries(hists, machine); in test3()
496 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3()
499 del_hist_entries(hists); in test3()
508 struct hists *hists = evsel__hists(evsel); in test4() local
676 err = add_hist_entries(hists, machine); in test4()
680 err = do_test(hists, expected, ARRAY_SIZE(expected), in test4()
684 del_hist_entries(hists); in test4()