• Peter Marshall's avatar
    [tracing] Don't delete TraceWriters in Perfetto · d2061b34
    Peter Marshall authored
    Perfetto has a mechanism for getting trace data from buffers held alive
    by TraceWriters. We enable this with the SetSMBScrapingEnabled() call.
    
    This means we don't need to delete TraceWriter objects and can just leak
    them for now, and eventually use thread-local destructors to ensure they
    are eventually deleted on thread exit.
    
    Cq-Include-Trybots: luci.v8.try:v8_linux64_perfetto_dbg_ng
    Bug: v8:8339
    Change-Id: I690bc435c48db6d91eab2fbc7a49ec9feae3b45a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1607653
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61575}
    d2061b34
Name
Last commit
Last update
..
DEPS Loading commit data...
perfetto-consumer.h Loading commit data...
perfetto-json-consumer.cc Loading commit data...
perfetto-json-consumer.h Loading commit data...
perfetto-producer.cc Loading commit data...
perfetto-producer.h Loading commit data...
perfetto-shared-memory.cc Loading commit data...
perfetto-shared-memory.h Loading commit data...
perfetto-tasks.cc Loading commit data...
perfetto-tasks.h Loading commit data...
perfetto-tracing-controller.cc Loading commit data...
perfetto-tracing-controller.h Loading commit data...
trace-buffer.cc Loading commit data...
trace-buffer.h Loading commit data...
trace-config.cc Loading commit data...
trace-object.cc Loading commit data...
trace-writer.cc Loading commit data...
trace-writer.h Loading commit data...
tracing-controller.cc Loading commit data...