summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-01-18 20:22:41 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-21 03:04:07 +0300
commit6b47ee6ecab142f938a40bf3b297abac74218ee2 (patch)
tree5e64b3964c2651b7e52868409b93870fae8894f9 /tools/perf/scripts/python/export-to-sqlite.py
parent87987898a1dbc69b1138f7c10eb9abd655c03396 (diff)
downloadlinux-6b47ee6ecab142f938a40bf3b297abac74218ee2.tar.xz
io_uring: optimise sqe-to-req flags translation
For each IOSQE_* flag there is a corresponding REQ_F_* flag. And there is a repetitive pattern of their translation: e.g. if (sqe->flags & SQE_FLAG*) req->flags |= REQ_F_FLAG* Use same numeric values/bits for them and copy instead of manual handling. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions