Lines Matching refs:hists
50 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries()
92 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
99 if (hists__has(hists, need_collapse)) in del_hist_entries()
100 root_in = &hists->entries_collapsed; in del_hist_entries()
102 root_in = hists->entries_in; in del_hist_entries()
104 root_out = &hists->entries; in del_hist_entries()
128 struct hists *hists = evsel__hists(evsel); in test1() local
153 err = add_hist_entries(hists, machine); in test1()
157 hists__collapse_resort(hists, NULL); in test1()
162 print_hists_out(hists); in test1()
165 root = &hists->entries; in test1()
221 del_hist_entries(hists); in test1()
230 struct hists *hists = evsel__hists(evsel); in test2() local
253 err = add_hist_entries(hists, machine); in test2()
257 hists__collapse_resort(hists, NULL); in test2()
262 print_hists_out(hists); in test2()
265 root = &hists->entries; in test2()
277 del_hist_entries(hists); in test2()
286 struct hists *hists = evsel__hists(evsel); in test3() local
307 err = add_hist_entries(hists, machine); in test3()
311 hists__collapse_resort(hists, NULL); in test3()
316 print_hists_out(hists); in test3()
319 root = &hists->entries; in test3()
351 del_hist_entries(hists); in test3()
360 struct hists *hists = evsel__hists(evsel); in test4() local
385 err = add_hist_entries(hists, machine); in test4()
389 hists__collapse_resort(hists, NULL); in test4()
394 print_hists_out(hists); in test4()
397 root = &hists->entries; in test4()
453 del_hist_entries(hists); in test4()
462 struct hists *hists = evsel__hists(evsel); in test5() local
488 err = add_hist_entries(hists, machine); in test5()
492 hists__collapse_resort(hists, NULL); in test5()
497 print_hists_out(hists); in test5()
500 root = &hists->entries; in test5()
573 del_hist_entries(hists); in test5()