• Home
  • Raw
  • Download

Lines Matching full:hpp

406 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp,  in __hist_entry__snprintf()  argument
411 char *start = hpp->buf; in __hist_entry__snprintf()
427 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
428 advance_hpp(hpp, ret); in __hist_entry__snprintf()
433 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf()
435 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf()
437 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf()
438 advance_hpp(hpp, ret); in __hist_entry__snprintf()
441 return hpp->buf - start; in __hist_entry__snprintf()
444 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument
446 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
450 struct perf_hpp *hpp, in hist_entry__hierarchy_fprintf() argument
457 char *buf = hpp->buf; in hist_entry__hierarchy_fprintf()
458 size_t size = hpp->size; in hist_entry__hierarchy_fprintf()
465 ret = scnprintf(hpp->buf, hpp->size, "%*s", he->depth * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
466 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
471 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_entry__hierarchy_fprintf()
477 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
478 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
483 ret = fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
485 ret = fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
487 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in hist_entry__hierarchy_fprintf()
488 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
492 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hist_entry__hierarchy_fprintf()
494 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
499 hpp->buf = buf; in hist_entry__hierarchy_fprintf()
500 hpp->size = size; in hist_entry__hierarchy_fprintf()
507 fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
509 fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
536 struct perf_hpp hpp = { in hist_entry__fprintf() local
544 size = hpp.size = bfsz; in hist_entry__fprintf()
547 return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp); in hist_entry__fprintf()
549 hist_entry__snprintf(he, &hpp); in hist_entry__fprintf()
572 struct perf_hpp *hpp, FILE *fp) in hists__fprintf_hierarchy_headers() argument
592 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists__fprintf_hierarchy_headers()
593 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers()
594 fprintf(fp, "%s%s", hpp->buf, sep ?: " "); in hists__fprintf_hierarchy_headers()
605 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists__fprintf_hierarchy_headers()
613 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers()
615 header_width += fprintf(fp, "%s", trim(hpp->buf)); in hists__fprintf_hierarchy_headers()
629 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists__fprintf_hierarchy_headers()
634 width = fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers()
643 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists__fprintf_hierarchy_headers()
651 width += fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers()
667 static void fprintf_line(struct hists *hists, struct perf_hpp *hpp, in fprintf_line() argument
684 fmt->header(fmt, hpp, hists, line, &span); in fprintf_line()
687 fprintf(fp, "%s", hpp->buf); in fprintf_line()
693 struct perf_hpp *hpp, in hists__fprintf_standard_headers() argument
707 fprintf_line(hists, hpp, line, fp); in hists__fprintf_standard_headers()
729 width = fmt->width(fmt, hpp, hists); in hists__fprintf_standard_headers()