Lines Matching refs:fmt
93 int64_t block_info__cmp(struct perf_hpp_fmt *fmt __maybe_unused, in block_info__cmp()
163 static int block_column_header(struct perf_hpp_fmt *fmt, in block_column_header() argument
169 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_header()
175 static int block_column_width(struct perf_hpp_fmt *fmt, in block_column_width() argument
179 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_width()
195 static int block_total_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_entry() argument
199 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_entry()
209 static int64_t block_total_cycles_pct_sort(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_sort() argument
213 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_sort()
239 static int block_cycles_lbr_entry(struct perf_hpp_fmt *fmt, in block_cycles_lbr_entry() argument
242 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_cycles_lbr_entry()
252 static int block_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_cycles_pct_entry() argument
255 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_cycles_pct_entry()
268 static int block_avg_cycles_entry(struct perf_hpp_fmt *fmt, in block_avg_cycles_entry() argument
272 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_avg_cycles_entry()
283 static int block_range_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_range_entry() argument
286 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_range_entry()
314 static int block_dso_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_dso_entry() argument
317 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_dso_entry()
331 struct perf_hpp_fmt *fmt = &block_fmt->fmt; in init_block_header() local
338 fmt->header = block_column_header; in init_block_header()
339 fmt->width = block_column_width; in init_block_header()
345 struct perf_hpp_fmt *fmt = &block_fmt->fmt; in hpp_register() local
348 INIT_LIST_HEAD(&fmt->list); in hpp_register()
349 INIT_LIST_HEAD(&fmt->sort_list); in hpp_register()
353 fmt->color = block_total_cycles_pct_entry; in hpp_register()
354 fmt->cmp = block_info__cmp; in hpp_register()
355 fmt->sort = block_total_cycles_pct_sort; in hpp_register()
358 fmt->entry = block_cycles_lbr_entry; in hpp_register()
361 fmt->color = block_cycles_pct_entry; in hpp_register()
364 fmt->entry = block_avg_cycles_entry; in hpp_register()
367 fmt->entry = block_range_entry; in hpp_register()
370 fmt->entry = block_dso_entry; in hpp_register()
377 perf_hpp_list__column_register(hpp_list, fmt); in hpp_register()
399 perf_hpp_list__register_sort_field(&bh->block_list, &block_fmts[0].fmt); in init_block_hist()