]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: Add ioprio to block_rq tracepoint
authorDongliang Cui <dongliang.cui@unisoc.com>
Fri, 14 Jun 2024 07:49:36 +0000 (15:49 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2024 16:30:47 +0000 (10:30 -0600)
commitaa6ff4eb7c10d9a6532db3ea9e78124bf14e70ae
tree0b0622b0127c1763248f30d72a8bb918598e8acb
parentd19b46340b3c0ea66bef0f6c58876cc085813ba8
block: Add ioprio to block_rq tracepoint

Sometimes we need to track the processing order of requests with
ioprio set. So the ioprio of request can be useful information.

Example:

block_rq_insert: 8,0 RA 16384 () 6500840 + 32 be,0,6 [binder:815_3]
block_rq_issue: 8,0 RA 16384 () 6500840 + 32 be,0,6 [binder:815_3]
block_rq_complete: 8,0 RA () 6500840 + 32 be,0,6 [0]

Signed-off-by: Dongliang Cui <dongliang.cui@unisoc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20240614074936.113659-1-dongliang.cui@unisoc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/trace/events/block.h