• Omer Katz's avatar
    cppgc: Add tracing scopes · 6a1a3a10
    Omer Katz authored
    This CL adds tracing scopes for the various cppgc classes.
    Scopes use TRACE_EVENT_BEGIN and TRACE_EVENT_END macros to report trace
    events. To do so they need to include trace-event.h. For unified heap
    builds, trace-event.h forwards to v8's src/tracing/trace-event.h. For
    other builds, trace-event.h provides a subset of
    src/tracing/trace-event.h that covers just the parts used by cppgc.
    
    This CL covers what we need for traces and blink gc metrics (up to
    renaming events from BlinkGC.* to CppGC.*). UMA and UKM are not yet
    handled.
    
    Bug: chromium:1056170
    Change-Id: Id92e84b27259ff0aadae7692f3d79d30896fb8e7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2540548
    Commit-Queue: Omer Katz <omerkatz@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71284}
    6a1a3a10
Name
Last commit
Last update
..
cppgc Loading commit data...
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
js_protocol-1.2.json Loading commit data...
js_protocol-1.3.json Loading commit data...
js_protocol.pdl Loading commit data...
v8-cppgc.h Loading commit data...
v8-fast-api-calls.h Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-metrics.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-unwinder-state.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8-wasm-trap-handler-posix.h Loading commit data...
v8-wasm-trap-handler-win.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...