Lines Matching refs:hpp

1217 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)  in __hpp__slsmg_color_printf()  argument
1219 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1231 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1232 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1245 struct perf_hpp *hpp, \
1248 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1260 struct perf_hpp *hpp, \
1264 struct hpp_arg *arg = hpp->ptr; \
1266 int ret = scnprintf(hpp->buf, hpp->size, \
1268 ui_browser__printf(arg->b, "%s", hpp->buf); \
1272 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1339 struct perf_hpp hpp = { in hist_browser__show_entry() local
1369 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
1370 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_entry()
1377 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); in hist_browser__show_entry()
1380 width -= hpp.buf - s; in hist_browser__show_entry()
1457 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_hierarchy_entry()
1459 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1487 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1488 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1495 int ret = fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1496 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1499 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1509 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1539 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1543 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1606 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_no_entry()
1645 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
1647 advance_hpp(hpp, inc); in advance_hpp_check()
1648 return hpp->size <= 0; in advance_hpp_check()
1712 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1744 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
2065 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2083 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2084 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2088 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
2089 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); in hist_browser__fprintf_entry()
2090 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2108 struct perf_hpp hpp = { in hist_browser__fprintf_hierarchy_entry() local
2126 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__fprintf_hierarchy_entry()
2128 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2129 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2133 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2134 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2137 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
2138 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2141 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2142 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2144 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2145 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2236 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) in hist_browser__init()