diff options
author | Dylan Yudaken <[email protected]> | 2022-04-26 01:29:07 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-28 17:06:03 -0600 |
commit | 033b87d24f7257c45506bd043ad85ed24a9925e2 (patch) | |
tree | 48fa7b4c9a21c03e2b8a69903fb07a659ae2cb19 /scripts/gdb/linux/utils.py | |
parent | 1460af7de6ab33da82b8a1f03ce0f8e831a9e29e (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: don't include register, those are not req opcodes]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions