• alph's avatar
    Reland of Make profiler no frame region detection code more robust [ia86/x64] · 4962bbb1
    alph authored
    Upon collection of the stack trace if the current PC falls into
    the frame building code, the top frame might be in a non-consistent
    state. That leads to some of the frames could be missing from the
    stack trace.
    
    The patch makes it check instructions under current PC and if they
    look like the frame setup/destroy code, it skips the entire sample.
    
    Support for x86/x64
    
    CG_INCLUDE_TRYBOTS=tryserver.v8:v8_linux64_msan_rel
    BUG=chromium:529931
    LOG=N
    
    Review URL: https://codereview.chromium.org/1348533005
    
    Cr-Commit-Position: refs/heads/master@{#30841}
    4962bbb1
sampler.cc 26 KB