Lines Matching full:he
58 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
63 struct hists *hists = he->hists; in __hpp__fmt()
79 values[0].val = get_field(he); in __hpp__fmt()
80 values[0].samples = he->stat.nr_events; in __hpp__fmt()
88 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
123 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
130 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
139 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmtype); in hpp__fmt()
143 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
152 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmtype); in hpp__fmt_acc()
156 struct hist_entry *he, enum mem_stat_type mst, in hpp__fmt_mem_stat() argument
159 struct hists *hists = he->hists; in hpp__fmt_mem_stat()
179 u64 val = he->mem_stat[mem_stat_idx].entries[i]; in hpp__fmt_mem_stat()
503 static u64 he_get_##_field(struct hist_entry *he) \
505 return he->stat._field; \
509 struct perf_hpp *hpp, struct hist_entry *he) \
511 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
517 struct perf_hpp *hpp, struct hist_entry *he) \
519 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
531 static u64 he_get_acc_##_field(struct hist_entry *he) \
533 return he->stat_acc->_field; \
537 struct perf_hpp *hpp, struct hist_entry *he) \
539 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
545 struct perf_hpp *hpp, struct hist_entry *he) \
547 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
559 static u64 he_get_raw_##_field(struct hist_entry *he) \
561 return he->stat._field; \
565 struct perf_hpp *hpp, struct hist_entry *he) \
567 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \
579 static u64 he_get_##_field(struct hist_entry *he) \
581 return he->stat._field; \
585 struct perf_hpp *hpp, struct hist_entry *he) \
587 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.1f", \
601 struct hist_entry *he) \
603 return hpp__fmt_mem_stat(fmt, hpp, he, PERF_MEM_STAT_##_type, \
610 struct hist_entry *he) \
612 return hpp__fmt_mem_stat(fmt, hpp, he, PERF_MEM_STAT_##_type, \