Lines Matching refs:hists
114 he = __hists__add_mem_entry(&evsel->hists, al, parent, mi, cost, cost); in perf_report__add_mem_hist_entry()
153 evsel->hists.stats.total_period += cost; in perf_report__add_mem_hist_entry()
154 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); in perf_report__add_mem_hist_entry()
202 he = __hists__add_branch_entry(&evsel->hists, al, parent, in perf_report__add_branch_hist_entry()
234 evsel->hists.stats.total_period += 1; in perf_report__add_branch_hist_entry()
235 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); in perf_report__add_branch_hist_entry()
261 he = __hists__add_entry(&evsel->hists, al, parent, sample->period, in perf_evsel__add_hist_entry()
290 evsel->hists.stats.total_period += sample->period; in perf_evsel__add_hist_entry()
291 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); in perf_evsel__add_hist_entry()
410 struct hists *self, in hists__fprintf_nr_sample_events()
428 nr_samples += pos->hists.stats.nr_events[PERF_RECORD_SAMPLE]; in hists__fprintf_nr_sample_events()
429 nr_events += pos->hists.stats.total_period; in hists__fprintf_nr_sample_events()
453 struct hists *hists = &pos->hists; in perf_evlist__tty_browse_hists() local
460 hists__fprintf_nr_sample_events(rep, hists, evname, stdout); in perf_evlist__tty_browse_hists()
461 hists__fprintf(hists, true, 0, 0, rep->min_percent, stdout); in perf_evlist__tty_browse_hists()
551 struct hists *hists = &pos->hists; in __cmd_report() local
554 hists->symbol_filter_str = rep->symbol_filter_str; in __cmd_report()
556 hists__collapse_resort(hists); in __cmd_report()
557 nr_samples += hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __cmd_report()
562 struct hists *leader_hists = &pos->leader->hists; in __cmd_report()
564 hists__match(leader_hists, hists); in __cmd_report()
565 hists__link(leader_hists, hists); in __cmd_report()
578 hists__output_resort(&pos->hists); in __cmd_report()