Lines Matching defs:hpp

406 	int   (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
408 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
433 struct perf_hpp *hpp __maybe_unused,
449 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
456 int width = c2c_width(fmt, hpp, hists);
480 return scnprintf(hpp->buf, hpp->size, "%*s", width, text);
496 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
500 int width = c2c_width(fmt, hpp, he->hists);
506 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr));
510 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
514 int width = c2c_width(fmt, hpp, he->hists);
520 return scnprintf(hpp->buf, hpp->size, "%*s", width, c2c_he->nodestr);
524 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
528 int width = c2c_width(fmt, hpp, he->hists);
531 return scnprintf(hpp->buf, hpp->size, "%*lu", width, c2c_he->paddr_cnt);
534 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
538 int width = c2c_width(fmt, hpp, he->hists);
544 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr));
562 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
566 int width = c2c_width(fmt, hpp, he->hists);
572 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr));
583 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
587 int width = c2c_width(fmt, hpp, he->hists);
593 return scnprintf(hpp->buf, hpp->size, "%*u", width, tot_hitm);
616 __f ## _entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, \
620 int width = c2c_width(fmt, hpp, he->hists); \
623 return scnprintf(hpp->buf, hpp->size, "%*u", width, \
679 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
683 int width = c2c_width(fmt, hpp, he->hists);
689 return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs);
730 tot_loads_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
734 int width = c2c_width(fmt, hpp, he->hists);
740 return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs);
764 percent_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
768 int width = c2c_width(fmt, hpp, he->hists);
776 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per);
778 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per);
821 percent_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
825 int width = c2c_width(fmt, hpp, he->hists);
831 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per));
835 percent_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
838 return percent_color(fmt, hpp, he, percent_hitm);
897 percent_rmt_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
900 int width = c2c_width(fmt, hpp, he->hists);
904 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per));
908 percent_rmt_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
911 return percent_color(fmt, hpp, he, percent_rmt_hitm);
928 percent_lcl_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
931 int width = c2c_width(fmt, hpp, he->hists);
935 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per));
939 percent_lcl_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
942 return percent_color(fmt, hpp, he, percent_lcl_hitm);
959 percent_stores_l1hit_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
962 int width = c2c_width(fmt, hpp, he->hists);
966 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per));
970 percent_stores_l1hit_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
973 return percent_color(fmt, hpp, he, percent_st_l1hit);
990 percent_stores_l1miss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
993 int width = c2c_width(fmt, hpp, he->hists);
997 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per));
1001 percent_stores_l1miss_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1004 return percent_color(fmt, hpp, he, percent_st_l1miss);
1024 pid_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1027 int width = c2c_width(fmt, hpp, he->hists);
1029 return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_);
1048 node_entry(struct perf_hpp_fmt *fmt __maybe_unused, struct perf_hpp *hpp,
1066 ret = scnprintf(hpp->buf, hpp->size, "%21s", " ");
1067 advance_hpp(hpp, ret);
1073 ret = scnprintf(hpp->buf, hpp->size, " ");
1074 advance_hpp(hpp, ret);
1079 ret = scnprintf(hpp->buf, hpp->size, "%2d", node);
1080 advance_hpp(hpp, ret);
1087 ret = scnprintf(hpp->buf, hpp->size, "%2d{%2d ", node, num);
1088 advance_hpp(hpp, ret);
1092 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%% ", \
1095 ret = scnprintf(hpp->buf, hpp->size, "%6s ", "n/a"); \
1113 advance_hpp(hpp, ret);
1116 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%%}",
1119 ret = scnprintf(hpp->buf, hpp->size, "%6s}", "n/a");
1122 advance_hpp(hpp, ret);
1126 ret = scnprintf(hpp->buf, hpp->size, "%2d{", node);
1127 advance_hpp(hpp, ret);
1129 ret = bitmap_scnprintf(set, c2c.cpus_cnt, hpp->buf, hpp->size);
1130 advance_hpp(hpp, ret);
1132 ret = scnprintf(hpp->buf, hpp->size, "}");
1133 advance_hpp(hpp, ret);
1146 mean_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1149 int width = c2c_width(fmt, hpp, he->hists);
1153 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf);
1158 __func(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) \
1162 return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \
1170 cpucnt_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1174 int width = c2c_width(fmt, hpp, he->hists);
1180 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf);
1184 cl_idx_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1188 int width = c2c_width(fmt, hpp, he->hists);
1194 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf);
1198 cl_idx_empty_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1201 int width = c2c_width(fmt, hpp, he->hists);
1203 return scnprintf(hpp->buf, hpp->size, "%*s", width, "");
1669 static int c2c_se_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1683 return dim->se->se_snprintf(he, hpp->buf, hpp->size, len);
2149 struct perf_hpp hpp = {
2163 __hist_entry__snprintf(he_cl, &hpp, hpp_list);