summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-03-24 23:37:19 +0300
committerJens Axboe <axboe@kernel.dk>2023-03-30 17:12:29 +0300
commit3b2deb0e46da9798b694cf50bd8bea1b26dcc789 (patch)
tree9674a8f8ad1ae25466700d45580d1f2562926716 /tools/perf/scripts/python/export-to-postgresql.py
parente03ad4ee2783e41afc90cc7848468aef10741c0e (diff)
downloadlinux-3b2deb0e46da9798b694cf50bd8bea1b26dcc789.tar.xz
iov_iter: import single vector iovecs as ITER_UBUF
Add a special case to __import_iovec(), which imports a single segment iovec as an ITER_UBUF rather than an ITER_IOVEC. ITER_UBUF is cheaper to iterate than ITER_IOVEC, and for a single segment iovec, there's no point in using a segmented iterator. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions