Lines Matching refs:hists

31 	struct hists *hists = he->hists;  in __hpp__fmt()  local
32 struct evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
38 u64 total = hists__total_period(hists); in __hpp__fmt()
56 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
61 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
167 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
172 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
189 struct evsel *evsel = hists_to_evsel(a->hists); in __hpp__group_sort_idx()
243 evsel = hists_to_evsel(a->hists); in __hpp__sort()
292 struct hists *hists) in hpp__width_fn() argument
295 struct evsel *evsel = hists_to_evsel(hists); in hpp__width_fn()
307 struct hists *hists, int line __maybe_unused, in hpp__header_fn() argument
310 int len = hpp__width_fn(fmt, hpp, hists); in hpp__header_fn()
713 unsigned int hists__sort_list_width(struct hists *hists) in hists__sort_list_width() argument
720 hists__for_each_format(hists, fmt) { in hists__sort_list_width()
721 if (perf_hpp__should_skip(fmt, hists)) in hists__sort_list_width()
729 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__sort_list_width()
732 if (verbose > 0 && hists__has(hists, sym)) /* Addr + origin */ in hists__sort_list_width()
738 unsigned int hists__overhead_width(struct hists *hists) in hists__overhead_width() argument
745 hists__for_each_format(hists, fmt) { in hists__overhead_width()
754 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__overhead_width()
760 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_width() argument
763 return perf_hpp__reset_sort_width(fmt, hists); in perf_hpp__reset_width()
793 void hists__reset_column_width(struct hists *hists) in hists__reset_column_width() argument
798 hists__for_each_format(hists, fmt) in hists__reset_column_width()
799 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
802 list_for_each_entry(node, &hists->hpp_formats, list) { in hists__reset_column_width()
804 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
826 static int add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) in add_hierarchy_fmt() argument
831 bool skip = perf_hpp__should_skip(fmt, hists); in add_hierarchy_fmt()
833 list_for_each_entry(node, &hists->hpp_formats, list) { in add_hierarchy_fmt()
849 hists->nr_hpp_node++; in add_hierarchy_fmt()
850 list_add_tail(&node->list, &hists->hpp_formats); in add_hierarchy_fmt()
871 struct hists *hists; in perf_hpp__setup_hists_formats() local
878 hists = evsel__hists(evsel); in perf_hpp__setup_hists_formats()
882 !perf_hpp__defined_dynamic_entry(fmt, hists)) in perf_hpp__setup_hists_formats()
885 ret = add_hierarchy_fmt(hists, fmt); in perf_hpp__setup_hists_formats()