/*
 * Generated by dtrace(1M).
 */

#ifndef	_PROBES_H
#define	_PROBES_H

#include <unistd.h>

#ifdef	__cplusplus
extern "C" {
#endif

#define CCL_STABILITY "___dtrace_stability$ccl$v1$1_1_0_1_1_0_1_1_0_1_1_0_1_1_0"

#define CCL_TYPEDEFS "___dtrace_typedefs$ccl$v2"

#if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED

#define	CCL_CREATE_THREAD(arg0) \
do { \
	__asm__ volatile(".reference " CCL_TYPEDEFS); \
	__dtrace_probe$ccl$create__thread$v1$756e7369676e6564206c6f6e67(arg0); \
	__asm__ volatile(".reference " CCL_STABILITY); \
} while (0)
#define	CCL_CREATE_THREAD_ENABLED() \
	({ int _r = __dtrace_isenabled$ccl$create__thread$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	CCL_EGC_FINISH(arg0, arg1) \
do { \
	__asm__ volatile(".reference " CCL_TYPEDEFS); \
	__dtrace_probe$ccl$egc__finish$v1$756e7369676e6564206c6f6e67$756e7369676e6564(arg0, arg1); \
	__asm__ volatile(".reference " CCL_STABILITY); \
} while (0)
#define	CCL_EGC_FINISH_ENABLED() \
	({ int _r = __dtrace_isenabled$ccl$egc__finish$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	CCL_EGC_START(arg0, arg1) \
do { \
	__asm__ volatile(".reference " CCL_TYPEDEFS); \
	__dtrace_probe$ccl$egc__start$v1$756e7369676e6564206c6f6e67$756e7369676e6564(arg0, arg1); \
	__asm__ volatile(".reference " CCL_STABILITY); \
} while (0)
#define	CCL_EGC_START_ENABLED() \
	({ int _r = __dtrace_isenabled$ccl$egc__start$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	CCL_GC_FINISH(arg0) \
do { \
	__asm__ volatile(".reference " CCL_TYPEDEFS); \
	__dtrace_probe$ccl$gc__finish$v1$756e7369676e6564206c6f6e67(arg0); \
	__asm__ volatile(".reference " CCL_STABILITY); \
} while (0)
#define	CCL_GC_FINISH_ENABLED() \
	({ int _r = __dtrace_isenabled$ccl$gc__finish$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	CCL_GC_START(arg0) \
do { \
	__asm__ volatile(".reference " CCL_TYPEDEFS); \
	__dtrace_probe$ccl$gc__start$v1$756e7369676e6564206c6f6e67(arg0); \
	__asm__ volatile(".reference " CCL_STABILITY); \
} while (0)
#define	CCL_GC_START_ENABLED() \
	({ int _r = __dtrace_isenabled$ccl$gc__start$v1(); \
		__asm__ volatile(""); \
		_r; })


extern void __dtrace_probe$ccl$create__thread$v1$756e7369676e6564206c6f6e67(unsigned long);
extern int __dtrace_isenabled$ccl$create__thread$v1(void);
extern void __dtrace_probe$ccl$egc__finish$v1$756e7369676e6564206c6f6e67$756e7369676e6564(unsigned long, unsigned);
extern int __dtrace_isenabled$ccl$egc__finish$v1(void);
extern void __dtrace_probe$ccl$egc__start$v1$756e7369676e6564206c6f6e67$756e7369676e6564(unsigned long, unsigned);
extern int __dtrace_isenabled$ccl$egc__start$v1(void);
extern void __dtrace_probe$ccl$gc__finish$v1$756e7369676e6564206c6f6e67(unsigned long);
extern int __dtrace_isenabled$ccl$gc__finish$v1(void);
extern void __dtrace_probe$ccl$gc__start$v1$756e7369676e6564206c6f6e67(unsigned long);
extern int __dtrace_isenabled$ccl$gc__start$v1(void);

#else

#define	CCL_CREATE_THREAD(arg0) \
do { \
	} while (0)
#define	CCL_CREATE_THREAD_ENABLED() (0)
#define	CCL_EGC_FINISH(arg0, arg1) \
do { \
	} while (0)
#define	CCL_EGC_FINISH_ENABLED() (0)
#define	CCL_EGC_START(arg0, arg1) \
do { \
	} while (0)
#define	CCL_EGC_START_ENABLED() (0)
#define	CCL_GC_FINISH(arg0) \
do { \
	} while (0)
#define	CCL_GC_FINISH_ENABLED() (0)
#define	CCL_GC_START(arg0) \
do { \
	} while (0)
#define	CCL_GC_START_ENABLED() (0)

#endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */


#ifdef	__cplusplus
}
#endif

#endif	/* _PROBES_H */
