Searched refs:block_fmt (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | block-info.c | 184 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_header() local 186 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header() 187 block_fmt->header); in block_column_header() 194 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_width() local 196 return block_fmt->width; in block_column_width() 214 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_entry() local 218 if (block_fmt->total_cycles) in block_total_cycles_pct_entry() 219 ratio = (double)bi->cycles_aggr / (double)block_fmt->total_cycles; in block_total_cycles_pct_entry() 221 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry() 228 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_sort() local [all …]
|
| H A D | block-info.h | 26 struct block_fmt { struct 49 struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX]; argument
|
| H A D | hist.h | 706 struct perf_hpp_fmt block_fmt; member
|
| /linux/tools/perf/ |
| H A D | builtin-diff.c | 574 INIT_LIST_HEAD(&bh->block_fmt.list); in init_block_hist() 575 INIT_LIST_HEAD(&bh->block_fmt.sort_list); in init_block_hist() 576 bh->block_fmt.cmp = block_info__cmp; in init_block_hist() 577 bh->block_fmt.sort = block_sort; in init_block_hist() 579 &bh->block_fmt); in init_block_hist()
|