mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-31574: importlib dtrace (#3749)
Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
574562c5dd
commit
3d2b407da0
5 changed files with 28 additions and 0 deletions
|
@ -312,6 +312,17 @@ Available static markers
|
|||
Fires when the Python interpreter finishes a garbage collection
|
||||
cycle. ``arg0`` is the number of collected objects.
|
||||
|
||||
.. c:function:: import__find__load__start(str modulename)
|
||||
|
||||
Fires before :mod:`importlib` attempts to find and load the module.
|
||||
``arg0`` is the module name.
|
||||
|
||||
.. c:function:: import__find__load__done(str modulename, int found)
|
||||
|
||||
Fires after :mod:`importlib`'s find_and_load function is called.
|
||||
``arg0`` is the module name, ``arg1`` indicates if module was
|
||||
successfully loaded.
|
||||
|
||||
|
||||
SystemTap Tapsets
|
||||
-----------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue