Lines Matching refs:he
26 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
31 struct hists *hists = he->hists; in __hpp__fmt()
41 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
45 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
54 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
116 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
122 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
131 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmt_percent); in hpp__fmt()
135 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
143 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmt_percent); in hpp__fmt_acc()
344 static u64 he_get_##_field(struct hist_entry *he) \
346 return he->stat._field; \
350 struct perf_hpp *hpp, struct hist_entry *he) \
352 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
358 struct perf_hpp *hpp, struct hist_entry *he) \
360 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
372 static u64 he_get_acc_##_field(struct hist_entry *he) \
374 return he->stat_acc->_field; \
378 struct perf_hpp *hpp, struct hist_entry *he) \
380 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
386 struct perf_hpp *hpp, struct hist_entry *he) \
388 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
400 static u64 he_get_raw_##_field(struct hist_entry *he) \
402 return he->stat._field; \
406 struct perf_hpp *hpp, struct hist_entry *he) \
408 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \