You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

  1. #include <Python.h>
  2. #include "pydtrace.h"
  3. #ifndef WITH_DTRACE
  4. extern inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2);
  5. extern inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2);
  6. extern inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2);
  7. extern inline void PyDTrace_GC_START(int arg0);
  8. extern inline void PyDTrace_GC_DONE(int arg0);
  9. extern inline void PyDTrace_INSTANCE_NEW_START(int arg0);
  10. extern inline void PyDTrace_INSTANCE_NEW_DONE(int arg0);
  11. extern inline void PyDTrace_INSTANCE_DELETE_START(int arg0);
  12. extern inline void PyDTrace_INSTANCE_DELETE_DONE(int arg0);
  13. extern inline int PyDTrace_LINE_ENABLED(void);
  14. extern inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void);
  15. extern inline int PyDTrace_FUNCTION_RETURN_ENABLED(void);
  16. extern inline int PyDTrace_GC_START_ENABLED(void);
  17. extern inline int PyDTrace_GC_DONE_ENABLED(void);
  18. extern inline int PyDTrace_INSTANCE_NEW_START_ENABLED(void);
  19. extern inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void);
  20. extern inline int PyDTrace_INSTANCE_DELETE_START_ENABLED(void);
  21. extern inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void);
  22. #endif