arc: Restore functionality of graphics tracing tools.
Tracing was changed and no longer deliver events in right order. Parent event is closed after children event and this is the order tracing event appear. This CL pre-sorts events based on timestamp and duration to make sure parent event goes first. This additionally fixes crashes in error logging and removes bottleneck in building common tracing model. TEST=Manually + unit test. Observed that common model is built in less than second, compared with ~ min (debug unit test) with old approach. BUG=b:122555793 Change-Id: Ieeb158bb54495a55bf3fa2ddf9d5e18075794091 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539013Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#644348}
Showing
Please register or sign in to comment