diff options
| author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2019-06-20 10:59:17 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2019-06-20 13:03:51 -0600 |
| commit | 874c893bf07b88d25c6d1db3e1d14e582f838281 (patch) | |
| tree | c9920b0424ec498a4d27f902d5bdd6d4405c7159 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | e47bc4eda953928644109101d07c9c95dc29a458 (diff) | |
block: use blk_op_str() in blk-mq-debugfs.c
Now that we've a helper function blk_op_str() to convert the
REQ_OP_XXX to string XXX, adjust the code to use that. Get rid of
the duplicate array op_name which is now present in the blk-core.c
which we renamed it to "blk_op_name" and open coding in the
blk-mq-debugfs.c.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
