iocost_monitor: Always use strings for json values
authorTejun Heo <tj@kernel.org>
Wed, 4 Sep 2019 19:45:54 +0000 (12:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Sep 2019 18:31:39 +0000 (12:31 -0600)
commite742bd5cb55ec0be48c5e7b356393a708e7f73c9
tree1ff62649f8ee32bb00939bbd12fa658f31457d73
parente1518f63f246831af222758ead022cd40e79fab8
iocost_monitor: Always use strings for json values

Json has limited accuracy for numbers and can silently truncate 64bit
values, which can be extremely confusing.  Let's consistently use
string encapsulated values for json output.

While at it, convert an unnecesary f-string to str().

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