• Jose Dapena Paz's avatar
    [profiler] Populate script line ends for native stacks · 18a87b4f
    Jose Dapena Paz authored
    When profiling V8 code generated with snapshot using ETW, there is a
    huge difference enabling system instrumentation. This is because, for
    populating the ETW tracing (when --interpreted-frames-native-stack is
    enabled), we need the scripts line ends. But these are only generated if
    log functions are enabled.
    
    To prevent the problem, this CL also initializes script line ends for
    the case interpreted frames native stacks are enabled.
    
    Bug: v8:12910
    Change-Id: I89eab727574a68a8b2fbc2575faf540218370e7d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3669698Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: José Dapena Paz <jdapena@igalia.com>
    Cr-Commit-Position: refs/heads/main@{#81098}
    18a87b4f
code-serializer.cc 28.7 KB