Skip to content

Commit

Permalink
io_uring: fix ordering of args in io_uring_queue_async_work
Browse files Browse the repository at this point in the history
Fix arg ordering in TP_ARGS macro, which fixes the output.

Fixes: 502c87d ("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>
  • Loading branch information
Dylan Yudaken authored and Jens Axboe committed May 12, 2022
1 parent a196c78 commit 2d2d5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trace/events/io_uring.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 2d2d5cb

Please sign in to comment.