Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Doc/c-api/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,15 @@ would typically correspond to a python function.
.. c:function:: int PyMonitoring_ExitScope(void)

Exit the last scope that was entered with :c:func:`!PyMonitoring_EnterScope`.


.. c:function:: int PY_MONITORING_IS_INSTRUMENTED_EVENT(uint8_t ev)

Return true if the event corresponding to the event ID *ev* is
a :ref:`local event <monitoring-event-local>`.

.. versionadded:: 3.13

.. deprecated:: next

This function is :term:`soft deprecated`.
2 changes: 2 additions & 0 deletions Doc/library/sys.monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ events, use the expression ``PY_RETURN | PY_START``.

Events are divided into three groups:

.. _monitoring-event-local:

Local events
''''''''''''

Expand Down
Loading