Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Generated by dtrace(1M).
- */
- #ifndef _DTRACE_PROBES_H
- #define _DTRACE_PROBES_H
- #include <unistd.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define TOR_STABILITY "___dtrace_stability$tor$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"
- #define TOR_TYPEDEFS "___dtrace_typedefs$tor$v2"
- #if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
- #define TOR_BOOTSTRAP_STATUS(arg0) \
- do { \
- __asm__ volatile(".reference " TOR_TYPEDEFS); \
- __dtrace_probe$tor$bootstrap__status$v1$696e74(arg0); \
- __asm__ volatile(".reference " TOR_STABILITY); \
- } while (0)
- #define TOR_BOOTSTRAP_STATUS_ENABLED() \
- ({ int _r = __dtrace_isenabled$tor$bootstrap__status$v1(); \
- __asm__ volatile(""); \
- _r; })
- extern void __dtrace_probe$tor$bootstrap__status$v1$696e74(int);
- extern int __dtrace_isenabled$tor$bootstrap__status$v1(void);
- #else
- #define TOR_BOOTSTRAP_STATUS(arg0) \
- do { \
- } while (0)
- #define TOR_BOOTSTRAP_STATUS_ENABLED() (0)
- #endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
- #ifdef __cplusplus
- }
- #endif
- #endif /* _DTRACE_PROBES_H */
Add Comment
Please, Sign In to add comment