forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sampling profiler] Record frame from context before unwinding (Win)
The frame that's currently executing can be immediately recorded from the values in the register context, independent of any unwinding. This change separates the initial frame recording from the recording within the native unwinding, which will be required to support restarting native unwinding after v8 unwinding. Note: this change alters the stack walking behavior in the case of code that isn't associated with a module. The WalkNativeFrames now appends a frame with the instruction pointer and a null module, whereas before it omitted the frame entirely. Bug: 909957 Change-Id: Id14284004cb69a39cf6a9e7d7b3e86269ab45011 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1540266 Commit-Queue: Mike Wittman <wittman@chromium.org> Reviewed-by: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#645138}
- Loading branch information
Mike Wittman
authored and
Commit Bot
committed
Mar 28, 2019
1 parent
9063ba2
commit 2374c1a
Showing
5 changed files
with
53 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters