Lines Matching refs:hpp
1218 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
1220 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1232 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1233 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1246 struct perf_hpp *hpp, \
1249 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1261 struct perf_hpp *hpp, \
1265 struct hpp_arg *arg = hpp->ptr; \
1267 int ret = scnprintf(hpp->buf, hpp->size, \
1269 ui_browser__printf(arg->b, "%s", hpp->buf); \
1273 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1340 struct perf_hpp hpp = { in hist_browser__show_entry() local
1370 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
1371 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_entry()
1378 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); in hist_browser__show_entry()
1381 width -= hpp.buf - s; in hist_browser__show_entry()
1458 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_hierarchy_entry()
1460 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1488 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1489 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1496 int ret = fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1497 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1500 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1510 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1540 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1544 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1607 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_no_entry()
1646 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
1648 advance_hpp(hpp, inc); in advance_hpp_check()
1649 return hpp->size <= 0; in advance_hpp_check()
1713 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1745 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
2066 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2084 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2085 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2089 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
2090 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); in hist_browser__fprintf_entry()
2091 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2109 struct perf_hpp hpp = { in hist_browser__fprintf_hierarchy_entry() local
2127 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__fprintf_hierarchy_entry()
2129 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2130 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2134 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2135 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2138 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
2139 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2142 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2143 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2145 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2146 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2237 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) in hist_browser__init()