Lines Matching refs:hpp

16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...)  in __percent_color_snprintf()  argument
23 char *buf = hpp->buf; in __percent_color_snprintf()
24 size_t size = hpp->size; in __percent_color_snprintf()
50 struct perf_hpp *hpp, \
53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
64 struct perf_hpp *hpp, \
67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
307 struct perf_hpp hpp = { in perf_gtk__show_hists() local
380 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
382 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists()
409 struct perf_hpp *hpp, in perf_gtk__add_hierarchy_entries() argument
440 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__add_hierarchy_entries()
442 fmt->color(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
444 fmt->entry(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
446 gtk_tree_store_set(store, &iter, col_idx++, hpp->buf, -1); in perf_gtk__add_hierarchy_entries()
449 bf = hpp->buf; in perf_gtk__add_hierarchy_entries()
450 size = hpp->size; in perf_gtk__add_hierarchy_entries()
455 ret = fmt->color(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
457 ret = fmt->entry(fmt, hpp, he); in perf_gtk__add_hierarchy_entries()
459 snprintf(hpp->buf + ret, hpp->size - ret, " "); in perf_gtk__add_hierarchy_entries()
460 advance_hpp(hpp, ret + 2); in perf_gtk__add_hierarchy_entries()
466 hpp->buf = bf; in perf_gtk__add_hierarchy_entries()
467 hpp->size = size; in perf_gtk__add_hierarchy_entries()
470 store, &iter, hpp, in perf_gtk__add_hierarchy_entries()
511 struct perf_hpp hpp = { in perf_gtk__show_hierarchy() local
534 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__show_hierarchy()
550 perf_hpp_list__for_each_format(&fmt_node->hpp ,fmt) { in perf_gtk__show_hierarchy()
558 fmt->header(fmt, &hpp, hists, 0, NULL); in perf_gtk__show_hierarchy()
559 strcat(buf, strim(hpp.buf)); in perf_gtk__show_hierarchy()
584 NULL, &hpp, min_pcnt); in perf_gtk__show_hierarchy()