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