DevTools: Fix missing samples in CPU profile.
When v8 is unable to unwind a JS stack trace it emits a sample with an empty stack. That causes DT frontend to show gaps in stack frames. The patch workarounds these by replacing a missing sample with a neighbor one. It basically reverts https://chromium.googlesource.com/chromium/src/+/357c6a05e490f5e187dbad88aea96722a72c7446 Change-Id: I16f21a06bb33db160213319d38243c77ea497b09 Reviewed-on: https://chromium-review.googlesource.com/967466 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#544252}
Showing
Please register or sign in to comment