io_uring: fix ordering of args in io_uring_queue_async_work
authorDylan Yudaken <dylany@fb.com>
Thu, 12 May 2022 09:18:33 +0000 (02:18 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 May 2022 12:18:58 +0000 (06:18 -0600)
Fix arg ordering in TP_ARGS macro, which fixes the output.

Fixes: 502c87d65564c ("io-uring: Make tracepoints consistent.")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220512091834.728610-2-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/trace/events/io_uring.h

index cddf5b6..80d2588 100644 (file)
@@ -147,7 +147,7 @@ TRACE_EVENT(io_uring_queue_async_work,
        TP_PROTO(void *ctx, void * req, unsigned long long user_data, u8 opcode,
                unsigned int flags, struct io_wq_work *work, int rw),
 
-       TP_ARGS(ctx, req, user_data, flags, opcode, work, rw),
+       TP_ARGS(ctx, req, user_data, opcode, flags, work, rw),
 
        TP_STRUCT__entry (
                __field(  void *,                       ctx             )