• Zhou, Zhiguo's avatar
    Log debug info of WASM for Intel VTune Amplifier · ec580709
    Zhou, Zhiguo authored
    This CL logs debug information of WASM in Intel VTune Amplifer via
    VTune's JIT Profiling API. With this CL, the profiling information
    of JITted code and its corresponding C/C++ source code is displayed
    optionally. To use this feature, a runtime flag "vtune_prof_annotat
    e_wasm" should be passed to the VTune-enabled V8 engine. Currently,
    the inline function in C/C++ is not well supported due to the
    limitation of source map.
    
    As a drive-by fix, the dynamically allocated event-specific data
    of JavaScript (src/third_party/vtune/vtune-jit.cc) is managed with
    C++ containers for safety.
    
    Change-Id: Ic27420fcdcd775bc5c7778abf5cff6edf0fb38b6
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1782126Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Zhiguo Zhou <zhiguo.zhou@intel.com>
    Cr-Commit-Position: refs/heads/master@{#64351}
    ec580709
Name
Last commit
Last update
..
BUILD.gn Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
OWNERS Loading commit data...
ittnotify_config.h Loading commit data...
ittnotify_types.h Loading commit data...
jitprofiling.cc Loading commit data...
jitprofiling.h Loading commit data...
v8-vtune.h Loading commit data...
vtune-jit.cc Loading commit data...
vtune-jit.h Loading commit data...