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()
264 static u64 he_get_##_field(struct hist_entry *he) \
266 return he->stat._field; \
270 struct perf_hpp *hpp, struct hist_entry *he) \
272 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
278 struct perf_hpp *hpp, struct hist_entry *he) \
280 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
291 static u64 he_get_acc_##_field(struct hist_entry *he) \
293 return he->stat_acc->_field; \
297 struct perf_hpp *hpp, struct hist_entry *he) \
299 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
305 struct perf_hpp *hpp, struct hist_entry *he) \
307 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
318 static u64 he_get_raw_##_field(struct hist_entry *he) \
320 return he->stat._field; \
324 struct perf_hpp *hpp, struct hist_entry *he) \
326 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \