Lines Matching full:hpp
14 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument
21 char *buf = hpp->buf; in __percent_color_snprintf()
22 size_t size = hpp->size; in __percent_color_snprintf()
48 struct perf_hpp *hpp, \
51 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
62 struct perf_hpp *hpp, \
65 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
305 struct perf_hpp hpp = { in perf_gtk__show_hists() local
378 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
380 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists()
407 struct perf_hpp *hpp, in perf_gtk__add_hierarchy_entries() argument
438 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__add_hierarchy_entries()
440 fmt->color(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
442 fmt->entry(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
444 gtk_tree_store_set(store, &iter, col_idx++, hpp->buf, -1); in perf_gtk__add_hierarchy_entries()
447 bf = hpp->buf; in perf_gtk__add_hierarchy_entries()
448 size = hpp->size; in perf_gtk__add_hierarchy_entries()
453 ret = fmt->color(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
455 ret = fmt->entry(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
457 snprintf(hpp->buf + ret, hpp->size - ret, " "); in perf_gtk__add_hierarchy_entries()
458 advance_hpp(hpp, ret + 2); in perf_gtk__add_hierarchy_entries()
464 hpp->buf = bf; in perf_gtk__add_hierarchy_entries()
465 hpp->size = size; in perf_gtk__add_hierarchy_entries()
468 store, &iter, hpp, in perf_gtk__add_hierarchy_entries()
509 struct perf_hpp hpp = { in perf_gtk__show_hierarchy() local
532 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__show_hierarchy()
548 perf_hpp_list__for_each_format(&fmt_node->hpp ,fmt) { in perf_gtk__show_hierarchy()
556 fmt->header(fmt, &hpp, hists, 0, NULL); in perf_gtk__show_hierarchy()
557 strcat(buf, ltrim(rtrim(hpp.buf))); in perf_gtk__show_hierarchy()
582 NULL, &hpp, min_pcnt); in perf_gtk__show_hierarchy()