]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: clean up tracing events
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jun 2022 12:57:20 +0000 (13:57 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:14 +0000 (18:39 -0600)
commit289429d888f43528c6ec0f9e0dcd2d5b86487009
tree9aa0a32d5042fe033d84f6b6ad93929b0c842538
parent7b6d203da829e79d61b45679d6a55442d6083671
io_uring: clean up tracing events

We have lots of trace events accepting an io_uring request and wanting
to print some of its fields like user_data, opcode, flags and so on.
However, as trace points were unaware of io_uring structures, we had to
pass all the fields as arguments. Teach trace/events/io_uring.h about
struct io_kiocb and stop the misery of passing a horde of arguments to
trace helpers.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/40ff72f92798114e56d400f2b003beb6cde6ef53.1655384063.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/trace/events/io_uring.h
io_uring/io_uring.c
io_uring/poll.c
io_uring/timeout.c