• Andreas Haas's avatar
    [wasm] Introduce v8.wasm.detailed trace event category · d529da01
    Andreas Haas authored
    This CL repurposes the v8.wasm trace event category, and introduces
    additionally the v8.wasm.detailed category.
    
    The v8.wasm category is enabled by default and captures core wasm events
    like validation, compilation, instantiation, and important operations
    like grow-memory and tier-up timings.
    
    The v8.wasm.detailed category is disabled by default. It captures all
    events the previous v8.wasm category captured, like compilation of
    single functions, time needed for register allocation, ...
    
    This CL splits these categories to allow enabling the v8.wasm category
    in telemetry benchmarks to calculate compile time and other metrics
    from traces of telemetry runs.
    
    R=ecmziegler@chromium.org
    
    Bug: chromium:1084929
    Change-Id: Ida58b8f344b0ccb6ee1210e259c3e0e993eff497
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2210230
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarEmanuel Ziegler <ecmziegler@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68156}
    d529da01
liftoff-compiler.cc 160 KB