Lines Matching refs:hists
75 he = __hists__add_entry(&evsel->hists, al, parent, sample->period); in perf_session__add_hist_entry()
103 evsel->hists.stats.total_period += sample->period; in perf_session__add_hist_entry()
104 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); in perf_session__add_hist_entry()
211 static size_t hists__fprintf_nr_sample_events(struct hists *self, in hists__fprintf_nr_sample_events()
231 struct hists *hists = &pos->hists; in perf_evlist__tty_browse_hists() local
234 if (rb_first(&hists->entries) != rb_last(&hists->entries)) in perf_evlist__tty_browse_hists()
237 hists__fprintf_nr_sample_events(hists, evname, stdout); in perf_evlist__tty_browse_hists()
238 hists__fprintf(hists, NULL, false, stdout); in perf_evlist__tty_browse_hists()
315 struct hists *hists = &pos->hists; in __cmd_report() local
317 hists__collapse_resort(hists); in __cmd_report()
318 hists__output_resort(hists); in __cmd_report()
319 nr_samples += hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __cmd_report()