• Home
  • Raw
  • Download

Lines Matching refs:hpp

1207 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)  in __hpp__slsmg_color_printf()  argument
1209 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1221 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1222 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1235 struct perf_hpp *hpp, \
1238 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1250 struct perf_hpp *hpp, \
1254 struct hpp_arg *arg = hpp->ptr; \
1256 int ret = scnprintf(hpp->buf, hpp->size, \
1258 ui_browser__printf(arg->b, "%s", hpp->buf); \
1262 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1329 struct perf_hpp hpp = { in hist_browser__show_entry() local
1359 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
1360 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_entry()
1367 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); in hist_browser__show_entry()
1370 width -= hpp.buf - s; in hist_browser__show_entry()
1447 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_hierarchy_entry()
1449 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1477 int ret = fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1478 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1485 int ret = fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1486 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); in hist_browser__show_hierarchy_entry()
1489 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1499 struct perf_hpp hpp = { in hist_browser__show_hierarchy_entry() local
1529 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1533 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_hierarchy_entry()
1596 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__show_no_entry()
1635 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
1637 advance_hpp(hpp, inc); in advance_hpp_check()
1638 return hpp->size <= 0; in advance_hpp_check()
1702 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
1734 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hists_browser__scnprintf_hierarchy_headers()
2055 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2073 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2074 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2078 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
2079 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); in hist_browser__fprintf_entry()
2080 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
2098 struct perf_hpp hpp = { in hist_browser__fprintf_hierarchy_entry() local
2116 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in hist_browser__fprintf_hierarchy_entry()
2118 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2119 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2123 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_hierarchy_entry()
2124 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2127 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
2128 advance_hpp(&hpp, ret); in hist_browser__fprintf_hierarchy_entry()
2131 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2132 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()
2226 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) in hist_browser__init()