4 #define _SDT_HAS_SEMAPHORES 1
7 #define STAP_HAS_SEMAPHORES 1
13 #if defined STAP_SDT_V1
14 #define DRIZZLE_CONNECTION_START_ENABLED() __builtin_expect (connection__start_semaphore, 0)
15 #define drizzle_connection__start_semaphore connection__start_semaphore
17 #define DRIZZLE_CONNECTION_START_ENABLED() __builtin_expect (drizzle_connection__start_semaphore, 0)
19 __extension__
extern unsigned short drizzle_connection__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
20 #define DRIZZLE_CONNECTION_START(arg1) \
21 DTRACE_PROBE1 (drizzle, connection__start, arg1)
24 #if defined STAP_SDT_V1
25 #define DRIZZLE_CONNECTION_DONE_ENABLED() __builtin_expect (connection__done_semaphore, 0)
26 #define drizzle_connection__done_semaphore connection__done_semaphore
28 #define DRIZZLE_CONNECTION_DONE_ENABLED() __builtin_expect (drizzle_connection__done_semaphore, 0)
30 __extension__
extern unsigned short drizzle_connection__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
31 #define DRIZZLE_CONNECTION_DONE(arg1) \
32 DTRACE_PROBE1 (drizzle, connection__done, arg1)
35 #if defined STAP_SDT_V1
36 #define DRIZZLE_COMMAND_START_ENABLED() __builtin_expect (command__start_semaphore, 0)
37 #define drizzle_command__start_semaphore command__start_semaphore
39 #define DRIZZLE_COMMAND_START_ENABLED() __builtin_expect (drizzle_command__start_semaphore, 0)
41 __extension__
extern unsigned short drizzle_command__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
42 #define DRIZZLE_COMMAND_START(arg1, arg2) \
43 DTRACE_PROBE2 (drizzle, command__start, arg1, arg2)
46 #if defined STAP_SDT_V1
47 #define DRIZZLE_COMMAND_DONE_ENABLED() __builtin_expect (command__done_semaphore, 0)
48 #define drizzle_command__done_semaphore command__done_semaphore
50 #define DRIZZLE_COMMAND_DONE_ENABLED() __builtin_expect (drizzle_command__done_semaphore, 0)
52 __extension__
extern unsigned short drizzle_command__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
53 #define DRIZZLE_COMMAND_DONE(arg1) \
54 DTRACE_PROBE1 (drizzle, command__done, arg1)
57 #if defined STAP_SDT_V1
58 #define DRIZZLE_QUERY_START_ENABLED() __builtin_expect (query__start_semaphore, 0)
59 #define drizzle_query__start_semaphore query__start_semaphore
61 #define DRIZZLE_QUERY_START_ENABLED() __builtin_expect (drizzle_query__start_semaphore, 0)
63 __extension__
extern unsigned short drizzle_query__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
64 #define DRIZZLE_QUERY_START(arg1, arg2, arg3) \
65 DTRACE_PROBE3 (drizzle, query__start, arg1, arg2, arg3)
68 #if defined STAP_SDT_V1
69 #define DRIZZLE_QUERY_DONE_ENABLED() __builtin_expect (query__done_semaphore, 0)
70 #define drizzle_query__done_semaphore query__done_semaphore
72 #define DRIZZLE_QUERY_DONE_ENABLED() __builtin_expect (drizzle_query__done_semaphore, 0)
74 __extension__
extern unsigned short drizzle_query__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
75 #define DRIZZLE_QUERY_DONE(arg1) \
76 DTRACE_PROBE1 (drizzle, query__done, arg1)
79 #if defined STAP_SDT_V1
80 #define DRIZZLE_QUERY_PARSE_START_ENABLED() __builtin_expect (query__parse__start_semaphore, 0)
81 #define drizzle_query__parse__start_semaphore query__parse__start_semaphore
83 #define DRIZZLE_QUERY_PARSE_START_ENABLED() __builtin_expect (drizzle_query__parse__start_semaphore, 0)
85 __extension__
extern unsigned short drizzle_query__parse__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
86 #define DRIZZLE_QUERY_PARSE_START(arg1) \
87 DTRACE_PROBE1 (drizzle, query__parse__start, arg1)
90 #if defined STAP_SDT_V1
91 #define DRIZZLE_QUERY_PARSE_DONE_ENABLED() __builtin_expect (query__parse__done_semaphore, 0)
92 #define drizzle_query__parse__done_semaphore query__parse__done_semaphore
94 #define DRIZZLE_QUERY_PARSE_DONE_ENABLED() __builtin_expect (drizzle_query__parse__done_semaphore, 0)
96 __extension__
extern unsigned short drizzle_query__parse__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
97 #define DRIZZLE_QUERY_PARSE_DONE(arg1) \
98 DTRACE_PROBE1 (drizzle, query__parse__done, arg1)
101 #if defined STAP_SDT_V1
102 #define DRIZZLE_QUERY_EXEC_START_ENABLED() __builtin_expect (query__exec__start_semaphore, 0)
103 #define drizzle_query__exec__start_semaphore query__exec__start_semaphore
105 #define DRIZZLE_QUERY_EXEC_START_ENABLED() __builtin_expect (drizzle_query__exec__start_semaphore, 0)
107 __extension__
extern unsigned short drizzle_query__exec__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
108 #define DRIZZLE_QUERY_EXEC_START(arg1, arg2, arg3) \
109 DTRACE_PROBE3 (drizzle, query__exec__start, arg1, arg2, arg3)
112 #if defined STAP_SDT_V1
113 #define DRIZZLE_QUERY_EXEC_DONE_ENABLED() __builtin_expect (query__exec__done_semaphore, 0)
114 #define drizzle_query__exec__done_semaphore query__exec__done_semaphore
116 #define DRIZZLE_QUERY_EXEC_DONE_ENABLED() __builtin_expect (drizzle_query__exec__done_semaphore, 0)
118 __extension__
extern unsigned short drizzle_query__exec__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
119 #define DRIZZLE_QUERY_EXEC_DONE(arg1) \
120 DTRACE_PROBE1 (drizzle, query__exec__done, arg1)
123 #if defined STAP_SDT_V1
124 #define DRIZZLE_QUERY_OPT_START_ENABLED() __builtin_expect (query__opt__start_semaphore, 0)
125 #define drizzle_query__opt__start_semaphore query__opt__start_semaphore
127 #define DRIZZLE_QUERY_OPT_START_ENABLED() __builtin_expect (drizzle_query__opt__start_semaphore, 0)
129 __extension__
extern unsigned short drizzle_query__opt__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
130 #define DRIZZLE_QUERY_OPT_START(arg1, arg2) \
131 DTRACE_PROBE2 (drizzle, query__opt__start, arg1, arg2)
134 #if defined STAP_SDT_V1
135 #define DRIZZLE_QUERY_OPT_DONE_ENABLED() __builtin_expect (query__opt__done_semaphore, 0)
136 #define drizzle_query__opt__done_semaphore query__opt__done_semaphore
138 #define DRIZZLE_QUERY_OPT_DONE_ENABLED() __builtin_expect (drizzle_query__opt__done_semaphore, 0)
140 __extension__
extern unsigned short drizzle_query__opt__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
141 #define DRIZZLE_QUERY_OPT_DONE(arg1) \
142 DTRACE_PROBE1 (drizzle, query__opt__done, arg1)
145 #if defined STAP_SDT_V1
146 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START_ENABLED() __builtin_expect (query__opt__choose__plan__start_semaphore, 0)
147 #define drizzle_query__opt__choose__plan__start_semaphore query__opt__choose__plan__start_semaphore
149 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START_ENABLED() __builtin_expect (drizzle_query__opt__choose__plan__start_semaphore, 0)
151 __extension__
extern unsigned short drizzle_query__opt__choose__plan__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
152 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START(arg1, arg2) \
153 DTRACE_PROBE2 (drizzle, query__opt__choose__plan__start, arg1, arg2)
156 #if defined STAP_SDT_V1
157 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE_ENABLED() __builtin_expect (query__opt__choose__plan__done_semaphore, 0)
158 #define drizzle_query__opt__choose__plan__done_semaphore query__opt__choose__plan__done_semaphore
160 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE_ENABLED() __builtin_expect (drizzle_query__opt__choose__plan__done_semaphore, 0)
162 __extension__
extern unsigned short drizzle_query__opt__choose__plan__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
163 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE(arg1) \
164 DTRACE_PROBE1 (drizzle, query__opt__choose__plan__done, arg1)
167 #if defined STAP_SDT_V1
168 #define DRIZZLE_INSERT_ROW_START_ENABLED() __builtin_expect (insert__row__start_semaphore, 0)
169 #define drizzle_insert__row__start_semaphore insert__row__start_semaphore
171 #define DRIZZLE_INSERT_ROW_START_ENABLED() __builtin_expect (drizzle_insert__row__start_semaphore, 0)
173 __extension__
extern unsigned short drizzle_insert__row__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
174 #define DRIZZLE_INSERT_ROW_START(arg1, arg2) \
175 DTRACE_PROBE2 (drizzle, insert__row__start, arg1, arg2)
178 #if defined STAP_SDT_V1
179 #define DRIZZLE_INSERT_ROW_DONE_ENABLED() __builtin_expect (insert__row__done_semaphore, 0)
180 #define drizzle_insert__row__done_semaphore insert__row__done_semaphore
182 #define DRIZZLE_INSERT_ROW_DONE_ENABLED() __builtin_expect (drizzle_insert__row__done_semaphore, 0)
184 __extension__
extern unsigned short drizzle_insert__row__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
185 #define DRIZZLE_INSERT_ROW_DONE(arg1) \
186 DTRACE_PROBE1 (drizzle, insert__row__done, arg1)
189 #if defined STAP_SDT_V1
190 #define DRIZZLE_UPDATE_ROW_START_ENABLED() __builtin_expect (update__row__start_semaphore, 0)
191 #define drizzle_update__row__start_semaphore update__row__start_semaphore
193 #define DRIZZLE_UPDATE_ROW_START_ENABLED() __builtin_expect (drizzle_update__row__start_semaphore, 0)
195 __extension__
extern unsigned short drizzle_update__row__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
196 #define DRIZZLE_UPDATE_ROW_START(arg1, arg2) \
197 DTRACE_PROBE2 (drizzle, update__row__start, arg1, arg2)
200 #if defined STAP_SDT_V1
201 #define DRIZZLE_UPDATE_ROW_DONE_ENABLED() __builtin_expect (update__row__done_semaphore, 0)
202 #define drizzle_update__row__done_semaphore update__row__done_semaphore
204 #define DRIZZLE_UPDATE_ROW_DONE_ENABLED() __builtin_expect (drizzle_update__row__done_semaphore, 0)
206 __extension__
extern unsigned short drizzle_update__row__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
207 #define DRIZZLE_UPDATE_ROW_DONE(arg1) \
208 DTRACE_PROBE1 (drizzle, update__row__done, arg1)
211 #if defined STAP_SDT_V1
212 #define DRIZZLE_DELETE_ROW_START_ENABLED() __builtin_expect (delete__row__start_semaphore, 0)
213 #define drizzle_delete__row__start_semaphore delete__row__start_semaphore
215 #define DRIZZLE_DELETE_ROW_START_ENABLED() __builtin_expect (drizzle_delete__row__start_semaphore, 0)
217 __extension__
extern unsigned short drizzle_delete__row__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
218 #define DRIZZLE_DELETE_ROW_START(arg1, arg2) \
219 DTRACE_PROBE2 (drizzle, delete__row__start, arg1, arg2)
222 #if defined STAP_SDT_V1
223 #define DRIZZLE_DELETE_ROW_DONE_ENABLED() __builtin_expect (delete__row__done_semaphore, 0)
224 #define drizzle_delete__row__done_semaphore delete__row__done_semaphore
226 #define DRIZZLE_DELETE_ROW_DONE_ENABLED() __builtin_expect (drizzle_delete__row__done_semaphore, 0)
228 __extension__
extern unsigned short drizzle_delete__row__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
229 #define DRIZZLE_DELETE_ROW_DONE(arg1) \
230 DTRACE_PROBE1 (drizzle, delete__row__done, arg1)
233 #if defined STAP_SDT_V1
234 #define DRIZZLE_CURSOR_RDLOCK_START_ENABLED() __builtin_expect (cursor__rdlock__start_semaphore, 0)
235 #define drizzle_cursor__rdlock__start_semaphore cursor__rdlock__start_semaphore
237 #define DRIZZLE_CURSOR_RDLOCK_START_ENABLED() __builtin_expect (drizzle_cursor__rdlock__start_semaphore, 0)
239 __extension__
extern unsigned short drizzle_cursor__rdlock__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
240 #define DRIZZLE_CURSOR_RDLOCK_START(arg1, arg2) \
241 DTRACE_PROBE2 (drizzle, cursor__rdlock__start, arg1, arg2)
244 #if defined STAP_SDT_V1
245 #define DRIZZLE_CURSOR_WRLOCK_START_ENABLED() __builtin_expect (cursor__wrlock__start_semaphore, 0)
246 #define drizzle_cursor__wrlock__start_semaphore cursor__wrlock__start_semaphore
248 #define DRIZZLE_CURSOR_WRLOCK_START_ENABLED() __builtin_expect (drizzle_cursor__wrlock__start_semaphore, 0)
250 __extension__
extern unsigned short drizzle_cursor__wrlock__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
251 #define DRIZZLE_CURSOR_WRLOCK_START(arg1, arg2) \
252 DTRACE_PROBE2 (drizzle, cursor__wrlock__start, arg1, arg2)
255 #if defined STAP_SDT_V1
256 #define DRIZZLE_CURSOR_UNLOCK_START_ENABLED() __builtin_expect (cursor__unlock__start_semaphore, 0)
257 #define drizzle_cursor__unlock__start_semaphore cursor__unlock__start_semaphore
259 #define DRIZZLE_CURSOR_UNLOCK_START_ENABLED() __builtin_expect (drizzle_cursor__unlock__start_semaphore, 0)
261 __extension__
extern unsigned short drizzle_cursor__unlock__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
262 #define DRIZZLE_CURSOR_UNLOCK_START(arg1, arg2) \
263 DTRACE_PROBE2 (drizzle, cursor__unlock__start, arg1, arg2)
266 #if defined STAP_SDT_V1
267 #define DRIZZLE_CURSOR_RDLOCK_DONE_ENABLED() __builtin_expect (cursor__rdlock__done_semaphore, 0)
268 #define drizzle_cursor__rdlock__done_semaphore cursor__rdlock__done_semaphore
270 #define DRIZZLE_CURSOR_RDLOCK_DONE_ENABLED() __builtin_expect (drizzle_cursor__rdlock__done_semaphore, 0)
272 __extension__
extern unsigned short drizzle_cursor__rdlock__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
273 #define DRIZZLE_CURSOR_RDLOCK_DONE(arg1) \
274 DTRACE_PROBE1 (drizzle, cursor__rdlock__done, arg1)
277 #if defined STAP_SDT_V1
278 #define DRIZZLE_CURSOR_WRLOCK_DONE_ENABLED() __builtin_expect (cursor__wrlock__done_semaphore, 0)
279 #define drizzle_cursor__wrlock__done_semaphore cursor__wrlock__done_semaphore
281 #define DRIZZLE_CURSOR_WRLOCK_DONE_ENABLED() __builtin_expect (drizzle_cursor__wrlock__done_semaphore, 0)
283 __extension__
extern unsigned short drizzle_cursor__wrlock__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
284 #define DRIZZLE_CURSOR_WRLOCK_DONE(arg1) \
285 DTRACE_PROBE1 (drizzle, cursor__wrlock__done, arg1)
288 #if defined STAP_SDT_V1
289 #define DRIZZLE_CURSOR_UNLOCK_DONE_ENABLED() __builtin_expect (cursor__unlock__done_semaphore, 0)
290 #define drizzle_cursor__unlock__done_semaphore cursor__unlock__done_semaphore
292 #define DRIZZLE_CURSOR_UNLOCK_DONE_ENABLED() __builtin_expect (drizzle_cursor__unlock__done_semaphore, 0)
294 __extension__
extern unsigned short drizzle_cursor__unlock__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
295 #define DRIZZLE_CURSOR_UNLOCK_DONE(arg1) \
296 DTRACE_PROBE1 (drizzle, cursor__unlock__done, arg1)
299 #if defined STAP_SDT_V1
300 #define DRIZZLE_FILESORT_START_ENABLED() __builtin_expect (filesort__start_semaphore, 0)
301 #define drizzle_filesort__start_semaphore filesort__start_semaphore
303 #define DRIZZLE_FILESORT_START_ENABLED() __builtin_expect (drizzle_filesort__start_semaphore, 0)
305 __extension__
extern unsigned short drizzle_filesort__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
306 #define DRIZZLE_FILESORT_START(arg1, arg2) \
307 DTRACE_PROBE2 (drizzle, filesort__start, arg1, arg2)
310 #if defined STAP_SDT_V1
311 #define DRIZZLE_FILESORT_DONE_ENABLED() __builtin_expect (filesort__done_semaphore, 0)
312 #define drizzle_filesort__done_semaphore filesort__done_semaphore
314 #define DRIZZLE_FILESORT_DONE_ENABLED() __builtin_expect (drizzle_filesort__done_semaphore, 0)
316 __extension__
extern unsigned short drizzle_filesort__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
317 #define DRIZZLE_FILESORT_DONE(arg1, arg2) \
318 DTRACE_PROBE2 (drizzle, filesort__done, arg1, arg2)
321 #if defined STAP_SDT_V1
322 #define DRIZZLE_SELECT_START_ENABLED() __builtin_expect (select__start_semaphore, 0)
323 #define drizzle_select__start_semaphore select__start_semaphore
325 #define DRIZZLE_SELECT_START_ENABLED() __builtin_expect (drizzle_select__start_semaphore, 0)
327 __extension__
extern unsigned short drizzle_select__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
328 #define DRIZZLE_SELECT_START(arg1) \
329 DTRACE_PROBE1 (drizzle, select__start, arg1)
332 #if defined STAP_SDT_V1
333 #define DRIZZLE_SELECT_DONE_ENABLED() __builtin_expect (select__done_semaphore, 0)
334 #define drizzle_select__done_semaphore select__done_semaphore
336 #define DRIZZLE_SELECT_DONE_ENABLED() __builtin_expect (drizzle_select__done_semaphore, 0)
338 __extension__
extern unsigned short drizzle_select__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
339 #define DRIZZLE_SELECT_DONE(arg1, arg2) \
340 DTRACE_PROBE2 (drizzle, select__done, arg1, arg2)
343 #if defined STAP_SDT_V1
344 #define DRIZZLE_INSERT_START_ENABLED() __builtin_expect (insert__start_semaphore, 0)
345 #define drizzle_insert__start_semaphore insert__start_semaphore
347 #define DRIZZLE_INSERT_START_ENABLED() __builtin_expect (drizzle_insert__start_semaphore, 0)
349 __extension__
extern unsigned short drizzle_insert__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
350 #define DRIZZLE_INSERT_START(arg1) \
351 DTRACE_PROBE1 (drizzle, insert__start, arg1)
354 #if defined STAP_SDT_V1
355 #define DRIZZLE_INSERT_DONE_ENABLED() __builtin_expect (insert__done_semaphore, 0)
356 #define drizzle_insert__done_semaphore insert__done_semaphore
358 #define DRIZZLE_INSERT_DONE_ENABLED() __builtin_expect (drizzle_insert__done_semaphore, 0)
360 __extension__
extern unsigned short drizzle_insert__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
361 #define DRIZZLE_INSERT_DONE(arg1, arg2) \
362 DTRACE_PROBE2 (drizzle, insert__done, arg1, arg2)
365 #if defined STAP_SDT_V1
366 #define DRIZZLE_INSERT_SELECT_START_ENABLED() __builtin_expect (insert__select__start_semaphore, 0)
367 #define drizzle_insert__select__start_semaphore insert__select__start_semaphore
369 #define DRIZZLE_INSERT_SELECT_START_ENABLED() __builtin_expect (drizzle_insert__select__start_semaphore, 0)
371 __extension__
extern unsigned short drizzle_insert__select__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
372 #define DRIZZLE_INSERT_SELECT_START(arg1) \
373 DTRACE_PROBE1 (drizzle, insert__select__start, arg1)
376 #if defined STAP_SDT_V1
377 #define DRIZZLE_INSERT_SELECT_DONE_ENABLED() __builtin_expect (insert__select__done_semaphore, 0)
378 #define drizzle_insert__select__done_semaphore insert__select__done_semaphore
380 #define DRIZZLE_INSERT_SELECT_DONE_ENABLED() __builtin_expect (drizzle_insert__select__done_semaphore, 0)
382 __extension__
extern unsigned short drizzle_insert__select__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
383 #define DRIZZLE_INSERT_SELECT_DONE(arg1, arg2) \
384 DTRACE_PROBE2 (drizzle, insert__select__done, arg1, arg2)
387 #if defined STAP_SDT_V1
388 #define DRIZZLE_UPDATE_START_ENABLED() __builtin_expect (update__start_semaphore, 0)
389 #define drizzle_update__start_semaphore update__start_semaphore
391 #define DRIZZLE_UPDATE_START_ENABLED() __builtin_expect (drizzle_update__start_semaphore, 0)
393 __extension__
extern unsigned short drizzle_update__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
394 #define DRIZZLE_UPDATE_START(arg1) \
395 DTRACE_PROBE1 (drizzle, update__start, arg1)
398 #if defined STAP_SDT_V1
399 #define DRIZZLE_UPDATE_DONE_ENABLED() __builtin_expect (update__done_semaphore, 0)
400 #define drizzle_update__done_semaphore update__done_semaphore
402 #define DRIZZLE_UPDATE_DONE_ENABLED() __builtin_expect (drizzle_update__done_semaphore, 0)
404 __extension__
extern unsigned short drizzle_update__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
405 #define DRIZZLE_UPDATE_DONE(arg1, arg2, arg3) \
406 DTRACE_PROBE3 (drizzle, update__done, arg1, arg2, arg3)
409 #if defined STAP_SDT_V1
410 #define DRIZZLE_DELETE_START_ENABLED() __builtin_expect (delete__start_semaphore, 0)
411 #define drizzle_delete__start_semaphore delete__start_semaphore
413 #define DRIZZLE_DELETE_START_ENABLED() __builtin_expect (drizzle_delete__start_semaphore, 0)
415 __extension__
extern unsigned short drizzle_delete__start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
416 #define DRIZZLE_DELETE_START(arg1) \
417 DTRACE_PROBE1 (drizzle, delete__start, arg1)
420 #if defined STAP_SDT_V1
421 #define DRIZZLE_DELETE_DONE_ENABLED() __builtin_expect (delete__done_semaphore, 0)
422 #define drizzle_delete__done_semaphore delete__done_semaphore
424 #define DRIZZLE_DELETE_DONE_ENABLED() __builtin_expect (drizzle_delete__done_semaphore, 0)
426 __extension__
extern unsigned short drizzle_delete__done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
427 #define DRIZZLE_DELETE_DONE(arg1, arg2) \
428 DTRACE_PROBE2 (drizzle, delete__done, arg1, arg2)