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)
commit236daeae3616b1c62ce1a9f8a348d576ec9e22d9
tree666aad4cdb19e880da11cd59a1905dafec4e49d7
parent2335f6f5ddf2f4621395fac5fa4b53d075828cc1
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