Lines Matching full:hpp
1209 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
1211 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1223 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1224 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1237 struct perf_hpp *hpp, \
1240 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1252 struct perf_hpp *hpp, \
1256 struct hpp_arg *arg = hpp->ptr; \
1258 int ret = scnprintf(hpp->buf, hpp->size, \
1260 ui_browser__printf(arg->b, "%s", hpp->buf); \
1264 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1331 struct perf_hpp hpp = { in hist_browser__show_entry() local
1361 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
1362 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_entry()
1369 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); in hist_browser__show_entry()
1372 width -= hpp.buf - s; in hist_browser__show_entry()
1449 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_hierarchy_entry()
1451 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1479 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1480 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1487 int ret = fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1488 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1491 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1501 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1531 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1535 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1598 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_no_entry()
1637 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
1639 advance_hpp(hpp, inc); in advance_hpp_check()
1640 return hpp->size <= 0; in advance_hpp_check()
1704 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1736 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
2057 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2075 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2076 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2080 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
2081 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); in hist_browser__fprintf_entry()
2082 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2100 struct perf_hpp hpp = { in hist_browser__fprintf_hierarchy_entry() local
2118 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__fprintf_hierarchy_entry()
2120 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2121 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2125 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2126 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2129 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
2130 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2133 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2134 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2136 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2137 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2228 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) in hist_browser__init()