diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-01-30 07:03:46 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-08 13:27:06 -0700 |
commit | 4c98b89175a229a1eb9e6db67b4b7c0d712c86a7 (patch) | |
tree | 3d4ce69706b02042ccf505af171410affec6a44e /io_uring | |
parent | 592b4805432af075468876771c0f7d41273ccb3c (diff) | |
download | lwn-4c98b89175a229a1eb9e6db67b4b7c0d712c86a7.tar.gz lwn-4c98b89175a229a1eb9e6db67b4b7c0d712c86a7.zip |
io_uring: remove 'loops' argument from trace_io_uring_task_work_run()
We no longer loop in task_work handling, hence delete the argument from
the tracepoint as it's always 1 and hence not very informative.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index f4df5bbe17c7..b1892cdd25c6 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1274,7 +1274,7 @@ void tctx_task_work(struct callback_head *cb) if (unlikely(atomic_read(&tctx->in_cancel))) io_uring_drop_tctx_refs(current); - trace_io_uring_task_work_run(tctx, count, 1); + trace_io_uring_task_work_run(tctx, count); } static inline void io_req_local_work_add(struct io_kiocb *req, unsigned flags) |