Symbol: block_fmt
tools/perf/builtin-diff.c
574
INIT_LIST_HEAD(&bh->block_fmt.list);
tools/perf/builtin-diff.c
575
INIT_LIST_HEAD(&bh->block_fmt.sort_list);
tools/perf/builtin-diff.c
576
bh->block_fmt.cmp = block_info__cmp;
tools/perf/builtin-diff.c
577
bh->block_fmt.sort = block_sort;
tools/perf/builtin-diff.c
579
&bh->block_fmt);
tools/perf/util/block-info.c
184
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
186
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
tools/perf/util/block-info.c
187
block_fmt->header);
tools/perf/util/block-info.c
194
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
196
return block_fmt->width;
tools/perf/util/block-info.c
214
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
218
if (block_fmt->total_cycles)
tools/perf/util/block-info.c
219
ratio = (double)bi->cycles_aggr / (double)block_fmt->total_cycles;
tools/perf/util/block-info.c
221
return color_pct(hpp, block_fmt->width, 100.0 * ratio);
tools/perf/util/block-info.c
228
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
233
if (block_fmt->total_cycles) {
tools/perf/util/block-info.c
235
(double)block_fmt->total_cycles) * 100000.0;
tools/perf/util/block-info.c
237
(double)block_fmt->total_cycles) * 100000.0;
tools/perf/util/block-info.c
257
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
263
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
tools/perf/util/block-info.c
270
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
275
if (block_fmt->block_cycles && bi->num_aggr) {
tools/perf/util/block-info.c
277
ratio = (double)avg / (double)block_fmt->block_cycles;
tools/perf/util/block-info.c
280
return color_pct(hpp, block_fmt->width, 100.0 * ratio);
tools/perf/util/block-info.c
287
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
294
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
tools/perf/util/block-info.c
301
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
326
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, buf);
tools/perf/util/block-info.c
332
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
336
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
tools/perf/util/block-info.c
340
return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
tools/perf/util/block-info.c
344
static void init_block_header(struct block_fmt *block_fmt)
tools/perf/util/block-info.c
346
struct perf_hpp_fmt *fmt = &block_fmt->fmt;
tools/perf/util/block-info.c
348
BUG_ON(block_fmt->idx >= PERF_HPP_REPORT__BLOCK_MAX_INDEX);
tools/perf/util/block-info.c
350
block_fmt->header = block_columns[block_fmt->idx].name;
tools/perf/util/block-info.c
351
block_fmt->width = block_columns[block_fmt->idx].width;
tools/perf/util/block-info.c
361
struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt);
tools/perf/util/block-info.c
370
ret = scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, buf);
tools/perf/util/block-info.c
375
static void hpp_register(struct block_fmt *block_fmt, int idx,
tools/perf/util/block-info.c
378
struct perf_hpp_fmt *fmt = &block_fmt->fmt;
tools/perf/util/block-info.c
380
block_fmt->idx = idx;
tools/perf/util/block-info.c
412
init_block_header(block_fmt);
tools/perf/util/block-info.c
417
struct block_fmt *block_fmts,
tools/perf/util/block-info.c
424
static void init_block_hist(struct block_hist *bh, struct block_fmt *block_fmts,
tools/perf/util/block-info.h
49
struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX];
tools/perf/util/hist.h
706
struct perf_hpp_fmt block_fmt;