Lines Matching refs:hists
460 static size_t hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, in hists__fprintf_nr_sample_events() argument
465 unsigned long nr_samples = hists->stats.nr_samples; in hists__fprintf_nr_sample_events()
466 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events()
467 struct evsel *evsel = hists_to_evsel(hists); in hists__fprintf_nr_sample_events()
470 int socked_id = hists->socket_filter; in hists__fprintf_nr_sample_events()
476 nr_samples = hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events()
477 nr_events = hists->stats.total_non_filtered_period; in hists__fprintf_nr_sample_events()
487 const struct hists *pos_hists = evsel__hists(pos); in hists__fprintf_nr_sample_events()
553 struct hists *hists = evsel__hists(pos); in evlist__tty_browse_hists() local
559 if (rep->skip_empty && !hists->stats.nr_samples) in evlist__tty_browse_hists()
562 hists__fprintf_nr_sample_events(hists, rep, evname, stdout); in evlist__tty_browse_hists()
571 hists__fprintf(hists, !quiet, 0, 0, rep->min_percent, stdout, in evlist__tty_browse_hists()
690 struct hists *hists = evsel__hists(pos); in report__collapse_hists() local
693 hists->symbol_filter_str = rep->symbol_filter_str; in report__collapse_hists()
695 hists->socket_filter = rep->socket_filter; in report__collapse_hists()
697 ret = hists__collapse_resort(hists, &prog); in report__collapse_hists()
703 struct hists *leader_hists = evsel__hists(evsel__leader(pos)); in report__collapse_hists()
705 hists__match(leader_hists, hists); in report__collapse_hists()
706 hists__link(leader_hists, hists); in report__collapse_hists()
720 struct evsel *evsel = hists_to_evsel(he->hists); in hists__resort_cb()
749 struct hists *hists = evsel__hists(evsel); in count_sample_event() local
751 hists__inc_nr_events(hists); in count_sample_event()