[profiler] Make no frame region detection code more robust
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 BUG=chromium:529931 LOG=N Review URL: https://codereview.chromium.org/1341413002 Cr-Commit-Position: refs/heads/master@{#30777}
Showing
Please
register
or
sign in
to comment