stat: print the right percentile variant for json output
authorJens Axboe <axboe@kernel.dk>
Sat, 22 Sep 2018 21:02:04 +0000 (15:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Sep 2018 21:02:04 +0000 (15:02 -0600)
commit9f2cd5e0ccbce6b65276c1401cdcf2cb8b77b9ff
tree2be32ff93f57bb4781686e1e71e9ae8005a9c958
parent843c6b5e081900394da002b45253e541b794ac54
stat: print the right percentile variant for json output

We always show the clat percentiles for the json output, regardless
of whether lat_percentiles or clat_percentiles was defined in the
job. Correct that so we show the right output depending on the
job setting.

Fixes: https://github.com/axboe/fio/issues/691
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c