io_uring: clean up cqe trace points
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 18 Oct 2024 16:14:00 +0000 (17:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Oct 2024 18:37:08 +0000 (12:37 -0600)
commit525b26d3647037195dae188b6d706eed1fa9e5fb
tree2f09417f7ea448ab29717da0ded189a6abdafad6
parent9812732ce65b9690720f772c07afadf38dd7d8ef
io_uring: clean up cqe trace points

We have too many helpers posting CQEs, instead of tracing completion
events before filling in a CQE and thus having to pass all the data,
set the CQE first, pass it to the tracing helper and let it extract
everything it needs.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b83c1ca9ee5aed2df0f3bb743bf5ed699cce4c86.1729267437.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
include/trace/events/io_uring.h
io_uring/io_uring.c
io_uring/io_uring.h