Home | History | Annotate | Download | only in perf

Lines Matching defs:fmt

37 	struct perf_hpp_fmt	 fmt;
48 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX];
392 struct data__file *d = container_of(ptr, struct data__file, fmt);
652 struct diff_hpp_fmt *fmt = &d->fmt[col];
654 free(fmt->header);
741 static int hpp__color_baseline(struct perf_hpp_fmt *fmt,
745 container_of(fmt, struct diff_hpp_fmt, fmt);
761 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%";
765 ret = scnprintf(buf, size, fmt, percent);
865 container_of(_fmt, struct diff_hpp_fmt, fmt);
877 static int hpp__header(struct perf_hpp_fmt *fmt,
881 container_of(fmt, struct diff_hpp_fmt, fmt);
887 static int hpp__width(struct perf_hpp_fmt *fmt,
891 container_of(fmt, struct diff_hpp_fmt, fmt);
931 struct diff_hpp_fmt *dfmt = &d->fmt[idx];
932 struct perf_hpp_fmt *fmt = &dfmt->fmt;
936 fmt->header = hpp__header;
937 fmt->width = hpp__width;
938 fmt->entry = hpp__entry_global;
942 fmt->color = hpp__color_baseline;
945 perf_hpp__column_register(fmt);