Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+4 -8
+3 -7
include/trace/events/io_uring.h
··· 602 602 * 603 603 * @tctx: pointer to a io_uring_task 604 604 * @count: how many functions it ran 605 - * @loops: how many loops it ran 606 605 * 607 606 */ 608 607 TRACE_EVENT(io_uring_task_work_run, 609 608 610 - TP_PROTO(void *tctx, unsigned int count, unsigned int loops), 609 + TP_PROTO(void *tctx, unsigned int count), 611 610 612 - TP_ARGS(tctx, count, loops), 611 + TP_ARGS(tctx, count), 613 612 614 613 TP_STRUCT__entry ( 615 614 __field( void *, tctx ) 616 615 __field( unsigned int, count ) 617 - __field( unsigned int, loops ) 618 616 ), 619 617 620 618 TP_fast_assign( 621 619 __entry->tctx = tctx; 622 620 __entry->count = count; 623 - __entry->loops = loops; 624 621 ), 625 622 626 - TP_printk("tctx %p, count %u, loops %u", 627 - __entry->tctx, __entry->count, __entry->loops) 623 + TP_printk("tctx %p, count %u", __entry->tctx, __entry->count) 628 624 ); 629 625 630 626 TRACE_EVENT(io_uring_short_write,
+1 -1
io_uring/io_uring.c
··· 1274 1274 if (unlikely(atomic_read(&tctx->in_cancel))) 1275 1275 io_uring_drop_tctx_refs(current); 1276 1276 1277 - trace_io_uring_task_work_run(tctx, count, 1); 1277 + trace_io_uring_task_work_run(tctx, count); 1278 1278 } 1279 1279 1280 1280 static inline void io_req_local_work_add(struct io_kiocb *req, unsigned flags)