Commit e8b8be79 authored by dongliang.cui's avatar dongliang.cui Committed by Todd Kjos
Browse files

BACKPORT: 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,6 [binder:815_3]
block_rq_issue: 8,0 RA 16384 () 6500840 + 32 be,6 [binder:815_3]
block_rq_complete: 8,0 RA () 6500840 + 32 be,6 [0]

Bug: 353608803

Signed-off-by: default avatarDongliang Cui <dongliang.cui@unisoc.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
(cherry picked from commit aa6ff4eb)
[dongliang.cui: Since the ioprio_hint and IOPRIO_PRIO_LEVEL macros
 do not exist on k515, an adaptation was made for k515.]

Change-Id: I2259cb85ebfe9606c6a638f5932bff36fe154eb0
Signed-off-by: default avatardongliang.cui <dongliang.cui@unisoc.com>
parent ac8b35a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment