Seems like we still have some wonkiness on whether or not the fio version
string is printed. For now, let's just cut this down to '3;' for
detecting terse (v3) output, don't have time to fully investigate this
one right now.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
file_data = file.read()
#
- # Read the first few lines and see if any of them begin with '3;fio-'
+ # Read the first few lines and see if any of them begin with '3;'
# If so, the line is probably terse output. Obviously, this only
# works for fio terse version 3 and it does not work for
# multi-line terse output
lines = file_data.splitlines()
for i in range(8):
file_data = lines[i]
- if file_data.startswith('3;;latency'):
+ if file_data.startswith('3;'):
self.terse_data = file_data.split(';')
return True