• Home
  • Raw
  • Download

Lines Matching refs:fmt

16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...)  in __percent_color_snprintf()  argument
26 va_start(args, fmt); in __percent_color_snprintf()
35 ret += scnprintf(buf + ret, size - ret, fmt, len, percent); in __percent_color_snprintf()
49 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
63 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
296 struct perf_hpp_fmt *fmt; in perf_gtk__show_hists() local
314 hists__for_each_format(hists, fmt) in perf_gtk__show_hists()
325 hists__for_each_format(hists, fmt) { in perf_gtk__show_hists()
326 if (perf_hpp__should_skip(fmt, hists)) in perf_gtk__show_hists()
333 if (perf_hpp__is_sort_entry(fmt)) in perf_gtk__show_hists()
337 -1, fmt->name, in perf_gtk__show_hists()
375 hists__for_each_format(hists, fmt) { in perf_gtk__show_hists()
376 if (perf_hpp__should_skip(fmt, h->hists)) in perf_gtk__show_hists()
379 if (fmt->color) in perf_gtk__show_hists()
380 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
382 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists()
415 struct perf_hpp_fmt *fmt; in perf_gtk__add_hierarchy_entries() local
440 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__add_hierarchy_entries()
441 if (fmt->color) 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()
451 perf_hpp_list__for_each_format(he->hpp_list, fmt) { in perf_gtk__add_hierarchy_entries()
454 if (fmt->color) 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()
500 struct perf_hpp_fmt *fmt; in perf_gtk__show_hierarchy() local
516 hists__for_each_format(hists, fmt) { in perf_gtk__show_hierarchy()
517 if (perf_hpp__is_sort_entry(fmt) || in perf_gtk__show_hierarchy()
518 perf_hpp__is_dynamic_entry(fmt)) in perf_gtk__show_hierarchy()
534 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { in perf_gtk__show_hierarchy()
536 -1, fmt->name, in perf_gtk__show_hierarchy()
550 perf_hpp_list__for_each_format(&fmt_node->hpp ,fmt) { in perf_gtk__show_hierarchy()
551 if (perf_hpp__should_skip(fmt, hists)) in perf_gtk__show_hierarchy()
558 fmt->header(fmt, &hpp, hists, 0, NULL); in perf_gtk__show_hierarchy()