Guest User

Untitled

a guest
Jan 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. /*
  2. * Generated by dtrace(1M).
  3. */
  4.  
  5. #ifndef _DTRACE_PROBES_H
  6. #define _DTRACE_PROBES_H
  7.  
  8. #include <unistd.h>
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. #define TOR_STABILITY "___dtrace_stability$tor$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"
  15.  
  16. #define TOR_TYPEDEFS "___dtrace_typedefs$tor$v2"
  17.  
  18. #if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
  19.  
  20. #define TOR_BOOTSTRAP_STATUS(arg0) \
  21. do { \
  22. __asm__ volatile(".reference " TOR_TYPEDEFS); \
  23. __dtrace_probe$tor$bootstrap__status$v1$696e74(arg0); \
  24. __asm__ volatile(".reference " TOR_STABILITY); \
  25. } while (0)
  26. #define TOR_BOOTSTRAP_STATUS_ENABLED() \
  27. ({ int _r = __dtrace_isenabled$tor$bootstrap__status$v1(); \
  28. __asm__ volatile(""); \
  29. _r; })
  30.  
  31.  
  32. extern void __dtrace_probe$tor$bootstrap__status$v1$696e74(int);
  33. extern int __dtrace_isenabled$tor$bootstrap__status$v1(void);
  34.  
  35. #else
  36.  
  37. #define TOR_BOOTSTRAP_STATUS(arg0) \
  38. do { \
  39. } while (0)
  40. #define TOR_BOOTSTRAP_STATUS_ENABLED() (0)
  41.  
  42. #endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
  43.  
  44.  
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49. #endif /* _DTRACE_PROBES_H */
Add Comment
Please, Sign In to add comment