summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-07-12 20:41:05 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-24 12:55:44 -0600
commit1400e69705baf98d1c9cb73b592a3a68aab1d852 (patch)
treea516104873a8ccbd16b3c31a5f086dc9a7a94052 /tools/perf/scripts/python/export-to-sqlite.py
parent270a5940700bb6cf9abf36ea10cf1fa0d453aa7a (diff)
io_uring: use more specific type in rcv/snd msg cp
send/recv msghdr initialisation works with struct io_async_msghdr, but pulls the whole struct io_async_ctx for no reason. That complicates it with composite accessing, e.g. io->msg. Use and pass the most specific type, which is struct io_async_msghdr. It is the larget field in union io_async_ctx and doesn't save stack space, but looks clearer. The most of the changes are replacing "io->msg." with "iomsg->" 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