summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-06-03 09:01:52 -0600
committerJens Axboe <axboe@kernel.dk>2021-06-03 09:01:52 -0600
commitd7a28031718d281f1b9ea593c8a3f395761510ca (patch)
tree60cd6777530095cb42ae7ee857438250f293e832
parent019b7fc4ac11ba70f22f224ec8c87ca2f26bffda (diff)
parent2984a4fcedcdc5536b2559d634694fb8fecf40c4 (diff)
downloadfio-d7a28031718d281f1b9ea593c8a3f395761510ca.tar.gz
fio-d7a28031718d281f1b9ea593c8a3f395761510ca.tar.bz2
Merge branch 'fix/928' of https://github.com/larsks/fio
* 'fix/928' of https://github.com/larsks/fio: fix fio2gnuplot to work with new logging format
-rwxr-xr-xtools/plot/fio2gnuplot2
1 files changed, 1 insertions, 1 deletions
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)