mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 19:32:34 +01:00
Revent: Fixes
Changed termination signal to interrupt signal to prevent code exiting too early. Added exit handler to ensure revent exits correctly as previously was crashing and therefore not running final code. Fixed error in writing input event where half of timestamp seconds was missing. Fixed typo in documentation for revent file structure.
This commit is contained in:
@@ -157,7 +157,7 @@ class RecordCommand(ReventCommand):
|
||||
if args.capture_screen:
|
||||
self.logger.info("Recording screen capture")
|
||||
self.device.capture_screen(args.output or os.getcwdu())
|
||||
self.device.killall("revent", signal.SIGTERM)
|
||||
self.device.killall("revent", signal.SIGINT)
|
||||
self.logger.info("Waiting for revent to finish")
|
||||
while self.device.get_pids_of("revent"):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user