Ruby: /c/S/B/src/build-x86_64-pc-msys/probes.h Source File

Ruby 3.3.7p123 (2025-01-15 revision be31f993d7fa0219d85f7b3c694d454da4ecc10b)

probes.h
1/*
2 * Generated by dtrace(1M).
3 */
4
5#ifndef _RUBY_PROBES_H
6#define _RUBY_PROBES_H
7
8#include <unistd.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#if _DTRACE_VERSION
15
16#define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2) \
17 __dtrace_ruby___array__create(arg0, arg1, arg2)
18#ifndef __sparc
19#define RUBY_DTRACE_ARRAY_CREATE_ENABLED() \
20 __dtraceenabled_ruby___array__create()
21#else
22#define RUBY_DTRACE_ARRAY_CREATE_ENABLED() \
23 __dtraceenabled_ruby___array__create(0)
24#endif
25#define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3) \
26 __dtrace_ruby___cmethod__entry(arg0, arg1, arg2, arg3)
27#ifndef __sparc
28#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() \
29 __dtraceenabled_ruby___cmethod__entry()
30#else
31#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() \
32 __dtraceenabled_ruby___cmethod__entry(0)
33#endif
34#define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3) \
35 __dtrace_ruby___cmethod__return(arg0, arg1, arg2, arg3)
36#ifndef __sparc
37#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() \
38 __dtraceenabled_ruby___cmethod__return()
39#else
40#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() \
41 __dtraceenabled_ruby___cmethod__return(0)
42#endif
43#define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2) \
44 __dtrace_ruby___find__require__entry(arg0, arg1, arg2)
45#ifndef __sparc
46#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() \
47 __dtraceenabled_ruby___find__require__entry()
48#else
49#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() \
50 __dtraceenabled_ruby___find__require__entry(0)
51#endif
52#define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2) \
53 __dtrace_ruby___find__require__return(arg0, arg1, arg2)
54#ifndef __sparc
55#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() \
56 __dtraceenabled_ruby___find__require__return()
57#else
58#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() \
59 __dtraceenabled_ruby___find__require__return(0)
60#endif
61#define RUBY_DTRACE_GC_MARK_BEGIN() \
62 __dtrace_ruby___gc__mark__begin()
63#ifndef __sparc
64#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() \
65 __dtraceenabled_ruby___gc__mark__begin()
66#else
67#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() \
68 __dtraceenabled_ruby___gc__mark__begin(0)
69#endif
70#define RUBY_DTRACE_GC_MARK_END() \
71 __dtrace_ruby___gc__mark__end()
72#ifndef __sparc
73#define RUBY_DTRACE_GC_MARK_END_ENABLED() \
74 __dtraceenabled_ruby___gc__mark__end()
75#else
76#define RUBY_DTRACE_GC_MARK_END_ENABLED() \
77 __dtraceenabled_ruby___gc__mark__end(0)
78#endif
79#define RUBY_DTRACE_GC_SWEEP_BEGIN() \
80 __dtrace_ruby___gc__sweep__begin()
81#ifndef __sparc
82#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() \
83 __dtraceenabled_ruby___gc__sweep__begin()
84#else
85#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() \
86 __dtraceenabled_ruby___gc__sweep__begin(0)
87#endif
88#define RUBY_DTRACE_GC_SWEEP_END() \
89 __dtrace_ruby___gc__sweep__end()
90#ifndef __sparc
91#define RUBY_DTRACE_GC_SWEEP_END_ENABLED() \
92 __dtraceenabled_ruby___gc__sweep__end()
93#else
94#define RUBY_DTRACE_GC_SWEEP_END_ENABLED() \
95 __dtraceenabled_ruby___gc__sweep__end(0)
96#endif
97#define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2) \
98 __dtrace_ruby___hash__create(arg0, arg1, arg2)
99#ifndef __sparc
100#define RUBY_DTRACE_HASH_CREATE_ENABLED() \
101 __dtraceenabled_ruby___hash__create()
102#else
103#define RUBY_DTRACE_HASH_CREATE_ENABLED() \
104 __dtraceenabled_ruby___hash__create(0)
105#endif
106#define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2) \
107 __dtrace_ruby___load__entry(arg0, arg1, arg2)
108#ifndef __sparc
109#define RUBY_DTRACE_LOAD_ENTRY_ENABLED() \
110 __dtraceenabled_ruby___load__entry()
111#else
112#define RUBY_DTRACE_LOAD_ENTRY_ENABLED() \
113 __dtraceenabled_ruby___load__entry(0)
114#endif
115#define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2) \
116 __dtrace_ruby___load__return(arg0, arg1, arg2)
117#ifndef __sparc
118#define RUBY_DTRACE_LOAD_RETURN_ENABLED() \
119 __dtraceenabled_ruby___load__return()
120#else
121#define RUBY_DTRACE_LOAD_RETURN_ENABLED() \
122 __dtraceenabled_ruby___load__return(0)
123#endif
124#define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3) \
125 __dtrace_ruby___method__entry(arg0, arg1, arg2, arg3)
126#ifndef __sparc
127#define RUBY_DTRACE_METHOD_ENTRY_ENABLED() \
128 __dtraceenabled_ruby___method__entry()
129#else
130#define RUBY_DTRACE_METHOD_ENTRY_ENABLED() \
131 __dtraceenabled_ruby___method__entry(0)
132#endif
133#define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3) \
134 __dtrace_ruby___method__return(arg0, arg1, arg2, arg3)
135#ifndef __sparc
136#define RUBY_DTRACE_METHOD_RETURN_ENABLED() \
137 __dtraceenabled_ruby___method__return()
138#else
139#define RUBY_DTRACE_METHOD_RETURN_ENABLED() \
140 __dtraceenabled_ruby___method__return(0)
141#endif
142#define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2) \
143 __dtrace_ruby___object__create(arg0, arg1, arg2)
144#ifndef __sparc
145#define RUBY_DTRACE_OBJECT_CREATE_ENABLED() \
146 __dtraceenabled_ruby___object__create()
147#else
148#define RUBY_DTRACE_OBJECT_CREATE_ENABLED() \
149 __dtraceenabled_ruby___object__create(0)
150#endif
151#define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1) \
152 __dtrace_ruby___parse__begin(arg0, arg1)
153#ifndef __sparc
154#define RUBY_DTRACE_PARSE_BEGIN_ENABLED() \
155 __dtraceenabled_ruby___parse__begin()
156#else
157#define RUBY_DTRACE_PARSE_BEGIN_ENABLED() \
158 __dtraceenabled_ruby___parse__begin(0)
159#endif
160#define RUBY_DTRACE_PARSE_END(arg0, arg1) \
161 __dtrace_ruby___parse__end(arg0, arg1)
162#ifndef __sparc
163#define RUBY_DTRACE_PARSE_END_ENABLED() \
164 __dtraceenabled_ruby___parse__end()
165#else
166#define RUBY_DTRACE_PARSE_END_ENABLED() \
167 __dtraceenabled_ruby___parse__end(0)
168#endif
169#define RUBY_DTRACE_RAISE(arg0, arg1, arg2) \
170 __dtrace_ruby___raise(arg0, arg1, arg2)
171#ifndef __sparc
172#define RUBY_DTRACE_RAISE_ENABLED() \
173 __dtraceenabled_ruby___raise()
174#else
175#define RUBY_DTRACE_RAISE_ENABLED() \
176 __dtraceenabled_ruby___raise(0)
177#endif
178#define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2) \
179 __dtrace_ruby___require__entry(arg0, arg1, arg2)
180#ifndef __sparc
181#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() \
182 __dtraceenabled_ruby___require__entry()
183#else
184#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() \
185 __dtraceenabled_ruby___require__entry(0)
186#endif
187#define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2) \
188 __dtrace_ruby___require__return(arg0, arg1, arg2)
189#ifndef __sparc
190#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() \
191 __dtraceenabled_ruby___require__return()
192#else
193#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() \
194 __dtraceenabled_ruby___require__return(0)
195#endif
196#define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2) \
197 __dtrace_ruby___string__create(arg0, arg1, arg2)
198#ifndef __sparc
199#define RUBY_DTRACE_STRING_CREATE_ENABLED() \
200 __dtraceenabled_ruby___string__create()
201#else
202#define RUBY_DTRACE_STRING_CREATE_ENABLED() \
203 __dtraceenabled_ruby___string__create(0)
204#endif
205#define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2) \
206 __dtrace_ruby___symbol__create(arg0, arg1, arg2)
207#ifndef __sparc
208#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() \
209 __dtraceenabled_ruby___symbol__create()
210#else
211#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() \
212 __dtraceenabled_ruby___symbol__create(0)
213#endif
214
215
216extern void __dtrace_ruby___array__create(long, const char *, int);
217#ifndef __sparc
218extern int __dtraceenabled_ruby___array__create(void);
219#else
220extern int __dtraceenabled_ruby___array__create(long);
221#endif
222extern void __dtrace_ruby___cmethod__entry(const char *, const char *, const char *, int);
223#ifndef __sparc
224extern int __dtraceenabled_ruby___cmethod__entry(void);
225#else
226extern int __dtraceenabled_ruby___cmethod__entry(long);
227#endif
228extern void __dtrace_ruby___cmethod__return(const char *, const char *, const char *, int);
229#ifndef __sparc
230extern int __dtraceenabled_ruby___cmethod__return(void);
231#else
232extern int __dtraceenabled_ruby___cmethod__return(long);
233#endif
234extern void __dtrace_ruby___find__require__entry(const char *, const char *, int);
235#ifndef __sparc
236extern int __dtraceenabled_ruby___find__require__entry(void);
237#else
238extern int __dtraceenabled_ruby___find__require__entry(long);
239#endif
240extern void __dtrace_ruby___find__require__return(const char *, const char *, int);
241#ifndef __sparc
242extern int __dtraceenabled_ruby___find__require__return(void);
243#else
244extern int __dtraceenabled_ruby___find__require__return(long);
245#endif
246extern void __dtrace_ruby___gc__mark__begin(void);
247#ifndef __sparc
248extern int __dtraceenabled_ruby___gc__mark__begin(void);
249#else
250extern int __dtraceenabled_ruby___gc__mark__begin(long);
251#endif
252extern void __dtrace_ruby___gc__mark__end(void);
253#ifndef __sparc
254extern int __dtraceenabled_ruby___gc__mark__end(void);
255#else
256extern int __dtraceenabled_ruby___gc__mark__end(long);
257#endif
258extern void __dtrace_ruby___gc__sweep__begin(void);
259#ifndef __sparc
260extern int __dtraceenabled_ruby___gc__sweep__begin(void);
261#else
262extern int __dtraceenabled_ruby___gc__sweep__begin(long);
263#endif
264extern void __dtrace_ruby___gc__sweep__end(void);
265#ifndef __sparc
266extern int __dtraceenabled_ruby___gc__sweep__end(void);
267#else
268extern int __dtraceenabled_ruby___gc__sweep__end(long);
269#endif
270extern void __dtrace_ruby___hash__create(long, const char *, int);
271#ifndef __sparc
272extern int __dtraceenabled_ruby___hash__create(void);
273#else
274extern int __dtraceenabled_ruby___hash__create(long);
275#endif
276extern void __dtrace_ruby___load__entry(const char *, const char *, int);
277#ifndef __sparc
278extern int __dtraceenabled_ruby___load__entry(void);
279#else
280extern int __dtraceenabled_ruby___load__entry(long);
281#endif
282extern void __dtrace_ruby___load__return(const char *, const char *, int);
283#ifndef __sparc
284extern int __dtraceenabled_ruby___load__return(void);
285#else
286extern int __dtraceenabled_ruby___load__return(long);
287#endif
288extern void __dtrace_ruby___method__entry(const char *, const char *, const char *, int);
289#ifndef __sparc
290extern int __dtraceenabled_ruby___method__entry(void);
291#else
292extern int __dtraceenabled_ruby___method__entry(long);
293#endif
294extern void __dtrace_ruby___method__return(const char *, const char *, const char *, int);
295#ifndef __sparc
296extern int __dtraceenabled_ruby___method__return(void);
297#else
298extern int __dtraceenabled_ruby___method__return(long);
299#endif
300extern void __dtrace_ruby___object__create(const char *, const char *, int);
301#ifndef __sparc
302extern int __dtraceenabled_ruby___object__create(void);
303#else
304extern int __dtraceenabled_ruby___object__create(long);
305#endif
306extern void __dtrace_ruby___parse__begin(const char *, int);
307#ifndef __sparc
308extern int __dtraceenabled_ruby___parse__begin(void);
309#else
310extern int __dtraceenabled_ruby___parse__begin(long);
311#endif
312extern void __dtrace_ruby___parse__end(const char *, int);
313#ifndef __sparc
314extern int __dtraceenabled_ruby___parse__end(void);
315#else
316extern int __dtraceenabled_ruby___parse__end(long);
317#endif
318extern void __dtrace_ruby___raise(const char *, const char *, int);
319#ifndef __sparc
320extern int __dtraceenabled_ruby___raise(void);
321#else
322extern int __dtraceenabled_ruby___raise(long);
323#endif
324extern void __dtrace_ruby___require__entry(const char *, const char *, int);
325#ifndef __sparc
326extern int __dtraceenabled_ruby___require__entry(void);
327#else
328extern int __dtraceenabled_ruby___require__entry(long);
329#endif
330extern void __dtrace_ruby___require__return(const char *, const char *, int);
331#ifndef __sparc
332extern int __dtraceenabled_ruby___require__return(void);
333#else
334extern int __dtraceenabled_ruby___require__return(long);
335#endif
336extern void __dtrace_ruby___string__create(long, const char *, int);
337#ifndef __sparc
338extern int __dtraceenabled_ruby___string__create(void);
339#else
340extern int __dtraceenabled_ruby___string__create(long);
341#endif
342extern void __dtrace_ruby___symbol__create(const char *, const char *, int);
343#ifndef __sparc
344extern int __dtraceenabled_ruby___symbol__create(void);
345#else
346extern int __dtraceenabled_ruby___symbol__create(long);
347#endif
348
349#else
350
351#define RUBY_DTRACE_ARRAY_CREATE(arg0, arg1, arg2)
352#define RUBY_DTRACE_ARRAY_CREATE_ENABLED() (0)
353#define RUBY_DTRACE_CMETHOD_ENTRY(arg0, arg1, arg2, arg3)
354#define RUBY_DTRACE_CMETHOD_ENTRY_ENABLED() (0)
355#define RUBY_DTRACE_CMETHOD_RETURN(arg0, arg1, arg2, arg3)
356#define RUBY_DTRACE_CMETHOD_RETURN_ENABLED() (0)
357#define RUBY_DTRACE_FIND_REQUIRE_ENTRY(arg0, arg1, arg2)
358#define RUBY_DTRACE_FIND_REQUIRE_ENTRY_ENABLED() (0)
359#define RUBY_DTRACE_FIND_REQUIRE_RETURN(arg0, arg1, arg2)
360#define RUBY_DTRACE_FIND_REQUIRE_RETURN_ENABLED() (0)
361#define RUBY_DTRACE_GC_MARK_BEGIN()
362#define RUBY_DTRACE_GC_MARK_BEGIN_ENABLED() (0)
363#define RUBY_DTRACE_GC_MARK_END()
364#define RUBY_DTRACE_GC_MARK_END_ENABLED() (0)
365#define RUBY_DTRACE_GC_SWEEP_BEGIN()
366#define RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED() (0)
367#define RUBY_DTRACE_GC_SWEEP_END()
368#define RUBY_DTRACE_GC_SWEEP_END_ENABLED() (0)
369#define RUBY_DTRACE_HASH_CREATE(arg0, arg1, arg2)
370#define RUBY_DTRACE_HASH_CREATE_ENABLED() (0)
371#define RUBY_DTRACE_LOAD_ENTRY(arg0, arg1, arg2)
372#define RUBY_DTRACE_LOAD_ENTRY_ENABLED() (0)
373#define RUBY_DTRACE_LOAD_RETURN(arg0, arg1, arg2)
374#define RUBY_DTRACE_LOAD_RETURN_ENABLED() (0)
375#define RUBY_DTRACE_METHOD_ENTRY(arg0, arg1, arg2, arg3)
376#define RUBY_DTRACE_METHOD_ENTRY_ENABLED() (0)
377#define RUBY_DTRACE_METHOD_RETURN(arg0, arg1, arg2, arg3)
378#define RUBY_DTRACE_METHOD_RETURN_ENABLED() (0)
379#define RUBY_DTRACE_OBJECT_CREATE(arg0, arg1, arg2)
380#define RUBY_DTRACE_OBJECT_CREATE_ENABLED() (0)
381#define RUBY_DTRACE_PARSE_BEGIN(arg0, arg1)
382#define RUBY_DTRACE_PARSE_BEGIN_ENABLED() (0)
383#define RUBY_DTRACE_PARSE_END(arg0, arg1)
384#define RUBY_DTRACE_PARSE_END_ENABLED() (0)
385#define RUBY_DTRACE_RAISE(arg0, arg1, arg2)
386#define RUBY_DTRACE_RAISE_ENABLED() (0)
387#define RUBY_DTRACE_REQUIRE_ENTRY(arg0, arg1, arg2)
388#define RUBY_DTRACE_REQUIRE_ENTRY_ENABLED() (0)
389#define RUBY_DTRACE_REQUIRE_RETURN(arg0, arg1, arg2)
390#define RUBY_DTRACE_REQUIRE_RETURN_ENABLED() (0)
391#define RUBY_DTRACE_STRING_CREATE(arg0, arg1, arg2)
392#define RUBY_DTRACE_STRING_CREATE_ENABLED() (0)
393#define RUBY_DTRACE_SYMBOL_CREATE(arg0, arg1, arg2)
394#define RUBY_DTRACE_SYMBOL_CREATE_ENABLED() (0)
395
396#endif
397
398
399#ifdef __cplusplus
400}
401#endif
402
403#endif /* _RUBY_PROBES_H */