Tracing: Handle mismatching Looper log lines
If the target object of a Looper message gets garbage collected after the message is handled but before Looper logs the 'finished' line, the signature of the object may not match the original 'dispatching' log line. To work around this, store a reference to the original target signature to ensure a matching end event. This patch also adds some extra debug logging when duplicate early trace events are started simultaneously. Bug: 935869 Change-Id: I4bafba4a5469ca5743d9cd6d64cb043e82387b8c Reviewed-on: https://chromium-review.googlesource.com/c/1491612 Auto-Submit: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#636773}
Showing
Please register or sign in to comment