• mattloring's avatar
    Custom objdump to enable perf annotation · dbba4b40
    mattloring authored
    Allows jitted code to be annotated in perf. To use:
    
    1) Report generated code in code-(pid)-1.asm.
    
      perf record -- d8 --print-code --redirect-code-traces script.js
    
    2) Run perf report from the directory containing the above code file.
    
      perf report --objdump=v8/tools/objdump-v8
    
    This script supports generated code from both crankshaft or turbofan.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2167553002
    Cr-Commit-Position: refs/heads/master@{#37913}
    dbba4b40
objdump-v8 2.72 KB