Lines Matching defs:he

381 static size_t hist_entry_callchain__fprintf(struct hist_entry *he,
385 u64 parent_samples = he->stat.period;
388 parent_samples = he->stat_acc->period;
392 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples,
396 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples,
400 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples);
403 return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples);
414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp,
423 if (symbol_conf.exclude_other && !he->parent)
427 if (perf_hpp__should_skip(fmt, he->hists))
441 ret = fmt->color(fmt, hpp, he);
443 ret = fmt->entry(fmt, hpp, he);
445 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret);
452 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp)
454 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list);
457 static int hist_entry__hierarchy_fprintf(struct hist_entry *he,
470 if (symbol_conf.exclude_other && !he->parent)
473 ret = scnprintf(hpp->buf, hpp->size, "%*s", he->depth * HIERARCHY_INDENT, "");
491 ret = fmt->color(fmt, hpp, he);
493 ret = fmt->entry(fmt, hpp, he);
495 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret);
506 perf_hpp_list__for_each_format(he->hpp_list, fmt) {
515 fmt->color(fmt, hpp, he);
517 fmt->entry(fmt, hpp, he);
527 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) {
530 printed += hist_entry_callchain__fprintf(he, total, 0, fp);
538 static int hist_entry__block_fprintf(struct hist_entry *he,
542 struct block_hist *bh = container_of(he, struct block_hist, he);
553 hist_entry__snprintf(he, &hpp);
562 static int hist_entry__individual_block_fprintf(struct hist_entry *he,
574 hist_entry__snprintf(he, &hpp);
581 static int hist_entry__fprintf(struct hist_entry *he, size_t size,
591 struct hists *hists = he->hists;
598 return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp);
601 return hist_entry__block_fprintf(he, bf, size, fp);
604 return hist_entry__individual_block_fprintf(he, bf, size, fp);
606 hist_entry__snprintf(he, &hpp);
610 if (hist_entry__has_callchains(he) && !ignore_callchains)
611 callchain_ret = hist_entry_callchain__fprintf(he, total_period,