GRAYBYTE WORDPRESS FILE MANAGER8972

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python313/include/python3.13/cpython/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python313/include/python3.13/cpython//monitoring.h
#ifndef Py_CPYTHON_MONITORING_H
#  error "this header file must not be included directly"
#endif

/* Local events.
 * These require bytecode instrumentation */

#define PY_MONITORING_EVENT_PY_START 0
#define PY_MONITORING_EVENT_PY_RESUME 1
#define PY_MONITORING_EVENT_PY_RETURN 2
#define PY_MONITORING_EVENT_PY_YIELD 3
#define PY_MONITORING_EVENT_CALL 4
#define PY_MONITORING_EVENT_LINE 5
#define PY_MONITORING_EVENT_INSTRUCTION 6
#define PY_MONITORING_EVENT_JUMP 7
#define PY_MONITORING_EVENT_BRANCH 8
#define PY_MONITORING_EVENT_STOP_ITERATION 9

#define PY_MONITORING_IS_INSTRUMENTED_EVENT(ev) \
    ((ev) < _PY_MONITORING_LOCAL_EVENTS)

/* Other events, mainly exceptions */

#define PY_MONITORING_EVENT_RAISE 10
#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 11
#define PY_MONITORING_EVENT_PY_UNWIND 12
#define PY_MONITORING_EVENT_PY_THROW 13
#define PY_MONITORING_EVENT_RERAISE 14


/* Ancillary events */

#define PY_MONITORING_EVENT_C_RETURN 15
#define PY_MONITORING_EVENT_C_RAISE 16


typedef struct _PyMonitoringState {
    uint8_t active;
    uint8_t opaque;
} PyMonitoringState;


PyAPI_FUNC(int)
PyMonitoring_EnterScope(PyMonitoringState *state_array, uint64_t *version,
                         const uint8_t *event_types, Py_ssize_t length);

PyAPI_FUNC(int)
PyMonitoring_ExitScope(void);


PyAPI_FUNC(int)
_PyMonitoring_FirePyStartEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FirePyResumeEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FirePyReturnEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                                PyObject *retval);

PyAPI_FUNC(int)
_PyMonitoring_FirePyYieldEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                               PyObject *retval);

PyAPI_FUNC(int)
_PyMonitoring_FireCallEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                            PyObject* callable, PyObject *arg0);

PyAPI_FUNC(int)
_PyMonitoring_FireLineEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                            int lineno);

PyAPI_FUNC(int)
_PyMonitoring_FireJumpEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                            PyObject *target_offset);

PyAPI_FUNC(int)
_PyMonitoring_FireBranchEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                              PyObject *target_offset);

PyAPI_FUNC(int)
_PyMonitoring_FireCReturnEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                               PyObject *retval);

PyAPI_FUNC(int)
_PyMonitoring_FirePyThrowEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FireRaiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FireReraiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FireExceptionHandledEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FireCRaiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FirePyUnwindEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset);

PyAPI_FUNC(int)
_PyMonitoring_FireStopIterationEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset, PyObject *value);


#define _PYMONITORING_IF_ACTIVE(STATE, X)  \
    if ((STATE)->active) { \
        return (X); \
    } \
    else { \
        return 0; \
    }

static inline int
PyMonitoring_FirePyStartEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyStartEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FirePyResumeEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyResumeEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FirePyReturnEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                               PyObject *retval)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyReturnEvent(state, codelike, offset, retval));
}

static inline int
PyMonitoring_FirePyYieldEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                              PyObject *retval)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyYieldEvent(state, codelike, offset, retval));
}

static inline int
PyMonitoring_FireCallEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                           PyObject* callable, PyObject *arg0)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireCallEvent(state, codelike, offset, callable, arg0));
}

static inline int
PyMonitoring_FireLineEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                           int lineno)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireLineEvent(state, codelike, offset, lineno));
}

static inline int
PyMonitoring_FireJumpEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                           PyObject *target_offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireJumpEvent(state, codelike, offset, target_offset));
}

static inline int
PyMonitoring_FireBranchEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                             PyObject *target_offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireBranchEvent(state, codelike, offset, target_offset));
}

static inline int
PyMonitoring_FireCReturnEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset,
                              PyObject *retval)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireCReturnEvent(state, codelike, offset, retval));
}

static inline int
PyMonitoring_FirePyThrowEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyThrowEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FireRaiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireRaiseEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FireReraiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireReraiseEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FireExceptionHandledEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireExceptionHandledEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FireCRaiseEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireCRaiseEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FirePyUnwindEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FirePyUnwindEvent(state, codelike, offset));
}

static inline int
PyMonitoring_FireStopIterationEvent(PyMonitoringState *state, PyObject *codelike, int32_t offset, PyObject *value)
{
    _PYMONITORING_IF_ACTIVE(
        state,
        _PyMonitoring_FireStopIterationEvent(state, codelike, offset, value));
}

