-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-96143: Improve perf profiler docs #96445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
41bab32
gh-96143: Improve perf profiler docs
erlend-aasland 574b39a
you => your
9388964
Fixup What's New entry
31c0eb8
Address review: add links to perf wiki, and use bullet points
erlend-aasland 9c72023
Address Victor's review
erlend-aasland 3756252
https
gpshead cbe8b16
Address reviews
erlend-aasland 9ce60ea
Merge branch 'main' into perf-docs
erlend-aasland db4aaa2
Apply suggestions from code review
d68c77e
Merge branch 'main' into perf-docs
erlend-aasland 0d41b95
Merge branch 'main' into perf-docs
erlend-aasland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
11 changes: 5 additions & 6 deletions
11
Misc/NEWS.d/next/Core and Builtins/2022-08-20-18-36-40.gh-issue-96143.nh3GFM.rst
This file contains hidden or 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
Add a new ``-X perf`` Python command line option as well as | ||
:func:`sys.activate_stack_trampoline` and :func:`sys.deactivate_stack_trampoline` | ||
function in the :mod:`sys` module that allows to set/unset the interpreter in a | ||
way that the Linux ``perf`` profiler can detect Python calls. The new | ||
:func:`sys.is_stack_trampoline_active` function allows to query the state of the | ||
perf trampoline. Design by Pablo Galindo. Patch by Pablo Galindo and Christian Heimes | ||
Add :ref:`perf_profiling` through the new command-line option | ||
:option:`-X perf <-X>`, as well as the new | ||
:func:`sys.activate_stack_trampoline`, :func:`sys.deactivate_stack_trampoline`, | ||
and :func:`sys.is_stack_trampoline_active` APIs. | ||
Design by Pablo Galindo. Patch by Pablo Galindo and Christian Heimes | ||
with contributions from Gregory P. Smith [Google] and Mark Shannon. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.