• Jose Dapena Paz's avatar
    [profiler][etw] Simplify method name passed to ETW. · b2638151
    Jose Dapena Paz authored
    In existing implementation, of MethodLoad event,
    the method name passed to ETW is coming from
    CodeEventLogger::CodeCreateEvent, and includes
    the source file or URL, column and line numbers, method name
    and a marker for the kind of code generation.
    
    This is partially redundant, as the reference to source ID
    will point to the already generated SourceLoad event, with
    the file information. Also, Windows Performance Analyzer will
    already pick line and column number for the stack representation.
    
    So, for those cases, we just need to send to ETW the script
    method name. Even better, this changeset uses the DebugNameCStr
    logic to retrieve the inferred name in case there is no name
    available.
    
    Bug: v8:12987
    Change-Id: If09c1fedc9da158a3c72932655e2e6b09e818d93
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3763862Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: José Dapena Paz <jdapena@igalia.com>
    Cr-Commit-Position: refs/heads/main@{#82555}
    b2638151
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
loong64 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
riscv Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
basic-block-profiler.cc Loading commit data...
basic-block-profiler.h Loading commit data...
code-tracer.h Loading commit data...
compilation-statistics.cc Loading commit data...
compilation-statistics.h Loading commit data...
disasm.h Loading commit data...
disassembler.cc Loading commit data...
disassembler.h Loading commit data...
eh-frame.cc Loading commit data...
eh-frame.h Loading commit data...
etw-jit-metadata-win.h Loading commit data...
etw-jit-win.cc Loading commit data...
etw-jit-win.h Loading commit data...
gdb-jit.cc Loading commit data...
gdb-jit.h Loading commit data...
objects-debug.cc Loading commit data...
objects-printer.cc Loading commit data...
perf-jit.cc Loading commit data...
perf-jit.h Loading commit data...
unwinder.cc Loading commit data...
unwinder.h Loading commit data...
unwinding-info-win64.cc Loading commit data...
unwinding-info-win64.h Loading commit data...