diff options
author | 2022-04-26 01:29:07 -0700 | |
---|---|---|
committer | 2022-04-28 17:06:03 -0600 | |
commit | 033b87d24f7257c45506bd043ad85ed24a9925e2 (patch) | |
tree | 48fa7b4c9a21c03e2b8a69903fb07a659ae2cb19 /include/linux | |
parent | io_uring: rename op -> opcode (diff) | |
download | wireguard-linux-033b87d24f7257c45506bd043ad85ed24a9925e2.tar.xz wireguard-linux-033b87d24f7257c45506bd043ad85ed24a9925e2.zip |
io_uring: use the text representation of ops in trace
It is annoying to translate opcodes to textwhen tracing io_uring. Use the
io_uring_get_opcode function instead to use the text representation.
A downside here might have been that if the opcode is invalid it will not
be obvious, however the opcode is already overridden in these cases to
0 (NOP) in io_init_req(). Therefore this is a non issue.
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220426082907.3600028-5-dylany@fb.com
[axboe: don't include register, those are not req opcodes]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions