Lines Matching refs:hists

46 static int add_hist_entries(struct hists *hists, struct machine *machine)  in add_hist_entries()  argument
49 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries()
93 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
101 root_in = &hists->entries_collapsed; in del_hist_entries()
103 root_in = hists->entries_in; in del_hist_entries()
105 root_out = &hists->entries; in del_hist_entries()
129 struct hists *hists = evsel__hists(evsel); in test1() local
154 err = add_hist_entries(hists, machine); in test1()
158 hists__collapse_resort(hists, NULL); in test1()
159 hists__output_resort(hists, NULL); in test1()
163 print_hists_out(hists); in test1()
166 root = &hists->entries; in test1()
222 del_hist_entries(hists); in test1()
231 struct hists *hists = evsel__hists(evsel); in test2() local
254 err = add_hist_entries(hists, machine); in test2()
258 hists__collapse_resort(hists, NULL); in test2()
259 hists__output_resort(hists, NULL); in test2()
263 print_hists_out(hists); in test2()
266 root = &hists->entries; in test2()
278 del_hist_entries(hists); in test2()
287 struct hists *hists = evsel__hists(evsel); in test3() local
308 err = add_hist_entries(hists, machine); in test3()
312 hists__collapse_resort(hists, NULL); in test3()
313 hists__output_resort(hists, NULL); in test3()
317 print_hists_out(hists); in test3()
320 root = &hists->entries; in test3()
352 del_hist_entries(hists); in test3()
361 struct hists *hists = evsel__hists(evsel); in test4() local
386 err = add_hist_entries(hists, machine); in test4()
390 hists__collapse_resort(hists, NULL); in test4()
391 hists__output_resort(hists, NULL); in test4()
395 print_hists_out(hists); in test4()
398 root = &hists->entries; in test4()
454 del_hist_entries(hists); in test4()
463 struct hists *hists = evsel__hists(evsel); in test5() local
489 err = add_hist_entries(hists, machine); in test5()
493 hists__collapse_resort(hists, NULL); in test5()
494 hists__output_resort(hists, NULL); in test5()
498 print_hists_out(hists); in test5()
501 root = &hists->entries; in test5()
574 del_hist_entries(hists); in test5()