stat: update json+ output format for --lat_percentiles option
authorVincent Fu <vincent.fu@wdc.com>
Mon, 9 Oct 2017 14:47:12 +0000 (10:47 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Oct 2017 15:09:55 +0000 (09:09 -0600)
commit24cab44e2840067203ac9ce52b48a7c21e647680
tree561399ff5db16e960711466d4259998e35e8471e
parent37b086520bc14c1771be3bebbf1d280336a24ea5
stat: update json+ output format for --lat_percentiles option

If --lat_percentiles is set to 1, change the json+ output format
so that the bins are inside the 'lat_ns' object.

Also update fio_jsonplus_clat2csv to look in the two possible
locations.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c
tools/fio_jsonplus_clat2csv