Lines Matching refs:he
18 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
23 struct hists *hists = he->hists; in __hpp__fmt()
33 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
37 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
46 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
108 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
114 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
123 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmt_percent); in hpp__fmt()
127 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
135 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmt_percent); in hpp__fmt_acc()
267 static u64 he_get_##_field(struct hist_entry *he) \
269 return he->stat._field; \
273 struct perf_hpp *hpp, struct hist_entry *he) \
275 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
281 struct perf_hpp *hpp, struct hist_entry *he) \
283 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
295 static u64 he_get_acc_##_field(struct hist_entry *he) \
297 return he->stat_acc->_field; \
301 struct perf_hpp *hpp, struct hist_entry *he) \
303 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
309 struct perf_hpp *hpp, struct hist_entry *he) \
311 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
323 static u64 he_get_raw_##_field(struct hist_entry *he) \
325 return he->stat._field; \
329 struct perf_hpp *hpp, struct hist_entry *he) \
331 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \