From 2984a4fcedcdc5536b2559d634694fb8fecf40c4 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Wed, 12 May 2021 18:41:43 -0400 Subject: [PATCH] fix fio2gnuplot to work with new logging format The logging format updates documented in 1a953d97 were never propagated to fio2gnuplot, which since then has been failing with a ValueError exception. This commit explicits limits fio2gnuplot to only reading the first 4 columns in the log file. Closes #928 --- tools/plot/fio2gnuplot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plot/fio2gnuplot b/tools/plot/fio2gnuplot index 78ee82fb..d2dc81df 100755 --- a/tools/plot/fio2gnuplot +++ b/tools/plot/fio2gnuplot @@ -198,7 +198,7 @@ def compute_temp_file(fio_data_file,disk_perf,gnuplot_output_dir, min_time, max_ # Index will be used to remember what file was featuring what value index=index+1 - time, perf, x, block_size = line[1] + time, perf, x, block_size = line[1][:4] if (blk_size == 0): try: blk_size=int(block_size) -- 2.25.1