mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
716e59daf5
As WA currently supports either a single logcat dump after each job, or fixed rate polling of logcat, it is possible that the fixed size logcat buffer wraps around and overwrites data between each dump or poll. This data may be used by output processors that should be notified of the loss. This change allows the detection of buffer wrapping by inserting a known log entry into the buffer, although it cannot say how much data was lost, and only applies to the "main" logcat buffer. If buffer wrap is detected, a warning is logged by WA.