diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-16 13:57:20 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-24 18:39:14 -0600 |
commit | 48863ffd3e81b6ec98606d3479c50aa77b7a98a9 (patch) | |
tree | 9aa0a32d5042fe033d84f6b6ad93929b0c842538 /io_uring/timeout.h | |
parent | ab1c84d855cf2c284fa0f4b17fc04063659c54a1 (diff) | |
download | linux-stable-48863ffd3e81b6ec98606d3479c50aa77b7a98a9.tar.gz linux-stable-48863ffd3e81b6ec98606d3479c50aa77b7a98a9.tar.bz2 linux-stable-48863ffd3e81b6ec98606d3479c50aa77b7a98a9.zip |
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>
Diffstat (limited to 'io_uring/timeout.h')
0 files changed, 0 insertions, 0 deletions