1
by brian
clean slate |
1 |
/*
|
2 |
* Generated by dtrace(1M).
|
|
3 |
*/
|
|
4 |
||
5 |
#ifndef _PROBES_H
|
|
6 |
#define _PROBES_H
|
|
7 |
||
520.4.42
by mordred
Some updates to dtrace support. |
8 |
#include <unistd.h> |
1
by brian
clean slate |
9 |
|
10 |
#ifdef __cplusplus
|
|
11 |
extern "C" { |
|
12 |
#endif
|
|
13 |
||
520.4.42
by mordred
Some updates to dtrace support. |
14 |
#if _DTRACE_VERSION
|
1
by brian
clean slate |
15 |
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
16 |
#define DRIZZLE_DELETE_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
17 |
__dtrace_drizzle___delete_end()
|
18 |
#ifndef __sparc
|
|
19 |
#define DRIZZLE_DELETE_END_ENABLED() \
|
|
20 |
__dtraceenabled_drizzle___delete_end()
|
|
21 |
#else
|
|
22 |
#define DRIZZLE_DELETE_END_ENABLED() \
|
|
23 |
__dtraceenabled_drizzle___delete_end(0)
|
|
24 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
25 |
#define DRIZZLE_DELETE_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
26 |
__dtrace_drizzle___delete_start()
|
27 |
#ifndef __sparc
|
|
28 |
#define DRIZZLE_DELETE_START_ENABLED() \
|
|
29 |
__dtraceenabled_drizzle___delete_start()
|
|
30 |
#else
|
|
31 |
#define DRIZZLE_DELETE_START_ENABLED() \
|
|
32 |
__dtraceenabled_drizzle___delete_start(0)
|
|
33 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
34 |
#define DRIZZLE_EXTERNAL_LOCK(arg0) \
|
520.4.42
by mordred
Some updates to dtrace support. |
35 |
__dtrace_drizzle___external_lock(arg0)
|
36 |
#ifndef __sparc
|
|
37 |
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
|
|
38 |
__dtraceenabled_drizzle___external_lock()
|
|
39 |
#else
|
|
40 |
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
|
|
41 |
__dtraceenabled_drizzle___external_lock(0)
|
|
42 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
43 |
#define DRIZZLE_FILESORT_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
44 |
__dtrace_drizzle___filesort_end()
|
45 |
#ifndef __sparc
|
|
46 |
#define DRIZZLE_FILESORT_END_ENABLED() \
|
|
47 |
__dtraceenabled_drizzle___filesort_end()
|
|
48 |
#else
|
|
49 |
#define DRIZZLE_FILESORT_END_ENABLED() \
|
|
50 |
__dtraceenabled_drizzle___filesort_end(0)
|
|
51 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
52 |
#define DRIZZLE_FILESORT_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
53 |
__dtrace_drizzle___filesort_start()
|
54 |
#ifndef __sparc
|
|
55 |
#define DRIZZLE_FILESORT_START_ENABLED() \
|
|
56 |
__dtraceenabled_drizzle___filesort_start()
|
|
57 |
#else
|
|
58 |
#define DRIZZLE_FILESORT_START_ENABLED() \
|
|
59 |
__dtraceenabled_drizzle___filesort_start(0)
|
|
60 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
61 |
#define DRIZZLE_INSERT_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
62 |
__dtrace_drizzle___insert_end()
|
63 |
#ifndef __sparc
|
|
64 |
#define DRIZZLE_INSERT_END_ENABLED() \
|
|
65 |
__dtraceenabled_drizzle___insert_end()
|
|
66 |
#else
|
|
67 |
#define DRIZZLE_INSERT_END_ENABLED() \
|
|
68 |
__dtraceenabled_drizzle___insert_end(0)
|
|
69 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
70 |
#define DRIZZLE_INSERT_ROW_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
71 |
__dtrace_drizzle___insert_row_end()
|
72 |
#ifndef __sparc
|
|
73 |
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
|
|
74 |
__dtraceenabled_drizzle___insert_row_end()
|
|
75 |
#else
|
|
76 |
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
|
|
77 |
__dtraceenabled_drizzle___insert_row_end(0)
|
|
78 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
79 |
#define DRIZZLE_INSERT_ROW_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
80 |
__dtrace_drizzle___insert_row_start()
|
81 |
#ifndef __sparc
|
|
82 |
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
|
|
83 |
__dtraceenabled_drizzle___insert_row_start()
|
|
84 |
#else
|
|
85 |
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
|
|
86 |
__dtraceenabled_drizzle___insert_row_start(0)
|
|
87 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
88 |
#define DRIZZLE_INSERT_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
89 |
__dtrace_drizzle___insert_start()
|
90 |
#ifndef __sparc
|
|
91 |
#define DRIZZLE_INSERT_START_ENABLED() \
|
|
92 |
__dtraceenabled_drizzle___insert_start()
|
|
93 |
#else
|
|
94 |
#define DRIZZLE_INSERT_START_ENABLED() \
|
|
95 |
__dtraceenabled_drizzle___insert_start(0)
|
|
96 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
97 |
#define DRIZZLE_SELECT_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
98 |
__dtrace_drizzle___select_end()
|
99 |
#ifndef __sparc
|
|
100 |
#define DRIZZLE_SELECT_END_ENABLED() \
|
|
101 |
__dtraceenabled_drizzle___select_end()
|
|
102 |
#else
|
|
103 |
#define DRIZZLE_SELECT_END_ENABLED() \
|
|
104 |
__dtraceenabled_drizzle___select_end(0)
|
|
105 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
106 |
#define DRIZZLE_SELECT_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
107 |
__dtrace_drizzle___select_start()
|
108 |
#ifndef __sparc
|
|
109 |
#define DRIZZLE_SELECT_START_ENABLED() \
|
|
110 |
__dtraceenabled_drizzle___select_start()
|
|
111 |
#else
|
|
112 |
#define DRIZZLE_SELECT_START_ENABLED() \
|
|
113 |
__dtraceenabled_drizzle___select_start(0)
|
|
114 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
115 |
#define DRIZZLE_UPDATE_END() \
|
520.4.42
by mordred
Some updates to dtrace support. |
116 |
__dtrace_drizzle___update_end()
|
117 |
#ifndef __sparc
|
|
118 |
#define DRIZZLE_UPDATE_END_ENABLED() \
|
|
119 |
__dtraceenabled_drizzle___update_end()
|
|
120 |
#else
|
|
121 |
#define DRIZZLE_UPDATE_END_ENABLED() \
|
|
122 |
__dtraceenabled_drizzle___update_end(0)
|
|
123 |
#endif
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
124 |
#define DRIZZLE_UPDATE_START() \
|
520.4.42
by mordred
Some updates to dtrace support. |
125 |
__dtrace_drizzle___update_start()
|
126 |
#ifndef __sparc
|
|
127 |
#define DRIZZLE_UPDATE_START_ENABLED() \
|
|
128 |
__dtraceenabled_drizzle___update_start()
|
|
129 |
#else
|
|
130 |
#define DRIZZLE_UPDATE_START_ENABLED() \
|
|
131 |
__dtraceenabled_drizzle___update_start(0)
|
|
132 |
#endif
|
|
133 |
||
134 |
||
135 |
extern void __dtrace_drizzle___delete_end(void); |
|
136 |
#ifndef __sparc
|
|
137 |
extern int __dtraceenabled_drizzle___delete_end(void); |
|
138 |
#else
|
|
139 |
extern int __dtraceenabled_drizzle___delete_end(long); |
|
140 |
#endif
|
|
141 |
extern void __dtrace_drizzle___delete_start(void); |
|
142 |
#ifndef __sparc
|
|
143 |
extern int __dtraceenabled_drizzle___delete_start(void); |
|
144 |
#else
|
|
145 |
extern int __dtraceenabled_drizzle___delete_start(long); |
|
146 |
#endif
|
|
147 |
extern void __dtrace_drizzle___external_lock(int); |
|
148 |
#ifndef __sparc
|
|
149 |
extern int __dtraceenabled_drizzle___external_lock(void); |
|
150 |
#else
|
|
151 |
extern int __dtraceenabled_drizzle___external_lock(long); |
|
152 |
#endif
|
|
153 |
extern void __dtrace_drizzle___filesort_end(void); |
|
154 |
#ifndef __sparc
|
|
155 |
extern int __dtraceenabled_drizzle___filesort_end(void); |
|
156 |
#else
|
|
157 |
extern int __dtraceenabled_drizzle___filesort_end(long); |
|
158 |
#endif
|
|
159 |
extern void __dtrace_drizzle___filesort_start(void); |
|
160 |
#ifndef __sparc
|
|
161 |
extern int __dtraceenabled_drizzle___filesort_start(void); |
|
162 |
#else
|
|
163 |
extern int __dtraceenabled_drizzle___filesort_start(long); |
|
164 |
#endif
|
|
165 |
extern void __dtrace_drizzle___insert_end(void); |
|
166 |
#ifndef __sparc
|
|
167 |
extern int __dtraceenabled_drizzle___insert_end(void); |
|
168 |
#else
|
|
169 |
extern int __dtraceenabled_drizzle___insert_end(long); |
|
170 |
#endif
|
|
171 |
extern void __dtrace_drizzle___insert_row_end(void); |
|
172 |
#ifndef __sparc
|
|
173 |
extern int __dtraceenabled_drizzle___insert_row_end(void); |
|
174 |
#else
|
|
175 |
extern int __dtraceenabled_drizzle___insert_row_end(long); |
|
176 |
#endif
|
|
177 |
extern void __dtrace_drizzle___insert_row_start(void); |
|
178 |
#ifndef __sparc
|
|
179 |
extern int __dtraceenabled_drizzle___insert_row_start(void); |
|
180 |
#else
|
|
181 |
extern int __dtraceenabled_drizzle___insert_row_start(long); |
|
182 |
#endif
|
|
183 |
extern void __dtrace_drizzle___insert_start(void); |
|
184 |
#ifndef __sparc
|
|
185 |
extern int __dtraceenabled_drizzle___insert_start(void); |
|
186 |
#else
|
|
187 |
extern int __dtraceenabled_drizzle___insert_start(long); |
|
188 |
#endif
|
|
189 |
extern void __dtrace_drizzle___select_end(void); |
|
190 |
#ifndef __sparc
|
|
191 |
extern int __dtraceenabled_drizzle___select_end(void); |
|
192 |
#else
|
|
193 |
extern int __dtraceenabled_drizzle___select_end(long); |
|
194 |
#endif
|
|
195 |
extern void __dtrace_drizzle___select_start(void); |
|
196 |
#ifndef __sparc
|
|
197 |
extern int __dtraceenabled_drizzle___select_start(void); |
|
198 |
#else
|
|
199 |
extern int __dtraceenabled_drizzle___select_start(long); |
|
200 |
#endif
|
|
201 |
extern void __dtrace_drizzle___update_end(void); |
|
202 |
#ifndef __sparc
|
|
203 |
extern int __dtraceenabled_drizzle___update_end(void); |
|
204 |
#else
|
|
205 |
extern int __dtraceenabled_drizzle___update_end(long); |
|
206 |
#endif
|
|
207 |
extern void __dtrace_drizzle___update_start(void); |
|
208 |
#ifndef __sparc
|
|
209 |
extern int __dtraceenabled_drizzle___update_start(void); |
|
210 |
#else
|
|
211 |
extern int __dtraceenabled_drizzle___update_start(long); |
|
212 |
#endif
|
|
1
by brian
clean slate |
213 |
|
214 |
#else
|
|
215 |
||
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
216 |
#define DRIZZLE_DELETE_END()
|
217 |
#define DRIZZLE_DELETE_END_ENABLED() (0)
|
|
218 |
#define DRIZZLE_DELETE_START()
|
|
219 |
#define DRIZZLE_DELETE_START_ENABLED() (0)
|
|
220 |
#define DRIZZLE_EXTERNAL_LOCK(arg0)
|
|
221 |
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() (0)
|
|
222 |
#define DRIZZLE_FILESORT_END()
|
|
223 |
#define DRIZZLE_FILESORT_END_ENABLED() (0)
|
|
224 |
#define DRIZZLE_FILESORT_START()
|
|
225 |
#define DRIZZLE_FILESORT_START_ENABLED() (0)
|
|
226 |
#define DRIZZLE_INSERT_END()
|
|
227 |
#define DRIZZLE_INSERT_END_ENABLED() (0)
|
|
228 |
#define DRIZZLE_INSERT_ROW_END()
|
|
229 |
#define DRIZZLE_INSERT_ROW_END_ENABLED() (0)
|
|
230 |
#define DRIZZLE_INSERT_ROW_START()
|
|
231 |
#define DRIZZLE_INSERT_ROW_START_ENABLED() (0)
|
|
232 |
#define DRIZZLE_INSERT_START()
|
|
233 |
#define DRIZZLE_INSERT_START_ENABLED() (0)
|
|
234 |
#define DRIZZLE_SELECT_END()
|
|
235 |
#define DRIZZLE_SELECT_END_ENABLED() (0)
|
|
236 |
#define DRIZZLE_SELECT_START()
|
|
237 |
#define DRIZZLE_SELECT_START_ENABLED() (0)
|
|
238 |
#define DRIZZLE_UPDATE_END()
|
|
239 |
#define DRIZZLE_UPDATE_END_ENABLED() (0)
|
|
240 |
#define DRIZZLE_UPDATE_START()
|
|
241 |
#define DRIZZLE_UPDATE_START_ENABLED() (0)
|
|
1
by brian
clean slate |
242 |
|
243 |
#endif
|
|
244 |
||
245 |
||
246 |
#ifdef __cplusplus
|
|
247 |
}
|
|
248 |
#endif
|
|
249 |
||
250 |
#endif /* _PROBES_H */ |