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

#ifndef	_NSFDTRACE_H
#define	_NSFDTRACE_H

#include <unistd.h>

#ifdef	__cplusplus
extern "C" {
#endif

#define NSF_STABILITY "___dtrace_stability$nsf$v1$5_5_5_1_1_5_1_1_5_5_5_5_5_5_5"

#define NSF_TYPEDEFS "___dtrace_typedefs$nsf$v2$54636c5f4f626a"

#if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED

#define	NSF_CONFIGURE_PROBE(arg0, arg1) \
do { \
	__asm__ volatile(".reference " NSF_TYPEDEFS); \
	__dtrace_probe$nsf$configure__probe$v1$63686172202a$63686172202a(arg0, arg1); \
	__asm__ volatile(".reference " NSF_STABILITY); \
} while (0)
#define	NSF_CONFIGURE_PROBE_ENABLED() \
	({ int _r = __dtrace_isenabled$nsf$configure__probe$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	NSF_METHOD_ENTRY(arg0, arg1, arg2, arg3, arg4) \
do { \
	__asm__ volatile(".reference " NSF_TYPEDEFS); \
	__dtrace_probe$nsf$method__entry$v1$63686172202a$63686172202a$63686172202a$696e74$54636c5f4f626a202a2a(arg0, arg1, arg2, arg3, arg4); \
	__asm__ volatile(".reference " NSF_STABILITY); \
} while (0)
#define	NSF_METHOD_ENTRY_ENABLED() \
	({ int _r = __dtrace_isenabled$nsf$method__entry$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	NSF_METHOD_RETURN(arg0, arg1, arg2, arg3) \
do { \
	__asm__ volatile(".reference " NSF_TYPEDEFS); \
	__dtrace_probe$nsf$method__return$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \
	__asm__ volatile(".reference " NSF_STABILITY); \
} while (0)
#define	NSF_METHOD_RETURN_ENABLED() \
	({ int _r = __dtrace_isenabled$nsf$method__return$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	NSF_OBJECT_ALLOC(arg0, arg1) \
do { \
	__asm__ volatile(".reference " NSF_TYPEDEFS); \
	__dtrace_probe$nsf$object__alloc$v1$63686172202a$63686172202a(arg0, arg1); \
	__asm__ volatile(".reference " NSF_STABILITY); \
} while (0)
#define	NSF_OBJECT_ALLOC_ENABLED() \
	({ int _r = __dtrace_isenabled$nsf$object__alloc$v1(); \
		__asm__ volatile(""); \
		_r; })
#define	NSF_OBJECT_FREE(arg0, arg1) \
do { \
	__asm__ volatile(".reference " NSF_TYPEDEFS); \
	__dtrace_probe$nsf$object__free$v1$63686172202a$63686172202a(arg0, arg1); \
	__asm__ volatile(".reference " NSF_STABILITY); \
} while (0)
#define	NSF_OBJECT_FREE_ENABLED() \
	({ int _r = __dtrace_isenabled$nsf$object__free$v1(); \
		__asm__ volatile(""); \
		_r; })


extern void __dtrace_probe$nsf$configure__probe$v1$63686172202a$63686172202a(const char *, const char *);
extern int __dtrace_isenabled$nsf$configure__probe$v1(void);
extern void __dtrace_probe$nsf$method__entry$v1$63686172202a$63686172202a$63686172202a$696e74$54636c5f4f626a202a2a(const char *, const char *, const char *, int, Tcl_Obj **);
extern int __dtrace_isenabled$nsf$method__entry$v1(void);
extern void __dtrace_probe$nsf$method__return$v1$63686172202a$63686172202a$63686172202a$696e74(const char *, const char *, const char *, int);
extern int __dtrace_isenabled$nsf$method__return$v1(void);
extern void __dtrace_probe$nsf$object__alloc$v1$63686172202a$63686172202a(const char *, const char *);
extern int __dtrace_isenabled$nsf$object__alloc$v1(void);
extern void __dtrace_probe$nsf$object__free$v1$63686172202a$63686172202a(const char *, const char *);
extern int __dtrace_isenabled$nsf$object__free$v1(void);

#else

#define	NSF_CONFIGURE_PROBE(arg0, arg1) \
do { \
	} while (0)
#define	NSF_CONFIGURE_PROBE_ENABLED() (0)
#define	NSF_METHOD_ENTRY(arg0, arg1, arg2, arg3, arg4) \
do { \
	} while (0)
#define	NSF_METHOD_ENTRY_ENABLED() (0)
#define	NSF_METHOD_RETURN(arg0, arg1, arg2, arg3) \
do { \
	} while (0)
#define	NSF_METHOD_RETURN_ENABLED() (0)
#define	NSF_OBJECT_ALLOC(arg0, arg1) \
do { \
	} while (0)
#define	NSF_OBJECT_ALLOC_ENABLED() (0)
#define	NSF_OBJECT_FREE(arg0, arg1) \
do { \
	} while (0)
#define	NSF_OBJECT_FREE_ENABLED() (0)

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


#ifdef	__cplusplus
}
#endif

#endif	/* _NSFDTRACE_H */
