diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-04-26 11:29:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-29 02:06:03 +0300 |
commit | 033b87d24f7257c45506bd043ad85ed24a9925e2 (patch) | |
tree | 48fa7b4c9a21c03e2b8a69903fb07a659ae2cb19 /fs | |
parent | 1460af7de6ab33da82b8a1f03ce0f8e831a9e29e (diff) | |
download | linux-033b87d24f7257c45506bd043ad85ed24a9925e2.tar.xz |
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 'fs')
0 files changed, 0 insertions, 0 deletions