1 /* 2 * Generated by dtrace(1M). 3 */ 4 5 #ifndef _PROBES_H 6 #define _PROBES_H 7 8 #include <unistd.h> 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #include <sys/sdt.h> 15 16 #if defined(DTRACE) && _DTRACE_VERSION 17 18 #define LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN(arg0, arg1) \ 19 __dtrace_libdns___xfrin_axfr_finalize_begin(arg0, arg1) 20 #ifndef __sparc 21 #define LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() \ 22 __dtraceenabled_libdns___xfrin_axfr_finalize_begin() 23 #else 24 #define LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() \ 25 __dtraceenabled_libdns___xfrin_axfr_finalize_begin(0) 26 #endif 27 #define LIBDNS_XFRIN_AXFR_FINALIZE_END(arg0, arg1, arg2) \ 28 __dtrace_libdns___xfrin_axfr_finalize_end(arg0, arg1, arg2) 29 #ifndef __sparc 30 #define LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() \ 31 __dtraceenabled_libdns___xfrin_axfr_finalize_end() 32 #else 33 #define LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() \ 34 __dtraceenabled_libdns___xfrin_axfr_finalize_end(0) 35 #endif 36 #define LIBDNS_XFRIN_CONNECTED(arg0, arg1, arg2) \ 37 __dtrace_libdns___xfrin_connected(arg0, arg1, arg2) 38 #ifndef __sparc 39 #define LIBDNS_XFRIN_CONNECTED_ENABLED() \ 40 __dtraceenabled_libdns___xfrin_connected() 41 #else 42 #define LIBDNS_XFRIN_CONNECTED_ENABLED() \ 43 __dtraceenabled_libdns___xfrin_connected(0) 44 #endif 45 #define LIBDNS_XFRIN_DONE_CALLBACK_BEGIN(arg0, arg1, arg2) \ 46 __dtrace_libdns___xfrin_done_callback_begin(arg0, arg1, arg2) 47 #ifndef __sparc 48 #define LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() \ 49 __dtraceenabled_libdns___xfrin_done_callback_begin() 50 #else 51 #define LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() \ 52 __dtraceenabled_libdns___xfrin_done_callback_begin(0) 53 #endif 54 #define LIBDNS_XFRIN_DONE_CALLBACK_END(arg0, arg1, arg2) \ 55 __dtrace_libdns___xfrin_done_callback_end(arg0, arg1, arg2) 56 #ifndef __sparc 57 #define LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() \ 58 __dtraceenabled_libdns___xfrin_done_callback_end() 59 #else 60 #define LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() \ 61 __dtraceenabled_libdns___xfrin_done_callback_end(0) 62 #endif 63 #define LIBDNS_XFRIN_READ(arg0, arg1, arg2) \ 64 __dtrace_libdns___xfrin_read(arg0, arg1, arg2) 65 #ifndef __sparc 66 #define LIBDNS_XFRIN_READ_ENABLED() \ 67 __dtraceenabled_libdns___xfrin_read() 68 #else 69 #define LIBDNS_XFRIN_READ_ENABLED() \ 70 __dtraceenabled_libdns___xfrin_read(0) 71 #endif 72 #define LIBDNS_XFRIN_RECV_ANSWER(arg0, arg1, arg2) \ 73 __dtrace_libdns___xfrin_recv_answer(arg0, arg1, arg2) 74 #ifndef __sparc 75 #define LIBDNS_XFRIN_RECV_ANSWER_ENABLED() \ 76 __dtraceenabled_libdns___xfrin_recv_answer() 77 #else 78 #define LIBDNS_XFRIN_RECV_ANSWER_ENABLED() \ 79 __dtraceenabled_libdns___xfrin_recv_answer(0) 80 #endif 81 #define LIBDNS_XFRIN_RECV_DONE(arg0, arg1, arg2) \ 82 __dtrace_libdns___xfrin_recv_done(arg0, arg1, arg2) 83 #ifndef __sparc 84 #define LIBDNS_XFRIN_RECV_DONE_ENABLED() \ 85 __dtraceenabled_libdns___xfrin_recv_done() 86 #else 87 #define LIBDNS_XFRIN_RECV_DONE_ENABLED() \ 88 __dtraceenabled_libdns___xfrin_recv_done(0) 89 #endif 90 #define LIBDNS_XFRIN_RECV_PARSED(arg0, arg1, arg2) \ 91 __dtrace_libdns___xfrin_recv_parsed(arg0, arg1, arg2) 92 #ifndef __sparc 93 #define LIBDNS_XFRIN_RECV_PARSED_ENABLED() \ 94 __dtraceenabled_libdns___xfrin_recv_parsed() 95 #else 96 #define LIBDNS_XFRIN_RECV_PARSED_ENABLED() \ 97 __dtraceenabled_libdns___xfrin_recv_parsed(0) 98 #endif 99 #define LIBDNS_XFRIN_RECV_QUESTION(arg0, arg1, arg2) \ 100 __dtrace_libdns___xfrin_recv_question(arg0, arg1, arg2) 101 #ifndef __sparc 102 #define LIBDNS_XFRIN_RECV_QUESTION_ENABLED() \ 103 __dtraceenabled_libdns___xfrin_recv_question() 104 #else 105 #define LIBDNS_XFRIN_RECV_QUESTION_ENABLED() \ 106 __dtraceenabled_libdns___xfrin_recv_question(0) 107 #endif 108 #define LIBDNS_XFRIN_RECV_SEND_REQUEST(arg0, arg1) \ 109 __dtrace_libdns___xfrin_recv_send_request(arg0, arg1) 110 #ifndef __sparc 111 #define LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() \ 112 __dtraceenabled_libdns___xfrin_recv_send_request() 113 #else 114 #define LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() \ 115 __dtraceenabled_libdns___xfrin_recv_send_request(0) 116 #endif 117 #define LIBDNS_XFRIN_RECV_START(arg0, arg1, arg2) \ 118 __dtrace_libdns___xfrin_recv_start(arg0, arg1, arg2) 119 #ifndef __sparc 120 #define LIBDNS_XFRIN_RECV_START_ENABLED() \ 121 __dtraceenabled_libdns___xfrin_recv_start() 122 #else 123 #define LIBDNS_XFRIN_RECV_START_ENABLED() \ 124 __dtraceenabled_libdns___xfrin_recv_start(0) 125 #endif 126 #define LIBDNS_XFRIN_RECV_TRY_AXFR(arg0, arg1, arg2) \ 127 __dtrace_libdns___xfrin_recv_try_axfr(arg0, arg1, arg2) 128 #ifndef __sparc 129 #define LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() \ 130 __dtraceenabled_libdns___xfrin_recv_try_axfr() 131 #else 132 #define LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() \ 133 __dtraceenabled_libdns___xfrin_recv_try_axfr(0) 134 #endif 135 #define LIBDNS_XFRIN_SENT(arg0, arg1, arg2) \ 136 __dtrace_libdns___xfrin_sent(arg0, arg1, arg2) 137 #ifndef __sparc 138 #define LIBDNS_XFRIN_SENT_ENABLED() \ 139 __dtraceenabled_libdns___xfrin_sent() 140 #else 141 #define LIBDNS_XFRIN_SENT_ENABLED() \ 142 __dtraceenabled_libdns___xfrin_sent(0) 143 #endif 144 #define LIBDNS_XFRIN_START(arg0, arg1) \ 145 __dtrace_libdns___xfrin_start(arg0, arg1) 146 #ifndef __sparc 147 #define LIBDNS_XFRIN_START_ENABLED() \ 148 __dtraceenabled_libdns___xfrin_start() 149 #else 150 #define LIBDNS_XFRIN_START_ENABLED() \ 151 __dtraceenabled_libdns___xfrin_start(0) 152 #endif 153 154 155 extern void __dtrace_libdns___xfrin_axfr_finalize_begin(void *, char *); 156 #ifndef __sparc 157 extern int __dtraceenabled_libdns___xfrin_axfr_finalize_begin(void); 158 #else 159 extern int __dtraceenabled_libdns___xfrin_axfr_finalize_begin(long); 160 #endif 161 extern void __dtrace_libdns___xfrin_axfr_finalize_end(void *, char *, int); 162 #ifndef __sparc 163 extern int __dtraceenabled_libdns___xfrin_axfr_finalize_end(void); 164 #else 165 extern int __dtraceenabled_libdns___xfrin_axfr_finalize_end(long); 166 #endif 167 extern void __dtrace_libdns___xfrin_connected(void *, char *, int); 168 #ifndef __sparc 169 extern int __dtraceenabled_libdns___xfrin_connected(void); 170 #else 171 extern int __dtraceenabled_libdns___xfrin_connected(long); 172 #endif 173 extern void __dtrace_libdns___xfrin_done_callback_begin(void *, char *, int); 174 #ifndef __sparc 175 extern int __dtraceenabled_libdns___xfrin_done_callback_begin(void); 176 #else 177 extern int __dtraceenabled_libdns___xfrin_done_callback_begin(long); 178 #endif 179 extern void __dtrace_libdns___xfrin_done_callback_end(void *, char *, int); 180 #ifndef __sparc 181 extern int __dtraceenabled_libdns___xfrin_done_callback_end(void); 182 #else 183 extern int __dtraceenabled_libdns___xfrin_done_callback_end(long); 184 #endif 185 extern void __dtrace_libdns___xfrin_read(void *, char *, int); 186 #ifndef __sparc 187 extern int __dtraceenabled_libdns___xfrin_read(void); 188 #else 189 extern int __dtraceenabled_libdns___xfrin_read(long); 190 #endif 191 extern void __dtrace_libdns___xfrin_recv_answer(void *, char *, void *); 192 #ifndef __sparc 193 extern int __dtraceenabled_libdns___xfrin_recv_answer(void); 194 #else 195 extern int __dtraceenabled_libdns___xfrin_recv_answer(long); 196 #endif 197 extern void __dtrace_libdns___xfrin_recv_done(void *, char *, int); 198 #ifndef __sparc 199 extern int __dtraceenabled_libdns___xfrin_recv_done(void); 200 #else 201 extern int __dtraceenabled_libdns___xfrin_recv_done(long); 202 #endif 203 extern void __dtrace_libdns___xfrin_recv_parsed(void *, char *, int); 204 #ifndef __sparc 205 extern int __dtraceenabled_libdns___xfrin_recv_parsed(void); 206 #else 207 extern int __dtraceenabled_libdns___xfrin_recv_parsed(long); 208 #endif 209 extern void __dtrace_libdns___xfrin_recv_question(void *, char *, void *); 210 #ifndef __sparc 211 extern int __dtraceenabled_libdns___xfrin_recv_question(void); 212 #else 213 extern int __dtraceenabled_libdns___xfrin_recv_question(long); 214 #endif 215 extern void __dtrace_libdns___xfrin_recv_send_request(void *, char *); 216 #ifndef __sparc 217 extern int __dtraceenabled_libdns___xfrin_recv_send_request(void); 218 #else 219 extern int __dtraceenabled_libdns___xfrin_recv_send_request(long); 220 #endif 221 extern void __dtrace_libdns___xfrin_recv_start(void *, char *, int); 222 #ifndef __sparc 223 extern int __dtraceenabled_libdns___xfrin_recv_start(void); 224 #else 225 extern int __dtraceenabled_libdns___xfrin_recv_start(long); 226 #endif 227 extern void __dtrace_libdns___xfrin_recv_try_axfr(void *, char *, int); 228 #ifndef __sparc 229 extern int __dtraceenabled_libdns___xfrin_recv_try_axfr(void); 230 #else 231 extern int __dtraceenabled_libdns___xfrin_recv_try_axfr(long); 232 #endif 233 extern void __dtrace_libdns___xfrin_sent(void *, char *, int); 234 #ifndef __sparc 235 extern int __dtraceenabled_libdns___xfrin_sent(void); 236 #else 237 extern int __dtraceenabled_libdns___xfrin_sent(long); 238 #endif 239 extern void __dtrace_libdns___xfrin_start(void *, char *); 240 #ifndef __sparc 241 extern int __dtraceenabled_libdns___xfrin_start(void); 242 #else 243 extern int __dtraceenabled_libdns___xfrin_start(long); 244 #endif 245 246 #else 247 248 #define LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN(arg0, arg1) 249 #define LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() (0) 250 #define LIBDNS_XFRIN_AXFR_FINALIZE_END(arg0, arg1, arg2) 251 #define LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() (0) 252 #define LIBDNS_XFRIN_CONNECTED(arg0, arg1, arg2) 253 #define LIBDNS_XFRIN_CONNECTED_ENABLED() (0) 254 #define LIBDNS_XFRIN_DONE_CALLBACK_BEGIN(arg0, arg1, arg2) 255 #define LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() (0) 256 #define LIBDNS_XFRIN_DONE_CALLBACK_END(arg0, arg1, arg2) 257 #define LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() (0) 258 #define LIBDNS_XFRIN_READ(arg0, arg1, arg2) 259 #define LIBDNS_XFRIN_READ_ENABLED() (0) 260 #define LIBDNS_XFRIN_RECV_ANSWER(arg0, arg1, arg2) 261 #define LIBDNS_XFRIN_RECV_ANSWER_ENABLED() (0) 262 #define LIBDNS_XFRIN_RECV_DONE(arg0, arg1, arg2) 263 #define LIBDNS_XFRIN_RECV_DONE_ENABLED() (0) 264 #define LIBDNS_XFRIN_RECV_PARSED(arg0, arg1, arg2) 265 #define LIBDNS_XFRIN_RECV_PARSED_ENABLED() (0) 266 #define LIBDNS_XFRIN_RECV_QUESTION(arg0, arg1, arg2) 267 #define LIBDNS_XFRIN_RECV_QUESTION_ENABLED() (0) 268 #define LIBDNS_XFRIN_RECV_SEND_REQUEST(arg0, arg1) 269 #define LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() (0) 270 #define LIBDNS_XFRIN_RECV_START(arg0, arg1, arg2) 271 #define LIBDNS_XFRIN_RECV_START_ENABLED() (0) 272 #define LIBDNS_XFRIN_RECV_TRY_AXFR(arg0, arg1, arg2) 273 #define LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() (0) 274 #define LIBDNS_XFRIN_SENT(arg0, arg1, arg2) 275 #define LIBDNS_XFRIN_SENT_ENABLED() (0) 276 #define LIBDNS_XFRIN_START(arg0, arg1) 277 #define LIBDNS_XFRIN_START_ENABLED() (0) 278 279 280 #ifdef __cplusplus 281 } 282 #endif 283 #endif 284 285 #endif /* _PROBES_H */ 286