tracing: Replace uses of TRACE_EVENT_ASYNC* in cc/

The deprecated TRACE_EVENT_ASYNC* macros have been superseded by
TRACE_EVENT_NESTABLE_ASYNC*.

Updating to the new macros is mostly straight-forward, except in cases
where STEP_INTO/PAST macros were used extensively: In those cases, the
steps have been converted into nested sub-events.

Note this also fixes an issue in CompositorFrameReporter where the
parent "PipelineReporter" event may have begin/end timestamps that
didn't match its child stage event's explicit timestamps.

Bug: 1038710
Change-Id: I127a266af023876a8653873108389c477da55c5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986839
Commit-Queue: Eric Seckler <eseckler@chromium.org>
Reviewed-by: Eric Karl <ericrk@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#732531}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e6246682ba9052a8a3c5de6b08e439d748cd7cd
1 file changed
tree: 610c7a66c1b093b5e5a3da285a1adcafa7532275
  1. trace_event_common.h