Commit | Line | Data |
---|---|---|
deeaaf53 MD |
1 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
2 | #ifndef CREATE_SYSCALL_TABLE | |
3 | ||
deeaaf53 MD |
4 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) |
5 | #define _TRACE_SYSCALLS_INTEGERS_H | |
6 | ||
3bc29f0a | 7 | #include "../../../probes/lttng-tracepoint-event.h" |
deeaaf53 MD |
8 | #include <linux/syscalls.h> |
9 | #include "x86-32-syscalls-3.1.0-rc6_integers_override.h" | |
daaf627a | 10 | #include "syscalls_integers_override.h" |
deeaaf53 | 11 | |
e17f92ba | 12 | #ifdef SC_ENTER |
cb3ef14c | 13 | SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, |
deeaaf53 MD |
14 | TP_STRUCT__entry(), |
15 | TP_fast_assign(), | |
16 | TP_printk() | |
17 | ) | |
644d6e9c | 18 | #ifndef OVERRIDE_32_restart_syscall |
cb3ef14c | 19 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) |
deeaaf53 | 20 | #endif |
644d6e9c | 21 | #ifndef OVERRIDE_32_getpid |
cb3ef14c | 22 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) |
deeaaf53 | 23 | #endif |
644d6e9c | 24 | #ifndef OVERRIDE_32_getuid16 |
cb3ef14c | 25 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) |
deeaaf53 | 26 | #endif |
644d6e9c | 27 | #ifndef OVERRIDE_32_pause |
cb3ef14c | 28 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) |
deeaaf53 | 29 | #endif |
644d6e9c | 30 | #ifndef OVERRIDE_32_sync |
cb3ef14c | 31 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) |
deeaaf53 | 32 | #endif |
644d6e9c | 33 | #ifndef OVERRIDE_32_getgid16 |
cb3ef14c | 34 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) |
deeaaf53 | 35 | #endif |
644d6e9c | 36 | #ifndef OVERRIDE_32_geteuid16 |
cb3ef14c | 37 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) |
deeaaf53 | 38 | #endif |
644d6e9c | 39 | #ifndef OVERRIDE_32_getegid16 |
cb3ef14c | 40 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) |
deeaaf53 | 41 | #endif |
644d6e9c | 42 | #ifndef OVERRIDE_32_getppid |
cb3ef14c | 43 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) |
deeaaf53 | 44 | #endif |
644d6e9c | 45 | #ifndef OVERRIDE_32_getpgrp |
cb3ef14c | 46 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) |
deeaaf53 | 47 | #endif |
644d6e9c | 48 | #ifndef OVERRIDE_32_setsid |
cb3ef14c | 49 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) |
deeaaf53 | 50 | #endif |
644d6e9c | 51 | #ifndef OVERRIDE_32_sgetmask |
cb3ef14c | 52 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) |
deeaaf53 | 53 | #endif |
644d6e9c | 54 | #ifndef OVERRIDE_32_vhangup |
cb3ef14c | 55 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) |
deeaaf53 | 56 | #endif |
644d6e9c | 57 | #ifndef OVERRIDE_32_munlockall |
cb3ef14c | 58 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) |
deeaaf53 | 59 | #endif |
644d6e9c | 60 | #ifndef OVERRIDE_32_sched_yield |
cb3ef14c | 61 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) |
deeaaf53 | 62 | #endif |
644d6e9c | 63 | #ifndef OVERRIDE_32_getuid |
cb3ef14c | 64 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) |
deeaaf53 | 65 | #endif |
644d6e9c | 66 | #ifndef OVERRIDE_32_getgid |
cb3ef14c | 67 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) |
deeaaf53 | 68 | #endif |
644d6e9c | 69 | #ifndef OVERRIDE_32_geteuid |
cb3ef14c | 70 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) |
deeaaf53 | 71 | #endif |
644d6e9c | 72 | #ifndef OVERRIDE_32_getegid |
cb3ef14c | 73 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) |
deeaaf53 | 74 | #endif |
644d6e9c | 75 | #ifndef OVERRIDE_32_gettid |
cb3ef14c | 76 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) |
deeaaf53 | 77 | #endif |
644d6e9c | 78 | #ifndef OVERRIDE_32_inotify_init |
cb3ef14c | 79 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) |
deeaaf53 | 80 | #endif |
e17f92ba | 81 | #else /* #ifdef SC_ENTER */ |
644d6e9c | 82 | #ifndef OVERRIDE_32_restart_syscall |
cb3ef14c | 83 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, |
e17f92ba MD |
84 | TP_PROTO(sc_exit(long ret)), |
85 | TP_ARGS(sc_exit(ret)), | |
86 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
87 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
88 | TP_printk() | |
89 | ) | |
90 | #endif | |
644d6e9c | 91 | #ifndef OVERRIDE_32_getpid |
cb3ef14c | 92 | SC_LTTNG_TRACEPOINT_EVENT(getpid, |
e17f92ba MD |
93 | TP_PROTO(sc_exit(long ret)), |
94 | TP_ARGS(sc_exit(ret)), | |
95 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
96 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
97 | TP_printk() | |
98 | ) | |
99 | #endif | |
644d6e9c | 100 | #ifndef OVERRIDE_32_getuid16 |
cb3ef14c | 101 | SC_LTTNG_TRACEPOINT_EVENT(getuid16, |
e17f92ba MD |
102 | TP_PROTO(sc_exit(long ret)), |
103 | TP_ARGS(sc_exit(ret)), | |
104 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
105 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
106 | TP_printk() | |
107 | ) | |
108 | #endif | |
644d6e9c | 109 | #ifndef OVERRIDE_32_pause |
cb3ef14c | 110 | SC_LTTNG_TRACEPOINT_EVENT(pause, |
e17f92ba MD |
111 | TP_PROTO(sc_exit(long ret)), |
112 | TP_ARGS(sc_exit(ret)), | |
113 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
114 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
115 | TP_printk() | |
116 | ) | |
117 | #endif | |
644d6e9c | 118 | #ifndef OVERRIDE_32_sync |
cb3ef14c | 119 | SC_LTTNG_TRACEPOINT_EVENT(sync, |
e17f92ba MD |
120 | TP_PROTO(sc_exit(long ret)), |
121 | TP_ARGS(sc_exit(ret)), | |
122 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
123 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
124 | TP_printk() | |
125 | ) | |
126 | #endif | |
644d6e9c | 127 | #ifndef OVERRIDE_32_getgid16 |
cb3ef14c | 128 | SC_LTTNG_TRACEPOINT_EVENT(getgid16, |
e17f92ba MD |
129 | TP_PROTO(sc_exit(long ret)), |
130 | TP_ARGS(sc_exit(ret)), | |
131 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
132 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
133 | TP_printk() | |
134 | ) | |
135 | #endif | |
644d6e9c | 136 | #ifndef OVERRIDE_32_geteuid16 |
cb3ef14c | 137 | SC_LTTNG_TRACEPOINT_EVENT(geteuid16, |
e17f92ba MD |
138 | TP_PROTO(sc_exit(long ret)), |
139 | TP_ARGS(sc_exit(ret)), | |
140 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
141 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
142 | TP_printk() | |
143 | ) | |
144 | #endif | |
644d6e9c | 145 | #ifndef OVERRIDE_32_getegid16 |
cb3ef14c | 146 | SC_LTTNG_TRACEPOINT_EVENT(getegid16, |
e17f92ba MD |
147 | TP_PROTO(sc_exit(long ret)), |
148 | TP_ARGS(sc_exit(ret)), | |
149 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
150 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
151 | TP_printk() | |
152 | ) | |
153 | #endif | |
644d6e9c | 154 | #ifndef OVERRIDE_32_getppid |
cb3ef14c | 155 | SC_LTTNG_TRACEPOINT_EVENT(getppid, |
e17f92ba MD |
156 | TP_PROTO(sc_exit(long ret)), |
157 | TP_ARGS(sc_exit(ret)), | |
158 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
159 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
160 | TP_printk() | |
161 | ) | |
162 | #endif | |
644d6e9c | 163 | #ifndef OVERRIDE_32_getpgrp |
cb3ef14c | 164 | SC_LTTNG_TRACEPOINT_EVENT(getpgrp, |
e17f92ba MD |
165 | TP_PROTO(sc_exit(long ret)), |
166 | TP_ARGS(sc_exit(ret)), | |
167 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
168 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
169 | TP_printk() | |
170 | ) | |
171 | #endif | |
644d6e9c | 172 | #ifndef OVERRIDE_32_setsid |
cb3ef14c | 173 | SC_LTTNG_TRACEPOINT_EVENT(setsid, |
e17f92ba MD |
174 | TP_PROTO(sc_exit(long ret)), |
175 | TP_ARGS(sc_exit(ret)), | |
176 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
177 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
178 | TP_printk() | |
179 | ) | |
180 | #endif | |
644d6e9c | 181 | #ifndef OVERRIDE_32_sgetmask |
cb3ef14c | 182 | SC_LTTNG_TRACEPOINT_EVENT(sgetmask, |
e17f92ba MD |
183 | TP_PROTO(sc_exit(long ret)), |
184 | TP_ARGS(sc_exit(ret)), | |
185 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
186 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
187 | TP_printk() | |
188 | ) | |
189 | #endif | |
644d6e9c | 190 | #ifndef OVERRIDE_32_vhangup |
cb3ef14c | 191 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, |
e17f92ba MD |
192 | TP_PROTO(sc_exit(long ret)), |
193 | TP_ARGS(sc_exit(ret)), | |
194 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
195 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
196 | TP_printk() | |
197 | ) | |
198 | #endif | |
644d6e9c | 199 | #ifndef OVERRIDE_32_munlockall |
cb3ef14c | 200 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, |
e17f92ba MD |
201 | TP_PROTO(sc_exit(long ret)), |
202 | TP_ARGS(sc_exit(ret)), | |
203 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
204 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
205 | TP_printk() | |
206 | ) | |
207 | #endif | |
644d6e9c | 208 | #ifndef OVERRIDE_32_sched_yield |
cb3ef14c | 209 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, |
e17f92ba MD |
210 | TP_PROTO(sc_exit(long ret)), |
211 | TP_ARGS(sc_exit(ret)), | |
212 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
213 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
214 | TP_printk() | |
215 | ) | |
216 | #endif | |
644d6e9c | 217 | #ifndef OVERRIDE_32_getuid |
cb3ef14c | 218 | SC_LTTNG_TRACEPOINT_EVENT(getuid, |
e17f92ba MD |
219 | TP_PROTO(sc_exit(long ret)), |
220 | TP_ARGS(sc_exit(ret)), | |
221 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
222 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
223 | TP_printk() | |
224 | ) | |
225 | #endif | |
644d6e9c | 226 | #ifndef OVERRIDE_32_getgid |
cb3ef14c | 227 | SC_LTTNG_TRACEPOINT_EVENT(getgid, |
e17f92ba MD |
228 | TP_PROTO(sc_exit(long ret)), |
229 | TP_ARGS(sc_exit(ret)), | |
230 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
231 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
232 | TP_printk() | |
233 | ) | |
234 | #endif | |
644d6e9c | 235 | #ifndef OVERRIDE_32_geteuid |
cb3ef14c | 236 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, |
e17f92ba MD |
237 | TP_PROTO(sc_exit(long ret)), |
238 | TP_ARGS(sc_exit(ret)), | |
239 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
240 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
241 | TP_printk() | |
242 | ) | |
243 | #endif | |
644d6e9c | 244 | #ifndef OVERRIDE_32_getegid |
cb3ef14c | 245 | SC_LTTNG_TRACEPOINT_EVENT(getegid, |
e17f92ba MD |
246 | TP_PROTO(sc_exit(long ret)), |
247 | TP_ARGS(sc_exit(ret)), | |
248 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
249 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
250 | TP_printk() | |
251 | ) | |
252 | #endif | |
644d6e9c | 253 | #ifndef OVERRIDE_32_gettid |
cb3ef14c | 254 | SC_LTTNG_TRACEPOINT_EVENT(gettid, |
e17f92ba MD |
255 | TP_PROTO(sc_exit(long ret)), |
256 | TP_ARGS(sc_exit(ret)), | |
257 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
258 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
259 | TP_printk() | |
260 | ) | |
261 | #endif | |
644d6e9c | 262 | #ifndef OVERRIDE_32_inotify_init |
cb3ef14c | 263 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init, |
e17f92ba MD |
264 | TP_PROTO(sc_exit(long ret)), |
265 | TP_ARGS(sc_exit(ret)), | |
266 | TP_STRUCT__entry(sc_exit(__field(long, ret))), | |
267 | TP_fast_assign(sc_exit(tp_assign(ret, ret))), | |
268 | TP_printk() | |
269 | ) | |
270 | #endif | |
271 | #endif /* else #ifdef SC_ENTER */ | |
644d6e9c | 272 | #ifndef OVERRIDE_32_exit |
cb3ef14c | 273 | SC_LTTNG_TRACEPOINT_EVENT(exit, |
e17f92ba MD |
274 | TP_PROTO(sc_exit(long ret,) int error_code), |
275 | TP_ARGS(sc_exit(ret,) error_code), | |
b75d00c4 MD |
276 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), |
277 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), | |
deeaaf53 MD |
278 | TP_printk() |
279 | ) | |
280 | #endif | |
644d6e9c | 281 | #ifndef OVERRIDE_32_close |
cb3ef14c | 282 | SC_LTTNG_TRACEPOINT_EVENT(close, |
e17f92ba MD |
283 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
284 | TP_ARGS(sc_exit(ret,) fd), | |
b75d00c4 MD |
285 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), |
286 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), | |
deeaaf53 MD |
287 | TP_printk() |
288 | ) | |
289 | #endif | |
644d6e9c | 290 | #ifndef OVERRIDE_32_setuid16 |
cb3ef14c | 291 | SC_LTTNG_TRACEPOINT_EVENT(setuid16, |
e17f92ba MD |
292 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
293 | TP_ARGS(sc_exit(ret,) uid), | |
b75d00c4 MD |
294 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), |
295 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uid, uid))), | |
deeaaf53 MD |
296 | TP_printk() |
297 | ) | |
298 | #endif | |
644d6e9c | 299 | #ifndef OVERRIDE_32_alarm |
cb3ef14c | 300 | SC_LTTNG_TRACEPOINT_EVENT(alarm, |
e17f92ba MD |
301 | TP_PROTO(sc_exit(long ret,) unsigned int seconds), |
302 | TP_ARGS(sc_exit(ret,) seconds), | |
b75d00c4 MD |
303 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, seconds))), |
304 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(seconds, seconds))), | |
deeaaf53 MD |
305 | TP_printk() |
306 | ) | |
307 | #endif | |
644d6e9c | 308 | #ifndef OVERRIDE_32_nice |
cb3ef14c | 309 | SC_LTTNG_TRACEPOINT_EVENT(nice, |
e17f92ba MD |
310 | TP_PROTO(sc_exit(long ret,) int increment), |
311 | TP_ARGS(sc_exit(ret,) increment), | |
b75d00c4 MD |
312 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, increment))), |
313 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(increment, increment))), | |
deeaaf53 MD |
314 | TP_printk() |
315 | ) | |
316 | #endif | |
644d6e9c | 317 | #ifndef OVERRIDE_32_dup |
cb3ef14c | 318 | SC_LTTNG_TRACEPOINT_EVENT(dup, |
e17f92ba MD |
319 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), |
320 | TP_ARGS(sc_exit(ret,) fildes), | |
b75d00c4 MD |
321 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fildes))), |
322 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fildes, fildes))), | |
deeaaf53 MD |
323 | TP_printk() |
324 | ) | |
325 | #endif | |
644d6e9c | 326 | #ifndef OVERRIDE_32_brk |
cb3ef14c | 327 | SC_LTTNG_TRACEPOINT_EVENT(brk, |
e17f92ba MD |
328 | TP_PROTO(sc_exit(long ret,) unsigned long brk), |
329 | TP_ARGS(sc_exit(ret,) brk), | |
b75d00c4 MD |
330 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, brk))), |
331 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(brk, brk))), | |
deeaaf53 MD |
332 | TP_printk() |
333 | ) | |
334 | #endif | |
644d6e9c | 335 | #ifndef OVERRIDE_32_setgid16 |
cb3ef14c | 336 | SC_LTTNG_TRACEPOINT_EVENT(setgid16, |
e17f92ba MD |
337 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
338 | TP_ARGS(sc_exit(ret,) gid), | |
b75d00c4 MD |
339 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), |
340 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gid, gid))), | |
deeaaf53 MD |
341 | TP_printk() |
342 | ) | |
343 | #endif | |
644d6e9c | 344 | #ifndef OVERRIDE_32_umask |
cb3ef14c | 345 | SC_LTTNG_TRACEPOINT_EVENT(umask, |
e17f92ba MD |
346 | TP_PROTO(sc_exit(long ret,) int mask), |
347 | TP_ARGS(sc_exit(ret,) mask), | |
b75d00c4 MD |
348 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mask))), |
349 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mask, mask))), | |
deeaaf53 MD |
350 | TP_printk() |
351 | ) | |
352 | #endif | |
644d6e9c | 353 | #ifndef OVERRIDE_32_ssetmask |
cb3ef14c | 354 | SC_LTTNG_TRACEPOINT_EVENT(ssetmask, |
e17f92ba MD |
355 | TP_PROTO(sc_exit(long ret,) int newmask), |
356 | TP_ARGS(sc_exit(ret,) newmask), | |
b75d00c4 MD |
357 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, newmask))), |
358 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(newmask, newmask))), | |
deeaaf53 MD |
359 | TP_printk() |
360 | ) | |
361 | #endif | |
644d6e9c | 362 | #ifndef OVERRIDE_32_fsync |
cb3ef14c | 363 | SC_LTTNG_TRACEPOINT_EVENT(fsync, |
e17f92ba MD |
364 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
365 | TP_ARGS(sc_exit(ret,) fd), | |
b75d00c4 MD |
366 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), |
367 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), | |
deeaaf53 MD |
368 | TP_printk() |
369 | ) | |
370 | #endif | |
644d6e9c | 371 | #ifndef OVERRIDE_32_getpgid |
cb3ef14c | 372 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, |
e17f92ba MD |
373 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
374 | TP_ARGS(sc_exit(ret,) pid), | |
b75d00c4 MD |
375 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), |
376 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), | |
deeaaf53 MD |
377 | TP_printk() |
378 | ) | |
379 | #endif | |
644d6e9c | 380 | #ifndef OVERRIDE_32_fchdir |
cb3ef14c | 381 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, |
e17f92ba MD |
382 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
383 | TP_ARGS(sc_exit(ret,) fd), | |
b75d00c4 MD |
384 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), |
385 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), | |
deeaaf53 MD |
386 | TP_printk() |
387 | ) | |
388 | #endif | |
644d6e9c | 389 | #ifndef OVERRIDE_32_personality |
cb3ef14c | 390 | SC_LTTNG_TRACEPOINT_EVENT(personality, |
e17f92ba MD |
391 | TP_PROTO(sc_exit(long ret,) unsigned int personality), |
392 | TP_ARGS(sc_exit(ret,) personality), | |
b75d00c4 MD |
393 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, personality))), |
394 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(personality, personality))), | |
deeaaf53 MD |
395 | TP_printk() |
396 | ) | |
397 | #endif | |
644d6e9c | 398 | #ifndef OVERRIDE_32_setfsuid16 |
cb3ef14c | 399 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, |
e17f92ba MD |
400 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
401 | TP_ARGS(sc_exit(ret,) uid), | |
b75d00c4 MD |
402 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, uid))), |
403 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uid, uid))), | |
deeaaf53 MD |
404 | TP_printk() |
405 | ) | |
406 | #endif | |
644d6e9c | 407 | #ifndef OVERRIDE_32_setfsgid16 |
cb3ef14c | 408 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, |
e17f92ba MD |
409 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
410 | TP_ARGS(sc_exit(ret,) gid), | |
b75d00c4 MD |
411 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, gid))), |
412 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gid, gid))), | |
deeaaf53 MD |
413 | TP_printk() |
414 | ) | |
415 | #endif | |
644d6e9c | 416 | #ifndef OVERRIDE_32_getsid |
cb3ef14c | 417 | SC_LTTNG_TRACEPOINT_EVENT(getsid, |
e17f92ba MD |
418 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
419 | TP_ARGS(sc_exit(ret,) pid), | |
b75d00c4 MD |
420 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), |
421 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), | |
deeaaf53 MD |
422 | TP_printk() |
423 | ) | |
424 | #endif | |
644d6e9c | 425 | #ifndef OVERRIDE_32_fdatasync |
cb3ef14c | 426 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, |
e17f92ba MD |
427 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
428 | TP_ARGS(sc_exit(ret,) fd), | |
b75d00c4 MD |
429 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd))), |
430 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), | |
deeaaf53 MD |
431 | TP_printk() |
432 | ) | |
433 | #endif | |
644d6e9c | 434 | #ifndef OVERRIDE_32_mlockall |
cb3ef14c | 435 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, |
e17f92ba MD |
436 | TP_PROTO(sc_exit(long ret,) int flags), |
437 | TP_ARGS(sc_exit(ret,) flags), | |
b75d00c4 MD |
438 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), |
439 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
440 | TP_printk() |
441 | ) | |
442 | #endif | |
644d6e9c | 443 | #ifndef OVERRIDE_32_sched_getscheduler |
cb3ef14c | 444 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, |
e17f92ba MD |
445 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
446 | TP_ARGS(sc_exit(ret,) pid), | |
b75d00c4 MD |
447 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid))), |
448 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid))), | |
deeaaf53 MD |
449 | TP_printk() |
450 | ) | |
451 | #endif | |
644d6e9c | 452 | #ifndef OVERRIDE_32_sched_get_priority_max |
cb3ef14c | 453 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, |
e17f92ba MD |
454 | TP_PROTO(sc_exit(long ret,) int policy), |
455 | TP_ARGS(sc_exit(ret,) policy), | |
b75d00c4 MD |
456 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), |
457 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), | |
deeaaf53 MD |
458 | TP_printk() |
459 | ) | |
460 | #endif | |
644d6e9c | 461 | #ifndef OVERRIDE_32_sched_get_priority_min |
cb3ef14c | 462 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, |
e17f92ba MD |
463 | TP_PROTO(sc_exit(long ret,) int policy), |
464 | TP_ARGS(sc_exit(ret,) policy), | |
b75d00c4 MD |
465 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, policy))), |
466 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(policy, policy))), | |
deeaaf53 MD |
467 | TP_printk() |
468 | ) | |
469 | #endif | |
644d6e9c | 470 | #ifndef OVERRIDE_32_setuid |
cb3ef14c | 471 | SC_LTTNG_TRACEPOINT_EVENT(setuid, |
e17f92ba MD |
472 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
473 | TP_ARGS(sc_exit(ret,) uid), | |
b75d00c4 MD |
474 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), |
475 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), | |
deeaaf53 MD |
476 | TP_printk() |
477 | ) | |
478 | #endif | |
644d6e9c | 479 | #ifndef OVERRIDE_32_setgid |
cb3ef14c | 480 | SC_LTTNG_TRACEPOINT_EVENT(setgid, |
e17f92ba MD |
481 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
482 | TP_ARGS(sc_exit(ret,) gid), | |
b75d00c4 MD |
483 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), |
484 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), | |
deeaaf53 MD |
485 | TP_printk() |
486 | ) | |
487 | #endif | |
644d6e9c | 488 | #ifndef OVERRIDE_32_setfsuid |
cb3ef14c | 489 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, |
e17f92ba MD |
490 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
491 | TP_ARGS(sc_exit(ret,) uid), | |
b75d00c4 MD |
492 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, uid))), |
493 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uid, uid))), | |
deeaaf53 MD |
494 | TP_printk() |
495 | ) | |
496 | #endif | |
644d6e9c | 497 | #ifndef OVERRIDE_32_setfsgid |
cb3ef14c | 498 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, |
e17f92ba MD |
499 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
500 | TP_ARGS(sc_exit(ret,) gid), | |
b75d00c4 MD |
501 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, gid))), |
502 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gid, gid))), | |
deeaaf53 MD |
503 | TP_printk() |
504 | ) | |
505 | #endif | |
644d6e9c | 506 | #ifndef OVERRIDE_32_io_destroy |
cb3ef14c | 507 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, |
e17f92ba MD |
508 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), |
509 | TP_ARGS(sc_exit(ret,) ctx), | |
b75d00c4 MD |
510 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx))), |
511 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx, ctx))), | |
deeaaf53 MD |
512 | TP_printk() |
513 | ) | |
514 | #endif | |
644d6e9c | 515 | #ifndef OVERRIDE_32_exit_group |
cb3ef14c | 516 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, |
e17f92ba MD |
517 | TP_PROTO(sc_exit(long ret,) int error_code), |
518 | TP_ARGS(sc_exit(ret,) error_code), | |
b75d00c4 MD |
519 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, error_code))), |
520 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(error_code, error_code))), | |
deeaaf53 MD |
521 | TP_printk() |
522 | ) | |
523 | #endif | |
644d6e9c | 524 | #ifndef OVERRIDE_32_epoll_create |
cb3ef14c | 525 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create, |
e17f92ba MD |
526 | TP_PROTO(sc_exit(long ret,) int size), |
527 | TP_ARGS(sc_exit(ret,) size), | |
b75d00c4 MD |
528 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, size))), |
529 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
530 | TP_printk() |
531 | ) | |
532 | #endif | |
644d6e9c | 533 | #ifndef OVERRIDE_32_timer_getoverrun |
cb3ef14c | 534 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, |
e17f92ba MD |
535 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
536 | TP_ARGS(sc_exit(ret,) timer_id), | |
b75d00c4 MD |
537 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), |
538 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), | |
deeaaf53 MD |
539 | TP_printk() |
540 | ) | |
541 | #endif | |
644d6e9c | 542 | #ifndef OVERRIDE_32_timer_delete |
cb3ef14c | 543 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, |
e17f92ba MD |
544 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
545 | TP_ARGS(sc_exit(ret,) timer_id), | |
b75d00c4 MD |
546 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id))), |
547 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id))), | |
deeaaf53 MD |
548 | TP_printk() |
549 | ) | |
550 | #endif | |
644d6e9c | 551 | #ifndef OVERRIDE_32_unshare |
cb3ef14c | 552 | SC_LTTNG_TRACEPOINT_EVENT(unshare, |
e17f92ba MD |
553 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), |
554 | TP_ARGS(sc_exit(ret,) unshare_flags), | |
b75d00c4 MD |
555 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))), |
556 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))), | |
deeaaf53 MD |
557 | TP_printk() |
558 | ) | |
559 | #endif | |
644d6e9c | 560 | #ifndef OVERRIDE_32_eventfd |
cb3ef14c | 561 | SC_LTTNG_TRACEPOINT_EVENT(eventfd, |
e17f92ba MD |
562 | TP_PROTO(sc_exit(long ret,) unsigned int count), |
563 | TP_ARGS(sc_exit(ret,) count), | |
b75d00c4 MD |
564 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))), |
565 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
566 | TP_printk() |
567 | ) | |
568 | #endif | |
644d6e9c | 569 | #ifndef OVERRIDE_32_epoll_create1 |
cb3ef14c | 570 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, |
e17f92ba MD |
571 | TP_PROTO(sc_exit(long ret,) int flags), |
572 | TP_ARGS(sc_exit(ret,) flags), | |
b75d00c4 MD |
573 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), |
574 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
575 | TP_printk() |
576 | ) | |
577 | #endif | |
644d6e9c | 578 | #ifndef OVERRIDE_32_inotify_init1 |
cb3ef14c | 579 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, |
e17f92ba MD |
580 | TP_PROTO(sc_exit(long ret,) int flags), |
581 | TP_ARGS(sc_exit(ret,) flags), | |
b75d00c4 MD |
582 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))), |
583 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
584 | TP_printk() |
585 | ) | |
586 | #endif | |
644d6e9c | 587 | #ifndef OVERRIDE_32_syncfs |
cb3ef14c | 588 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, |
e17f92ba MD |
589 | TP_PROTO(sc_exit(long ret,) int fd), |
590 | TP_ARGS(sc_exit(ret,) fd), | |
b75d00c4 MD |
591 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))), |
592 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))), | |
deeaaf53 MD |
593 | TP_printk() |
594 | ) | |
595 | #endif | |
644d6e9c | 596 | #ifndef OVERRIDE_32_kill |
cb3ef14c | 597 | SC_LTTNG_TRACEPOINT_EVENT(kill, |
e17f92ba MD |
598 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
599 | TP_ARGS(sc_exit(ret,) pid, sig), | |
b75d00c4 MD |
600 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), |
601 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), | |
deeaaf53 MD |
602 | TP_printk() |
603 | ) | |
604 | #endif | |
644d6e9c | 605 | #ifndef OVERRIDE_32_signal |
cb3ef14c | 606 | SC_LTTNG_TRACEPOINT_EVENT(signal, |
e17f92ba MD |
607 | TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), |
608 | TP_ARGS(sc_exit(ret,) sig, handler), | |
b75d00c4 MD |
609 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, sig)) sc_inout(__field(__sighandler_t, handler))), |
610 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(sig, sig)) sc_inout(tp_assign(handler, handler))), | |
deeaaf53 MD |
611 | TP_printk() |
612 | ) | |
613 | #endif | |
644d6e9c | 614 | #ifndef OVERRIDE_32_setpgid |
cb3ef14c | 615 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, |
e17f92ba MD |
616 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), |
617 | TP_ARGS(sc_exit(ret,) pid, pgid), | |
b75d00c4 MD |
618 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(pid_t, pgid))), |
619 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(pgid, pgid))), | |
deeaaf53 MD |
620 | TP_printk() |
621 | ) | |
622 | #endif | |
644d6e9c | 623 | #ifndef OVERRIDE_32_dup2 |
cb3ef14c | 624 | SC_LTTNG_TRACEPOINT_EVENT(dup2, |
e17f92ba MD |
625 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), |
626 | TP_ARGS(sc_exit(ret,) oldfd, newfd), | |
b75d00c4 MD |
627 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd))), |
628 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd))), | |
deeaaf53 MD |
629 | TP_printk() |
630 | ) | |
631 | #endif | |
644d6e9c | 632 | #ifndef OVERRIDE_32_setreuid16 |
cb3ef14c | 633 | SC_LTTNG_TRACEPOINT_EVENT(setreuid16, |
e17f92ba MD |
634 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), |
635 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
b75d00c4 MD |
636 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid))), |
637 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid))), | |
deeaaf53 MD |
638 | TP_printk() |
639 | ) | |
640 | #endif | |
644d6e9c | 641 | #ifndef OVERRIDE_32_setregid16 |
cb3ef14c | 642 | SC_LTTNG_TRACEPOINT_EVENT(setregid16, |
e17f92ba MD |
643 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), |
644 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
b75d00c4 MD |
645 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid))), |
646 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid))), | |
deeaaf53 MD |
647 | TP_printk() |
648 | ) | |
649 | #endif | |
644d6e9c | 650 | #ifndef OVERRIDE_32_munmap |
cb3ef14c | 651 | SC_LTTNG_TRACEPOINT_EVENT(munmap, |
e17f92ba MD |
652 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), |
653 | TP_ARGS(sc_exit(ret,) addr, len), | |
b75d00c4 MD |
654 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(size_t, len))), |
655 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
656 | TP_printk() |
657 | ) | |
658 | #endif | |
644d6e9c | 659 | #ifndef OVERRIDE_32_ftruncate |
cb3ef14c | 660 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, |
e17f92ba MD |
661 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), |
662 | TP_ARGS(sc_exit(ret,) fd, length), | |
b75d00c4 MD |
663 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned long, length))), |
664 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(length, length))), | |
deeaaf53 MD |
665 | TP_printk() |
666 | ) | |
667 | #endif | |
644d6e9c | 668 | #ifndef OVERRIDE_32_fchmod |
cb3ef14c | 669 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, |
e17f92ba MD |
670 | TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), |
671 | TP_ARGS(sc_exit(ret,) fd, mode), | |
b75d00c4 MD |
672 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(mode_t, mode))), |
673 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
674 | TP_printk() |
675 | ) | |
676 | #endif | |
644d6e9c | 677 | #ifndef OVERRIDE_32_getpriority |
cb3ef14c | 678 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, |
e17f92ba MD |
679 | TP_PROTO(sc_exit(long ret,) int which, int who), |
680 | TP_ARGS(sc_exit(ret,) which, who), | |
b75d00c4 MD |
681 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), |
682 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), | |
deeaaf53 MD |
683 | TP_printk() |
684 | ) | |
685 | #endif | |
644d6e9c | 686 | #ifndef OVERRIDE_32_bdflush |
cb3ef14c | 687 | SC_LTTNG_TRACEPOINT_EVENT(bdflush, |
e17f92ba MD |
688 | TP_PROTO(sc_exit(long ret,) int func, long data), |
689 | TP_ARGS(sc_exit(ret,) func, data), | |
b75d00c4 MD |
690 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, func)) sc_inout(__field(long, data))), |
691 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(func, func)) sc_inout(tp_assign(data, data))), | |
deeaaf53 MD |
692 | TP_printk() |
693 | ) | |
694 | #endif | |
644d6e9c | 695 | #ifndef OVERRIDE_32_flock |
cb3ef14c | 696 | SC_LTTNG_TRACEPOINT_EVENT(flock, |
e17f92ba MD |
697 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), |
698 | TP_ARGS(sc_exit(ret,) fd, cmd), | |
b75d00c4 MD |
699 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd))), |
700 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd))), | |
deeaaf53 MD |
701 | TP_printk() |
702 | ) | |
703 | #endif | |
644d6e9c | 704 | #ifndef OVERRIDE_32_mlock |
cb3ef14c | 705 | SC_LTTNG_TRACEPOINT_EVENT(mlock, |
e17f92ba MD |
706 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
707 | TP_ARGS(sc_exit(ret,) start, len), | |
b75d00c4 MD |
708 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), |
709 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
710 | TP_printk() |
711 | ) | |
712 | #endif | |
644d6e9c | 713 | #ifndef OVERRIDE_32_munlock |
cb3ef14c | 714 | SC_LTTNG_TRACEPOINT_EVENT(munlock, |
e17f92ba MD |
715 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
716 | TP_ARGS(sc_exit(ret,) start, len), | |
b75d00c4 MD |
717 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len))), |
718 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
719 | TP_printk() |
720 | ) | |
721 | #endif | |
644d6e9c | 722 | #ifndef OVERRIDE_32_setreuid |
cb3ef14c | 723 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, |
e17f92ba MD |
724 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), |
725 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
b75d00c4 MD |
726 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid))), |
727 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid))), | |
deeaaf53 MD |
728 | TP_printk() |
729 | ) | |
730 | #endif | |
644d6e9c | 731 | #ifndef OVERRIDE_32_setregid |
cb3ef14c | 732 | SC_LTTNG_TRACEPOINT_EVENT(setregid, |
e17f92ba MD |
733 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), |
734 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
b75d00c4 MD |
735 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid))), |
736 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid))), | |
deeaaf53 MD |
737 | TP_printk() |
738 | ) | |
739 | #endif | |
644d6e9c | 740 | #ifndef OVERRIDE_32_tkill |
cb3ef14c | 741 | SC_LTTNG_TRACEPOINT_EVENT(tkill, |
e17f92ba MD |
742 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
743 | TP_ARGS(sc_exit(ret,) pid, sig), | |
b75d00c4 MD |
744 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), |
745 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), | |
deeaaf53 MD |
746 | TP_printk() |
747 | ) | |
748 | #endif | |
644d6e9c | 749 | #ifndef OVERRIDE_32_ioprio_get |
cb3ef14c | 750 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, |
e17f92ba MD |
751 | TP_PROTO(sc_exit(long ret,) int which, int who), |
752 | TP_ARGS(sc_exit(ret,) which, who), | |
b75d00c4 MD |
753 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))), |
754 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))), | |
deeaaf53 MD |
755 | TP_printk() |
756 | ) | |
757 | #endif | |
644d6e9c | 758 | #ifndef OVERRIDE_32_inotify_rm_watch |
cb3ef14c | 759 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, |
e17f92ba MD |
760 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), |
761 | TP_ARGS(sc_exit(ret,) fd, wd), | |
b75d00c4 MD |
762 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))), |
763 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))), | |
deeaaf53 MD |
764 | TP_printk() |
765 | ) | |
766 | #endif | |
644d6e9c | 767 | #ifndef OVERRIDE_32_timerfd_create |
cb3ef14c | 768 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, |
e17f92ba MD |
769 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), |
770 | TP_ARGS(sc_exit(ret,) clockid, flags), | |
b75d00c4 MD |
771 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))), |
772 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
773 | TP_printk() |
774 | ) | |
775 | #endif | |
644d6e9c | 776 | #ifndef OVERRIDE_32_eventfd2 |
cb3ef14c | 777 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, |
e17f92ba MD |
778 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), |
779 | TP_ARGS(sc_exit(ret,) count, flags), | |
b75d00c4 MD |
780 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))), |
781 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
782 | TP_printk() |
783 | ) | |
784 | #endif | |
644d6e9c | 785 | #ifndef OVERRIDE_32_fanotify_init |
cb3ef14c | 786 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, |
e17f92ba MD |
787 | TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), |
788 | TP_ARGS(sc_exit(ret,) flags, event_f_flags), | |
b75d00c4 MD |
789 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, flags)) sc_in(__field(unsigned int, event_f_flags))), |
790 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(event_f_flags, event_f_flags))), | |
deeaaf53 MD |
791 | TP_printk() |
792 | ) | |
793 | #endif | |
644d6e9c | 794 | #ifndef OVERRIDE_32_setns |
cb3ef14c | 795 | SC_LTTNG_TRACEPOINT_EVENT(setns, |
e17f92ba MD |
796 | TP_PROTO(sc_exit(long ret,) int fd, int nstype), |
797 | TP_ARGS(sc_exit(ret,) fd, nstype), | |
b75d00c4 MD |
798 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))), |
799 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))), | |
deeaaf53 MD |
800 | TP_printk() |
801 | ) | |
802 | #endif | |
644d6e9c | 803 | #ifndef OVERRIDE_32_lseek |
cb3ef14c | 804 | SC_LTTNG_TRACEPOINT_EVENT(lseek, |
e17f92ba MD |
805 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), |
806 | TP_ARGS(sc_exit(ret,) fd, offset, origin), | |
b75d00c4 MD |
807 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(off_t, offset)) sc_in(__field(unsigned int, origin))), |
808 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(origin, origin))), | |
deeaaf53 MD |
809 | TP_printk() |
810 | ) | |
811 | #endif | |
644d6e9c | 812 | #ifndef OVERRIDE_32_ioctl |
cb3ef14c | 813 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, |
e17f92ba MD |
814 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
815 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
b75d00c4 MD |
816 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), |
817 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), | |
deeaaf53 MD |
818 | TP_printk() |
819 | ) | |
820 | #endif | |
644d6e9c | 821 | #ifndef OVERRIDE_32_fcntl |
cb3ef14c | 822 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, |
e17f92ba MD |
823 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
824 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
b75d00c4 MD |
825 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), |
826 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), | |
deeaaf53 MD |
827 | TP_printk() |
828 | ) | |
829 | #endif | |
644d6e9c | 830 | #ifndef OVERRIDE_32_fchown16 |
cb3ef14c | 831 | SC_LTTNG_TRACEPOINT_EVENT(fchown16, |
e17f92ba MD |
832 | TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), |
833 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
b75d00c4 MD |
834 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), |
835 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), | |
deeaaf53 MD |
836 | TP_printk() |
837 | ) | |
838 | #endif | |
644d6e9c | 839 | #ifndef OVERRIDE_32_setpriority |
cb3ef14c | 840 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, |
e17f92ba MD |
841 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), |
842 | TP_ARGS(sc_exit(ret,) which, who, niceval), | |
b75d00c4 MD |
843 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))), |
844 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(niceval, niceval))), | |
deeaaf53 MD |
845 | TP_printk() |
846 | ) | |
847 | #endif | |
644d6e9c | 848 | #ifndef OVERRIDE_32_mprotect |
cb3ef14c | 849 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, |
e17f92ba MD |
850 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), |
851 | TP_ARGS(sc_exit(ret,) start, len, prot), | |
b75d00c4 MD |
852 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(unsigned long, prot))), |
853 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(prot, prot))), | |
deeaaf53 MD |
854 | TP_printk() |
855 | ) | |
856 | #endif | |
644d6e9c | 857 | #ifndef OVERRIDE_32_sysfs |
cb3ef14c | 858 | SC_LTTNG_TRACEPOINT_EVENT(sysfs, |
e17f92ba MD |
859 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), |
860 | TP_ARGS(sc_exit(ret,) option, arg1, arg2), | |
b75d00c4 MD |
861 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_in(__field(unsigned long, arg1)) sc_in(__field(unsigned long, arg2))), |
862 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_in(tp_assign(arg1, arg1)) sc_in(tp_assign(arg2, arg2))), | |
deeaaf53 MD |
863 | TP_printk() |
864 | ) | |
865 | #endif | |
644d6e9c | 866 | #ifndef OVERRIDE_32_msync |
cb3ef14c | 867 | SC_LTTNG_TRACEPOINT_EVENT(msync, |
e17f92ba MD |
868 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), |
869 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
b75d00c4 MD |
870 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_in(__field(int, flags))), |
871 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
872 | TP_printk() |
873 | ) | |
874 | #endif | |
644d6e9c | 875 | #ifndef OVERRIDE_32_setresuid16 |
cb3ef14c | 876 | SC_LTTNG_TRACEPOINT_EVENT(setresuid16, |
e17f92ba MD |
877 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), |
878 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
b75d00c4 MD |
879 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid)) sc_inout(__field(old_uid_t, suid))), |
880 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid)) sc_inout(tp_assign(suid, suid))), | |
deeaaf53 MD |
881 | TP_printk() |
882 | ) | |
883 | #endif | |
644d6e9c | 884 | #ifndef OVERRIDE_32_setresgid16 |
cb3ef14c | 885 | SC_LTTNG_TRACEPOINT_EVENT(setresgid16, |
e17f92ba MD |
886 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), |
887 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
b75d00c4 MD |
888 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid)) sc_inout(__field(old_gid_t, sgid))), |
889 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid)) sc_inout(tp_assign(sgid, sgid))), | |
deeaaf53 MD |
890 | TP_printk() |
891 | ) | |
892 | #endif | |
644d6e9c | 893 | #ifndef OVERRIDE_32_fchown |
cb3ef14c | 894 | SC_LTTNG_TRACEPOINT_EVENT(fchown, |
e17f92ba MD |
895 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), |
896 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
b75d00c4 MD |
897 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), |
898 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), | |
deeaaf53 MD |
899 | TP_printk() |
900 | ) | |
901 | #endif | |
644d6e9c | 902 | #ifndef OVERRIDE_32_setresuid |
cb3ef14c | 903 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, |
e17f92ba MD |
904 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), |
905 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
b75d00c4 MD |
906 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(uid_t, ruid)) sc_in(__field(uid_t, euid)) sc_in(__field(uid_t, suid))), |
907 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ruid, ruid)) sc_in(tp_assign(euid, euid)) sc_in(tp_assign(suid, suid))), | |
deeaaf53 MD |
908 | TP_printk() |
909 | ) | |
910 | #endif | |
644d6e9c | 911 | #ifndef OVERRIDE_32_setresgid |
cb3ef14c | 912 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, |
e17f92ba MD |
913 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), |
914 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
b75d00c4 MD |
915 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(gid_t, rgid)) sc_in(__field(gid_t, egid)) sc_in(__field(gid_t, sgid))), |
916 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rgid, rgid)) sc_in(tp_assign(egid, egid)) sc_in(tp_assign(sgid, sgid))), | |
deeaaf53 MD |
917 | TP_printk() |
918 | ) | |
919 | #endif | |
644d6e9c | 920 | #ifndef OVERRIDE_32_madvise |
cb3ef14c | 921 | SC_LTTNG_TRACEPOINT_EVENT(madvise, |
e17f92ba MD |
922 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), |
923 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), | |
b75d00c4 MD |
924 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len_in)) sc_in(__field(int, behavior))), |
925 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len_in, len_in)) sc_in(tp_assign(behavior, behavior))), | |
deeaaf53 MD |
926 | TP_printk() |
927 | ) | |
928 | #endif | |
644d6e9c | 929 | #ifndef OVERRIDE_32_fcntl64 |
cb3ef14c | 930 | SC_LTTNG_TRACEPOINT_EVENT(fcntl64, |
e17f92ba MD |
931 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
932 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
b75d00c4 MD |
933 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))), |
934 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))), | |
deeaaf53 MD |
935 | TP_printk() |
936 | ) | |
937 | #endif | |
644d6e9c | 938 | #ifndef OVERRIDE_32_tgkill |
cb3ef14c | 939 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, |
e17f92ba MD |
940 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), |
941 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), | |
b75d00c4 MD |
942 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))), |
943 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))), | |
deeaaf53 MD |
944 | TP_printk() |
945 | ) | |
946 | #endif | |
644d6e9c | 947 | #ifndef OVERRIDE_32_ioprio_set |
cb3ef14c | 948 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, |
e17f92ba MD |
949 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), |
950 | TP_ARGS(sc_exit(ret,) which, who, ioprio), | |
b75d00c4 MD |
951 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))), |
952 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who)) sc_in(tp_assign(ioprio, ioprio))), | |
deeaaf53 MD |
953 | TP_printk() |
954 | ) | |
955 | #endif | |
644d6e9c | 956 | #ifndef OVERRIDE_32_dup3 |
cb3ef14c | 957 | SC_LTTNG_TRACEPOINT_EVENT(dup3, |
e17f92ba MD |
958 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), |
959 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), | |
b75d00c4 MD |
960 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, oldfd)) sc_in(__field(unsigned int, newfd)) sc_in(__field(int, flags))), |
961 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(oldfd, oldfd)) sc_in(tp_assign(newfd, newfd)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
962 | TP_printk() |
963 | ) | |
964 | #endif | |
644d6e9c | 965 | #ifndef OVERRIDE_32_ptrace |
cb3ef14c | 966 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, |
e17f92ba MD |
967 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), |
968 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), | |
b75d00c4 MD |
969 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(long, request)) sc_in(__field(long, pid)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, data))), |
970 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(request, request)) sc_in(tp_assign(pid, pid)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(data, data))), | |
deeaaf53 MD |
971 | TP_printk() |
972 | ) | |
973 | #endif | |
644d6e9c | 974 | #ifndef OVERRIDE_32_tee |
cb3ef14c | 975 | SC_LTTNG_TRACEPOINT_EVENT(tee, |
e17f92ba MD |
976 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), |
977 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), | |
b75d00c4 MD |
978 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fdin)) sc_in(__field(int, fdout)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), |
979 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fdin, fdin)) sc_in(tp_assign(fdout, fdout)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
980 | TP_printk() |
981 | ) | |
982 | #endif | |
644d6e9c | 983 | #ifndef OVERRIDE_32_mremap |
cb3ef14c | 984 | SC_LTTNG_TRACEPOINT_EVENT(mremap, |
e17f92ba MD |
985 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), |
986 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), | |
b75d00c4 MD |
987 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, old_len)) sc_in(__field(unsigned long, new_len)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(unsigned long, new_addr))), |
988 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(old_len, old_len)) sc_in(tp_assign(new_len, new_len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_addr, new_addr))), | |
deeaaf53 MD |
989 | TP_printk() |
990 | ) | |
991 | #endif | |
644d6e9c | 992 | #ifndef OVERRIDE_32_prctl |
cb3ef14c | 993 | SC_LTTNG_TRACEPOINT_EVENT(prctl, |
e17f92ba MD |
994 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
995 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
b75d00c4 MD |
996 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_in(__field(unsigned long, arg3)) sc_in(__field(unsigned long, arg4)) sc_in(__field(unsigned long, arg5))), |
997 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_in(tp_assign(arg3, arg3)) sc_in(tp_assign(arg4, arg4)) sc_in(tp_assign(arg5, arg5))), | |
deeaaf53 MD |
998 | TP_printk() |
999 | ) | |
1000 | #endif | |
644d6e9c | 1001 | #ifndef OVERRIDE_32_remap_file_pages |
cb3ef14c | 1002 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, |
e17f92ba MD |
1003 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), |
1004 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), | |
b75d00c4 MD |
1005 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, size)) sc_in(__field(unsigned long, prot)) sc_in(__field(unsigned long, pgoff)) sc_in(__field(unsigned long, flags))), |
1006 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(size, size)) sc_in(tp_assign(prot, prot)) sc_in(tp_assign(pgoff, pgoff)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1007 | TP_printk() |
1008 | ) | |
1009 | #endif | |
644d6e9c | 1010 | #ifndef OVERRIDE_32_keyctl |
cb3ef14c | 1011 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, |
e17f92ba MD |
1012 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
1013 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
b75d00c4 MD |
1014 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, option)) sc_inout(__field(unsigned long, arg2)) sc_inout(__field(unsigned long, arg3)) sc_inout(__field(unsigned long, arg4)) sc_inout(__field(unsigned long, arg5))), |
1015 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(option, option)) sc_inout(tp_assign(arg2, arg2)) sc_inout(tp_assign(arg3, arg3)) sc_inout(tp_assign(arg4, arg4)) sc_inout(tp_assign(arg5, arg5))), | |
deeaaf53 MD |
1016 | TP_printk() |
1017 | ) | |
1018 | #endif | |
644d6e9c | 1019 | #ifndef OVERRIDE_32_mmap_pgoff |
cb3ef14c | 1020 | SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, |
e17f92ba MD |
1021 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), |
1022 | TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), | |
b75d00c4 MD |
1023 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, len)) sc_inout(__field(unsigned long, prot)) sc_inout(__field(unsigned long, flags)) sc_inout(__field(unsigned long, fd)) sc_inout(__field(unsigned long, pgoff))), |
1024 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(prot, prot)) sc_inout(tp_assign(flags, flags)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(pgoff, pgoff))), | |
deeaaf53 MD |
1025 | TP_printk() |
1026 | ) | |
1027 | #endif | |
1028 | ||
1029 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
1030 | ||
1031 | /* This part must be outside protection */ | |
1032 | #include "../../../probes/define_trace.h" | |
1033 | ||
1034 | #else /* CREATE_SYSCALL_TABLE */ | |
1035 | ||
1036 | #include "x86-32-syscalls-3.1.0-rc6_integers_override.h" | |
daaf627a | 1037 | #include "syscalls_integers_override.h" |
deeaaf53 | 1038 | |
e17f92ba | 1039 | #ifdef SC_ENTER |
644d6e9c MD |
1040 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
1041 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) | |
deeaaf53 | 1042 | #endif |
644d6e9c MD |
1043 | #ifndef OVERRIDE_TABLE_32_getpid |
1044 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) | |
deeaaf53 | 1045 | #endif |
644d6e9c MD |
1046 | #ifndef OVERRIDE_TABLE_32_getuid16 |
1047 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) | |
deeaaf53 | 1048 | #endif |
644d6e9c MD |
1049 | #ifndef OVERRIDE_TABLE_32_pause |
1050 | TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) | |
deeaaf53 | 1051 | #endif |
644d6e9c MD |
1052 | #ifndef OVERRIDE_TABLE_32_sync |
1053 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) | |
deeaaf53 | 1054 | #endif |
644d6e9c MD |
1055 | #ifndef OVERRIDE_TABLE_32_getgid16 |
1056 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) | |
deeaaf53 | 1057 | #endif |
644d6e9c MD |
1058 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
1059 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) | |
deeaaf53 | 1060 | #endif |
644d6e9c MD |
1061 | #ifndef OVERRIDE_TABLE_32_getegid16 |
1062 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) | |
deeaaf53 | 1063 | #endif |
644d6e9c MD |
1064 | #ifndef OVERRIDE_TABLE_32_getppid |
1065 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) | |
deeaaf53 | 1066 | #endif |
644d6e9c MD |
1067 | #ifndef OVERRIDE_TABLE_32_getpgrp |
1068 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) | |
deeaaf53 | 1069 | #endif |
644d6e9c MD |
1070 | #ifndef OVERRIDE_TABLE_32_setsid |
1071 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) | |
deeaaf53 | 1072 | #endif |
644d6e9c MD |
1073 | #ifndef OVERRIDE_TABLE_32_sgetmask |
1074 | TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) | |
deeaaf53 | 1075 | #endif |
644d6e9c MD |
1076 | #ifndef OVERRIDE_TABLE_32_vhangup |
1077 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) | |
deeaaf53 | 1078 | #endif |
644d6e9c MD |
1079 | #ifndef OVERRIDE_TABLE_32_munlockall |
1080 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) | |
deeaaf53 | 1081 | #endif |
644d6e9c MD |
1082 | #ifndef OVERRIDE_TABLE_32_sched_yield |
1083 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) | |
deeaaf53 | 1084 | #endif |
644d6e9c MD |
1085 | #ifndef OVERRIDE_TABLE_32_getuid |
1086 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) | |
deeaaf53 | 1087 | #endif |
644d6e9c MD |
1088 | #ifndef OVERRIDE_TABLE_32_getgid |
1089 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) | |
deeaaf53 | 1090 | #endif |
644d6e9c MD |
1091 | #ifndef OVERRIDE_TABLE_32_geteuid |
1092 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) | |
deeaaf53 | 1093 | #endif |
644d6e9c MD |
1094 | #ifndef OVERRIDE_TABLE_32_getegid |
1095 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) | |
deeaaf53 | 1096 | #endif |
644d6e9c MD |
1097 | #ifndef OVERRIDE_TABLE_32_gettid |
1098 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) | |
deeaaf53 | 1099 | #endif |
644d6e9c MD |
1100 | #ifndef OVERRIDE_TABLE_32_inotify_init |
1101 | TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) | |
deeaaf53 | 1102 | #endif |
e17f92ba | 1103 | #else /* #ifdef SC_ENTER */ |
644d6e9c MD |
1104 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
1105 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) | |
e17f92ba | 1106 | #endif |
644d6e9c MD |
1107 | #ifndef OVERRIDE_TABLE_32_getpid |
1108 | TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) | |
e17f92ba | 1109 | #endif |
644d6e9c MD |
1110 | #ifndef OVERRIDE_TABLE_32_getuid16 |
1111 | TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) | |
e17f92ba | 1112 | #endif |
644d6e9c MD |
1113 | #ifndef OVERRIDE_TABLE_32_pause |
1114 | TRACE_SYSCALL_TABLE(pause, pause, 29, 0) | |
e17f92ba | 1115 | #endif |
644d6e9c MD |
1116 | #ifndef OVERRIDE_TABLE_32_sync |
1117 | TRACE_SYSCALL_TABLE(sync, sync, 36, 0) | |
e17f92ba | 1118 | #endif |
644d6e9c MD |
1119 | #ifndef OVERRIDE_TABLE_32_getgid16 |
1120 | TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) | |
e17f92ba | 1121 | #endif |
644d6e9c MD |
1122 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
1123 | TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) | |
e17f92ba | 1124 | #endif |
644d6e9c MD |
1125 | #ifndef OVERRIDE_TABLE_32_getegid16 |
1126 | TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) | |
e17f92ba | 1127 | #endif |
644d6e9c MD |
1128 | #ifndef OVERRIDE_TABLE_32_getppid |
1129 | TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) | |
e17f92ba | 1130 | #endif |
644d6e9c MD |
1131 | #ifndef OVERRIDE_TABLE_32_getpgrp |
1132 | TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) | |
e17f92ba | 1133 | #endif |
644d6e9c MD |
1134 | #ifndef OVERRIDE_TABLE_32_setsid |
1135 | TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) | |
e17f92ba | 1136 | #endif |
644d6e9c MD |
1137 | #ifndef OVERRIDE_TABLE_32_sgetmask |
1138 | TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) | |
e17f92ba | 1139 | #endif |
644d6e9c MD |
1140 | #ifndef OVERRIDE_TABLE_32_vhangup |
1141 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) | |
e17f92ba | 1142 | #endif |
644d6e9c MD |
1143 | #ifndef OVERRIDE_TABLE_32_munlockall |
1144 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) | |
e17f92ba | 1145 | #endif |
644d6e9c MD |
1146 | #ifndef OVERRIDE_TABLE_32_sched_yield |
1147 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) | |
e17f92ba | 1148 | #endif |
644d6e9c MD |
1149 | #ifndef OVERRIDE_TABLE_32_getuid |
1150 | TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) | |
e17f92ba | 1151 | #endif |
644d6e9c MD |
1152 | #ifndef OVERRIDE_TABLE_32_getgid |
1153 | TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) | |
e17f92ba | 1154 | #endif |
644d6e9c MD |
1155 | #ifndef OVERRIDE_TABLE_32_geteuid |
1156 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) | |
e17f92ba | 1157 | #endif |
644d6e9c MD |
1158 | #ifndef OVERRIDE_TABLE_32_getegid |
1159 | TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) | |
e17f92ba | 1160 | #endif |
644d6e9c MD |
1161 | #ifndef OVERRIDE_TABLE_32_gettid |
1162 | TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) | |
e17f92ba | 1163 | #endif |
644d6e9c MD |
1164 | #ifndef OVERRIDE_TABLE_32_inotify_init |
1165 | TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0) | |
e17f92ba MD |
1166 | #endif |
1167 | #endif /* else #ifdef SC_ENTER */ | |
644d6e9c MD |
1168 | #ifndef OVERRIDE_TABLE_32_exit |
1169 | TRACE_SYSCALL_TABLE(exit, exit, 1, 1) | |
deeaaf53 | 1170 | #endif |
644d6e9c MD |
1171 | #ifndef OVERRIDE_TABLE_32_close |
1172 | TRACE_SYSCALL_TABLE(close, close, 6, 1) | |
deeaaf53 | 1173 | #endif |
644d6e9c MD |
1174 | #ifndef OVERRIDE_TABLE_32_lseek |
1175 | TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) | |
deeaaf53 | 1176 | #endif |
644d6e9c MD |
1177 | #ifndef OVERRIDE_TABLE_32_setuid16 |
1178 | TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) | |
deeaaf53 | 1179 | #endif |
644d6e9c MD |
1180 | #ifndef OVERRIDE_TABLE_32_ptrace |
1181 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) | |
deeaaf53 | 1182 | #endif |
644d6e9c MD |
1183 | #ifndef OVERRIDE_TABLE_32_alarm |
1184 | TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) | |
deeaaf53 | 1185 | #endif |
644d6e9c MD |
1186 | #ifndef OVERRIDE_TABLE_32_nice |
1187 | TRACE_SYSCALL_TABLE(nice, nice, 34, 1) | |
deeaaf53 | 1188 | #endif |
644d6e9c MD |
1189 | #ifndef OVERRIDE_TABLE_32_kill |
1190 | TRACE_SYSCALL_TABLE(kill, kill, 37, 2) | |
deeaaf53 | 1191 | #endif |
644d6e9c MD |
1192 | #ifndef OVERRIDE_TABLE_32_dup |
1193 | TRACE_SYSCALL_TABLE(dup, dup, 41, 1) | |
deeaaf53 | 1194 | #endif |
644d6e9c MD |
1195 | #ifndef OVERRIDE_TABLE_32_brk |
1196 | TRACE_SYSCALL_TABLE(brk, brk, 45, 1) | |
deeaaf53 | 1197 | #endif |
644d6e9c MD |
1198 | #ifndef OVERRIDE_TABLE_32_setgid16 |
1199 | TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) | |
deeaaf53 | 1200 | #endif |
644d6e9c MD |
1201 | #ifndef OVERRIDE_TABLE_32_signal |
1202 | TRACE_SYSCALL_TABLE(signal, signal, 48, 2) | |
deeaaf53 | 1203 | #endif |
644d6e9c MD |
1204 | #ifndef OVERRIDE_TABLE_32_ioctl |
1205 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) | |
deeaaf53 | 1206 | #endif |
644d6e9c MD |
1207 | #ifndef OVERRIDE_TABLE_32_fcntl |
1208 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) | |
deeaaf53 | 1209 | #endif |
644d6e9c MD |
1210 | #ifndef OVERRIDE_TABLE_32_setpgid |
1211 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) | |
deeaaf53 | 1212 | #endif |
644d6e9c MD |
1213 | #ifndef OVERRIDE_TABLE_32_umask |
1214 | TRACE_SYSCALL_TABLE(umask, umask, 60, 1) | |
deeaaf53 | 1215 | #endif |
644d6e9c MD |
1216 | #ifndef OVERRIDE_TABLE_32_dup2 |
1217 | TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) | |
deeaaf53 | 1218 | #endif |
644d6e9c MD |
1219 | #ifndef OVERRIDE_TABLE_32_ssetmask |
1220 | TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) | |
deeaaf53 | 1221 | #endif |
644d6e9c MD |
1222 | #ifndef OVERRIDE_TABLE_32_setreuid16 |
1223 | TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) | |
deeaaf53 | 1224 | #endif |
644d6e9c MD |
1225 | #ifndef OVERRIDE_TABLE_32_setregid16 |
1226 | TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) | |
deeaaf53 | 1227 | #endif |
644d6e9c MD |
1228 | #ifndef OVERRIDE_TABLE_32_munmap |
1229 | TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) | |
deeaaf53 | 1230 | #endif |
644d6e9c MD |
1231 | #ifndef OVERRIDE_TABLE_32_ftruncate |
1232 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) | |
deeaaf53 | 1233 | #endif |
644d6e9c MD |
1234 | #ifndef OVERRIDE_TABLE_32_fchmod |
1235 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) | |
deeaaf53 | 1236 | #endif |
644d6e9c MD |
1237 | #ifndef OVERRIDE_TABLE_32_fchown16 |
1238 | TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) | |
deeaaf53 | 1239 | #endif |
644d6e9c MD |
1240 | #ifndef OVERRIDE_TABLE_32_getpriority |
1241 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) | |
deeaaf53 | 1242 | #endif |
644d6e9c MD |
1243 | #ifndef OVERRIDE_TABLE_32_setpriority |
1244 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) | |
deeaaf53 | 1245 | #endif |
644d6e9c MD |
1246 | #ifndef OVERRIDE_TABLE_32_fsync |
1247 | TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) | |
deeaaf53 | 1248 | #endif |
644d6e9c MD |
1249 | #ifndef OVERRIDE_TABLE_32_mprotect |
1250 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) | |
deeaaf53 | 1251 | #endif |
644d6e9c MD |
1252 | #ifndef OVERRIDE_TABLE_32_getpgid |
1253 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) | |
deeaaf53 | 1254 | #endif |
644d6e9c MD |
1255 | #ifndef OVERRIDE_TABLE_32_fchdir |
1256 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) | |
deeaaf53 | 1257 | #endif |
644d6e9c MD |
1258 | #ifndef OVERRIDE_TABLE_32_bdflush |
1259 | TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) | |
deeaaf53 | 1260 | #endif |
644d6e9c MD |
1261 | #ifndef OVERRIDE_TABLE_32_sysfs |
1262 | TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) | |
deeaaf53 | 1263 | #endif |
644d6e9c MD |
1264 | #ifndef OVERRIDE_TABLE_32_personality |
1265 | TRACE_SYSCALL_TABLE(personality, personality, 136, 1) | |
deeaaf53 | 1266 | #endif |
644d6e9c MD |
1267 | #ifndef OVERRIDE_TABLE_32_setfsuid16 |
1268 | TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) | |
deeaaf53 | 1269 | #endif |
644d6e9c MD |
1270 | #ifndef OVERRIDE_TABLE_32_setfsgid16 |
1271 | TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) | |
deeaaf53 | 1272 | #endif |
644d6e9c MD |
1273 | #ifndef OVERRIDE_TABLE_32_flock |
1274 | TRACE_SYSCALL_TABLE(flock, flock, 143, 2) | |
deeaaf53 | 1275 | #endif |
644d6e9c MD |
1276 | #ifndef OVERRIDE_TABLE_32_msync |
1277 | TRACE_SYSCALL_TABLE(msync, msync, 144, 3) | |
deeaaf53 | 1278 | #endif |
644d6e9c MD |
1279 | #ifndef OVERRIDE_TABLE_32_getsid |
1280 | TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) | |
deeaaf53 | 1281 | #endif |
644d6e9c MD |
1282 | #ifndef OVERRIDE_TABLE_32_fdatasync |
1283 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) | |
deeaaf53 | 1284 | #endif |
644d6e9c MD |
1285 | #ifndef OVERRIDE_TABLE_32_mlock |
1286 | TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) | |
deeaaf53 | 1287 | #endif |
644d6e9c MD |
1288 | #ifndef OVERRIDE_TABLE_32_munlock |
1289 | TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) | |
deeaaf53 | 1290 | #endif |
644d6e9c MD |
1291 | #ifndef OVERRIDE_TABLE_32_mlockall |
1292 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) | |
deeaaf53 | 1293 | #endif |
644d6e9c MD |
1294 | #ifndef OVERRIDE_TABLE_32_sched_getscheduler |
1295 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) | |
deeaaf53 | 1296 | #endif |
644d6e9c MD |
1297 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_max |
1298 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) | |
deeaaf53 | 1299 | #endif |
644d6e9c MD |
1300 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_min |
1301 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) | |
deeaaf53 | 1302 | #endif |
644d6e9c MD |
1303 | #ifndef OVERRIDE_TABLE_32_mremap |
1304 | TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) | |
deeaaf53 | 1305 | #endif |
644d6e9c MD |
1306 | #ifndef OVERRIDE_TABLE_32_setresuid16 |
1307 | TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) | |
deeaaf53 | 1308 | #endif |
644d6e9c MD |
1309 | #ifndef OVERRIDE_TABLE_32_setresgid16 |
1310 | TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) | |
deeaaf53 | 1311 | #endif |
644d6e9c MD |
1312 | #ifndef OVERRIDE_TABLE_32_prctl |
1313 | TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) | |
deeaaf53 | 1314 | #endif |
644d6e9c MD |
1315 | #ifndef OVERRIDE_TABLE_32_mmap_pgoff |
1316 | TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) | |
deeaaf53 | 1317 | #endif |
644d6e9c MD |
1318 | #ifndef OVERRIDE_TABLE_32_setreuid |
1319 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) | |
deeaaf53 | 1320 | #endif |
644d6e9c MD |
1321 | #ifndef OVERRIDE_TABLE_32_setregid |
1322 | TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) | |
deeaaf53 | 1323 | #endif |
644d6e9c MD |
1324 | #ifndef OVERRIDE_TABLE_32_fchown |
1325 | TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) | |
deeaaf53 | 1326 | #endif |
644d6e9c MD |
1327 | #ifndef OVERRIDE_TABLE_32_setresuid |
1328 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) | |
deeaaf53 | 1329 | #endif |
644d6e9c MD |
1330 | #ifndef OVERRIDE_TABLE_32_setresgid |
1331 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) | |
deeaaf53 | 1332 | #endif |
644d6e9c MD |
1333 | #ifndef OVERRIDE_TABLE_32_setuid |
1334 | TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) | |
deeaaf53 | 1335 | #endif |
644d6e9c MD |
1336 | #ifndef OVERRIDE_TABLE_32_setgid |
1337 | TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) | |
deeaaf53 | 1338 | #endif |
644d6e9c MD |
1339 | #ifndef OVERRIDE_TABLE_32_setfsuid |
1340 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) | |
deeaaf53 | 1341 | #endif |
644d6e9c MD |
1342 | #ifndef OVERRIDE_TABLE_32_setfsgid |
1343 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) | |
deeaaf53 | 1344 | #endif |
644d6e9c MD |
1345 | #ifndef OVERRIDE_TABLE_32_madvise |
1346 | TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) | |
deeaaf53 | 1347 | #endif |
644d6e9c MD |
1348 | #ifndef OVERRIDE_TABLE_32_fcntl64 |
1349 | TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) | |
deeaaf53 | 1350 | #endif |
644d6e9c MD |
1351 | #ifndef OVERRIDE_TABLE_32_tkill |
1352 | TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) | |
deeaaf53 | 1353 | #endif |
644d6e9c MD |
1354 | #ifndef OVERRIDE_TABLE_32_io_destroy |
1355 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) | |
deeaaf53 | 1356 | #endif |
644d6e9c MD |
1357 | #ifndef OVERRIDE_TABLE_32_exit_group |
1358 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) | |
deeaaf53 | 1359 | #endif |
644d6e9c MD |
1360 | #ifndef OVERRIDE_TABLE_32_epoll_create |
1361 | TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1) | |
deeaaf53 | 1362 | #endif |
644d6e9c MD |
1363 | #ifndef OVERRIDE_TABLE_32_remap_file_pages |
1364 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5) | |
deeaaf53 | 1365 | #endif |
644d6e9c MD |
1366 | #ifndef OVERRIDE_TABLE_32_timer_getoverrun |
1367 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1) | |
deeaaf53 | 1368 | #endif |
644d6e9c MD |
1369 | #ifndef OVERRIDE_TABLE_32_timer_delete |
1370 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) | |
deeaaf53 | 1371 | #endif |
644d6e9c MD |
1372 | #ifndef OVERRIDE_TABLE_32_tgkill |
1373 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) | |
deeaaf53 | 1374 | #endif |
644d6e9c MD |
1375 | #ifndef OVERRIDE_TABLE_32_keyctl |
1376 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) | |
deeaaf53 | 1377 | #endif |
644d6e9c MD |
1378 | #ifndef OVERRIDE_TABLE_32_ioprio_set |
1379 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3) | |
deeaaf53 | 1380 | #endif |
644d6e9c MD |
1381 | #ifndef OVERRIDE_TABLE_32_ioprio_get |
1382 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2) | |
deeaaf53 | 1383 | #endif |
644d6e9c MD |
1384 | #ifndef OVERRIDE_TABLE_32_inotify_rm_watch |
1385 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) | |
deeaaf53 | 1386 | #endif |
644d6e9c MD |
1387 | #ifndef OVERRIDE_TABLE_32_unshare |
1388 | TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) | |
deeaaf53 | 1389 | #endif |
644d6e9c MD |
1390 | #ifndef OVERRIDE_TABLE_32_tee |
1391 | TRACE_SYSCALL_TABLE(tee, tee, 315, 4) | |
deeaaf53 | 1392 | #endif |
644d6e9c MD |
1393 | #ifndef OVERRIDE_TABLE_32_timerfd_create |
1394 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) | |
deeaaf53 | 1395 | #endif |
644d6e9c MD |
1396 | #ifndef OVERRIDE_TABLE_32_eventfd |
1397 | TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) | |
deeaaf53 | 1398 | #endif |
644d6e9c MD |
1399 | #ifndef OVERRIDE_TABLE_32_eventfd2 |
1400 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) | |
deeaaf53 | 1401 | #endif |
644d6e9c MD |
1402 | #ifndef OVERRIDE_TABLE_32_epoll_create1 |
1403 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1) | |
deeaaf53 | 1404 | #endif |
644d6e9c MD |
1405 | #ifndef OVERRIDE_TABLE_32_dup3 |
1406 | TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3) | |
deeaaf53 | 1407 | #endif |
644d6e9c MD |
1408 | #ifndef OVERRIDE_TABLE_32_inotify_init1 |
1409 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1) | |
deeaaf53 | 1410 | #endif |
644d6e9c MD |
1411 | #ifndef OVERRIDE_TABLE_32_fanotify_init |
1412 | TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2) | |
deeaaf53 | 1413 | #endif |
644d6e9c MD |
1414 | #ifndef OVERRIDE_TABLE_32_syncfs |
1415 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) | |
deeaaf53 | 1416 | #endif |
644d6e9c MD |
1417 | #ifndef OVERRIDE_TABLE_32_setns |
1418 | TRACE_SYSCALL_TABLE(setns, setns, 346, 2) | |
deeaaf53 MD |
1419 | #endif |
1420 | ||
1421 | #endif /* CREATE_SYSCALL_TABLE */ |