public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trace/io_uring: fix io_uring_local_work_run ctx documentation
@ 2025-05-22 15:04 Caleb Sander Mateos
  2025-05-22 16:07 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Caleb Sander Mateos @ 2025-05-22 15:04 UTC (permalink / raw)
  To: Jens Axboe, Pavel Begunkov, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers
  Cc: Caleb Sander Mateos, io-uring, linux-kernel, linux-trace-kernel

The comment for the tracepoint io_uring_local_work_run refers to a field
"tctx" and a type "io_uring_ctx", neither of which exist. "tctx" looks
to mean "ctx" and "io_uring_ctx" should be "io_ring_ctx".

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
---
 include/trace/events/io_uring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/trace/events/io_uring.h b/include/trace/events/io_uring.h
index fb81c533b310..178ab6f611be 100644
--- a/include/trace/events/io_uring.h
+++ b/include/trace/events/io_uring.h
@@ -643,11 +643,11 @@ TRACE_EVENT(io_uring_short_write,
 );
 
 /*
  * io_uring_local_work_run - ran ring local task work
  *
- * @tctx:		pointer to a io_uring_ctx
+ * @ctx:		pointer to an io_ring_ctx
  * @count:		how many functions it ran
  * @loops:		how many loops it ran
  *
  */
 TRACE_EVENT(io_uring_local_work_run,
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] trace/io_uring: fix io_uring_local_work_run ctx documentation
  2025-05-22 15:04 [PATCH] trace/io_uring: fix io_uring_local_work_run ctx documentation Caleb Sander Mateos
@ 2025-05-22 16:07 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2025-05-22 16:07 UTC (permalink / raw)
  To: Pavel Begunkov, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers, Caleb Sander Mateos
  Cc: io-uring, linux-kernel, linux-trace-kernel


On Thu, 22 May 2025 09:04:50 -0600, Caleb Sander Mateos wrote:
> The comment for the tracepoint io_uring_local_work_run refers to a field
> "tctx" and a type "io_uring_ctx", neither of which exist. "tctx" looks
> to mean "ctx" and "io_uring_ctx" should be "io_ring_ctx".
> 
> 

Applied, thanks!

[1/1] trace/io_uring: fix io_uring_local_work_run ctx documentation
      commit: 28be240c763a44932bfe573f09e145d182e52609

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-22 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 15:04 [PATCH] trace/io_uring: fix io_uring_local_work_run ctx documentation Caleb Sander Mateos
2025-05-22 16:07 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox