It was pretty hard to understand what trace file was linked to which fio
output file. This simple commit add a simpler header to inform the
debugger which fio outputfile got used.
files.append(open(file))
pos = len(files) - 1
tmp_filename = "gnuplot_temp_file.%d" % pos
- temp_outfile.append(open(tmp_filename,'w'))
+ gnuplot_file=open(tmp_filename,'w')
+ temp_outfile.append(gnuplot_file)
+ gnuplot_file.write("#Temporary file based on file %s\n" % file)
disk_perf.append([])
shall_break = False