• Home
  • Raw
  • Download

Lines Matching refs:hists

26 	struct hists *hists = he->hists;  in __hpp__fmt()  local
27 struct perf_evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
33 u64 total = hists__total_period(hists); in __hpp__fmt()
51 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
56 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
163 evsel = hists_to_evsel(a->hists); in __hpp__sort()
175 evsel = hists_to_evsel(pair->hists); in __hpp__sort()
180 evsel = hists_to_evsel(pair->hists); in __hpp__sort()
222 struct hists *hists) in hpp__width_fn() argument
225 struct perf_evsel *evsel = hists_to_evsel(hists); in hpp__width_fn()
237 struct hists *hists, int line __maybe_unused, in hpp__header_fn() argument
240 int len = hpp__width_fn(fmt, hpp, hists); in hpp__header_fn()
643 unsigned int hists__sort_list_width(struct hists *hists) in hists__sort_list_width() argument
650 hists__for_each_format(hists, fmt) { in hists__sort_list_width()
651 if (perf_hpp__should_skip(fmt, hists)) in hists__sort_list_width()
659 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__sort_list_width()
662 if (verbose > 0 && hists__has(hists, sym)) /* Addr + origin */ in hists__sort_list_width()
668 unsigned int hists__overhead_width(struct hists *hists) in hists__overhead_width() argument
675 hists__for_each_format(hists, fmt) { in hists__overhead_width()
684 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__overhead_width()
690 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_width() argument
693 return perf_hpp__reset_sort_width(fmt, hists); in perf_hpp__reset_width()
723 void hists__reset_column_width(struct hists *hists) in hists__reset_column_width() argument
728 hists__for_each_format(hists, fmt) in hists__reset_column_width()
729 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
732 list_for_each_entry(node, &hists->hpp_formats, list) { in hists__reset_column_width()
734 perf_hpp__reset_width(fmt, hists); in hists__reset_column_width()
756 static int add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) in add_hierarchy_fmt() argument
761 bool skip = perf_hpp__should_skip(fmt, hists); in add_hierarchy_fmt()
763 list_for_each_entry(node, &hists->hpp_formats, list) { in add_hierarchy_fmt()
779 hists->nr_hpp_node++; in add_hierarchy_fmt()
780 list_add_tail(&node->list, &hists->hpp_formats); in add_hierarchy_fmt()
801 struct hists *hists; in perf_hpp__setup_hists_formats() local
808 hists = evsel__hists(evsel); in perf_hpp__setup_hists_formats()
812 !perf_hpp__defined_dynamic_entry(fmt, hists)) in perf_hpp__setup_hists_formats()
815 ret = add_hierarchy_fmt(hists, fmt); in perf_hpp__setup_hists_formats()