root/src/dtrace_probes.h

Revision b014769f5cefc7f69aa446e834da78c548578ee9, 11.7 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 3 years ago)

make this work on Mac OS X Lion

  • Property mode set to 100644
Line 
1 /*
2  * Generated by dtrace(1M).
3  */
4
5 #ifndef _DTRACE_PROBES_H
6 #define _DTRACE_PROBES_H
7
8 #include <unistd.h>
9
10 #ifdef  __cplusplus
11 extern "C" {
12 #endif
13
14 #if _DTRACE_VERSION
15
16 #define STRATCON_NOIT_CONNECT(arg0, arg1, arg2, arg3) \
17         __dtrace_stratcon_noit___connect(arg0, arg1, arg2, arg3)
18 #ifndef __sparc
19 #define STRATCON_NOIT_CONNECT_ENABLED() \
20         __dtraceenabled_stratcon_noit___connect()
21 #else
22 #define STRATCON_NOIT_CONNECT_ENABLED() \
23         __dtraceenabled_stratcon_noit___connect(0)
24 #endif
25 #define STRATCON_NOIT_CONNECT_CLOSE(arg0, arg1, arg2, arg3, arg4, arg5) \
26         __dtrace_stratcon_noit___connect__close(arg0, arg1, arg2, arg3, arg4, arg5)
27 #ifndef __sparc
28 #define STRATCON_NOIT_CONNECT_CLOSE_ENABLED() \
29         __dtraceenabled_stratcon_noit___connect__close()
30 #else
31 #define STRATCON_NOIT_CONNECT_CLOSE_ENABLED() \
32         __dtraceenabled_stratcon_noit___connect__close(0)
33 #endif
34 #define STRATCON_NOIT_CONNECT_FAILED(arg0, arg1, arg2, arg3, arg4) \
35         __dtrace_stratcon_noit___connect__failed(arg0, arg1, arg2, arg3, arg4)
36 #ifndef __sparc
37 #define STRATCON_NOIT_CONNECT_FAILED_ENABLED() \
38         __dtraceenabled_stratcon_noit___connect__failed()
39 #else
40 #define STRATCON_NOIT_CONNECT_FAILED_ENABLED() \
41         __dtraceenabled_stratcon_noit___connect__failed(0)
42 #endif
43 #define STRATCON_NOIT_CONNECT_SSL(arg0, arg1, arg2, arg3) \
44         __dtrace_stratcon_noit___connect__ssl(arg0, arg1, arg2, arg3)
45 #ifndef __sparc
46 #define STRATCON_NOIT_CONNECT_SSL_ENABLED() \
47         __dtraceenabled_stratcon_noit___connect__ssl()
48 #else
49 #define STRATCON_NOIT_CONNECT_SSL_ENABLED() \
50         __dtraceenabled_stratcon_noit___connect__ssl(0)
51 #endif
52 #define STRATCON_NOIT_CONNECT_SSL_FAILED(arg0, arg1, arg2, arg3, arg4, arg5) \
53         __dtrace_stratcon_noit___connect__ssl__failed(arg0, arg1, arg2, arg3, arg4, arg5)
54 #ifndef __sparc
55 #define STRATCON_NOIT_CONNECT_SSL_FAILED_ENABLED() \
56         __dtraceenabled_stratcon_noit___connect__ssl__failed()
57 #else
58 #define STRATCON_NOIT_CONNECT_SSL_FAILED_ENABLED() \
59         __dtraceenabled_stratcon_noit___connect__ssl__failed(0)
60 #endif
61 #define STRATCON_NOIT_CONNECT_SSL_SUCCESS(arg0, arg1, arg2, arg3) \
62         __dtrace_stratcon_noit___connect__ssl__success(arg0, arg1, arg2, arg3)
63 #ifndef __sparc
64 #define STRATCON_NOIT_CONNECT_SSL_SUCCESS_ENABLED() \
65         __dtraceenabled_stratcon_noit___connect__ssl__success()
66 #else
67 #define STRATCON_NOIT_CONNECT_SSL_SUCCESS_ENABLED() \
68         __dtraceenabled_stratcon_noit___connect__ssl__success(0)
69 #endif
70 #define STRATCON_NOIT_CONNECT_SUCCESS(arg0, arg1, arg2, arg3) \
71         __dtrace_stratcon_noit___connect__success(arg0, arg1, arg2, arg3)
72 #ifndef __sparc
73 #define STRATCON_NOIT_CONNECT_SUCCESS_ENABLED() \
74         __dtraceenabled_stratcon_noit___connect__success()
75 #else
76 #define STRATCON_NOIT_CONNECT_SUCCESS_ENABLED() \
77         __dtraceenabled_stratcon_noit___connect__success(0)
78 #endif
79 #define STRATCON_NOIT_RESCHEDULE(arg0, arg1, arg2, arg3, arg4) \
80         __dtrace_stratcon_noit___reschedule(arg0, arg1, arg2, arg3, arg4)
81 #ifndef __sparc
82 #define STRATCON_NOIT_RESCHEDULE_ENABLED() \
83         __dtraceenabled_stratcon_noit___reschedule()
84 #else
85 #define STRATCON_NOIT_RESCHEDULE_ENABLED() \
86         __dtraceenabled_stratcon_noit___reschedule(0)
87 #endif
88 #define STRATCON_NOIT_SHUTDOWN_PERMANENT(arg0, arg1, arg2, arg3) \
89         __dtrace_stratcon_noit___shutdown__permanent(arg0, arg1, arg2, arg3)
90 #ifndef __sparc
91 #define STRATCON_NOIT_SHUTDOWN_PERMANENT_ENABLED() \
92         __dtraceenabled_stratcon_noit___shutdown__permanent()
93 #else
94 #define STRATCON_NOIT_SHUTDOWN_PERMANENT_ENABLED() \
95         __dtraceenabled_stratcon_noit___shutdown__permanent(0)
96 #endif
97 #define STRATCON_NOIT_STREAM_BODY(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
98         __dtrace_stratcon_noit___stream__body(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
99 #ifndef __sparc
100 #define STRATCON_NOIT_STREAM_BODY_ENABLED() \
101         __dtraceenabled_stratcon_noit___stream__body()
102 #else
103 #define STRATCON_NOIT_STREAM_BODY_ENABLED() \
104         __dtraceenabled_stratcon_noit___stream__body(0)
105 #endif
106 #define STRATCON_NOIT_STREAM_CHECKPOINT(arg0, arg1, arg2, arg3, arg4, arg5) \
107         __dtrace_stratcon_noit___stream__checkpoint(arg0, arg1, arg2, arg3, arg4, arg5)
108 #ifndef __sparc
109 #define STRATCON_NOIT_STREAM_CHECKPOINT_ENABLED() \
110         __dtraceenabled_stratcon_noit___stream__checkpoint()
111 #else
112 #define STRATCON_NOIT_STREAM_CHECKPOINT_ENABLED() \
113         __dtraceenabled_stratcon_noit___stream__checkpoint(0)
114 #endif
115 #define STRATCON_NOIT_STREAM_COUNT(arg0, arg1, arg2, arg3, arg4) \
116         __dtrace_stratcon_noit___stream__count(arg0, arg1, arg2, arg3, arg4)
117 #ifndef __sparc
118 #define STRATCON_NOIT_STREAM_COUNT_ENABLED() \
119         __dtraceenabled_stratcon_noit___stream__count()
120 #else
121 #define STRATCON_NOIT_STREAM_COUNT_ENABLED() \
122         __dtraceenabled_stratcon_noit___stream__count(0)
123 #endif
124 #define STRATCON_NOIT_STREAM_HEADER(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
125         __dtrace_stratcon_noit___stream__header(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
126 #ifndef __sparc
127 #define STRATCON_NOIT_STREAM_HEADER_ENABLED() \
128         __dtraceenabled_stratcon_noit___stream__header()
129 #else
130 #define STRATCON_NOIT_STREAM_HEADER_ENABLED() \
131         __dtraceenabled_stratcon_noit___stream__header(0)
132 #endif
133
134
135 extern void __dtrace_stratcon_noit___connect(int, char *, char *, char *);
136 #ifndef __sparc
137 extern int __dtraceenabled_stratcon_noit___connect(void);
138 #else
139 extern int __dtraceenabled_stratcon_noit___connect(long);
140 #endif
141 extern void __dtrace_stratcon_noit___connect__close(int, char *, char *, char *, int, int);
142 #ifndef __sparc
143 extern int __dtraceenabled_stratcon_noit___connect__close(void);
144 #else
145 extern int __dtraceenabled_stratcon_noit___connect__close(long);
146 #endif
147 extern void __dtrace_stratcon_noit___connect__failed(int, char *, char *, char *, int);
148 #ifndef __sparc
149 extern int __dtraceenabled_stratcon_noit___connect__failed(void);
150 #else
151 extern int __dtraceenabled_stratcon_noit___connect__failed(long);
152 #endif
153 extern void __dtrace_stratcon_noit___connect__ssl(int, char *, char *, char *);
154 #ifndef __sparc
155 extern int __dtraceenabled_stratcon_noit___connect__ssl(void);
156 #else
157 extern int __dtraceenabled_stratcon_noit___connect__ssl(long);
158 #endif
159 extern void __dtrace_stratcon_noit___connect__ssl__failed(int, char *, char *, char *, char *, int);
160 #ifndef __sparc
161 extern int __dtraceenabled_stratcon_noit___connect__ssl__failed(void);
162 #else
163 extern int __dtraceenabled_stratcon_noit___connect__ssl__failed(long);
164 #endif
165 extern void __dtrace_stratcon_noit___connect__ssl__success(int, char *, char *, char *);
166 #ifndef __sparc
167 extern int __dtraceenabled_stratcon_noit___connect__ssl__success(void);
168 #else
169 extern int __dtraceenabled_stratcon_noit___connect__ssl__success(long);
170 #endif
171 extern void __dtrace_stratcon_noit___connect__success(int, char *, char *, char *);
172 #ifndef __sparc
173 extern int __dtraceenabled_stratcon_noit___connect__success(void);
174 #else
175 extern int __dtraceenabled_stratcon_noit___connect__success(long);
176 #endif
177 extern void __dtrace_stratcon_noit___reschedule(int, char *, char *, char *, int);
178 #ifndef __sparc
179 extern int __dtraceenabled_stratcon_noit___reschedule(void);
180 #else
181 extern int __dtraceenabled_stratcon_noit___reschedule(long);
182 #endif
183 extern void __dtrace_stratcon_noit___shutdown__permanent(int, char *, char *, char *);
184 #ifndef __sparc
185 extern int __dtraceenabled_stratcon_noit___shutdown__permanent(void);
186 #else
187 extern int __dtraceenabled_stratcon_noit___shutdown__permanent(long);
188 #endif
189 extern void __dtrace_stratcon_noit___stream__body(int, char *, char *, char *, int, int, int, int, char *);
190 #ifndef __sparc
191 extern int __dtraceenabled_stratcon_noit___stream__body(void);
192 #else
193 extern int __dtraceenabled_stratcon_noit___stream__body(long);
194 #endif
195 extern void __dtrace_stratcon_noit___stream__checkpoint(int, char *, char *, char *, int, int);
196 #ifndef __sparc
197 extern int __dtraceenabled_stratcon_noit___stream__checkpoint(void);
198 #else
199 extern int __dtraceenabled_stratcon_noit___stream__checkpoint(long);
200 #endif
201 extern void __dtrace_stratcon_noit___stream__count(int, char *, char *, char *, int);
202 #ifndef __sparc
203 extern int __dtraceenabled_stratcon_noit___stream__count(void);
204 #else
205 extern int __dtraceenabled_stratcon_noit___stream__count(long);
206 #endif
207 extern void __dtrace_stratcon_noit___stream__header(int, char *, char *, char *, int, int, int, int, int);
208 #ifndef __sparc
209 extern int __dtraceenabled_stratcon_noit___stream__header(void);
210 #else
211 extern int __dtraceenabled_stratcon_noit___stream__header(long);
212 #endif
213
214 #else
215
216 #define STRATCON_NOIT_CONNECT(arg0, arg1, arg2, arg3)
217 #define STRATCON_NOIT_CONNECT_ENABLED() (0)
218 #define STRATCON_NOIT_CONNECT_CLOSE(arg0, arg1, arg2, arg3, arg4, arg5)
219 #define STRATCON_NOIT_CONNECT_CLOSE_ENABLED() (0)
220 #define STRATCON_NOIT_CONNECT_FAILED(arg0, arg1, arg2, arg3, arg4)
221 #define STRATCON_NOIT_CONNECT_FAILED_ENABLED() (0)
222 #define STRATCON_NOIT_CONNECT_SSL(arg0, arg1, arg2, arg3)
223 #define STRATCON_NOIT_CONNECT_SSL_ENABLED() (0)
224 #define STRATCON_NOIT_CONNECT_SSL_FAILED(arg0, arg1, arg2, arg3, arg4, arg5)
225 #define STRATCON_NOIT_CONNECT_SSL_FAILED_ENABLED() (0)
226 #define STRATCON_NOIT_CONNECT_SSL_SUCCESS(arg0, arg1, arg2, arg3)
227 #define STRATCON_NOIT_CONNECT_SSL_SUCCESS_ENABLED() (0)
228 #define STRATCON_NOIT_CONNECT_SUCCESS(arg0, arg1, arg2, arg3)
229 #define STRATCON_NOIT_CONNECT_SUCCESS_ENABLED() (0)
230 #define STRATCON_NOIT_RESCHEDULE(arg0, arg1, arg2, arg3, arg4)
231 #define STRATCON_NOIT_RESCHEDULE_ENABLED() (0)
232 #define STRATCON_NOIT_SHUTDOWN_PERMANENT(arg0, arg1, arg2, arg3)
233 #define STRATCON_NOIT_SHUTDOWN_PERMANENT_ENABLED() (0)
234 #define STRATCON_NOIT_STREAM_BODY(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
235 #define STRATCON_NOIT_STREAM_BODY_ENABLED() (0)
236 #define STRATCON_NOIT_STREAM_CHECKPOINT(arg0, arg1, arg2, arg3, arg4, arg5)
237 #define STRATCON_NOIT_STREAM_CHECKPOINT_ENABLED() (0)
238 #define STRATCON_NOIT_STREAM_COUNT(arg0, arg1, arg2, arg3, arg4)
239 #define STRATCON_NOIT_STREAM_COUNT_ENABLED() (0)
240 #define STRATCON_NOIT_STREAM_HEADER(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
241 #define STRATCON_NOIT_STREAM_HEADER_ENABLED() (0)
242
243 #endif
244
245 #if _DTRACE_VERSION
246
247 #define NOIT_CHECK_DISPATCH(arg0, arg1, arg2, arg3) \
248         __dtrace_noit___check__dispatch(arg0, arg1, arg2, arg3)
249 #ifndef __sparc
250 #define NOIT_CHECK_DISPATCH_ENABLED() \
251         __dtraceenabled_noit___check__dispatch()
252 #else
253 #define NOIT_CHECK_DISPATCH_ENABLED() \
254         __dtraceenabled_noit___check__dispatch(0)
255 #endif
256 #define NOIT_CHECK_METRIC(arg0, arg1, arg2, arg3, arg4, arg5, arg6) \
257         __dtrace_noit___check__metric(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
258 #ifndef __sparc
259 #define NOIT_CHECK_METRIC_ENABLED() \
260         __dtraceenabled_noit___check__metric()
261 #else
262 #define NOIT_CHECK_METRIC_ENABLED() \
263         __dtraceenabled_noit___check__metric(0)
264 #endif
265 #define NOIT_CHECK_STATUS(arg0, arg1, arg2, arg3, arg4, arg5, arg6) \
266         __dtrace_noit___check__status(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
267 #ifndef __sparc
268 #define NOIT_CHECK_STATUS_ENABLED() \
269         __dtraceenabled_noit___check__status()
270 #else
271 #define NOIT_CHECK_STATUS_ENABLED() \
272         __dtraceenabled_noit___check__status(0)
273 #endif
274
275
276 extern void __dtrace_noit___check__dispatch(char *, char *, char *, char *);
277 #ifndef __sparc
278 extern int __dtraceenabled_noit___check__dispatch(void);
279 #else
280 extern int __dtraceenabled_noit___check__dispatch(long);
281 #endif
282 extern void __dtrace_noit___check__metric(char *, char *, char *, char *, char *, int, char *);
283 #ifndef __sparc
284 extern int __dtraceenabled_noit___check__metric(void);
285 #else
286 extern int __dtraceenabled_noit___check__metric(long);
287 #endif
288 extern void __dtrace_noit___check__status(char *, char *, char *, char *, int, int, char *);
289 #ifndef __sparc
290 extern int __dtraceenabled_noit___check__status(void);
291 #else
292 extern int __dtraceenabled_noit___check__status(long);
293 #endif
294
295 #else
296
297 #define NOIT_CHECK_DISPATCH(arg0, arg1, arg2, arg3)
298 #define NOIT_CHECK_DISPATCH_ENABLED() (0)
299 #define NOIT_CHECK_METRIC(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
300 #define NOIT_CHECK_METRIC_ENABLED() (0)
301 #define NOIT_CHECK_STATUS(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
302 #define NOIT_CHECK_STATUS_ENABLED() (0)
303
304 #endif
305
306
307 #ifdef  __cplusplus
308 }
309 #endif
310
311 #endif  /* _DTRACE_PROBES_H */
Note: See TracBrowser for help on using the browser.