mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-93503: Add thread-specific APIs to set profiling and tracing functions in the C-API (#93504)
* gh-93503: Add APIs to set profiling and tracing functions in all threads in the C-API * Use a separate API * Fix NEWS entry * Add locks around the loop * Document ignoring exceptions * Use the new APIs in the sys module * Update docs
This commit is contained in:
parent
657976ad95
commit
e34c82abeb
10 changed files with 271 additions and 4 deletions
|
@ -796,10 +796,18 @@ PyEval_SetProfile:void:::
|
|||
PyEval_SetProfile:Py_tracefunc:func::
|
||||
PyEval_SetProfile:PyObject*:obj:+1:
|
||||
|
||||
PyEval_SetProfileAllThreads:void:::
|
||||
PyEval_SetProfileAllThreads:Py_tracefunc:func::
|
||||
PyEval_SetProfileAllThreads:PyObject*:obj:+1:
|
||||
|
||||
PyEval_SetTrace:void:::
|
||||
PyEval_SetTrace:Py_tracefunc:func::
|
||||
PyEval_SetTrace:PyObject*:obj:+1:
|
||||
|
||||
PyEval_SetTraceAllThreads:void:::
|
||||
PyEval_SetTraceAllThreads:Py_tracefunc:func::
|
||||
PyEval_SetTraceAllThreads:PyObject*:obj:+1:
|
||||
|
||||
PyEval_EvalCode:PyObject*::+1:
|
||||
PyEval_EvalCode:PyObject*:co:0:
|
||||
PyEval_EvalCode:PyObject*:globals:0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue