]> git.baikalelectronics.ru Git - kernel.git/commit
iocost_monitor: start from the oldest usage index
authorChengming Zhou <zhouchengming@bytedance.com>
Thu, 30 Jul 2020 12:31:04 +0000 (20:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Jul 2020 17:45:29 +0000 (11:45 -0600)
commit71f30648a126175e0a07af8bccc0b32e9c4da93f
treeaa7e182e5cb6d4cd12fbb3145adbaa2faa00858b
parent06ee580a3510ee044ee8045d82c97dc8656726fc
iocost_monitor: start from the oldest usage index

iocg usage_idx is the latest usage index, we should start from the
oldest usage index to show the consecutive NR_USAGE_SLOTS usages.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/cgroup/iocost_monitor.py