Lines Matching refs:hists

30 	struct hists *hists = he->hists;  in __hpp__fmt()  local
31 struct evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
37 u64 total = hists__total_period(hists); in __hpp__fmt()
55 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
60 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
166 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
171 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
188 struct evsel *evsel = hists_to_evsel(a->hists); in __hpp__group_sort_idx()
242 evsel = hists_to_evsel(a->hists); in __hpp__sort()
289 struct hists *hists) in hpp__width_fn() argument
292 struct evsel *evsel = hists_to_evsel(hists); in hpp__width_fn()
304 struct hists *hists, int line __maybe_unused, in hpp__header_fn() argument
307 int len = hpp__width_fn(fmt, hpp, hists); in hpp__header_fn()
710 unsigned int hists__sort_list_width(struct hists *hists) in hists__sort_list_width() argument
717 hists__for_each_format(hists, fmt) { in hists__sort_list_width()
718 if (perf_hpp__should_skip(fmt, hists)) in hists__sort_list_width()
726 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__sort_list_width()
729 if (verbose > 0 && hists__has(hists, sym)) /* Addr + origin */ in hists__sort_list_width()
735 unsigned int hists__overhead_width(struct hists *hists) in hists__overhead_width() argument
742 hists__for_each_format(hists, fmt) { in hists__overhead_width()
751 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__overhead_width()
757 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_width() argument
760 return perf_hpp__reset_sort_width(fmt, hists); in perf_hpp__reset_width()
790 void hists__reset_column_width(struct hists *hists) in hists__reset_column_width() argument
795 hists__for_each_format(hists, fmt) in hists__reset_column_width()
796 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
799 list_for_each_entry(node, &hists->hpp_formats, list) { in hists__reset_column_width()
801 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
823 static int add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) in add_hierarchy_fmt() argument
828 bool skip = perf_hpp__should_skip(fmt, hists); in add_hierarchy_fmt()
830 list_for_each_entry(node, &hists->hpp_formats, list) { in add_hierarchy_fmt()
846 hists->nr_hpp_node++; in add_hierarchy_fmt()
847 list_add_tail(&node->list, &hists->hpp_formats); in add_hierarchy_fmt()
868 struct hists *hists; in perf_hpp__setup_hists_formats() local
875 hists = evsel__hists(evsel); in perf_hpp__setup_hists_formats()
879 !perf_hpp__defined_dynamic_entry(fmt, hists)) in perf_hpp__setup_hists_formats()
882 ret = add_hierarchy_fmt(hists, fmt); in perf_hpp__setup_hists_formats()