• Clemens Backes's avatar
    [profiler] Include the generic js-to-wasm builtin in profiles · f20230af
    Clemens Backes authored
    This CL fixes two things:
    1) It properly creates code entries for the generic js-to-wasm builtin
    (others are left out because we don't want to include all builtins in
    profiles).
    2) It includes js-to-wasm frames in profiles. The generic js-to-wasm
    builtin will map to that frame type in the future (see referenced
    bug). js-to-wasm frames are currently included because they are wrongly
    mapped to OPTIMIZED frames by the SafeStackTraceIterator.
    
    R=petermarshall@chromium.org
    CC=ahaas@chromium.org, evih@google.com
    
    Bug: v8:10701
    Change-Id: I26e3fa6901890e041feab7c001069e67a616c986
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2416495Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70095}
    f20230af
cpu-profiler.cc 17.9 KB