#undef _PYMONITORING_IF_ACTIVE

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 13 2025 08:38:47
root / linksafe
0755
abstract.h
3.319 KB
April 08 2025 13:54:08
root / linksafe
0644
bytearrayobject.h
1.136 KB
April 08 2025 13:54:08
root / linksafe
0644
bytesobject.h
1.152 KB
April 08 2025 13:54:08
root / linksafe
0644
cellobject.h
1.051 KB
April 08 2025 13:54:08
root / linksafe
0644
ceval.h
1.089 KB
April 08 2025 13:54:08
root / linksafe
0644
classobject.h
2.192 KB
April 08 2025 13:54:08
root / linksafe
0644
code.h
14.851 KB
April 08 2025 13:54:08
root / linksafe
0644
compile.h
2.071 KB
April 08 2025 13:54:08
root / linksafe
0644
complexobject.h
0.888 KB
April 08 2025 13:54:08
root / linksafe
0644
context.h
1.794 KB
April 08 2025 13:54:08
root / linksafe
0644
critical_section.h
5.457 KB
April 08 2025 13:54:08
root / linksafe
0644
descrobject.h
1.556 KB
April 08 2025 13:54:08
root / linksafe
0644
dictobject.h
3.779 KB
April 08 2025 13:54:08
root / linksafe
0644
fileobject.h
0.637 KB
April 08 2025 13:54:08
root / linksafe
0644
fileutils.h
0.227 KB
April 08 2025 13:54:08
root / linksafe
0644
floatobject.h
0.879 KB
April 08 2025 13:54:08
root / linksafe
0644
frameobject.h
1.171 KB
April 08 2025 13:54:08
root / linksafe
0644
funcobject.h
6.884 KB
April 08 2025 13:54:08
root / linksafe
0644
genobject.h
2.927 KB
April 08 2025 13:54:08
root / linksafe
0644
import.h
0.708 KB
April 08 2025 13:54:08
root / linksafe
0644
initconfig.h
8.005 KB
April 08 2025 13:54:08
root / linksafe
0644
listobject.h
1.759 KB
April 08 2025 13:54:08
root / linksafe
0644
lock.h
1.722 KB
April 08 2025 13:54:08
root / linksafe
0644
longintrepr.h
4.999 KB
April 08 2025 13:54:08
root / linksafe
0644
longobject.h
5.452 KB
April 08 2025 13:54:08
root / linksafe
0644
memoryobject.h
2.171 KB
April 08 2025 13:54:08
root / linksafe
0644
methodobject.h
2.223 KB
April 08 2025 13:54:08
root / linksafe
0644
modsupport.h
1.018 KB
April 08 2025 13:54:08
root / linksafe
0644
monitoring.h
7.523 KB
April 08 2025 13:54:08
root / linksafe
0644
object.h
18.627 KB
April 08 2025 13:54:08
root / linksafe
0644
objimpl.h
3.73 KB
April 08 2025 13:54:08
root / linksafe
0644
odictobject.h
1.28 KB
April 08 2025 13:54:08
root / linksafe
0644
picklebufobject.h
0.828 KB
April 08 2025 13:54:08
root / linksafe
0644
pthread_stubs.h
3.834 KB
April 08 2025 13:54:08
root / linksafe
0644
pyatomic.h
16.119 KB
April 08 2025 13:54:08
root / linksafe
0644
pyatomic_gcc.h
18.683 KB
April 08 2025 13:54:08
root / linksafe
0644
pyatomic_msc.h
28.556 KB
April 08 2025 13:54:08
root / linksafe
0644
pyatomic_std.h
23.766 KB
April 08 2025 13:54:08
root / linksafe
0644
pyctype.h
1.354 KB
April 08 2025 13:54:08
root / linksafe
0644
pydebug.h
1.38 KB
April 08 2025 13:54:08
root / linksafe
0644
pyerrors.h
2.84 KB
April 08 2025 13:54:08
root / linksafe
0644
pyfpe.h
0.434 KB
April 08 2025 13:54:08
root / linksafe
0644
pyframe.h
1.901 KB
April 08 2025 13:54:08
root / linksafe
0644
pyhash.h
1.35 KB
April 08 2025 13:54:08
root / linksafe
0644
pylifecycle.h
2.751 KB
April 08 2025 13:54:08
root / linksafe
0644
pymem.h
2.776 KB
April 08 2025 13:54:08
root / linksafe
0644
pystate.h
9.243 KB
April 08 2025 13:54:08
root / linksafe
0644
pystats.h
5.307 KB
April 08 2025 13:54:08
root / linksafe
0644
pythonrun.h
4.226 KB
April 08 2025 13:54:08
root / linksafe
0644
pythread.h
1.475 KB
April 08 2025 13:54:08
root / linksafe
0644
pytime.h
0.69 KB
April 08 2025 13:54:08
root / linksafe
0644
setobject.h
1.998 KB
April 08 2025 13:54:08
root / linksafe
0644
sysmodule.h
0.757 KB
April 08 2025 13:54:08
root / linksafe
0644
traceback.h
0.275 KB
April 08 2025 13:54:08
root / linksafe
0644
tracemalloc.h
0.804 KB
April 08 2025 13:54:08
root / linksafe
0644
tupleobject.h
1.298 KB
April 08 2025 13:54:08
root / linksafe
0644
unicodeobject.h
24.486 KB
April 08 2025 13:54:08
root / linksafe
0644
warnings.h
0.551 KB
April 08 2025 13:54:08
root / linksafe
0644
weakrefobject.h
2.196 KB
April 08 2025 13:54:08
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF