iocost_monitor: Report more info with higher accuracy
authorTejun Heo <tj@kernel.org>
Wed, 4 Sep 2019 19:45:55 +0000 (12:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Sep 2019 18:31:39 +0000 (12:31 -0600)
commitb06f2d35c6b14d956f19eeabe1f257caeb66e38e
treef70c82f51555b58d1d94a0465d3c4c6c5181ccf7
parente742bd5cb55ec0be48c5e7b356393a708e7f73c9
iocost_monitor: Report more info with higher accuracy

When outputting json:

* Don't truncate numbers.

* Report address of iocg to ease drilling down further.

When outputting table:

* Use math.ceil() for delay_ms so that small delays don't read as 0.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/cgroup/iocost_monitor.py