Lines Matching refs:hists

427 		if (perf_hpp__should_skip(fmt, he->hists))  in __hist_entry__snprintf()
454 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
459 struct hists *hists, in hist_entry__hierarchy_fprintf() argument
477 fmt_node = list_first_entry(&hists->hpp_formats, in hist_entry__hierarchy_fprintf()
501 (hists->nr_hpp_node - 2) * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
528 u64 total = hists__total_period(hists); in hist_entry__hierarchy_fprintf()
591 struct hists *hists = he->hists; in hist_entry__fprintf() local
592 u64 total_period = hists->stats.total_period; in hist_entry__fprintf()
598 return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp); in hist_entry__fprintf()
632 static int hists__fprintf_hierarchy_headers(struct hists *hists, in hists__fprintf_hierarchy_headers() argument
644 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers()
650 fmt_node = list_first_entry(&hists->hpp_formats, in hists__fprintf_hierarchy_headers()
654 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers()
660 list_for_each_entry_continue(fmt_node, &hists->hpp_formats, list) { in hists__fprintf_hierarchy_headers()
667 if (perf_hpp__should_skip(fmt, hists)) in hists__fprintf_hierarchy_headers()
674 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers()
686 fmt_node = list_first_entry(&hists->hpp_formats, in hists__fprintf_hierarchy_headers()
695 width = fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers()
700 list_for_each_entry_continue(fmt_node, &hists->hpp_formats, list) { in hists__fprintf_hierarchy_headers()
705 if (perf_hpp__should_skip(fmt, hists)) in hists__fprintf_hierarchy_headers()
712 width += fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers()
728 static void fprintf_line(struct hists *hists, struct perf_hpp *hpp, in fprintf_line() argument
736 hists__for_each_format(hists, fmt) { in fprintf_line()
737 if (perf_hpp__should_skip(fmt, hists)) in fprintf_line()
745 fmt->header(fmt, hpp, hists, line, &span); in fprintf_line()
753 hists__fprintf_standard_headers(struct hists *hists, in hists__fprintf_standard_headers() argument
757 struct perf_hpp_list *hpp_list = hists->hpp_list; in hists__fprintf_standard_headers()
768 fprintf_line(hists, hpp, line, fp); in hists__fprintf_standard_headers()
779 hists__for_each_format(hists, fmt) { in hists__fprintf_standard_headers()
782 if (perf_hpp__should_skip(fmt, hists)) in hists__fprintf_standard_headers()
790 width = fmt->width(fmt, hpp, hists); in hists__fprintf_standard_headers()
800 int hists__fprintf_headers(struct hists *hists, FILE *fp) in hists__fprintf_headers() argument
811 return hists__fprintf_hierarchy_headers(hists, &dummy_hpp, fp); in hists__fprintf_headers()
813 return hists__fprintf_standard_headers(hists, &dummy_hpp, fp); in hists__fprintf_headers()
817 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows, in hists__fprintf() argument
831 hists__reset_column_width(hists); in hists__fprintf()
837 nr_rows += hists__fprintf_headers(hists, fp); in hists__fprintf()
842 linesz = hists__sort_list_width(hists) + 3 + 1; in hists__fprintf()
850 indent = hists__overhead_width(hists) + 4; in hists__fprintf()
852 for (nd = rb_first_cached(&hists->entries); nd; in hists__fprintf()
878 int depth = hists->nr_hpp_node + h->depth + 1; in hists__fprintf()