aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-18 12:11:25 +0200
committerJens Axboe <[email protected]>2021-10-18 14:43:23 -0600
commitbcc6e2cfaa48a4ad2e17719194f6d97a8e03f6c1 (patch)
tree9a36696de024646f0d341b904d56b94ec1c2cd8b /tools/perf/util/trace-event-scripting.c
parent2a93ad8fcb377b9d6e05947de161e146f5be4de9 (diff)
block: add a sb_bdev_nr_blocks helper
Add a helper to return the size of sb->s_bdev in sb->s_blocksize_bits based unites. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions