From ab34ddd1f2da975ee8163e162f5411409996ca88 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 19 Nov 2015 11:26:21 -0700 Subject: [PATCH] Don't output json headers for fio backend Signed-off-by: Jens Axboe --- stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.25.1