Benjamin Peterson | f578195 | 2016-09-09 19:48:47 -0700 | [diff] [blame] | 1 | #include <Python.h> |
| 2 | #include "pydtrace.h" |
| 3 | |
| 4 | #ifndef WITH_DTRACE |
| 5 | extern inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2); |
| 6 | extern inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2); |
| 7 | extern inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2); |
| 8 | extern inline void PyDTrace_GC_START(int arg0); |
| 9 | extern inline void PyDTrace_GC_DONE(int arg0); |
| 10 | extern inline void PyDTrace_INSTANCE_NEW_START(int arg0); |
| 11 | extern inline void PyDTrace_INSTANCE_NEW_DONE(int arg0); |
| 12 | extern inline void PyDTrace_INSTANCE_DELETE_START(int arg0); |
| 13 | extern inline void PyDTrace_INSTANCE_DELETE_DONE(int arg0); |
| 14 | |
| 15 | extern inline int PyDTrace_LINE_ENABLED(void); |
| 16 | extern inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void); |
| 17 | extern inline int PyDTrace_FUNCTION_RETURN_ENABLED(void); |
| 18 | extern inline int PyDTrace_GC_START_ENABLED(void); |
| 19 | extern inline int PyDTrace_GC_DONE_ENABLED(void); |
| 20 | extern inline int PyDTrace_INSTANCE_NEW_START_ENABLED(void); |
| 21 | extern inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void); |
| 22 | extern inline int PyDTrace_INSTANCE_DELETE_START_ENABLED(void); |
| 23 | extern inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void); |
| 24 | #endif |