stat: put 'percentiles' object in appropriate 'clat_ns' or 'lat_ns' parent
authorVincent Fu <vincent.fu@wdc.com>
Thu, 7 Feb 2019 15:51:07 +0000 (10:51 -0500)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Feb 2019 16:48:46 +0000 (09:48 -0700)
commite5eb6fbf91617be0c7d74147165909a493c90136
tree93190a9346bd63a5483089bec707a939754bdbc2
parent5d89c625949d8d4ae4abaefbc77b90d79cc8d09a
stat: put 'percentiles' object in appropriate 'clat_ns' or 'lat_ns' parent

In the JSON output, the 'percentiles' object currently always appears within the
'clat_ns' object. Put it inside the 'lat_ns' object when --lat_percentiles=1 is set.

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