mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
Revent: Fixed backwards compatibility with v1.
Fixed new gamemode not being set for compatibility mode. Fixed input buffer not being flushed causing replay to fail. Fixed infinte loop if revent recording did not end correctly. Updated revent binaries.
This commit is contained in:
@@ -208,6 +208,7 @@ class ReventRecording(object):
|
||||
raise ValueError('Unexpected recording mode: {}'.format(self.mode))
|
||||
self.num_events, = read_struct(fh, u64_struct)
|
||||
elif 2 > self.version >= 0:
|
||||
self.mode = GENERAL_MODE
|
||||
self._read_devices(fh)
|
||||
else:
|
||||
raise ValueError('Invalid recording version: {}'.format(self.version))
|
||||
|
Reference in New Issue
Block a user