fix fio2gnuplot to work with new logging format
[fio.git] / tools / plot / fio2gnuplot
index 78ee82fb8025567c1724138ca60ad25a6a4a91b1..d2dc81df9b617d21986dcc8ba594a31c7a67b860 100755 (executable)
@@ -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)