summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-30 07:03:46 -0700
committerJens Axboe <axboe@kernel.dk>2024-02-08 13:27:06 -0700
commit4c98b89175a229a1eb9e6db67b4b7c0d712c86a7 (patch)
tree3d4ce69706b02042ccf505af171410affec6a44e /include/trace
parent592b4805432af075468876771c0f7d41273ccb3c (diff)
downloadlinux-4c98b89175a229a1eb9e6db67b4b7c0d712c86a7.tar.gz
linux-4c98b89175a229a1eb9e6db67b4b7c0d712c86a7.tar.bz2
linux-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 'include/trace')
-rw-r--r--include/trace/events/io_uring.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/trace/events/io_uring.h b/include/trace/events/io_uring.h
index b241f2b12486..e948df7ce625 100644
--- a/include/trace/events/io_uring.h
+++ b/include/trace/events/io_uring.h
@@ -602,29 +602,25 @@ TRACE_EVENT(io_uring_cqe_overflow,
*
* @tctx: pointer to a io_uring_task
* @count: how many functions it ran
- * @loops: how many loops it ran
*
*/
TRACE_EVENT(io_uring_task_work_run,
- TP_PROTO(void *tctx, unsigned int count, unsigned int loops),
+ TP_PROTO(void *tctx, unsigned int count),
- TP_ARGS(tctx, count, loops),
+ TP_ARGS(tctx, count),
TP_STRUCT__entry (
__field( void *, tctx )
__field( unsigned int, count )
- __field( unsigned int, loops )
),
TP_fast_assign(
__entry->tctx = tctx;
__entry->count = count;
- __entry->loops = loops;
),
- TP_printk("tctx %p, count %u, loops %u",
- __entry->tctx, __entry->count, __entry->loops)
+ TP_printk("tctx %p, count %u", __entry->tctx, __entry->count)
);
TRACE_EVENT(io_uring_short_write,