diff options
author | 2022-06-23 01:37:43 -0700 | |
---|---|---|
committer | 2022-06-23 08:40:36 -0600 | |
commit | e70b64a3f28b9f54602ae3e706b1dc1338de3df7 (patch) | |
tree | 679c2d20502de79938b38d9af175c01388f3d6de /scripts/generate_rust_analyzer.py | |
parent | io_uring: fix double poll leak on repolling (diff) | |
download | wireguard-linux-e70b64a3f28b9f54602ae3e706b1dc1338de3df7.tar.xz wireguard-linux-e70b64a3f28b9f54602ae3e706b1dc1338de3df7.zip |
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 <dylany@fb.com>
Link: https://lore.kernel.org/r/20220623083743.2648321-1-dylany@fb.com
[axboe: fixup spurious removal of sq_thread assignment]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions