From: Jens Axboe Date: Thu, 19 Nov 2015 18:26:21 +0000 (-0700) Subject: Don't output json headers for fio backend X-Git-Tag: fio-2.2.12~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ab34ddd1f2da975ee8163e162f5411409996ca88;hp=d883efbdb2034b4ab23abec9cee1762d6d476247 Don't output json headers for fio backend Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 6ee02d32..da3ad2a2 100644 --- a/stat.c +++ b/stat.c @@ -1612,7 +1612,7 @@ void __show_run_stats(void) show_thread_status_normal(ts, rs, &output[__FIO_OUTPUT_NORMAL]); } } - if (output_format & FIO_OUTPUT_JSON) { + if (!is_backend && (output_format & FIO_OUTPUT_JSON)) { /* disk util stats, if any */ show_disk_util(1, root, &output[__FIO_OUTPUT_JSON]);