]> 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)
commit7319a5a20d3c64717180dd0d5b2950e1d4e2d274
treeaa7e182e5cb6d4cd12fbb3145adbaa2faa00858b
parentcfd15f2da547f36e9701cb38e44c4efa5a815deb
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