Lines Matching full:hpp
1145 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
1147 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1159 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1160 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1173 struct perf_hpp *hpp, \
1176 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1188 struct perf_hpp *hpp, \
1192 struct hpp_arg *arg = hpp->ptr; \
1194 int ret = scnprintf(hpp->buf, hpp->size, \
1196 ui_browser__printf(arg->b, "%s", hpp->buf); \
1200 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1265 struct perf_hpp hpp = { in hist_browser__show_entry() local
1295 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
1296 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_entry()
1303 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); in hist_browser__show_entry()
1306 width -= hpp.buf - s; in hist_browser__show_entry()
1383 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_hierarchy_entry()
1385 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1413 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1414 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1421 int ret = fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1422 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1425 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1435 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1465 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1469 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1532 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_no_entry()
1571 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
1573 advance_hpp(hpp, inc); in advance_hpp_check()
1574 return hpp->size <= 0; in advance_hpp_check()
1638 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1670 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1987 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2005 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2006 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2010 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
2011 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); in hist_browser__fprintf_entry()
2012 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2030 struct perf_hpp hpp = { in hist_browser__fprintf_hierarchy_entry() local
2048 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__fprintf_hierarchy_entry()
2050 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2051 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2055 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2056 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2059 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
2060 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2063 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2064 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2066 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2067 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2157 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) in hist_browser__init()