diff options
| author | Yufen Yu <[email protected]> | 2019-03-26 13:19:25 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-04-02 14:57:05 +0000 |
| commit | ff3b74b8e1675c802e09157a56c97ca38a659b9d (patch) | |
| tree | 2bcf6917ee428014a7645dc806e51a34ffbc79e4 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | block: use blk_free_flush_queue() to free hctx->fq in blk_mq_init_hctx (diff) | |
| download | kernel-ff3b74b8e1675c802e09157a56c97ca38a659b9d.tar.gz kernel-ff3b74b8e1675c802e09157a56c97ca38a659b9d.zip | |
blk-mq: add trace block plug and unplug for multiple queues
For now, we just trace plug for single queue device or drivers
provide .commit_rqs, and have not trace plug for multiple queues
device. But, unplug events will be recorded when call
blk_mq_flush_plug_list(). Then, trace events will be asymmetrical,
just have unplug and without plug.
This patch add trace plug and unplug for multiple queues device in
blk_mq_make_request(). After that, we can accurately trace plug and
unplug for multiple queues.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Yufen Yu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
