-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-93503: Document the new tracing/profiling APIs in the What's new document #96681
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 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
76af5c9
gh-93503: Document the new tracing/profiling APIs in the What's new d…
pablogsal 4b787a4
Update Doc/whatsnew/3.12.rst
pablogsal d5bd476
Update Doc/whatsnew/3.12.rst
pablogsal 7847e78
Update Misc/NEWS.d/next/C API/2022-06-06-16-04-14.gh-issue-93503.MHJT…
pablogsal 7449b9b
Update Doc/whatsnew/3.12.rst
pablogsal 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
Next
Next commit
gh-93503: Document the new tracing/profiling APIs in the What's new d…
…ocument
- Loading branch information
commit 76af5c9153394f3d07562427168711a68f54ec66
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
12 changes: 6 additions & 6 deletions
12
Misc/NEWS.d/next/C API/2022-06-06-16-04-14.gh-issue-93503.MHJTu8.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,7 @@ | ||
Add two new public functions to the public C-API, | ||
:c:func:`PyEval_SetProfileAllThreads` and | ||
:c:func:`PyEval_SetTraceAllThreads`, that allow to set tracking and | ||
profiling functions in all running threads in addition to the calling one. | ||
Also, add a new *running_threads* parameter to :func:`threading.setprofile` | ||
and :func:`threading.settrace` that allows to do the same from Python. Patch | ||
by Pablo Galindo | ||
:c:func:`PyEval_SetProfileAllThreads` and :c:func:`PyEval_SetTraceAllThreads`, | ||
that allow to set tracking and profiling functions in all running threads in | ||
pablogsal marked this conversation as resolved.
Show resolved
Hide resolved
|
||
addition to the calling one. Also, two analogous functions to the | ||
:mod:`threading` module (:func:`threading.setprofile_all_threads` and | ||
:func:`threading.settrace_all_threads`) that allow to do the same from Python. | ||
Patch by Pablo Galindo |
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.