diff options
author | Dylan Yudaken <[email protected]> | 2022-06-23 01:37:43 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-06-23 08:40:36 -0600 |
commit | e70b64a3f28b9f54602ae3e706b1dc1338de3df7 (patch) | |
tree | 679c2d20502de79938b38d9af175c01388f3d6de /scripts/bpf_doc.py | |
parent | c0737fa9a5a5cf5a053bcc983f72d58919b997c6 (diff) |
io_uring: move io_uring_get_opcode out of TP_printk
The TP_printk macro's are not supposed to use custom code ([1]) or else
tools such as perf cannot use these events.
Convert the opcode string representation to use the __string wiring that
the event framework provides ([2]).
[1]: https://lwn.net/Articles/379903/
[2]: https://lwn.net/Articles/381064/
Fixes: 033b87d24f72 ("io_uring: use the text representation of ops in trace")
Signed-off-by: Dylan Yudaken <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: fixup spurious removal of sq_thread assignment]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions