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()
89 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
97 root_in = &hists->entries_collapsed; in del_hist_entries()
99 root_in = hists->entries_in; in del_hist_entries()
101 root_out = &hists->entries; in del_hist_entries()
125 struct hists *hists = evsel__hists(evsel); in test1() local
150 err = add_hist_entries(hists, machine); in test1()
154 hists__collapse_resort(hists, NULL); in test1()
155 hists__output_resort(hists, NULL); in test1()
159 print_hists_out(hists); in test1()
162 root = &hists->entries; in test1()
218 del_hist_entries(hists); in test1()
227 struct hists *hists = evsel__hists(evsel); in test2() local
250 err = add_hist_entries(hists, machine); in test2()
254 hists__collapse_resort(hists, NULL); in test2()
255 hists__output_resort(hists, NULL); in test2()
259 print_hists_out(hists); in test2()
262 root = &hists->entries; in test2()
274 del_hist_entries(hists); in test2()
283 struct hists *hists = evsel__hists(evsel); in test3() local
304 err = add_hist_entries(hists, machine); in test3()
308 hists__collapse_resort(hists, NULL); in test3()
309 hists__output_resort(hists, NULL); in test3()
313 print_hists_out(hists); in test3()
316 root = &hists->entries; in test3()
348 del_hist_entries(hists); in test3()
357 struct hists *hists = evsel__hists(evsel); in test4() local
382 err = add_hist_entries(hists, machine); in test4()
386 hists__collapse_resort(hists, NULL); in test4()
387 hists__output_resort(hists, NULL); in test4()
391 print_hists_out(hists); in test4()
394 root = &hists->entries; in test4()
450 del_hist_entries(hists); in test4()
459 struct hists *hists = evsel__hists(evsel); in test5() local
485 err = add_hist_entries(hists, machine); in test5()
489 hists__collapse_resort(hists, NULL); in test5()
490 hists__output_resort(hists, NULL); in test5()
494 print_hists_out(hists); in test5()
497 root = &hists->entries; in test5()
570 del_hist_entries(hists); in test5()