14
#if defined(_DTRACE_VERSION)
16
16
#define DRIZZLE_DELETE_END() \
17
__dtrace_mysql___delete_end()
18
#define DRIZZLE_DELETE_END_ENABLED() \
19
__dtraceenabled_mysql___delete_end()
17
__dtrace_drizzle___delete_end()
19
#define DRIZZLE_DELETE_END_ENABLED() \
20
__dtraceenabled_drizzle___delete_end()
22
#define DRIZZLE_DELETE_END_ENABLED() \
23
__dtraceenabled_drizzle___delete_end(0)
20
25
#define DRIZZLE_DELETE_START() \
21
__dtrace_mysql___delete_start()
22
#define DRIZZLE_DELETE_START_ENABLED() \
23
__dtraceenabled_mysql___delete_start()
26
__dtrace_drizzle___delete_start()
28
#define DRIZZLE_DELETE_START_ENABLED() \
29
__dtraceenabled_drizzle___delete_start()
31
#define DRIZZLE_DELETE_START_ENABLED() \
32
__dtraceenabled_drizzle___delete_start(0)
24
34
#define DRIZZLE_EXTERNAL_LOCK(arg0) \
25
__dtrace_mysql___external_lock(arg0)
26
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
27
__dtraceenabled_mysql___external_lock()
35
__dtrace_drizzle___external_lock(arg0)
37
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
38
__dtraceenabled_drizzle___external_lock()
40
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
41
__dtraceenabled_drizzle___external_lock(0)
28
43
#define DRIZZLE_FILESORT_END() \
29
__dtrace_mysql___filesort_end()
30
#define DRIZZLE_FILESORT_END_ENABLED() \
31
__dtraceenabled_mysql___filesort_end()
44
__dtrace_drizzle___filesort_end()
46
#define DRIZZLE_FILESORT_END_ENABLED() \
47
__dtraceenabled_drizzle___filesort_end()
49
#define DRIZZLE_FILESORT_END_ENABLED() \
50
__dtraceenabled_drizzle___filesort_end(0)
32
52
#define DRIZZLE_FILESORT_START() \
33
__dtrace_mysql___filesort_start()
34
#define DRIZZLE_FILESORT_START_ENABLED() \
35
__dtraceenabled_mysql___filesort_start()
53
__dtrace_drizzle___filesort_start()
55
#define DRIZZLE_FILESORT_START_ENABLED() \
56
__dtraceenabled_drizzle___filesort_start()
58
#define DRIZZLE_FILESORT_START_ENABLED() \
59
__dtraceenabled_drizzle___filesort_start(0)
36
61
#define DRIZZLE_INSERT_END() \
37
__dtrace_mysql___insert_end()
38
#define DRIZZLE_INSERT_END_ENABLED() \
39
__dtraceenabled_mysql___insert_end()
62
__dtrace_drizzle___insert_end()
64
#define DRIZZLE_INSERT_END_ENABLED() \
65
__dtraceenabled_drizzle___insert_end()
67
#define DRIZZLE_INSERT_END_ENABLED() \
68
__dtraceenabled_drizzle___insert_end(0)
40
70
#define DRIZZLE_INSERT_ROW_END() \
41
__dtrace_mysql___insert_row_end()
42
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
43
__dtraceenabled_mysql___insert_row_end()
71
__dtrace_drizzle___insert_row_end()
73
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
74
__dtraceenabled_drizzle___insert_row_end()
76
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
77
__dtraceenabled_drizzle___insert_row_end(0)
44
79
#define DRIZZLE_INSERT_ROW_START() \
45
__dtrace_mysql___insert_row_start()
46
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
47
__dtraceenabled_mysql___insert_row_start()
80
__dtrace_drizzle___insert_row_start()
82
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
83
__dtraceenabled_drizzle___insert_row_start()
85
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
86
__dtraceenabled_drizzle___insert_row_start(0)
48
88
#define DRIZZLE_INSERT_START() \
49
__dtrace_mysql___insert_start()
50
#define DRIZZLE_INSERT_START_ENABLED() \
51
__dtraceenabled_mysql___insert_start()
89
__dtrace_drizzle___insert_start()
91
#define DRIZZLE_INSERT_START_ENABLED() \
92
__dtraceenabled_drizzle___insert_start()
94
#define DRIZZLE_INSERT_START_ENABLED() \
95
__dtraceenabled_drizzle___insert_start(0)
52
97
#define DRIZZLE_SELECT_END() \
53
__dtrace_mysql___select_end()
54
#define DRIZZLE_SELECT_END_ENABLED() \
55
__dtraceenabled_mysql___select_end()
98
__dtrace_drizzle___select_end()
100
#define DRIZZLE_SELECT_END_ENABLED() \
101
__dtraceenabled_drizzle___select_end()
103
#define DRIZZLE_SELECT_END_ENABLED() \
104
__dtraceenabled_drizzle___select_end(0)
56
106
#define DRIZZLE_SELECT_START() \
57
__dtrace_mysql___select_start()
58
#define DRIZZLE_SELECT_START_ENABLED() \
59
__dtraceenabled_mysql___select_start()
107
__dtrace_drizzle___select_start()
109
#define DRIZZLE_SELECT_START_ENABLED() \
110
__dtraceenabled_drizzle___select_start()
112
#define DRIZZLE_SELECT_START_ENABLED() \
113
__dtraceenabled_drizzle___select_start(0)
60
115
#define DRIZZLE_UPDATE_END() \
61
__dtrace_mysql___update_end()
62
#define DRIZZLE_UPDATE_END_ENABLED() \
63
__dtraceenabled_mysql___update_end()
116
__dtrace_drizzle___update_end()
118
#define DRIZZLE_UPDATE_END_ENABLED() \
119
__dtraceenabled_drizzle___update_end()
121
#define DRIZZLE_UPDATE_END_ENABLED() \
122
__dtraceenabled_drizzle___update_end(0)
64
124
#define DRIZZLE_UPDATE_START() \
65
__dtrace_mysql___update_start()
66
#define DRIZZLE_UPDATE_START_ENABLED() \
67
__dtraceenabled_mysql___update_start()
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);
125
__dtrace_drizzle___update_start()
127
#define DRIZZLE_UPDATE_START_ENABLED() \
128
__dtraceenabled_drizzle___update_start()
130
#define DRIZZLE_UPDATE_START_ENABLED() \
131
__dtraceenabled_drizzle___update_start(0)
135
extern void __dtrace_drizzle___delete_end(void);
137
extern int __dtraceenabled_drizzle___delete_end(void);
139
extern int __dtraceenabled_drizzle___delete_end(long);
141
extern void __dtrace_drizzle___delete_start(void);
143
extern int __dtraceenabled_drizzle___delete_start(void);
145
extern int __dtraceenabled_drizzle___delete_start(long);
147
extern void __dtrace_drizzle___external_lock(int);
149
extern int __dtraceenabled_drizzle___external_lock(void);
151
extern int __dtraceenabled_drizzle___external_lock(long);
153
extern void __dtrace_drizzle___filesort_end(void);
155
extern int __dtraceenabled_drizzle___filesort_end(void);
157
extern int __dtraceenabled_drizzle___filesort_end(long);
159
extern void __dtrace_drizzle___filesort_start(void);
161
extern int __dtraceenabled_drizzle___filesort_start(void);
163
extern int __dtraceenabled_drizzle___filesort_start(long);
165
extern void __dtrace_drizzle___insert_end(void);
167
extern int __dtraceenabled_drizzle___insert_end(void);
169
extern int __dtraceenabled_drizzle___insert_end(long);
171
extern void __dtrace_drizzle___insert_row_end(void);
173
extern int __dtraceenabled_drizzle___insert_row_end(void);
175
extern int __dtraceenabled_drizzle___insert_row_end(long);
177
extern void __dtrace_drizzle___insert_row_start(void);
179
extern int __dtraceenabled_drizzle___insert_row_start(void);
181
extern int __dtraceenabled_drizzle___insert_row_start(long);
183
extern void __dtrace_drizzle___insert_start(void);
185
extern int __dtraceenabled_drizzle___insert_start(void);
187
extern int __dtraceenabled_drizzle___insert_start(long);
189
extern void __dtrace_drizzle___select_end(void);
191
extern int __dtraceenabled_drizzle___select_end(void);
193
extern int __dtraceenabled_drizzle___select_end(long);
195
extern void __dtrace_drizzle___select_start(void);
197
extern int __dtraceenabled_drizzle___select_start(void);
199
extern int __dtraceenabled_drizzle___select_start(long);
201
extern void __dtrace_drizzle___update_end(void);
203
extern int __dtraceenabled_drizzle___update_end(void);
205
extern int __dtraceenabled_drizzle___update_end(long);
207
extern void __dtrace_drizzle___update_start(void);
209
extern int __dtraceenabled_drizzle___update_start(void);
211
extern int __dtraceenabled_drizzle___update_start(long);