-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for writing out Speedscope files
This adds support for writing out speedscope files, as well as writing out raw call stack data. The speedscope code is adapted from rbspy. This change also refactors the commandline arguments significantly, changing to take subcommands (```py-spy dump -p 1234```) instead of flags. While this is a breaking change, I think it is a better long term solution for py-spy - and it makes more sense for the '-f' flag to be the file format and '-o' to be the filename (which would have broken commandline compatability anyways).
- Loading branch information
Showing
11 changed files
with
598 additions
and
108 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,6 @@ fn native_stress_test(pid: remoteprocess::Pid) -> Result<(), failure::Error> { | |
} | ||
} | ||
} | ||
Ok(()) | ||
} | ||
|
||
|
||
|
Oops, something went wrong.