Lines Matching refs:he
59 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
64 struct hists *hists = he->hists; in __hpp__fmt()
80 values[0].val = get_field(he); in __hpp__fmt()
81 values[0].samples = he->stat.nr_events; in __hpp__fmt()
89 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
124 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
131 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
140 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmtype); in hpp__fmt()
144 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
153 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmtype); in hpp__fmt_acc()
157 struct hist_entry *he, enum mem_stat_type mst, in hpp__fmt_mem_stat() argument
160 struct hists *hists = he->hists; in hpp__fmt_mem_stat()
180 u64 val = he->mem_stat[mem_stat_idx].entries[i]; in hpp__fmt_mem_stat()
504 static u64 he_get_##_field(struct hist_entry *he) \
506 return he->stat._field; \
510 struct perf_hpp *hpp, struct hist_entry *he) \
512 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
518 struct perf_hpp *hpp, struct hist_entry *he) \
520 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
532 static u64 he_get_acc_##_field(struct hist_entry *he) \
534 return he->stat_acc->_field; \
538 struct perf_hpp *hpp, struct hist_entry *he) \
540 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
546 struct perf_hpp *hpp, struct hist_entry *he) \
548 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
560 static u64 he_get_raw_##_field(struct hist_entry *he) \
562 return he->stat._field; \
566 struct perf_hpp *hpp, struct hist_entry *he) \
568 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \
580 static u64 he_get_##_field(struct hist_entry *he) \
582 return he->stat._field; \
586 struct perf_hpp *hpp, struct hist_entry *he) \
588 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.1f", \
602 struct hist_entry *he) \
604 return hpp__fmt_mem_stat(fmt, hpp, he, PERF_MEM_STAT_##_type, \
611 struct hist_entry *he) \
613 return hpp__fmt_mem_stat(fmt, hpp, he, PERF_MEM_STAT_##_type, \