Lines Matching defs:fmt
16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...)
26 va_start(args, fmt);
35 ret += scnprintf(buf + ret, size - ret, fmt, len, percent);
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;
314 hists__for_each_format(hists, fmt)
325 hists__for_each_format(hists, fmt) {
326 if (perf_hpp__should_skip(fmt, hists))
333 if (perf_hpp__is_sort_entry(fmt))
337 -1, fmt->name,
375 hists__for_each_format(hists, fmt) {
376 if (perf_hpp__should_skip(fmt, h->hists))
379 if (fmt->color)
380 fmt->color(fmt, &hpp, h);
382 fmt->entry(fmt, &hpp, h);
415 struct perf_hpp_fmt *fmt;
440 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
441 if (fmt->color)
442 fmt->color(fmt, hpp, he);
444 fmt->entry(fmt, hpp, he);
451 perf_hpp_list__for_each_format(he->hpp_list, fmt) {
454 if (fmt->color)
455 ret = fmt->color(fmt, hpp, he);
457 ret = fmt->entry(fmt, hpp, he);
500 struct perf_hpp_fmt *fmt;
516 hists__for_each_format(hists, fmt) {
517 if (perf_hpp__is_sort_entry(fmt) ||
518 perf_hpp__is_dynamic_entry(fmt))
534 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
536 -1, fmt->name,
550 perf_hpp_list__for_each_format(&fmt_node->hpp ,fmt) {
551 if (perf_hpp__should_skip(fmt, hists))
558 fmt->header(fmt, &hpp, hists, 0, NULL);