• Peter Marshall's avatar
    Reland "[tracing] Add a configurable output stream for perfetto tracing" · d5688b1f
    Peter Marshall authored
    This is a reland of a03ed626
    
    Removed the added test which was failing on win32. The test was unrelated
    to the CL; we can add it later.
    
    Original change's description:
    > [tracing] Add a configurable output stream for perfetto tracing
    >
    > Add the ability to provide perfetto with an output stream for the JSON
    > consumer rather than hardcode it. D8 will use this interface exclusively
    > once the old trace controller is removed.
    >
    > Also add a test for scope-managed trace events and their duration - this
    > was leftover from a previous CL.
    >
    > Cq-Include-Trybots: luci.v8.try:v8_linux64_perfetto_dbg_ng
    > Bug: v8:8339
    > Change-Id: I1c45e17e528b549a4cfdaecabd33c7ac4ab4af77
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1611801
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#61753}
    
    TBR=jgruber@chromium.org, ulan@chromium.org
    
    Bug: v8:8339
    Change-Id: I3442a4d111e12947c107e7d0c226ae934acd06e4
    Cq-Include-Trybots: luci.v8.try:v8_linux64_perfetto_dbg_ng
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627334Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61780}
    d5688b1f
d8.cc 125 KB