Skip to content

io_uring: text representation of opcode in trace

Dylan Yudaken io-uring 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied
  2. v24 patches 2 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- rebase onto for-5.19/io_uring-socket

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4io_uring: add type to op enuminclude/uapi/linux/io_uring.h+1 -10 replies
2/4io_uring: add io_uring_get_opcodefs/io_uring.c include/linux/io_uring.h+106 -00 replies
3/4io_uring: rename op -> opcodeinclude/trace/events/io_uring.h+1 -10 replies
4/4io_uring: use the text representation of ops in traceinclude/trace/events/io_uring.h+25 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] io_uring: text representation of opcode in trace

This series adds the text representation of opcodes into the trace. This makes it much quicker to understand traces without having to translate opcodes in your head.

Patch 1 adds a type to io_uring opcodes
Patch 2 is the translation function.
Patch 3 is a small cleanup
Patch 4 uses the translator in the trace logic

v2:
- return "INVALID" rather than UNKNOWN/LAST
- add a type to io_uring opcdodes to get the compiler to complain if any are missing

v3:
- rebase onto for-5.19/io_uring-socket

Dylan Yudaken (4):
io_uring: add type to op enum
io_uring: add io_uring_get_opcode
io_uring: rename op -> opcode
io_uring: use the text representation of ops in trace

 fs/io_uring.c                   | 101 ++++++++++++++++++++++++++++++++
 include/linux/io_uring.h        |   5 ++
 include/trace/events/io_uring.h |  42 +++++++------
 include/uapi/linux/io_uring.h   |   2 +-
 4 files changed, 132 insertions(+), 18 deletions(-)

base-commit: 1374e08e2d44863c931910797852589803997668

Signature · 1 line
2.30.2