-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add `Frame` structure and use it in the symbolized stack trace. This new structure stores the address, function name, and whether the function is inlined or not. Before that all this information might have been encoded as a string, which wasn't ideal as in many cases we might want to do something with these fields. For example, some formats, such as Google's pprof might require the address and function name (if the profile is symbolized). This is also very useful for debugging as having the address readily available can be important while troubleshooting issues. Note that right now the user stack addresses are relative to the object file, while the kernel addresses are absolute. This might be something that changes in the future, if we do kernel symbolization in the backend, for example. Test Plan ========= Current tests + got some profiles that looked good.
- Loading branch information
1 parent
51790d2
commit a572d08
Showing
4 changed files
with
88 additions
and
34 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