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

#ifndef	_PROBES_H_TMP
#define	_PROBES_H_TMP

#include <unistd.h>

#ifdef	__cplusplus
extern "C" {
#endif

#if _DTRACE_VERSION

#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE() \
	__dtrace_postgresql___buffer__checkpoint__done()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___buffer__checkpoint__done()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START(arg0) \
	__dtrace_postgresql___buffer__checkpoint__start(arg0)
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__checkpoint__start()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START() \
	__dtrace_postgresql___buffer__checkpoint__sync__start()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__checkpoint__sync__start()
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_DONE(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___buffer__flush__done(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_DONE_ENABLED() \
	__dtraceenabled_postgresql___buffer__flush__done()
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_START(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___buffer__flush__start(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__flush__start()
#define	TRACE_POSTGRESQL_BUFFER_READ_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
	__dtrace_postgresql___buffer__read__done(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_BUFFER_READ_DONE_ENABLED() \
	__dtraceenabled_postgresql___buffer__read__done()
#define	TRACE_POSTGRESQL_BUFFER_READ_START(arg0, arg1, arg2, arg3, arg4, arg5, arg6) \
	__dtrace_postgresql___buffer__read__start(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
#define	TRACE_POSTGRESQL_BUFFER_READ_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__read__start()
#define	TRACE_POSTGRESQL_BUFFER_SYNC_DONE(arg0, arg1, arg2) \
	__dtrace_postgresql___buffer__sync__done(arg0, arg1, arg2)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_DONE_ENABLED() \
	__dtraceenabled_postgresql___buffer__sync__done()
#define	TRACE_POSTGRESQL_BUFFER_SYNC_START(arg0, arg1) \
	__dtrace_postgresql___buffer__sync__start(arg0, arg1)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__sync__start()
#define	TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN(arg0) \
	__dtrace_postgresql___buffer__sync__written(arg0)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN_ENABLED() \
	__dtraceenabled_postgresql___buffer__sync__written()
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___buffer__write__dirty__done(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE_ENABLED() \
	__dtraceenabled_postgresql___buffer__write__dirty__done()
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___buffer__write__dirty__start(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START_ENABLED() \
	__dtraceenabled_postgresql___buffer__write__dirty__start()
#define	TRACE_POSTGRESQL_CHECKPOINT_DONE(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___checkpoint__done(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___checkpoint__done()
#define	TRACE_POSTGRESQL_CHECKPOINT_START(arg0) \
	__dtrace_postgresql___checkpoint__start(arg0)
#define	TRACE_POSTGRESQL_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___checkpoint__start()
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(arg0) \
	__dtrace_postgresql___clog__checkpoint__done(arg0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___clog__checkpoint__done()
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(arg0) \
	__dtrace_postgresql___clog__checkpoint__start(arg0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___clog__checkpoint__start()
#define	TRACE_POSTGRESQL_DEADLOCK_FOUND() \
	__dtrace_postgresql___deadlock__found()
#define	TRACE_POSTGRESQL_DEADLOCK_FOUND_ENABLED() \
	__dtraceenabled_postgresql___deadlock__found()
#define	TRACE_POSTGRESQL_LOCK_WAIT_DONE(arg0, arg1, arg2, arg3, arg4, arg5) \
	__dtrace_postgresql___lock__wait__done(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_LOCK_WAIT_DONE_ENABLED() \
	__dtraceenabled_postgresql___lock__wait__done()
#define	TRACE_POSTGRESQL_LOCK_WAIT_START(arg0, arg1, arg2, arg3, arg4, arg5) \
	__dtrace_postgresql___lock__wait__start(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_LOCK_WAIT_START_ENABLED() \
	__dtraceenabled_postgresql___lock__wait__start()
#define	TRACE_POSTGRESQL_LWLOCK_ACQUIRE(arg0, arg1) \
	__dtrace_postgresql___lwlock__acquire(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_ACQUIRE_ENABLED() \
	__dtraceenabled_postgresql___lwlock__acquire()
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE(arg0, arg1) \
	__dtrace_postgresql___lwlock__condacquire(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_ENABLED() \
	__dtraceenabled_postgresql___lwlock__condacquire()
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL(arg0, arg1) \
	__dtrace_postgresql___lwlock__condacquire__fail(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL_ENABLED() \
	__dtraceenabled_postgresql___lwlock__condacquire__fail()
#define	TRACE_POSTGRESQL_LWLOCK_RELEASE(arg0) \
	__dtrace_postgresql___lwlock__release(arg0)
#define	TRACE_POSTGRESQL_LWLOCK_RELEASE_ENABLED() \
	__dtraceenabled_postgresql___lwlock__release()
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_DONE(arg0, arg1) \
	__dtrace_postgresql___lwlock__wait__done(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_DONE_ENABLED() \
	__dtraceenabled_postgresql___lwlock__wait__done()
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_START(arg0, arg1) \
	__dtrace_postgresql___lwlock__wait__start(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_START_ENABLED() \
	__dtraceenabled_postgresql___lwlock__wait__start()
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE(arg0, arg1) \
	__dtrace_postgresql___lwlock__wait__until__free(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_ENABLED() \
	__dtraceenabled_postgresql___lwlock__wait__until__free()
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_FAIL(arg0, arg1) \
	__dtrace_postgresql___lwlock__wait__until__free__fail(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_FAIL_ENABLED() \
	__dtraceenabled_postgresql___lwlock__wait__until__free__fail()
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE(arg0) \
	__dtrace_postgresql___multixact__checkpoint__done(arg0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___multixact__checkpoint__done()
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START(arg0) \
	__dtrace_postgresql___multixact__checkpoint__start(arg0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___multixact__checkpoint__start()
#define	TRACE_POSTGRESQL_QUERY_DONE(arg0) \
	__dtrace_postgresql___query__done(arg0)
#define	TRACE_POSTGRESQL_QUERY_DONE_ENABLED() \
	__dtraceenabled_postgresql___query__done()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_DONE() \
	__dtrace_postgresql___query__execute__done()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_DONE_ENABLED() \
	__dtraceenabled_postgresql___query__execute__done()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_START() \
	__dtrace_postgresql___query__execute__start()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_START_ENABLED() \
	__dtraceenabled_postgresql___query__execute__start()
#define	TRACE_POSTGRESQL_QUERY_PARSE_DONE(arg0) \
	__dtrace_postgresql___query__parse__done(arg0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_DONE_ENABLED() \
	__dtraceenabled_postgresql___query__parse__done()
#define	TRACE_POSTGRESQL_QUERY_PARSE_START(arg0) \
	__dtrace_postgresql___query__parse__start(arg0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_START_ENABLED() \
	__dtraceenabled_postgresql___query__parse__start()
#define	TRACE_POSTGRESQL_QUERY_PLAN_DONE() \
	__dtrace_postgresql___query__plan__done()
#define	TRACE_POSTGRESQL_QUERY_PLAN_DONE_ENABLED() \
	__dtraceenabled_postgresql___query__plan__done()
#define	TRACE_POSTGRESQL_QUERY_PLAN_START() \
	__dtrace_postgresql___query__plan__start()
#define	TRACE_POSTGRESQL_QUERY_PLAN_START_ENABLED() \
	__dtraceenabled_postgresql___query__plan__start()
#define	TRACE_POSTGRESQL_QUERY_REWRITE_DONE(arg0) \
	__dtrace_postgresql___query__rewrite__done(arg0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_DONE_ENABLED() \
	__dtraceenabled_postgresql___query__rewrite__done()
#define	TRACE_POSTGRESQL_QUERY_REWRITE_START(arg0) \
	__dtrace_postgresql___query__rewrite__start(arg0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_START_ENABLED() \
	__dtraceenabled_postgresql___query__rewrite__start()
#define	TRACE_POSTGRESQL_QUERY_START(arg0) \
	__dtrace_postgresql___query__start(arg0)
#define	TRACE_POSTGRESQL_QUERY_START_ENABLED() \
	__dtraceenabled_postgresql___query__start()
#define	TRACE_POSTGRESQL_SMGR_MD_READ_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
	__dtrace_postgresql___smgr__md__read__done(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_DONE_ENABLED() \
	__dtraceenabled_postgresql___smgr__md__read__done()
#define	TRACE_POSTGRESQL_SMGR_MD_READ_START(arg0, arg1, arg2, arg3, arg4, arg5) \
	__dtrace_postgresql___smgr__md__read__start(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_START_ENABLED() \
	__dtraceenabled_postgresql___smgr__md__read__start()
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
	__dtrace_postgresql___smgr__md__write__done(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE_ENABLED() \
	__dtraceenabled_postgresql___smgr__md__write__done()
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_START(arg0, arg1, arg2, arg3, arg4, arg5) \
	__dtrace_postgresql___smgr__md__write__start(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_START_ENABLED() \
	__dtraceenabled_postgresql___smgr__md__write__start()
#define	TRACE_POSTGRESQL_SORT_DONE(arg0, arg1) \
	__dtrace_postgresql___sort__done(arg0, arg1)
#define	TRACE_POSTGRESQL_SORT_DONE_ENABLED() \
	__dtraceenabled_postgresql___sort__done()
#define	TRACE_POSTGRESQL_SORT_START(arg0, arg1, arg2, arg3, arg4) \
	__dtrace_postgresql___sort__start(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_SORT_START_ENABLED() \
	__dtraceenabled_postgresql___sort__start()
#define	TRACE_POSTGRESQL_STATEMENT_STATUS(arg0) \
	__dtrace_postgresql___statement__status(arg0)
#define	TRACE_POSTGRESQL_STATEMENT_STATUS_ENABLED() \
	__dtraceenabled_postgresql___statement__status()
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE(arg0) \
	__dtrace_postgresql___subtrans__checkpoint__done(arg0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___subtrans__checkpoint__done()
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START(arg0) \
	__dtrace_postgresql___subtrans__checkpoint__start(arg0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___subtrans__checkpoint__start()
#define	TRACE_POSTGRESQL_TRANSACTION_ABORT(arg0) \
	__dtrace_postgresql___transaction__abort(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_ABORT_ENABLED() \
	__dtraceenabled_postgresql___transaction__abort()
#define	TRACE_POSTGRESQL_TRANSACTION_COMMIT(arg0) \
	__dtrace_postgresql___transaction__commit(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_COMMIT_ENABLED() \
	__dtraceenabled_postgresql___transaction__commit()
#define	TRACE_POSTGRESQL_TRANSACTION_START(arg0) \
	__dtrace_postgresql___transaction__start(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_START_ENABLED() \
	__dtraceenabled_postgresql___transaction__start()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE() \
	__dtrace_postgresql___twophase__checkpoint__done()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE_ENABLED() \
	__dtraceenabled_postgresql___twophase__checkpoint__done()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START() \
	__dtrace_postgresql___twophase__checkpoint__start()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START_ENABLED() \
	__dtraceenabled_postgresql___twophase__checkpoint__start()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE() \
	__dtrace_postgresql___wal__buffer__write__dirty__done()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE_ENABLED() \
	__dtraceenabled_postgresql___wal__buffer__write__dirty__done()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START() \
	__dtrace_postgresql___wal__buffer__write__dirty__start()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START_ENABLED() \
	__dtraceenabled_postgresql___wal__buffer__write__dirty__start()
#define	TRACE_POSTGRESQL_XLOG_INSERT(arg0, arg1) \
	__dtrace_postgresql___xlog__insert(arg0, arg1)
#define	TRACE_POSTGRESQL_XLOG_INSERT_ENABLED() \
	__dtraceenabled_postgresql___xlog__insert()
#define	TRACE_POSTGRESQL_XLOG_SWITCH() \
	__dtrace_postgresql___xlog__switch()
#define	TRACE_POSTGRESQL_XLOG_SWITCH_ENABLED() \
	__dtraceenabled_postgresql___xlog__switch()


extern void __dtrace_postgresql___buffer__checkpoint__done(void);
extern int __dtraceenabled_postgresql___buffer__checkpoint__done(void);
extern void __dtrace_postgresql___buffer__checkpoint__start(int);
extern int __dtraceenabled_postgresql___buffer__checkpoint__start(void);
extern void __dtrace_postgresql___buffer__checkpoint__sync__start(void);
extern int __dtraceenabled_postgresql___buffer__checkpoint__sync__start(void);
extern void __dtrace_postgresql___buffer__flush__done(int, unsigned int, unsigned int, unsigned int, unsigned int);
extern int __dtraceenabled_postgresql___buffer__flush__done(void);
extern void __dtrace_postgresql___buffer__flush__start(int, unsigned int, unsigned int, unsigned int, unsigned int);
extern int __dtraceenabled_postgresql___buffer__flush__start(void);
extern void __dtrace_postgresql___buffer__read__done(int, unsigned int, unsigned int, unsigned int, unsigned int, int, char, char);
extern int __dtraceenabled_postgresql___buffer__read__done(void);
extern void __dtrace_postgresql___buffer__read__start(int, unsigned int, unsigned int, unsigned int, unsigned int, int, char);
extern int __dtraceenabled_postgresql___buffer__read__start(void);
extern void __dtrace_postgresql___buffer__sync__done(int, int, int);
extern int __dtraceenabled_postgresql___buffer__sync__done(void);
extern void __dtrace_postgresql___buffer__sync__start(int, int);
extern int __dtraceenabled_postgresql___buffer__sync__start(void);
extern void __dtrace_postgresql___buffer__sync__written(int);
extern int __dtraceenabled_postgresql___buffer__sync__written(void);
extern void __dtrace_postgresql___buffer__write__dirty__done(int, unsigned int, unsigned int, unsigned int, unsigned int);
extern int __dtraceenabled_postgresql___buffer__write__dirty__done(void);
extern void __dtrace_postgresql___buffer__write__dirty__start(int, unsigned int, unsigned int, unsigned int, unsigned int);
extern int __dtraceenabled_postgresql___buffer__write__dirty__start(void);
extern void __dtrace_postgresql___checkpoint__done(int, int, int, int, int);
extern int __dtraceenabled_postgresql___checkpoint__done(void);
extern void __dtrace_postgresql___checkpoint__start(int);
extern int __dtraceenabled_postgresql___checkpoint__start(void);
extern void __dtrace_postgresql___clog__checkpoint__done(char);
extern int __dtraceenabled_postgresql___clog__checkpoint__done(void);
extern void __dtrace_postgresql___clog__checkpoint__start(char);
extern int __dtraceenabled_postgresql___clog__checkpoint__start(void);
extern void __dtrace_postgresql___deadlock__found(void);
extern int __dtraceenabled_postgresql___deadlock__found(void);
extern void __dtrace_postgresql___lock__wait__done(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int);
extern int __dtraceenabled_postgresql___lock__wait__done(void);
extern void __dtrace_postgresql___lock__wait__start(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int);
extern int __dtraceenabled_postgresql___lock__wait__start(void);
extern void __dtrace_postgresql___lwlock__acquire(int, int);
extern int __dtraceenabled_postgresql___lwlock__acquire(void);
extern void __dtrace_postgresql___lwlock__condacquire(int, int);
extern int __dtraceenabled_postgresql___lwlock__condacquire(void);
extern void __dtrace_postgresql___lwlock__condacquire__fail(int, int);
extern int __dtraceenabled_postgresql___lwlock__condacquire__fail(void);
extern void __dtrace_postgresql___lwlock__release(int);
extern int __dtraceenabled_postgresql___lwlock__release(void);
extern void __dtrace_postgresql___lwlock__wait__done(int, int);
extern int __dtraceenabled_postgresql___lwlock__wait__done(void);
extern void __dtrace_postgresql___lwlock__wait__start(int, int);
extern int __dtraceenabled_postgresql___lwlock__wait__start(void);
extern void __dtrace_postgresql___lwlock__wait__until__free(int, int);
extern int __dtraceenabled_postgresql___lwlock__wait__until__free(void);
extern void __dtrace_postgresql___lwlock__wait__until__free__fail(int, int);
extern int __dtraceenabled_postgresql___lwlock__wait__until__free__fail(void);
extern void __dtrace_postgresql___multixact__checkpoint__done(char);
extern int __dtraceenabled_postgresql___multixact__checkpoint__done(void);
extern void __dtrace_postgresql___multixact__checkpoint__start(char);
extern int __dtraceenabled_postgresql___multixact__checkpoint__start(void);
extern void __dtrace_postgresql___query__done(char *);
extern int __dtraceenabled_postgresql___query__done(void);
extern void __dtrace_postgresql___query__execute__done(void);
extern int __dtraceenabled_postgresql___query__execute__done(void);
extern void __dtrace_postgresql___query__execute__start(void);
extern int __dtraceenabled_postgresql___query__execute__start(void);
extern void __dtrace_postgresql___query__parse__done(char *);
extern int __dtraceenabled_postgresql___query__parse__done(void);
extern void __dtrace_postgresql___query__parse__start(char *);
extern int __dtraceenabled_postgresql___query__parse__start(void);
extern void __dtrace_postgresql___query__plan__done(void);
extern int __dtraceenabled_postgresql___query__plan__done(void);
extern void __dtrace_postgresql___query__plan__start(void);
extern int __dtraceenabled_postgresql___query__plan__start(void);
extern void __dtrace_postgresql___query__rewrite__done(char *);
extern int __dtraceenabled_postgresql___query__rewrite__done(void);
extern void __dtrace_postgresql___query__rewrite__start(char *);
extern int __dtraceenabled_postgresql___query__rewrite__start(void);
extern void __dtrace_postgresql___query__start(char *);
extern int __dtraceenabled_postgresql___query__start(void);
extern void __dtrace_postgresql___smgr__md__read__done(int, unsigned int, unsigned int, unsigned int, unsigned int, int, int, int);
extern int __dtraceenabled_postgresql___smgr__md__read__done(void);
extern void __dtrace_postgresql___smgr__md__read__start(int, unsigned int, unsigned int, unsigned int, unsigned int, int);
extern int __dtraceenabled_postgresql___smgr__md__read__start(void);
extern void __dtrace_postgresql___smgr__md__write__done(int, unsigned int, unsigned int, unsigned int, unsigned int, int, int, int);
extern int __dtraceenabled_postgresql___smgr__md__write__done(void);
extern void __dtrace_postgresql___smgr__md__write__start(int, unsigned int, unsigned int, unsigned int, unsigned int, int);
extern int __dtraceenabled_postgresql___smgr__md__write__start(void);
extern void __dtrace_postgresql___sort__done(char, long);
extern int __dtraceenabled_postgresql___sort__done(void);
extern void __dtrace_postgresql___sort__start(int, char, int, int, char);
extern int __dtraceenabled_postgresql___sort__start(void);
extern void __dtrace_postgresql___statement__status(char *);
extern int __dtraceenabled_postgresql___statement__status(void);
extern void __dtrace_postgresql___subtrans__checkpoint__done(char);
extern int __dtraceenabled_postgresql___subtrans__checkpoint__done(void);
extern void __dtrace_postgresql___subtrans__checkpoint__start(char);
extern int __dtraceenabled_postgresql___subtrans__checkpoint__start(void);
extern void __dtrace_postgresql___transaction__abort(unsigned int);
extern int __dtraceenabled_postgresql___transaction__abort(void);
extern void __dtrace_postgresql___transaction__commit(unsigned int);
extern int __dtraceenabled_postgresql___transaction__commit(void);
extern void __dtrace_postgresql___transaction__start(unsigned int);
extern int __dtraceenabled_postgresql___transaction__start(void);
extern void __dtrace_postgresql___twophase__checkpoint__done(void);
extern int __dtraceenabled_postgresql___twophase__checkpoint__done(void);
extern void __dtrace_postgresql___twophase__checkpoint__start(void);
extern int __dtraceenabled_postgresql___twophase__checkpoint__start(void);
extern void __dtrace_postgresql___wal__buffer__write__dirty__done(void);
extern int __dtraceenabled_postgresql___wal__buffer__write__dirty__done(void);
extern void __dtrace_postgresql___wal__buffer__write__dirty__start(void);
extern int __dtraceenabled_postgresql___wal__buffer__write__dirty__start(void);
extern void __dtrace_postgresql___xlog__insert(unsigned char, unsigned char);
extern int __dtraceenabled_postgresql___xlog__insert(void);
extern void __dtrace_postgresql___xlog__switch(void);
extern int __dtraceenabled_postgresql___xlog__switch(void);

#else

#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START(arg0)
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START()
#define	TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_DONE(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_START(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_FLUSH_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_READ_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_BUFFER_READ_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_READ_START(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
#define	TRACE_POSTGRESQL_BUFFER_READ_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_DONE(arg0, arg1, arg2)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_START(arg0, arg1)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN(arg0)
#define	TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_CHECKPOINT_DONE(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_CHECKPOINT_START(arg0)
#define	TRACE_POSTGRESQL_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(arg0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(arg0)
#define	TRACE_POSTGRESQL_CLOG_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_DEADLOCK_FOUND()
#define	TRACE_POSTGRESQL_DEADLOCK_FOUND_ENABLED() (0)
#define	TRACE_POSTGRESQL_LOCK_WAIT_DONE(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_LOCK_WAIT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LOCK_WAIT_START(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_LOCK_WAIT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_ACQUIRE(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_ACQUIRE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_RELEASE(arg0)
#define	TRACE_POSTGRESQL_LWLOCK_RELEASE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_DONE(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_START(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_ENABLED() (0)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_FAIL(arg0, arg1)
#define	TRACE_POSTGRESQL_LWLOCK_WAIT_UNTIL_FREE_FAIL_ENABLED() (0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE(arg0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START(arg0)
#define	TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_DONE(arg0)
#define	TRACE_POSTGRESQL_QUERY_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_DONE()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_START()
#define	TRACE_POSTGRESQL_QUERY_EXECUTE_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_DONE(arg0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_START(arg0)
#define	TRACE_POSTGRESQL_QUERY_PARSE_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_PLAN_DONE()
#define	TRACE_POSTGRESQL_QUERY_PLAN_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_PLAN_START()
#define	TRACE_POSTGRESQL_QUERY_PLAN_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_DONE(arg0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_START(arg0)
#define	TRACE_POSTGRESQL_QUERY_REWRITE_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_QUERY_START(arg0)
#define	TRACE_POSTGRESQL_QUERY_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_START(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_SMGR_MD_READ_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_START(arg0, arg1, arg2, arg3, arg4, arg5)
#define	TRACE_POSTGRESQL_SMGR_MD_WRITE_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_SORT_DONE(arg0, arg1)
#define	TRACE_POSTGRESQL_SORT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_SORT_START(arg0, arg1, arg2, arg3, arg4)
#define	TRACE_POSTGRESQL_SORT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_STATEMENT_STATUS(arg0)
#define	TRACE_POSTGRESQL_STATEMENT_STATUS_ENABLED() (0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE(arg0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START(arg0)
#define	TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_TRANSACTION_ABORT(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_ABORT_ENABLED() (0)
#define	TRACE_POSTGRESQL_TRANSACTION_COMMIT(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_COMMIT_ENABLED() (0)
#define	TRACE_POSTGRESQL_TRANSACTION_START(arg0)
#define	TRACE_POSTGRESQL_TRANSACTION_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START()
#define	TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE_ENABLED() (0)
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START()
#define	TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START_ENABLED() (0)
#define	TRACE_POSTGRESQL_XLOG_INSERT(arg0, arg1)
#define	TRACE_POSTGRESQL_XLOG_INSERT_ENABLED() (0)
#define	TRACE_POSTGRESQL_XLOG_SWITCH()
#define	TRACE_POSTGRESQL_XLOG_SWITCH_ENABLED() (0)

#endif


#ifdef	__cplusplus
}
#endif

#endif	/* _PROBES_H_TMP */
