Home
last modified time | relevance | path

Searched refs:block_fmt (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dblock-info.c169 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_header() local
171 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header()
172 block_fmt->header); in block_column_header()
179 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_width() local
181 return block_fmt->width; in block_column_width()
199 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_entry() local
203 if (block_fmt->total_cycles) in block_total_cycles_pct_entry()
204 ratio = (double)bi->cycles_aggr / (double)block_fmt->total_cycles; in block_total_cycles_pct_entry()
206 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry()
213 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_sort() local
[all …]
Dblock-info.h25 struct block_fmt { struct
47 struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX]; argument
Dsort.h298 struct perf_hpp_fmt block_fmt; member
/linux-6.6.21/tools/perf/
Dbuiltin-diff.c589 INIT_LIST_HEAD(&bh->block_fmt.list); in init_block_hist()
590 INIT_LIST_HEAD(&bh->block_fmt.sort_list); in init_block_hist()
591 bh->block_fmt.cmp = block_info__cmp; in init_block_hist()
592 bh->block_fmt.sort = block_sort; in init_block_hist()
594 &bh->block_fmt); in init_block_hist()