• Clemens Backes's avatar
    [wasm] Improve wasm code logging · cce670e7
    Clemens Backes authored
    This fixes a few thing regarding code logging for profiling:
    
    1) Append the execution tier, otherwise we get two function of the same
       name.
    2) Replace "wasm-function[%d]" by "<wasm-unnamed>", since the index is
       appended later anyway.
    3) Avoid unneeded JS heap and C++ heap allocations during logging.
    
    R=jkummerow@chromium.org
    
    Bug: chromium:1029470
    Change-Id: Ie7af41f21e4595f8d8c574e4ad18273f89f1cb6e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1943162
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65285}
    cce670e7
wasm-code-manager.cc 76.7 KB