summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDylan Yudaken <dylany@fb.com>2022-04-26 01:29:07 -0700
committerJens Axboe <axboe@kernel.dk>2022-04-28 17:06:03 -0600
commit033b87d24f7257c45506bd043ad85ed24a9925e2 (patch)
tree48fa7b4c9a21c03e2b8a69903fb07a659ae2cb19 /fs
parent1460af7de6ab33da82b8a1f03ce0f8e831a9e29e (diff)
downloadlinux-033b87d24f7257c45506bd043ad85ed24a9925e2.tar.bz2
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