~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
/*
2
 * Generated by dtrace(1M).
3
 */
4
5
#ifndef	_PROBES_H
6
#define	_PROBES_H
7
8
9
10
#ifdef	__cplusplus
11
extern "C" {
12
#endif
13
14
#if _DTRACE_VERSION
15
16
#define	MYSQL_DELETE_END() \
17
	__dtrace_mysql___delete_end()
18
#define	MYSQL_DELETE_END_ENABLED() \
19
	__dtraceenabled_mysql___delete_end()
20
#define	MYSQL_DELETE_START() \
21
	__dtrace_mysql___delete_start()
22
#define	MYSQL_DELETE_START_ENABLED() \
23
	__dtraceenabled_mysql___delete_start()
24
#define	MYSQL_EXTERNAL_LOCK(arg0) \
25
	__dtrace_mysql___external_lock(arg0)
26
#define	MYSQL_EXTERNAL_LOCK_ENABLED() \
27
	__dtraceenabled_mysql___external_lock()
28
#define	MYSQL_FILESORT_END() \
29
	__dtrace_mysql___filesort_end()
30
#define	MYSQL_FILESORT_END_ENABLED() \
31
	__dtraceenabled_mysql___filesort_end()
32
#define	MYSQL_FILESORT_START() \
33
	__dtrace_mysql___filesort_start()
34
#define	MYSQL_FILESORT_START_ENABLED() \
35
	__dtraceenabled_mysql___filesort_start()
36
#define	MYSQL_INSERT_END() \
37
	__dtrace_mysql___insert_end()
38
#define	MYSQL_INSERT_END_ENABLED() \
39
	__dtraceenabled_mysql___insert_end()
40
#define	MYSQL_INSERT_ROW_END() \
41
	__dtrace_mysql___insert_row_end()
42
#define	MYSQL_INSERT_ROW_END_ENABLED() \
43
	__dtraceenabled_mysql___insert_row_end()
44
#define	MYSQL_INSERT_ROW_START() \
45
	__dtrace_mysql___insert_row_start()
46
#define	MYSQL_INSERT_ROW_START_ENABLED() \
47
	__dtraceenabled_mysql___insert_row_start()
48
#define	MYSQL_INSERT_START() \
49
	__dtrace_mysql___insert_start()
50
#define	MYSQL_INSERT_START_ENABLED() \
51
	__dtraceenabled_mysql___insert_start()
52
#define	MYSQL_SELECT_END() \
53
	__dtrace_mysql___select_end()
54
#define	MYSQL_SELECT_END_ENABLED() \
55
	__dtraceenabled_mysql___select_end()
56
#define	MYSQL_SELECT_START() \
57
	__dtrace_mysql___select_start()
58
#define	MYSQL_SELECT_START_ENABLED() \
59
	__dtraceenabled_mysql___select_start()
60
#define	MYSQL_UPDATE_END() \
61
	__dtrace_mysql___update_end()
62
#define	MYSQL_UPDATE_END_ENABLED() \
63
	__dtraceenabled_mysql___update_end()
64
#define	MYSQL_UPDATE_START() \
65
	__dtrace_mysql___update_start()
66
#define	MYSQL_UPDATE_START_ENABLED() \
67
	__dtraceenabled_mysql___update_start()
68
69
70
extern void __dtrace_mysql___delete_end(void);
71
extern int __dtraceenabled_mysql___delete_end(void);
72
extern void __dtrace_mysql___delete_start(void);
73
extern int __dtraceenabled_mysql___delete_start(void);
74
extern void __dtrace_mysql___external_lock(int);
75
extern int __dtraceenabled_mysql___external_lock(void);
76
extern void __dtrace_mysql___filesort_end(void);
77
extern int __dtraceenabled_mysql___filesort_end(void);
78
extern void __dtrace_mysql___filesort_start(void);
79
extern int __dtraceenabled_mysql___filesort_start(void);
80
extern void __dtrace_mysql___insert_end(void);
81
extern int __dtraceenabled_mysql___insert_end(void);
82
extern void __dtrace_mysql___insert_row_end(void);
83
extern int __dtraceenabled_mysql___insert_row_end(void);
84
extern void __dtrace_mysql___insert_row_start(void);
85
extern int __dtraceenabled_mysql___insert_row_start(void);
86
extern void __dtrace_mysql___insert_start(void);
87
extern int __dtraceenabled_mysql___insert_start(void);
88
extern void __dtrace_mysql___select_end(void);
89
extern int __dtraceenabled_mysql___select_end(void);
90
extern void __dtrace_mysql___select_start(void);
91
extern int __dtraceenabled_mysql___select_start(void);
92
extern void __dtrace_mysql___update_end(void);
93
extern int __dtraceenabled_mysql___update_end(void);
94
extern void __dtrace_mysql___update_start(void);
95
extern int __dtraceenabled_mysql___update_start(void);
96
97
#else
98
99
#define	MYSQL_DELETE_END()
100
#define	MYSQL_DELETE_END_ENABLED() (0)
101
#define	MYSQL_DELETE_START()
102
#define	MYSQL_DELETE_START_ENABLED() (0)
103
#define	MYSQL_EXTERNAL_LOCK(arg0)
104
#define	MYSQL_EXTERNAL_LOCK_ENABLED() (0)
105
#define	MYSQL_FILESORT_END()
106
#define	MYSQL_FILESORT_END_ENABLED() (0)
107
#define	MYSQL_FILESORT_START()
108
#define	MYSQL_FILESORT_START_ENABLED() (0)
109
#define	MYSQL_INSERT_END()
110
#define	MYSQL_INSERT_END_ENABLED() (0)
111
#define	MYSQL_INSERT_ROW_END()
112
#define	MYSQL_INSERT_ROW_END_ENABLED() (0)
113
#define	MYSQL_INSERT_ROW_START()
114
#define	MYSQL_INSERT_ROW_START_ENABLED() (0)
115
#define	MYSQL_INSERT_START()
116
#define	MYSQL_INSERT_START_ENABLED() (0)
117
#define	MYSQL_SELECT_END()
118
#define	MYSQL_SELECT_END_ENABLED() (0)
119
#define	MYSQL_SELECT_START()
120
#define	MYSQL_SELECT_START_ENABLED() (0)
121
#define	MYSQL_UPDATE_END()
122
#define	MYSQL_UPDATE_END_ENABLED() (0)
123
#define	MYSQL_UPDATE_START()
124
#define	MYSQL_UPDATE_START_ENABLED() (0)
125
126
#endif
127
128
129
#ifdef	__cplusplus
130
}
131
#endif
132
133
#endif	/* _PROBES_H */