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