Lines Matching full:he

385 static size_t hist_entry_callchain__fprintf(struct hist_entry *he,  in hist_entry_callchain__fprintf()  argument
389 u64 parent_samples = he->stat.period; in hist_entry_callchain__fprintf()
392 parent_samples = he->stat_acc->period; in hist_entry_callchain__fprintf()
396 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf()
400 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf()
404 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf()
407 return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf()
418 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument
427 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf()
431 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf()
445 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf()
447 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf()
449 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf()
456 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument
458 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
461 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf() argument
474 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf()
477 ret = scnprintf(hpp->buf, hpp->size, "%*s", he->depth * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
495 ret = fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
497 ret = fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
499 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in hist_entry__hierarchy_fprintf()
510 perf_hpp_list__for_each_format(he->hpp_list, fmt) { in hist_entry__hierarchy_fprintf()
519 fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
521 fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
531 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf()
534 printed += hist_entry_callchain__fprintf(he, total, 0, fp); in hist_entry__hierarchy_fprintf()
542 static int hist_entry__block_fprintf(struct hist_entry *he, in hist_entry__block_fprintf() argument
546 struct block_hist *bh = container_of(he, struct block_hist, he); in hist_entry__block_fprintf()
557 hist_entry__snprintf(he, &hpp); in hist_entry__block_fprintf()
566 static int hist_entry__individual_block_fprintf(struct hist_entry *he, in hist_entry__individual_block_fprintf() argument
578 hist_entry__snprintf(he, &hpp); in hist_entry__individual_block_fprintf()
585 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf() argument
595 struct hists *hists = he->hists; in hist_entry__fprintf()
602 return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp); in hist_entry__fprintf()
605 return hist_entry__block_fprintf(he, bf, size, fp); in hist_entry__fprintf()
608 return hist_entry__individual_block_fprintf(he, bf, size, fp); in hist_entry__fprintf()
610 hist_entry__snprintf(he, &hpp); in hist_entry__fprintf()
614 if (hist_entry__has_callchains(he) && !ignore_callchains) in hist_entry__fprintf()
615 callchain_ret = hist_entry_callchain__fprintf(he, total_period, in hist_entry__fprintf()