Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: pydtrace.h
/* Static DTrace probes interface */
[0] Fix | Delete
[1] Fix | Delete
#ifndef Py_DTRACE_H
[2] Fix | Delete
#define Py_DTRACE_H
[3] Fix | Delete
#ifdef __cplusplus
[4] Fix | Delete
extern "C" {
[5] Fix | Delete
#endif
[6] Fix | Delete
[7] Fix | Delete
#ifdef WITH_DTRACE
[8] Fix | Delete
[9] Fix | Delete
#include "pydtrace_probes.h"
[10] Fix | Delete
[11] Fix | Delete
/* pydtrace_probes.h, on systems with DTrace, is auto-generated to include
[12] Fix | Delete
`PyDTrace_{PROBE}` and `PyDTrace_{PROBE}_ENABLED()` macros for every probe
[13] Fix | Delete
defined in pydtrace_provider.d.
[14] Fix | Delete
[15] Fix | Delete
Calling these functions must be guarded by a `PyDTrace_{PROBE}_ENABLED()`
[16] Fix | Delete
check to minimize performance impact when probing is off. For example:
[17] Fix | Delete
[18] Fix | Delete
if (PyDTrace_FUNCTION_ENTRY_ENABLED())
[19] Fix | Delete
PyDTrace_FUNCTION_ENTRY(f);
[20] Fix | Delete
*/
[21] Fix | Delete
[22] Fix | Delete
#else
[23] Fix | Delete
[24] Fix | Delete
/* Without DTrace, compile to nothing. */
[25] Fix | Delete
[26] Fix | Delete
static inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2) {}
[27] Fix | Delete
static inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2) {}
[28] Fix | Delete
static inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2) {}
[29] Fix | Delete
static inline void PyDTrace_GC_START(int arg0) {}
[30] Fix | Delete
static inline void PyDTrace_GC_DONE(int arg0) {}
[31] Fix | Delete
static inline void PyDTrace_INSTANCE_NEW_START(int arg0) {}
[32] Fix | Delete
static inline void PyDTrace_INSTANCE_NEW_DONE(int arg0) {}
[33] Fix | Delete
static inline void PyDTrace_INSTANCE_DELETE_START(int arg0) {}
[34] Fix | Delete
static inline void PyDTrace_INSTANCE_DELETE_DONE(int arg0) {}
[35] Fix | Delete
[36] Fix | Delete
static inline int PyDTrace_LINE_ENABLED(void) { return 0; }
[37] Fix | Delete
static inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void) { return 0; }
[38] Fix | Delete
static inline int PyDTrace_FUNCTION_RETURN_ENABLED(void) { return 0; }
[39] Fix | Delete
static inline int PyDTrace_GC_START_ENABLED(void) { return 0; }
[40] Fix | Delete
static inline int PyDTrace_GC_DONE_ENABLED(void) { return 0; }
[41] Fix | Delete
static inline int PyDTrace_INSTANCE_NEW_START_ENABLED(void) { return 0; }
[42] Fix | Delete
static inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) { return 0; }
[43] Fix | Delete
static inline int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) { return 0; }
[44] Fix | Delete
static inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; }
[45] Fix | Delete
[46] Fix | Delete
#endif /* !WITH_DTRACE */
[47] Fix | Delete
[48] Fix | Delete
#ifdef __cplusplus
[49] Fix | Delete
}
[50] Fix | Delete
#endif
[51] Fix | Delete
#endif /* !Py_DTRACE_H */
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function