]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: Add to traces the req pointer when available
authorOlivier Langlois <olivier@trillion01.com>
Mon, 31 May 2021 06:36:37 +0000 (02:36 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Jun 2021 12:41:46 +0000 (06:41 -0600)
commit98b4d63e7b4ed975166ddda234bad35c64ba8f60
tree666aad4cdb19e880da11cd59a1905dafec4e49d7
parentb13e3b9cb1bf7fc3be03840e1f626b74de272c3c
io_uring: Add to traces the req pointer when available

The req pointer uniquely identify a specific request.
Having it in traces can provide valuable insights that is not possible
to have if the calling process is reusing the same user_data value.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/trace/events/io_uring.h