ISC DHCP  4.3.3
A reference DHCPv4 and DHCPv6 implementation
probes.h
Go to the documentation of this file.
1 /* Generated by the Systemtap dtrace wrapper */
2 
3 
4 #define _SDT_HAS_SEMAPHORES 1
5 
6 
7 #define STAP_HAS_SEMAPHORES 1 /* deprecated */
8 
9 
10 #include <sys/sdt.h>
11 
12 /* DHCPD_MAIN ( ) */
13 #if defined STAP_SDT_V1
14 #define DHCPD_MAIN_ENABLED() __builtin_expect (main_semaphore, 0)
15 #define dhcpd_main_semaphore main_semaphore
16 #else
17 #define DHCPD_MAIN_ENABLED() __builtin_expect (dhcpd_main_semaphore, 0)
18 #endif
19 __extension__ extern unsigned short dhcpd_main_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
20 #define DHCPD_MAIN() \
21 DTRACE_PROBE (dhcpd, main)
22 
23 /* DHCPD_DISCOVER_START ( ) */
24 #if defined STAP_SDT_V1
25 #define DHCPD_DISCOVER_START_ENABLED() __builtin_expect (discover_start_semaphore, 0)
26 #define dhcpd_discover_start_semaphore discover_start_semaphore
27 #else
28 #define DHCPD_DISCOVER_START_ENABLED() __builtin_expect (dhcpd_discover_start_semaphore, 0)
29 #endif
30 __extension__ extern unsigned short dhcpd_discover_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
31 #define DHCPD_DISCOVER_START() \
32 DTRACE_PROBE (dhcpd, discover_start)
33 
34 /* DHCPD_DISCOVER_DONE ( ) */
35 #if defined STAP_SDT_V1
36 #define DHCPD_DISCOVER_DONE_ENABLED() __builtin_expect (discover_done_semaphore, 0)
37 #define dhcpd_discover_done_semaphore discover_done_semaphore
38 #else
39 #define DHCPD_DISCOVER_DONE_ENABLED() __builtin_expect (dhcpd_discover_done_semaphore, 0)
40 #endif
41 __extension__ extern unsigned short dhcpd_discover_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
42 #define DHCPD_DISCOVER_DONE() \
43 DTRACE_PROBE (dhcpd, discover_done)
44 
45 /* DHCPD_REQUEST_START ( ) */
46 #if defined STAP_SDT_V1
47 #define DHCPD_REQUEST_START_ENABLED() __builtin_expect (request_start_semaphore, 0)
48 #define dhcpd_request_start_semaphore request_start_semaphore
49 #else
50 #define DHCPD_REQUEST_START_ENABLED() __builtin_expect (dhcpd_request_start_semaphore, 0)
51 #endif
52 __extension__ extern unsigned short dhcpd_request_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
53 #define DHCPD_REQUEST_START() \
54 DTRACE_PROBE (dhcpd, request_start)
55 
56 /* DHCPD_REQUEST_DONE ( ) */
57 #if defined STAP_SDT_V1
58 #define DHCPD_REQUEST_DONE_ENABLED() __builtin_expect (request_done_semaphore, 0)
59 #define dhcpd_request_done_semaphore request_done_semaphore
60 #else
61 #define DHCPD_REQUEST_DONE_ENABLED() __builtin_expect (dhcpd_request_done_semaphore, 0)
62 #endif
63 __extension__ extern unsigned short dhcpd_request_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
64 #define DHCPD_REQUEST_DONE() \
65 DTRACE_PROBE (dhcpd, request_done)
66 
67 /* DHCPD_RELEASE_START ( ) */
68 #if defined STAP_SDT_V1
69 #define DHCPD_RELEASE_START_ENABLED() __builtin_expect (release_start_semaphore, 0)
70 #define dhcpd_release_start_semaphore release_start_semaphore
71 #else
72 #define DHCPD_RELEASE_START_ENABLED() __builtin_expect (dhcpd_release_start_semaphore, 0)
73 #endif
74 __extension__ extern unsigned short dhcpd_release_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
75 #define DHCPD_RELEASE_START() \
76 DTRACE_PROBE (dhcpd, release_start)
77 
78 /* DHCPD_RELEASE_DONE ( ) */
79 #if defined STAP_SDT_V1
80 #define DHCPD_RELEASE_DONE_ENABLED() __builtin_expect (release_done_semaphore, 0)
81 #define dhcpd_release_done_semaphore release_done_semaphore
82 #else
83 #define DHCPD_RELEASE_DONE_ENABLED() __builtin_expect (dhcpd_release_done_semaphore, 0)
84 #endif
85 __extension__ extern unsigned short dhcpd_release_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
86 #define DHCPD_RELEASE_DONE() \
87 DTRACE_PROBE (dhcpd, release_done)
88 
89 /* DHCPD_DECLINE_START ( ) */
90 #if defined STAP_SDT_V1
91 #define DHCPD_DECLINE_START_ENABLED() __builtin_expect (decline_start_semaphore, 0)
92 #define dhcpd_decline_start_semaphore decline_start_semaphore
93 #else
94 #define DHCPD_DECLINE_START_ENABLED() __builtin_expect (dhcpd_decline_start_semaphore, 0)
95 #endif
96 __extension__ extern unsigned short dhcpd_decline_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
97 #define DHCPD_DECLINE_START() \
98 DTRACE_PROBE (dhcpd, decline_start)
99 
100 /* DHCPD_DECLINE_DONE ( ) */
101 #if defined STAP_SDT_V1
102 #define DHCPD_DECLINE_DONE_ENABLED() __builtin_expect (decline_done_semaphore, 0)
103 #define dhcpd_decline_done_semaphore decline_done_semaphore
104 #else
105 #define DHCPD_DECLINE_DONE_ENABLED() __builtin_expect (dhcpd_decline_done_semaphore, 0)
106 #endif
107 __extension__ extern unsigned short dhcpd_decline_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
108 #define DHCPD_DECLINE_DONE() \
109 DTRACE_PROBE (dhcpd, decline_done)
110 
111 /* DHCPD_INFORM_START ( ) */
112 #if defined STAP_SDT_V1
113 #define DHCPD_INFORM_START_ENABLED() __builtin_expect (inform_start_semaphore, 0)
114 #define dhcpd_inform_start_semaphore inform_start_semaphore
115 #else
116 #define DHCPD_INFORM_START_ENABLED() __builtin_expect (dhcpd_inform_start_semaphore, 0)
117 #endif
118 __extension__ extern unsigned short dhcpd_inform_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
119 #define DHCPD_INFORM_START() \
120 DTRACE_PROBE (dhcpd, inform_start)
121 
122 /* DHCPD_INFORM_DONE ( ) */
123 #if defined STAP_SDT_V1
124 #define DHCPD_INFORM_DONE_ENABLED() __builtin_expect (inform_done_semaphore, 0)
125 #define dhcpd_inform_done_semaphore inform_done_semaphore
126 #else
127 #define DHCPD_INFORM_DONE_ENABLED() __builtin_expect (dhcpd_inform_done_semaphore, 0)
128 #endif
129 __extension__ extern unsigned short dhcpd_inform_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
130 #define DHCPD_INFORM_DONE() \
131 DTRACE_PROBE (dhcpd, inform_done)
132 
133 /* DHCPD_NAK_LEASE_START ( ) */
134 #if defined STAP_SDT_V1
135 #define DHCPD_NAK_LEASE_START_ENABLED() __builtin_expect (nak_lease_start_semaphore, 0)
136 #define dhcpd_nak_lease_start_semaphore nak_lease_start_semaphore
137 #else
138 #define DHCPD_NAK_LEASE_START_ENABLED() __builtin_expect (dhcpd_nak_lease_start_semaphore, 0)
139 #endif
140 __extension__ extern unsigned short dhcpd_nak_lease_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
141 #define DHCPD_NAK_LEASE_START() \
142 DTRACE_PROBE (dhcpd, nak_lease_start)
143 
144 /* DHCPD_NAK_LEASE_DONE ( ) */
145 #if defined STAP_SDT_V1
146 #define DHCPD_NAK_LEASE_DONE_ENABLED() __builtin_expect (nak_lease_done_semaphore, 0)
147 #define dhcpd_nak_lease_done_semaphore nak_lease_done_semaphore
148 #else
149 #define DHCPD_NAK_LEASE_DONE_ENABLED() __builtin_expect (dhcpd_nak_lease_done_semaphore, 0)
150 #endif
151 __extension__ extern unsigned short dhcpd_nak_lease_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
152 #define DHCPD_NAK_LEASE_DONE() \
153 DTRACE_PROBE (dhcpd, nak_lease_done)
154 
155 /* DHCPD_ACK_LEASE_START ( ) */
156 #if defined STAP_SDT_V1
157 #define DHCPD_ACK_LEASE_START_ENABLED() __builtin_expect (ack_lease_start_semaphore, 0)
158 #define dhcpd_ack_lease_start_semaphore ack_lease_start_semaphore
159 #else
160 #define DHCPD_ACK_LEASE_START_ENABLED() __builtin_expect (dhcpd_ack_lease_start_semaphore, 0)
161 #endif
162 __extension__ extern unsigned short dhcpd_ack_lease_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
163 #define DHCPD_ACK_LEASE_START() \
164 DTRACE_PROBE (dhcpd, ack_lease_start)
165 
166 /* DHCPD_ACK_LEASE_DONE ( ) */
167 #if defined STAP_SDT_V1
168 #define DHCPD_ACK_LEASE_DONE_ENABLED() __builtin_expect (ack_lease_done_semaphore, 0)
169 #define dhcpd_ack_lease_done_semaphore ack_lease_done_semaphore
170 #else
171 #define DHCPD_ACK_LEASE_DONE_ENABLED() __builtin_expect (dhcpd_ack_lease_done_semaphore, 0)
172 #endif
173 __extension__ extern unsigned short dhcpd_ack_lease_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
174 #define DHCPD_ACK_LEASE_DONE() \
175 DTRACE_PROBE (dhcpd, ack_lease_done)
176 
177 /* DHCPD_REPLY_START ( ) */
178 #if defined STAP_SDT_V1
179 #define DHCPD_REPLY_START_ENABLED() __builtin_expect (reply_start_semaphore, 0)
180 #define dhcpd_reply_start_semaphore reply_start_semaphore
181 #else
182 #define DHCPD_REPLY_START_ENABLED() __builtin_expect (dhcpd_reply_start_semaphore, 0)
183 #endif
184 __extension__ extern unsigned short dhcpd_reply_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
185 #define DHCPD_REPLY_START() \
186 DTRACE_PROBE (dhcpd, reply_start)
187 
188 /* DHCPD_REPLY_DONE ( ) */
189 #if defined STAP_SDT_V1
190 #define DHCPD_REPLY_DONE_ENABLED() __builtin_expect (reply_done_semaphore, 0)
191 #define dhcpd_reply_done_semaphore reply_done_semaphore
192 #else
193 #define DHCPD_REPLY_DONE_ENABLED() __builtin_expect (dhcpd_reply_done_semaphore, 0)
194 #endif
195 __extension__ extern unsigned short dhcpd_reply_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
196 #define DHCPD_REPLY_DONE() \
197 DTRACE_PROBE (dhcpd, reply_done)
198 
199 /* DHCPD_FIND_LEASE_START ( ) */
200 #if defined STAP_SDT_V1
201 #define DHCPD_FIND_LEASE_START_ENABLED() __builtin_expect (find_lease_start_semaphore, 0)
202 #define dhcpd_find_lease_start_semaphore find_lease_start_semaphore
203 #else
204 #define DHCPD_FIND_LEASE_START_ENABLED() __builtin_expect (dhcpd_find_lease_start_semaphore, 0)
205 #endif
206 __extension__ extern unsigned short dhcpd_find_lease_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
207 #define DHCPD_FIND_LEASE_START() \
208 DTRACE_PROBE (dhcpd, find_lease_start)
209 
210 /* DHCPD_FIND_LEASE_DONE ( ) */
211 #if defined STAP_SDT_V1
212 #define DHCPD_FIND_LEASE_DONE_ENABLED() __builtin_expect (find_lease_done_semaphore, 0)
213 #define dhcpd_find_lease_done_semaphore find_lease_done_semaphore
214 #else
215 #define DHCPD_FIND_LEASE_DONE_ENABLED() __builtin_expect (dhcpd_find_lease_done_semaphore, 0)
216 #endif
217 __extension__ extern unsigned short dhcpd_find_lease_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
218 #define DHCPD_FIND_LEASE_DONE() \
219 DTRACE_PROBE (dhcpd, find_lease_done)
220 
221 /* DHCPD_SIX_SOLICIT_START ( ) */
222 #if defined STAP_SDT_V1
223 #define DHCPD_SIX_SOLICIT_START_ENABLED() __builtin_expect (six_solicit_start_semaphore, 0)
224 #define dhcpd_six_solicit_start_semaphore six_solicit_start_semaphore
225 #else
226 #define DHCPD_SIX_SOLICIT_START_ENABLED() __builtin_expect (dhcpd_six_solicit_start_semaphore, 0)
227 #endif
228 __extension__ extern unsigned short dhcpd_six_solicit_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
229 #define DHCPD_SIX_SOLICIT_START() \
230 DTRACE_PROBE (dhcpd, six_solicit_start)
231 
232 /* DHCPD_SIX_SOLICIT_DONE ( ) */
233 #if defined STAP_SDT_V1
234 #define DHCPD_SIX_SOLICIT_DONE_ENABLED() __builtin_expect (six_solicit_done_semaphore, 0)
235 #define dhcpd_six_solicit_done_semaphore six_solicit_done_semaphore
236 #else
237 #define DHCPD_SIX_SOLICIT_DONE_ENABLED() __builtin_expect (dhcpd_six_solicit_done_semaphore, 0)
238 #endif
239 __extension__ extern unsigned short dhcpd_six_solicit_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
240 #define DHCPD_SIX_SOLICIT_DONE() \
241 DTRACE_PROBE (dhcpd, six_solicit_done)
242 
243 /* DHCPD_SIX_REQUEST_START ( ) */
244 #if defined STAP_SDT_V1
245 #define DHCPD_SIX_REQUEST_START_ENABLED() __builtin_expect (six_request_start_semaphore, 0)
246 #define dhcpd_six_request_start_semaphore six_request_start_semaphore
247 #else
248 #define DHCPD_SIX_REQUEST_START_ENABLED() __builtin_expect (dhcpd_six_request_start_semaphore, 0)
249 #endif
250 __extension__ extern unsigned short dhcpd_six_request_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
251 #define DHCPD_SIX_REQUEST_START() \
252 DTRACE_PROBE (dhcpd, six_request_start)
253 
254 /* DHCPD_SIX_REQUEST_DONE ( ) */
255 #if defined STAP_SDT_V1
256 #define DHCPD_SIX_REQUEST_DONE_ENABLED() __builtin_expect (six_request_done_semaphore, 0)
257 #define dhcpd_six_request_done_semaphore six_request_done_semaphore
258 #else
259 #define DHCPD_SIX_REQUEST_DONE_ENABLED() __builtin_expect (dhcpd_six_request_done_semaphore, 0)
260 #endif
261 __extension__ extern unsigned short dhcpd_six_request_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
262 #define DHCPD_SIX_REQUEST_DONE() \
263 DTRACE_PROBE (dhcpd, six_request_done)
264 
265 /* DHCPD_SIX_CONFIRM_START ( ) */
266 #if defined STAP_SDT_V1
267 #define DHCPD_SIX_CONFIRM_START_ENABLED() __builtin_expect (six_confirm_start_semaphore, 0)
268 #define dhcpd_six_confirm_start_semaphore six_confirm_start_semaphore
269 #else
270 #define DHCPD_SIX_CONFIRM_START_ENABLED() __builtin_expect (dhcpd_six_confirm_start_semaphore, 0)
271 #endif
272 __extension__ extern unsigned short dhcpd_six_confirm_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
273 #define DHCPD_SIX_CONFIRM_START() \
274 DTRACE_PROBE (dhcpd, six_confirm_start)
275 
276 /* DHCPD_SIX_CONFIRM_DONE ( ) */
277 #if defined STAP_SDT_V1
278 #define DHCPD_SIX_CONFIRM_DONE_ENABLED() __builtin_expect (six_confirm_done_semaphore, 0)
279 #define dhcpd_six_confirm_done_semaphore six_confirm_done_semaphore
280 #else
281 #define DHCPD_SIX_CONFIRM_DONE_ENABLED() __builtin_expect (dhcpd_six_confirm_done_semaphore, 0)
282 #endif
283 __extension__ extern unsigned short dhcpd_six_confirm_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
284 #define DHCPD_SIX_CONFIRM_DONE() \
285 DTRACE_PROBE (dhcpd, six_confirm_done)
286 
287 /* DHCPD_SIX_RENEW_START ( ) */
288 #if defined STAP_SDT_V1
289 #define DHCPD_SIX_RENEW_START_ENABLED() __builtin_expect (six_renew_start_semaphore, 0)
290 #define dhcpd_six_renew_start_semaphore six_renew_start_semaphore
291 #else
292 #define DHCPD_SIX_RENEW_START_ENABLED() __builtin_expect (dhcpd_six_renew_start_semaphore, 0)
293 #endif
294 __extension__ extern unsigned short dhcpd_six_renew_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
295 #define DHCPD_SIX_RENEW_START() \
296 DTRACE_PROBE (dhcpd, six_renew_start)
297 
298 /* DHCPD_SIX_RENEW_DONE ( ) */
299 #if defined STAP_SDT_V1
300 #define DHCPD_SIX_RENEW_DONE_ENABLED() __builtin_expect (six_renew_done_semaphore, 0)
301 #define dhcpd_six_renew_done_semaphore six_renew_done_semaphore
302 #else
303 #define DHCPD_SIX_RENEW_DONE_ENABLED() __builtin_expect (dhcpd_six_renew_done_semaphore, 0)
304 #endif
305 __extension__ extern unsigned short dhcpd_six_renew_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
306 #define DHCPD_SIX_RENEW_DONE() \
307 DTRACE_PROBE (dhcpd, six_renew_done)
308 
309 /* DHCPD_SIX_REBIND_START ( ) */
310 #if defined STAP_SDT_V1
311 #define DHCPD_SIX_REBIND_START_ENABLED() __builtin_expect (six_rebind_start_semaphore, 0)
312 #define dhcpd_six_rebind_start_semaphore six_rebind_start_semaphore
313 #else
314 #define DHCPD_SIX_REBIND_START_ENABLED() __builtin_expect (dhcpd_six_rebind_start_semaphore, 0)
315 #endif
316 __extension__ extern unsigned short dhcpd_six_rebind_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
317 #define DHCPD_SIX_REBIND_START() \
318 DTRACE_PROBE (dhcpd, six_rebind_start)
319 
320 /* DHCPD_SIX_REBIND_DONE ( ) */
321 #if defined STAP_SDT_V1
322 #define DHCPD_SIX_REBIND_DONE_ENABLED() __builtin_expect (six_rebind_done_semaphore, 0)
323 #define dhcpd_six_rebind_done_semaphore six_rebind_done_semaphore
324 #else
325 #define DHCPD_SIX_REBIND_DONE_ENABLED() __builtin_expect (dhcpd_six_rebind_done_semaphore, 0)
326 #endif
327 __extension__ extern unsigned short dhcpd_six_rebind_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
328 #define DHCPD_SIX_REBIND_DONE() \
329 DTRACE_PROBE (dhcpd, six_rebind_done)
330 
331 /* DHCPD_SIX_DECLINE_START ( ) */
332 #if defined STAP_SDT_V1
333 #define DHCPD_SIX_DECLINE_START_ENABLED() __builtin_expect (six_decline_start_semaphore, 0)
334 #define dhcpd_six_decline_start_semaphore six_decline_start_semaphore
335 #else
336 #define DHCPD_SIX_DECLINE_START_ENABLED() __builtin_expect (dhcpd_six_decline_start_semaphore, 0)
337 #endif
338 __extension__ extern unsigned short dhcpd_six_decline_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
339 #define DHCPD_SIX_DECLINE_START() \
340 DTRACE_PROBE (dhcpd, six_decline_start)
341 
342 /* DHCPD_SIX_DECLINE_DONE ( ) */
343 #if defined STAP_SDT_V1
344 #define DHCPD_SIX_DECLINE_DONE_ENABLED() __builtin_expect (six_decline_done_semaphore, 0)
345 #define dhcpd_six_decline_done_semaphore six_decline_done_semaphore
346 #else
347 #define DHCPD_SIX_DECLINE_DONE_ENABLED() __builtin_expect (dhcpd_six_decline_done_semaphore, 0)
348 #endif
349 __extension__ extern unsigned short dhcpd_six_decline_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
350 #define DHCPD_SIX_DECLINE_DONE() \
351 DTRACE_PROBE (dhcpd, six_decline_done)
352 
353 /* DHCPD_SIX_RELEASE_START ( ) */
354 #if defined STAP_SDT_V1
355 #define DHCPD_SIX_RELEASE_START_ENABLED() __builtin_expect (six_release_start_semaphore, 0)
356 #define dhcpd_six_release_start_semaphore six_release_start_semaphore
357 #else
358 #define DHCPD_SIX_RELEASE_START_ENABLED() __builtin_expect (dhcpd_six_release_start_semaphore, 0)
359 #endif
360 __extension__ extern unsigned short dhcpd_six_release_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
361 #define DHCPD_SIX_RELEASE_START() \
362 DTRACE_PROBE (dhcpd, six_release_start)
363 
364 /* DHCPD_SIX_RELEASE_DONE ( ) */
365 #if defined STAP_SDT_V1
366 #define DHCPD_SIX_RELEASE_DONE_ENABLED() __builtin_expect (six_release_done_semaphore, 0)
367 #define dhcpd_six_release_done_semaphore six_release_done_semaphore
368 #else
369 #define DHCPD_SIX_RELEASE_DONE_ENABLED() __builtin_expect (dhcpd_six_release_done_semaphore, 0)
370 #endif
371 __extension__ extern unsigned short dhcpd_six_release_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
372 #define DHCPD_SIX_RELEASE_DONE() \
373 DTRACE_PROBE (dhcpd, six_release_done)
374 
375 /* DHCPD_SIX_INFORMATION_REQUEST_START ( ) */
376 #if defined STAP_SDT_V1
377 #define DHCPD_SIX_INFORMATION_REQUEST_START_ENABLED() __builtin_expect (six_information_request_start_semaphore, 0)
378 #define dhcpd_six_information_request_start_semaphore six_information_request_start_semaphore
379 #else
380 #define DHCPD_SIX_INFORMATION_REQUEST_START_ENABLED() __builtin_expect (dhcpd_six_information_request_start_semaphore, 0)
381 #endif
382 __extension__ extern unsigned short dhcpd_six_information_request_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
383 #define DHCPD_SIX_INFORMATION_REQUEST_START() \
384 DTRACE_PROBE (dhcpd, six_information_request_start)
385 
386 /* DHCPD_SIX_INFORMATION_REQUEST_DONE ( ) */
387 #if defined STAP_SDT_V1
388 #define DHCPD_SIX_INFORMATION_REQUEST_DONE_ENABLED() __builtin_expect (six_information_request_done_semaphore, 0)
389 #define dhcpd_six_information_request_done_semaphore six_information_request_done_semaphore
390 #else
391 #define DHCPD_SIX_INFORMATION_REQUEST_DONE_ENABLED() __builtin_expect (dhcpd_six_information_request_done_semaphore, 0)
392 #endif
393 __extension__ extern unsigned short dhcpd_six_information_request_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
394 #define DHCPD_SIX_INFORMATION_REQUEST_DONE() \
395 DTRACE_PROBE (dhcpd, six_information_request_done)
396 
397 /* DHCPD_SIX_RELAY_FORW_START ( ) */
398 #if defined STAP_SDT_V1
399 #define DHCPD_SIX_RELAY_FORW_START_ENABLED() __builtin_expect (six_relay_forw_start_semaphore, 0)
400 #define dhcpd_six_relay_forw_start_semaphore six_relay_forw_start_semaphore
401 #else
402 #define DHCPD_SIX_RELAY_FORW_START_ENABLED() __builtin_expect (dhcpd_six_relay_forw_start_semaphore, 0)
403 #endif
404 __extension__ extern unsigned short dhcpd_six_relay_forw_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
405 #define DHCPD_SIX_RELAY_FORW_START() \
406 DTRACE_PROBE (dhcpd, six_relay_forw_start)
407 
408 /* DHCPD_SIX_RELAY_FORW_DONE ( ) */
409 #if defined STAP_SDT_V1
410 #define DHCPD_SIX_RELAY_FORW_DONE_ENABLED() __builtin_expect (six_relay_forw_done_semaphore, 0)
411 #define dhcpd_six_relay_forw_done_semaphore six_relay_forw_done_semaphore
412 #else
413 #define DHCPD_SIX_RELAY_FORW_DONE_ENABLED() __builtin_expect (dhcpd_six_relay_forw_done_semaphore, 0)
414 #endif
415 __extension__ extern unsigned short dhcpd_six_relay_forw_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
416 #define DHCPD_SIX_RELAY_FORW_DONE() \
417 DTRACE_PROBE (dhcpd, six_relay_forw_done)
418 
419 /* DHCPD_FAILOVER_POOL_DOBALANCE_START ( ) */
420 #if defined STAP_SDT_V1
421 #define DHCPD_FAILOVER_POOL_DOBALANCE_START_ENABLED() __builtin_expect (failover_pool_dobalance_start_semaphore, 0)
422 #define dhcpd_failover_pool_dobalance_start_semaphore failover_pool_dobalance_start_semaphore
423 #else
424 #define DHCPD_FAILOVER_POOL_DOBALANCE_START_ENABLED() __builtin_expect (dhcpd_failover_pool_dobalance_start_semaphore, 0)
425 #endif
426 __extension__ extern unsigned short dhcpd_failover_pool_dobalance_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
427 #define DHCPD_FAILOVER_POOL_DOBALANCE_START() \
428 DTRACE_PROBE (dhcpd, failover_pool_dobalance_start)
429 
430 /* DHCPD_FAILOVER_POOL_DOBALANCE_DONE ( ) */
431 #if defined STAP_SDT_V1
432 #define DHCPD_FAILOVER_POOL_DOBALANCE_DONE_ENABLED() __builtin_expect (failover_pool_dobalance_done_semaphore, 0)
433 #define dhcpd_failover_pool_dobalance_done_semaphore failover_pool_dobalance_done_semaphore
434 #else
435 #define DHCPD_FAILOVER_POOL_DOBALANCE_DONE_ENABLED() __builtin_expect (dhcpd_failover_pool_dobalance_done_semaphore, 0)
436 #endif
437 __extension__ extern unsigned short dhcpd_failover_pool_dobalance_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
438 #define DHCPD_FAILOVER_POOL_DOBALANCE_DONE() \
439 DTRACE_PROBE (dhcpd, failover_pool_dobalance_done)
440 
441 /* DHCPD_FAILOVER_SET_STATE_START ( int, int ) */
442 #if defined STAP_SDT_V1
443 #define DHCPD_FAILOVER_SET_STATE_START_ENABLED() __builtin_expect (failover_set_state_start_semaphore, 0)
444 #define dhcpd_failover_set_state_start_semaphore failover_set_state_start_semaphore
445 #else
446 #define DHCPD_FAILOVER_SET_STATE_START_ENABLED() __builtin_expect (dhcpd_failover_set_state_start_semaphore, 0)
447 #endif
448 __extension__ extern unsigned short dhcpd_failover_set_state_start_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
449 #define DHCPD_FAILOVER_SET_STATE_START(arg1, arg2) \
450 DTRACE_PROBE2 (dhcpd, failover_set_state_start, arg1, arg2)
451 
452 /* DHCPD_FAILOVER_SET_STATE_DONE ( ) */
453 #if defined STAP_SDT_V1
454 #define DHCPD_FAILOVER_SET_STATE_DONE_ENABLED() __builtin_expect (failover_set_state_done_semaphore, 0)
455 #define dhcpd_failover_set_state_done_semaphore failover_set_state_done_semaphore
456 #else
457 #define DHCPD_FAILOVER_SET_STATE_DONE_ENABLED() __builtin_expect (dhcpd_failover_set_state_done_semaphore, 0)
458 #endif
459 __extension__ extern unsigned short dhcpd_failover_set_state_done_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes")));
460 #define DHCPD_FAILOVER_SET_STATE_DONE() \
461 DTRACE_PROBE (dhcpd, failover_set_state_done)
462 
__extension__ unsigned short dhcpd_main_semaphore __attribute__((unused)) __attribute__((section(".probes")))