• Home
  • Raw
  • Download

Lines Matching full:hpp

393 	int   (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
395 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
420 struct perf_hpp *hpp __maybe_unused, in c2c_width()
436 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument
443 int width = c2c_width(fmt, hpp, hists); in c2c_header()
467 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header()
483 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument
487 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry()
493 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry()
497 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument
501 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_node_entry()
507 return scnprintf(hpp->buf, hpp->size, "%*s", width, c2c_he->nodestr); in dcacheline_node_entry()
511 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_count() argument
515 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_node_count()
518 return scnprintf(hpp->buf, hpp->size, "%*lu", width, c2c_he->paddr_cnt); in dcacheline_node_count()
521 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in offset_entry() argument
525 int width = c2c_width(fmt, hpp, he->hists); in offset_entry()
531 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in offset_entry()
549 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry() argument
553 int width = c2c_width(fmt, hpp, he->hists); in iaddr_entry()
559 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in iaddr_entry()
570 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_hitm_entry() argument
574 int width = c2c_width(fmt, hpp, he->hists); in tot_hitm_entry()
580 return scnprintf(hpp->buf, hpp->size, "%*u", width, tot_hitm); in tot_hitm_entry()
603 __f ## _entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, \
607 int width = c2c_width(fmt, hpp, he->hists); \
610 return scnprintf(hpp->buf, hpp->size, "%*u", width, \
655 ld_llcmiss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ld_llcmiss_entry() argument
659 int width = c2c_width(fmt, hpp, he->hists); in ld_llcmiss_entry()
663 return scnprintf(hpp->buf, hpp->size, "%*lu", width, in ld_llcmiss_entry()
705 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_recs_entry() argument
709 int width = c2c_width(fmt, hpp, he->hists); in tot_recs_entry()
715 return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); in tot_recs_entry()
756 tot_loads_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_loads_entry() argument
760 int width = c2c_width(fmt, hpp, he->hists); in tot_loads_entry()
766 return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); in tot_loads_entry()
790 percent_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_color() argument
794 int width = c2c_width(fmt, hpp, he->hists); in percent_color()
802 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per); in percent_color()
804 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per); in percent_color()
847 percent_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_hitm_entry() argument
851 int width = c2c_width(fmt, hpp, he->hists); in percent_hitm_entry()
857 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_hitm_entry()
861 percent_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_hitm_color() argument
864 return percent_color(fmt, hpp, he, percent_hitm); in percent_hitm_color()
923 percent_rmt_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in PERCENT_FN()
926 int width = c2c_width(fmt, hpp, he->hists); in PERCENT_FN()
930 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in PERCENT_FN()
934 percent_rmt_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_rmt_hitm_color() argument
937 return percent_color(fmt, hpp, he, percent_rmt_hitm); in percent_rmt_hitm_color()
954 percent_lcl_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_lcl_hitm_entry() argument
957 int width = c2c_width(fmt, hpp, he->hists); in percent_lcl_hitm_entry()
961 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_lcl_hitm_entry()
965 percent_lcl_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_lcl_hitm_color() argument
968 return percent_color(fmt, hpp, he, percent_lcl_hitm); in percent_lcl_hitm_color()
985 percent_stores_l1hit_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_stores_l1hit_entry() argument
988 int width = c2c_width(fmt, hpp, he->hists); in percent_stores_l1hit_entry()
992 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_stores_l1hit_entry()
996 percent_stores_l1hit_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_stores_l1hit_color() argument
999 return percent_color(fmt, hpp, he, percent_st_l1hit); in percent_stores_l1hit_color()
1016 percent_stores_l1miss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_stores_l1miss_entry() argument
1019 int width = c2c_width(fmt, hpp, he->hists); in percent_stores_l1miss_entry()
1023 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_stores_l1miss_entry()
1027 percent_stores_l1miss_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_stores_l1miss_color() argument
1030 return percent_color(fmt, hpp, he, percent_st_l1miss); in percent_stores_l1miss_color()
1050 pid_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in STAT_FN()
1053 int width = c2c_width(fmt, hpp, he->hists); in STAT_FN()
1055 return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); in STAT_FN()
1074 node_entry(struct perf_hpp_fmt *fmt __maybe_unused, struct perf_hpp *hpp, in node_entry() argument
1092 ret = scnprintf(hpp->buf, hpp->size, "%21s", " "); in node_entry()
1093 advance_hpp(hpp, ret); in node_entry()
1099 ret = scnprintf(hpp->buf, hpp->size, " "); in node_entry()
1100 advance_hpp(hpp, ret); in node_entry()
1105 ret = scnprintf(hpp->buf, hpp->size, "%2d", node); in node_entry()
1106 advance_hpp(hpp, ret); in node_entry()
1113 ret = scnprintf(hpp->buf, hpp->size, "%2d{%2d ", node, num); in node_entry()
1114 advance_hpp(hpp, ret); in node_entry()
1118 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%% ", \ in node_entry()
1121 ret = scnprintf(hpp->buf, hpp->size, "%6s ", "n/a"); \ in node_entry()
1139 advance_hpp(hpp, ret); in node_entry()
1142 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%%}", in node_entry()
1145 ret = scnprintf(hpp->buf, hpp->size, "%6s}", "n/a"); in node_entry()
1148 advance_hpp(hpp, ret); in node_entry()
1152 ret = scnprintf(hpp->buf, hpp->size, "%2d{", node); in node_entry()
1153 advance_hpp(hpp, ret); in node_entry()
1155 ret = bitmap_scnprintf(set, c2c.cpus_cnt, hpp->buf, hpp->size); in node_entry()
1156 advance_hpp(hpp, ret); in node_entry()
1158 ret = scnprintf(hpp->buf, hpp->size, "}"); in node_entry()
1159 advance_hpp(hpp, ret); in node_entry()
1172 mean_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in mean_entry() argument
1175 int width = c2c_width(fmt, hpp, he->hists); in mean_entry()
1179 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in mean_entry()
1184 __func(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) \
1188 return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \
1196 cpucnt_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in cpucnt_entry() argument
1200 int width = c2c_width(fmt, hpp, he->hists); in cpucnt_entry()
1206 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cpucnt_entry()
1210 cl_idx_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in cl_idx_entry() argument
1214 int width = c2c_width(fmt, hpp, he->hists); in cl_idx_entry()
1220 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cl_idx_entry()
1224 cl_idx_empty_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in cl_idx_empty_entry() argument
1227 int width = c2c_width(fmt, hpp, he->hists); in cl_idx_empty_entry()
1229 return scnprintf(hpp->buf, hpp->size, "%*s", width, ""); in cl_idx_empty_entry()
1704 static int c2c_se_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_se_entry() argument
1718 return dim->se->se_snprintf(he, hpp->buf, hpp->size, len); in c2c_se_entry()
2184 struct perf_hpp hpp = { in print_cacheline() local
2198 __hist_entry__snprintf(he_cl, &hpp, hpp_list); in print_cacheline()