aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-10-14 16:10:18 +0100
committerJens Axboe <[email protected]>2021-10-19 05:49:55 -0600
commit5e49c973fc39ffce287ab0763cb6f1e607962689 (patch)
treeda8a262c9ceca4025bcc41962e79d5170ded2d6e /tools/perf/scripts/python/stat-cpi.py
parent51aac424aef980a6238d4907a5bb5a411fa926eb (diff)
io_uring: clean up io_import_iovec
Make io_import_iovec taking struct io_rw_state instead of an iter pointer. First it takes care of initialising iovec pointer, which can be forgotten. Even more, we can not init it if not needed, e.g. in case of IORING_OP_READ_FIXED or IORING_OP_READ. Also hide saving iter_state inside of it by splitting out an inline function of it to avoid extra ifs. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/b1bbc213a95e5272d4da5867bb977d9acb6f2109.1634144845.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions