aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2021-09-27 15:02:56 -0700
committerJens Axboe <axboe@kernel.dk>2021-10-18 14:41:37 -0600
commit4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4 (patch)
tree78173b2e5545d67aced29974c63aee9faf4f273e /tools/perf/scripts/python/syscall-counts.py
parentswim: simplify using blk_cleanup_disk() on swim_remove() (diff)
downloadlinux-4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4.tar.gz
linux-4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4.zip
swim: add helper for disk cleanup
Disk cleanup can be shared between exit and bringup. Use a helper to do the work required. The only functional change at this point is we're being overly paraoid on exit to check for a null disk as well now, and this should be safe. We'll later expand on this, this change just makes subsequent changes easier to read. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20210927220302.1073499-9-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions