projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd33a2f
)
fio2gnuplot: Fixing typo when inserting fake data
author
Erwan Velu
<erwan@enovance.com>
Thu, 1 Aug 2013 11:39:32 +0000
(13:39 +0200)
committer
Erwan Velu
<erwan@enovance.com>
Mon, 5 Aug 2013 15:09:59 +0000
(17:09 +0200)
Commit
f9846c392d176582916c39b1925a436e79f23de1
introduced fake data
when matched files doesn't have the exact same amount of traces. This
patch introduced a typo that prevented the int comparison to work
properly.
tools/plot/fio2gnuplot.py
patch
|
blob
|
blame
|
history
diff --git
a/tools/plot/fio2gnuplot.py
b/tools/plot/fio2gnuplot.py
index 800c334bdb70e0670dc7796b760b1d2bacdbfe23..4be011d2349fab151fd68581f6410fc53d30108b 100755
(executable)
--- a/
tools/plot/fio2gnuplot.py
+++ b/
tools/plot/fio2gnuplot.py
@@
-162,7
+162,7
@@
def compute_temp_file(fio_data_file,disk_perf,gnuplot_output_dir):
s=file.readline().replace(',',' ').split()
if not s:
nb_empty_files+=1
- s="-1, 0, 0, 0
'
".replace(',',' ').split()
+ s="-1, 0, 0, 0".replace(',',' ').split()
if (nb_empty_files == nb_files):
shall_break=True