14 #define RUBY_DTRACE_STABILITY "___dtrace_stability$ruby$v1$6_5_5_6_5_5_6_5_5_5_5_5_5_5_5" 16 #define RUBY_DTRACE_TYPEDEFS "___dtrace_typedefs$ruby$v2" 18 #if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED 20 #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) \ 22 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 23 __dtrace_probe$ruby$array__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \ 24 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 26 #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() \ 27 ({ int _r = __dtrace_isenabled$ruby$array__create$v1(); \ 28 __asm__ volatile(""); \ 30 #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) \ 32 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 33 __dtrace_probe$ruby$cmethod__entry$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \ 34 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 36 #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() \ 37 ({ int _r = __dtrace_isenabled$ruby$cmethod__entry$v1(); \ 38 __asm__ volatile(""); \ 40 #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) \ 42 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 43 __dtrace_probe$ruby$cmethod__return$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \ 44 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 46 #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() \ 47 ({ int _r = __dtrace_isenabled$ruby$cmethod__return$v1(); \ 48 __asm__ volatile(""); \ 50 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) \ 52 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 53 __dtrace_probe$ruby$find__require__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 54 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 56 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() \ 57 ({ int _r = __dtrace_isenabled$ruby$find__require__entry$v1(); \ 58 __asm__ volatile(""); \ 60 #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) \ 62 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 63 __dtrace_probe$ruby$find__require__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 64 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 66 #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() \ 67 ({ int _r = __dtrace_isenabled$ruby$find__require__return$v1(); \ 68 __asm__ volatile(""); \ 70 #define RUBY_DTRACE_GC_MARK_BEGIN() \ 72 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 73 __dtrace_probe$ruby$gc__mark__begin$v1(); \ 74 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 76 #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() \ 77 ({ int _r = __dtrace_isenabled$ruby$gc__mark__begin$v1(); \ 78 __asm__ volatile(""); \ 80 #define RUBY_DTRACE_GC_MARK_END() \ 82 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 83 __dtrace_probe$ruby$gc__mark__end$v1(); \ 84 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 86 #define RUBY_DTRACE_GC_MARK_END_ENABLED() \ 87 ({ int _r = __dtrace_isenabled$ruby$gc__mark__end$v1(); \ 88 __asm__ volatile(""); \ 90 #define RUBY_DTRACE_GC_SWEEP_BEGIN() \ 92 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 93 __dtrace_probe$ruby$gc__sweep__begin$v1(); \ 94 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 96 #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() \ 97 ({ int _r = __dtrace_isenabled$ruby$gc__sweep__begin$v1(); \ 98 __asm__ volatile(""); \ 100 #define RUBY_DTRACE_GC_SWEEP_END() \ 102 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 103 __dtrace_probe$ruby$gc__sweep__end$v1(); \ 104 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 106 #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() \ 107 ({ int _r = __dtrace_isenabled$ruby$gc__sweep__end$v1(); \ 108 __asm__ volatile(""); \ 110 #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) \ 112 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 113 __dtrace_probe$ruby$hash__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \ 114 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 116 #define RUBY_DTRACE_HASH_CREATE_ENABLED() \ 117 ({ int _r = __dtrace_isenabled$ruby$hash__create$v1(); \ 118 __asm__ volatile(""); \ 120 #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) \ 122 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 123 __dtrace_probe$ruby$load__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 124 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 126 #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() \ 127 ({ int _r = __dtrace_isenabled$ruby$load__entry$v1(); \ 128 __asm__ volatile(""); \ 130 #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) \ 132 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 133 __dtrace_probe$ruby$load__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 134 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 136 #define RUBY_DTRACE_LOAD_RETURN_ENABLED() \ 137 ({ int _r = __dtrace_isenabled$ruby$load__return$v1(); \ 138 __asm__ volatile(""); \ 140 #define RUBY_DTRACE_METHOD_CACHE_CLEAR(arg0, arg1, arg2) \ 142 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 143 __dtrace_probe$ruby$method__cache__clear$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 144 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 146 #define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED() \ 147 ({ int _r = __dtrace_isenabled$ruby$method__cache__clear$v1(); \ 148 __asm__ volatile(""); \ 150 #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) \ 152 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 153 __dtrace_probe$ruby$method__entry$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \ 154 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 156 #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() \ 157 ({ int _r = __dtrace_isenabled$ruby$method__entry$v1(); \ 158 __asm__ volatile(""); \ 160 #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) \ 162 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 163 __dtrace_probe$ruby$method__return$v1$63686172202a$63686172202a$63686172202a$696e74(arg0, arg1, arg2, arg3); \ 164 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 166 #define RUBY_DTRACE_METHOD_RETURN_ENABLED() \ 167 ({ int _r = __dtrace_isenabled$ruby$method__return$v1(); \ 168 __asm__ volatile(""); \ 170 #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) \ 172 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 173 __dtrace_probe$ruby$object__create$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 174 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 176 #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() \ 177 ({ int _r = __dtrace_isenabled$ruby$object__create$v1(); \ 178 __asm__ volatile(""); \ 180 #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) \ 182 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 183 __dtrace_probe$ruby$parse__begin$v1$63686172202a$696e74(arg0, arg1); \ 184 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 186 #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() \ 187 ({ int _r = __dtrace_isenabled$ruby$parse__begin$v1(); \ 188 __asm__ volatile(""); \ 190 #define RUBY_DTRACE_PARSE_END(arg0, arg1) \ 192 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 193 __dtrace_probe$ruby$parse__end$v1$63686172202a$696e74(arg0, arg1); \ 194 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 196 #define RUBY_DTRACE_PARSE_END_ENABLED() \ 197 ({ int _r = __dtrace_isenabled$ruby$parse__end$v1(); \ 198 __asm__ volatile(""); \ 200 #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) \ 202 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 203 __dtrace_probe$ruby$raise$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 204 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 206 #define RUBY_DTRACE_RAISE_ENABLED() \ 207 ({ int _r = __dtrace_isenabled$ruby$raise$v1(); \ 208 __asm__ volatile(""); \ 210 #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) \ 212 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 213 __dtrace_probe$ruby$require__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 214 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 216 #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() \ 217 ({ int _r = __dtrace_isenabled$ruby$require__entry$v1(); \ 218 __asm__ volatile(""); \ 220 #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) \ 222 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 223 __dtrace_probe$ruby$require__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 224 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 226 #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() \ 227 ({ int _r = __dtrace_isenabled$ruby$require__return$v1(); \ 228 __asm__ volatile(""); \ 230 #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) \ 232 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 233 __dtrace_probe$ruby$string__create$v1$6c6f6e67$63686172202a$696e74(arg0, arg1, arg2); \ 234 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 236 #define RUBY_DTRACE_STRING_CREATE_ENABLED() \ 237 ({ int _r = __dtrace_isenabled$ruby$string__create$v1(); \ 238 __asm__ volatile(""); \ 240 #define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2) \ 242 __asm__ volatile(".reference " RUBY_DTRACE_TYPEDEFS); \ 243 __dtrace_probe$ruby$symbol__create$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \ 244 __asm__ volatile(".reference " RUBY_DTRACE_STABILITY); \ 246 #define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() \ 247 ({ int _r = __dtrace_isenabled$ruby$symbol__create$v1(); \ 248 __asm__ volatile(""); \ 252 extern void __dtrace_probe$ruby$array__create
$v1$6c6f6e67$63686172202a$696e74(
long,
const char *,
int);
253 extern int __dtrace_isenabled$ruby$array__create
$v1(
void);
254 extern void __dtrace_probe$ruby$cmethod__entry
$v1$63686172202a$63686172202a$63686172202a$696e74(
const char *,
const char *,
const char *,
int);
255 extern int __dtrace_isenabled$ruby$cmethod__entry
$v1(
void);
256 extern void __dtrace_probe$ruby$cmethod__return
$v1$63686172202a$63686172202a$63686172202a$696e74(
const char *,
const char *,
const char *,
int);
257 extern int __dtrace_isenabled$ruby$cmethod__return
$v1(
void);
258 extern void __dtrace_probe$ruby$find__require__entry
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
259 extern int __dtrace_isenabled$ruby$find__require__entry
$v1(
void);
260 extern void __dtrace_probe$ruby$find__require__return
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
261 extern int __dtrace_isenabled$ruby$find__require__return
$v1(
void);
262 extern void __dtrace_probe$ruby$gc__mark__begin
$v1(
void);
263 extern int __dtrace_isenabled$ruby$gc__mark__begin
$v1(
void);
264 extern void __dtrace_probe$ruby$gc__mark__end
$v1(
void);
265 extern int __dtrace_isenabled$ruby$gc__mark__end
$v1(
void);
266 extern void __dtrace_probe$ruby$gc__sweep__begin
$v1(
void);
267 extern int __dtrace_isenabled$ruby$gc__sweep__begin
$v1(
void);
268 extern void __dtrace_probe$ruby$gc__sweep__end
$v1(
void);
269 extern int __dtrace_isenabled$ruby$gc__sweep__end
$v1(
void);
270 extern void __dtrace_probe$ruby$hash__create
$v1$6c6f6e67$63686172202a$696e74(
long,
const char *,
int);
271 extern int __dtrace_isenabled$ruby$hash__create
$v1(
void);
272 extern void __dtrace_probe$ruby$load__entry
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
273 extern int __dtrace_isenabled$ruby$load__entry
$v1(
void);
274 extern void __dtrace_probe$ruby$load__return
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
275 extern int __dtrace_isenabled$ruby$load__return
$v1(
void);
276 extern void __dtrace_probe$ruby$method__cache__clear
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
277 extern int __dtrace_isenabled$ruby$method__cache__clear
$v1(
void);
278 extern void __dtrace_probe$ruby$method__entry
$v1$63686172202a$63686172202a$63686172202a$696e74(
const char *,
const char *,
const char *,
int);
279 extern int __dtrace_isenabled$ruby$method__entry
$v1(
void);
280 extern void __dtrace_probe$ruby$method__return
$v1$63686172202a$63686172202a$63686172202a$696e74(
const char *,
const char *,
const char *,
int);
281 extern int __dtrace_isenabled$ruby$method__return
$v1(
void);
282 extern void __dtrace_probe$ruby$object__create
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
283 extern int __dtrace_isenabled$ruby$object__create
$v1(
void);
284 extern void __dtrace_probe$ruby$parse__begin
$v1$63686172202a$696e74(
const char *,
int);
285 extern int __dtrace_isenabled$ruby$parse__begin
$v1(
void);
286 extern void __dtrace_probe$ruby$parse__end
$v1$63686172202a$696e74(
const char *,
int);
287 extern int __dtrace_isenabled$ruby$parse__end
$v1(
void);
288 extern void __dtrace_probe$ruby$raise
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
289 extern int __dtrace_isenabled$ruby$raise
$v1(
void);
290 extern void __dtrace_probe$ruby$require__entry
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
291 extern int __dtrace_isenabled$ruby$require__entry
$v1(
void);
292 extern void __dtrace_probe$ruby$require__return
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
293 extern int __dtrace_isenabled$ruby$require__return
$v1(
void);
294 extern void __dtrace_probe$ruby$string__create
$v1$6c6f6e67$63686172202a$696e74(
long,
const char *,
int);
295 extern int __dtrace_isenabled$ruby$string__create
$v1(
void);
296 extern void __dtrace_probe$ruby$symbol__create
$v1$63686172202a$63686172202a$696e74(
const char *,
const char *,
int);
297 extern int __dtrace_isenabled$ruby$symbol__create
$v1(
void);
301 #define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) \ 304 #define RUBY_DTRACE_ARRAY_CREATE_ENABLED() (0) 305 #define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) \ 308 #define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() (0) 309 #define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) \ 312 #define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() (0) 313 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) \ 316 #define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() (0) 317 #define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) \ 320 #define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() (0) 321 #define RUBY_DTRACE_GC_MARK_BEGIN() \ 324 #define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() (0) 325 #define RUBY_DTRACE_GC_MARK_END() \ 328 #define RUBY_DTRACE_GC_MARK_END_ENABLED() (0) 329 #define RUBY_DTRACE_GC_SWEEP_BEGIN() \ 332 #define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() (0) 333 #define RUBY_DTRACE_GC_SWEEP_END() \ 336 #define RUBY_DTRACE_GC_SWEEP_END_ENABLED() (0) 337 #define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) \ 340 #define RUBY_DTRACE_HASH_CREATE_ENABLED() (0) 341 #define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) \ 344 #define RUBY_DTRACE_LOAD_ENTRY_ENABLED() (0) 345 #define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) \ 348 #define RUBY_DTRACE_LOAD_RETURN_ENABLED() (0) 349 #define RUBY_DTRACE_METHOD_CACHE_CLEAR(arg0, arg1, arg2) \ 352 #define RUBY_DTRACE_METHOD_CACHE_CLEAR_ENABLED() (0) 353 #define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) \ 356 #define RUBY_DTRACE_METHOD_ENTRY_ENABLED() (0) 357 #define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) \ 360 #define RUBY_DTRACE_METHOD_RETURN_ENABLED() (0) 361 #define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) \ 364 #define RUBY_DTRACE_OBJECT_CREATE_ENABLED() (0) 365 #define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) \ 368 #define RUBY_DTRACE_PARSE_BEGIN_ENABLED() (0) 369 #define RUBY_DTRACE_PARSE_END(arg0, arg1) \ 372 #define RUBY_DTRACE_PARSE_END_ENABLED() (0) 373 #define RUBY_DTRACE_RAISE(arg0, arg1, arg2) \ 376 #define RUBY_DTRACE_RAISE_ENABLED() (0) 377 #define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) \ 380 #define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() (0) 381 #define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) \ 384 #define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() (0) 385 #define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) \ 388 #define RUBY_DTRACE_STRING_CREATE_ENABLED() (0) 389 #define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2) \ 392 #define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() (0)
void __dtrace_probe $ruby $array__create $v1(long, const char *, int)