tracing: Replace uses of TRACE_EVENT_ASYNC* in ui/latency

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 (ui/latancy doesn't
appear to use any): In those cases, the steps have been converted into
nested sub-events.

Bug: 1038710
Change-Id: Ic9d0c503aff5b0111c958e90c8fee7c7fb075fdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2014503
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Stephen Nusko <nuskos@chromium.org>
Auto-Submit: Stephen Nusko <nuskos@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#734037}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cb07556f7118092727305b53593f7bcad2c72a4f
1 file changed
tree: e547c6d7e9d8dbacc744c5f049cc796a65c4fc73
  1. trace_event_common.h