aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPankaj Raghav <[email protected]>2023-01-10 15:36:34 +0100
committerJens Axboe <[email protected]>2023-01-29 15:18:34 -0700
commite29b210021dcf8e03e0dcc035107afaeb55e6631 (patch)
tree929c04ad731a3dc5e971b5cc9bc8c9785591f352 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentfea127b36c93d9afe49561b640fe1fc541dc3ba4 (diff)
block: add a new helper bdev_{is_zone_start, offset_from_zone_start}
Instead of open coding to check for zone start, add a helper to improve readability and store the logic in one place. Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Pankaj Raghav <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions