diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-06-23 01:37:43 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-23 08:40:36 -0600 |
commit | e70b64a3f28b9f54602ae3e706b1dc1338de3df7 (patch) | |
tree | 679c2d20502de79938b38d9af175c01388f3d6de /drivers/platform/x86/intel/pmt/class.h | |
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 <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 'drivers/platform/x86/intel/pmt/class.h')
0 files changed, 0 insertions, 0 deletions