projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b3578
)
Update fio2gnuplot
author
Tfindelkind
<thomas@thomas-findelkind.de>
Wed, 16 Sep 2015 21:38:12 +0000
(23:38 +0200)
committer
Tfindelkind
<thomas@thomas-findelkind.de>
Wed, 16 Sep 2015 21:38:12 +0000
(23:38 +0200)
tools/plot/fio2gnuplot
patch
|
blob
|
blame
|
history
diff --git
a/tools/plot/fio2gnuplot
b/tools/plot/fio2gnuplot
index 2d64a6ea07129887672cdecdb693b72f4676befa..1aef047aa53aadc54f5563033615f4c157313658 100755
(executable)
--- a/
tools/plot/fio2gnuplot
+++ b/
tools/plot/fio2gnuplot
@@
-488,6
+488,8
@@
def main(argv):
# Insure that we don't have any starting or trailing dash to the filename
gnuplot_output_filename = gnuplot_output_filename[:-1] if gnuplot_output_filename.endswith('-') else gnuplot_output_filename
gnuplot_output_filename = gnuplot_output_filename[1:] if gnuplot_output_filename.startswith('-') else gnuplot_output_filename
+ if (gnuplot_output_filename == ''):
+ gnuplot_output_filename='default'
if parse_global==True:
parse_global_files(fio_data_file, global_search)