syscall tracing: input/output parameter handling for all arch
[lttng-modules.git] / instrumentation / syscalls / headers / mips-32-syscalls-3.13.0_integers.h
CommitLineData
046f293c
LP
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"
046f293c
LP
8#include <linux/syscalls.h>
9#include "mips-32-syscalls-3.13.0_integers_override.h"
10#include "syscalls_integers_override.h"
11
f1e7d826 12#ifdef SC_ENTER
cb3ef14c 13SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
046f293c
LP
14 TP_STRUCT__entry(),
15 TP_fast_assign(),
16 TP_printk()
17)
f1e7d826
MD
18#ifndef OVERRIDE_32_getpid
19SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
046f293c 20#endif
f1e7d826
MD
21#ifndef OVERRIDE_32_getuid
22SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
046f293c 23#endif
f1e7d826
MD
24#ifndef OVERRIDE_32_pause
25SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
046f293c 26#endif
f1e7d826
MD
27#ifndef OVERRIDE_32_sync
28SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
046f293c 29#endif
f1e7d826
MD
30#ifndef OVERRIDE_32_getgid
31SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
046f293c 32#endif
f1e7d826
MD
33#ifndef OVERRIDE_32_geteuid
34SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
046f293c 35#endif
f1e7d826
MD
36#ifndef OVERRIDE_32_getegid
37SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
046f293c 38#endif
f1e7d826
MD
39#ifndef OVERRIDE_32_getppid
40SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
046f293c 41#endif
f1e7d826
MD
42#ifndef OVERRIDE_32_getpgrp
43SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
046f293c 44#endif
f1e7d826
MD
45#ifndef OVERRIDE_32_setsid
46SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
046f293c 47#endif
f1e7d826
MD
48#ifndef OVERRIDE_32_sgetmask
49SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask)
046f293c 50#endif
f1e7d826
MD
51#ifndef OVERRIDE_32_vhangup
52SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
046f293c 53#endif
f1e7d826
MD
54#ifndef OVERRIDE_32_munlockall
55SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
046f293c 56#endif
f1e7d826
MD
57#ifndef OVERRIDE_32_sched_yield
58SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
046f293c 59#endif
f1e7d826
MD
60#ifndef OVERRIDE_32_gettid
61SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
046f293c 62#endif
f1e7d826
MD
63#ifndef OVERRIDE_32_restart_syscall
64SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
046f293c 65#endif
f1e7d826
MD
66#ifndef OVERRIDE_32_inotify_init
67SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
046f293c 68#endif
f1e7d826
MD
69#else /* #ifdef SC_ENTER */
70#ifndef OVERRIDE_32_getpid
71SC_LTTNG_TRACEPOINT_EVENT(getpid,
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))),
046f293c
LP
76 TP_printk()
77)
78#endif
f1e7d826
MD
79#ifndef OVERRIDE_32_getuid
80SC_LTTNG_TRACEPOINT_EVENT(getuid,
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))),
046f293c
LP
85 TP_printk()
86)
87#endif
f1e7d826
MD
88#ifndef OVERRIDE_32_pause
89SC_LTTNG_TRACEPOINT_EVENT(pause,
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))),
046f293c
LP
94 TP_printk()
95)
96#endif
f1e7d826
MD
97#ifndef OVERRIDE_32_sync
98SC_LTTNG_TRACEPOINT_EVENT(sync,
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))),
046f293c
LP
103 TP_printk()
104)
105#endif
f1e7d826
MD
106#ifndef OVERRIDE_32_getgid
107SC_LTTNG_TRACEPOINT_EVENT(getgid,
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))),
046f293c
LP
112 TP_printk()
113)
114#endif
f1e7d826
MD
115#ifndef OVERRIDE_32_geteuid
116SC_LTTNG_TRACEPOINT_EVENT(geteuid,
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))),
046f293c
LP
121 TP_printk()
122)
123#endif
f1e7d826
MD
124#ifndef OVERRIDE_32_getegid
125SC_LTTNG_TRACEPOINT_EVENT(getegid,
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))),
046f293c
LP
130 TP_printk()
131)
132#endif
f1e7d826
MD
133#ifndef OVERRIDE_32_getppid
134SC_LTTNG_TRACEPOINT_EVENT(getppid,
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))),
046f293c
LP
139 TP_printk()
140)
141#endif
f1e7d826
MD
142#ifndef OVERRIDE_32_getpgrp
143SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
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))),
046f293c
LP
148 TP_printk()
149)
150#endif
f1e7d826
MD
151#ifndef OVERRIDE_32_setsid
152SC_LTTNG_TRACEPOINT_EVENT(setsid,
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))),
046f293c
LP
157 TP_printk()
158)
159#endif
f1e7d826
MD
160#ifndef OVERRIDE_32_sgetmask
161SC_LTTNG_TRACEPOINT_EVENT(sgetmask,
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))),
046f293c
LP
166 TP_printk()
167)
168#endif
f1e7d826
MD
169#ifndef OVERRIDE_32_vhangup
170SC_LTTNG_TRACEPOINT_EVENT(vhangup,
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))),
046f293c
LP
175 TP_printk()
176)
177#endif
f1e7d826
MD
178#ifndef OVERRIDE_32_munlockall
179SC_LTTNG_TRACEPOINT_EVENT(munlockall,
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))),
046f293c
LP
184 TP_printk()
185)
186#endif
f1e7d826
MD
187#ifndef OVERRIDE_32_sched_yield
188SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
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))),
046f293c
LP
193 TP_printk()
194)
195#endif
f1e7d826
MD
196#ifndef OVERRIDE_32_gettid
197SC_LTTNG_TRACEPOINT_EVENT(gettid,
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))),
046f293c
LP
202 TP_printk()
203)
204#endif
f1e7d826
MD
205#ifndef OVERRIDE_32_restart_syscall
206SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
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))),
046f293c
LP
211 TP_printk()
212)
213#endif
f1e7d826
MD
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))),
046f293c
LP
220 TP_printk()
221)
222#endif
f1e7d826
MD
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
464 TP_printk()
465)
466#endif
f1e7d826
MD
467#ifndef OVERRIDE_32_set_thread_area
468SC_LTTNG_TRACEPOINT_EVENT(set_thread_area,
469 TP_PROTO(sc_exit(long ret,) unsigned long addr),
470 TP_ARGS(sc_exit(ret,) addr),
471 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr))),
472 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr))),
046f293c
LP
473 TP_printk()
474)
475#endif
f1e7d826
MD
476#ifndef OVERRIDE_32_unshare
477SC_LTTNG_TRACEPOINT_EVENT(unshare,
478 TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags),
479 TP_ARGS(sc_exit(ret,) unshare_flags),
480 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, unshare_flags))),
481 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unshare_flags, unshare_flags))),
046f293c
LP
482 TP_printk()
483)
484#endif
f1e7d826
MD
485#ifndef OVERRIDE_32_eventfd
486SC_LTTNG_TRACEPOINT_EVENT(eventfd,
487 TP_PROTO(sc_exit(long ret,) unsigned int count),
488 TP_ARGS(sc_exit(ret,) count),
489 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count))),
490 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count))),
046f293c
LP
491 TP_printk()
492)
493#endif
f1e7d826
MD
494#ifndef OVERRIDE_32_epoll_create1
495SC_LTTNG_TRACEPOINT_EVENT(epoll_create1,
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))),
046f293c
LP
500 TP_printk()
501)
502#endif
f1e7d826
MD
503#ifndef OVERRIDE_32_inotify_init1
504SC_LTTNG_TRACEPOINT_EVENT(inotify_init1,
505 TP_PROTO(sc_exit(long ret,) int flags),
506 TP_ARGS(sc_exit(ret,) flags),
507 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, flags))),
508 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(flags, flags))),
046f293c
LP
509 TP_printk()
510)
511#endif
f1e7d826
MD
512#ifndef OVERRIDE_32_syncfs
513SC_LTTNG_TRACEPOINT_EVENT(syncfs,
514 TP_PROTO(sc_exit(long ret,) int fd),
515 TP_ARGS(sc_exit(ret,) fd),
516 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd))),
517 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd))),
046f293c
LP
518 TP_printk()
519)
520#endif
f1e7d826
MD
521#ifndef OVERRIDE_32_kill
522SC_LTTNG_TRACEPOINT_EVENT(kill,
523 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
524 TP_ARGS(sc_exit(ret,) pid, sig),
525 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))),
526 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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, umode_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(umode_t, mode))),
589 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
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))),
046f293c
LP
635 TP_printk()
636)
637#endif
f1e7d826
MD
638#ifndef OVERRIDE_32_listen
639SC_LTTNG_TRACEPOINT_EVENT(listen,
640 TP_PROTO(sc_exit(long ret,) int fd, int backlog),
641 TP_ARGS(sc_exit(ret,) fd, backlog),
642 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, backlog))),
643 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(backlog, backlog))),
046f293c
LP
644 TP_printk()
645)
646#endif
f1e7d826
MD
647#ifndef OVERRIDE_32_shutdown
648SC_LTTNG_TRACEPOINT_EVENT(shutdown,
649 TP_PROTO(sc_exit(long ret,) int fd, int how),
650 TP_ARGS(sc_exit(ret,) fd, how),
651 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, how))),
652 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(how, how))),
046f293c
LP
653 TP_printk()
654)
655#endif
f1e7d826
MD
656#ifndef OVERRIDE_32_ftruncate64
657SC_LTTNG_TRACEPOINT_EVENT(ftruncate64,
658 TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length),
659 TP_ARGS(sc_exit(ret,) fd, length),
660 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(loff_t, length))),
661 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(length, length))),
046f293c
LP
662 TP_printk()
663)
664#endif
f1e7d826
MD
665#ifndef OVERRIDE_32_tkill
666SC_LTTNG_TRACEPOINT_EVENT(tkill,
667 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
668 TP_ARGS(sc_exit(ret,) pid, sig),
669 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig))),
670 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig))),
046f293c
LP
671 TP_printk()
672)
673#endif
f1e7d826
MD
674#ifndef OVERRIDE_32_inotify_rm_watch
675SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch,
676 TP_PROTO(sc_exit(long ret,) int fd, __s32 wd),
677 TP_ARGS(sc_exit(ret,) fd, wd),
678 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(__s32, wd))),
679 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(wd, wd))),
046f293c
LP
680 TP_printk()
681)
682#endif
f1e7d826
MD
683#ifndef OVERRIDE_32_ioprio_get
684SC_LTTNG_TRACEPOINT_EVENT(ioprio_get,
685 TP_PROTO(sc_exit(long ret,) int which, int who),
686 TP_ARGS(sc_exit(ret,) which, who),
687 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who))),
688 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(who, who))),
046f293c
LP
689 TP_printk()
690)
691#endif
f1e7d826
MD
692#ifndef OVERRIDE_32_timerfd_create
693SC_LTTNG_TRACEPOINT_EVENT(timerfd_create,
694 TP_PROTO(sc_exit(long ret,) int clockid, int flags),
695 TP_ARGS(sc_exit(ret,) clockid, flags),
696 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, clockid)) sc_in(__field(int, flags))),
697 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(clockid, clockid)) sc_in(tp_assign(flags, flags))),
046f293c
LP
698 TP_printk()
699)
700#endif
f1e7d826
MD
701#ifndef OVERRIDE_32_eventfd2
702SC_LTTNG_TRACEPOINT_EVENT(eventfd2,
703 TP_PROTO(sc_exit(long ret,) unsigned int count, int flags),
704 TP_ARGS(sc_exit(ret,) count, flags),
705 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, count)) sc_in(__field(int, flags))),
706 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(count, count)) sc_in(tp_assign(flags, flags))),
046f293c
LP
707 TP_printk()
708)
709#endif
f1e7d826
MD
710#ifndef OVERRIDE_32_setns
711SC_LTTNG_TRACEPOINT_EVENT(setns,
712 TP_PROTO(sc_exit(long ret,) int fd, int nstype),
713 TP_ARGS(sc_exit(ret,) fd, nstype),
714 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, nstype))),
715 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(nstype, nstype))),
046f293c
LP
716 TP_printk()
717)
718#endif
f1e7d826
MD
719#ifndef OVERRIDE_32_lseek
720SC_LTTNG_TRACEPOINT_EVENT(lseek,
721 TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence),
722 TP_ARGS(sc_exit(ret,) fd, offset, whence),
723 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, whence))),
724 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(whence, whence))),
046f293c
LP
725 TP_printk()
726)
727#endif
f1e7d826
MD
728#ifndef OVERRIDE_32_ioctl
729SC_LTTNG_TRACEPOINT_EVENT(ioctl,
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))),
046f293c
LP
734 TP_printk()
735)
736#endif
f1e7d826
MD
737#ifndef OVERRIDE_32_fcntl
738SC_LTTNG_TRACEPOINT_EVENT(fcntl,
739 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
740 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
741 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))),
742 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))),
046f293c
LP
743 TP_printk()
744)
745#endif
f1e7d826
MD
746#ifndef OVERRIDE_32_fchown
747SC_LTTNG_TRACEPOINT_EVENT(fchown,
748 TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
749 TP_ARGS(sc_exit(ret,) fd, user, group),
750 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))),
751 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))),
046f293c
LP
752 TP_printk()
753)
754#endif
f1e7d826
MD
755#ifndef OVERRIDE_32_setpriority
756SC_LTTNG_TRACEPOINT_EVENT(setpriority,
757 TP_PROTO(sc_exit(long ret,) int which, int who, int niceval),
758 TP_ARGS(sc_exit(ret,) which, who, niceval),
759 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, niceval))),
760 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))),
046f293c
LP
761 TP_printk()
762)
763#endif
f1e7d826
MD
764#ifndef OVERRIDE_32_mprotect
765SC_LTTNG_TRACEPOINT_EVENT(mprotect,
766 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot),
767 TP_ARGS(sc_exit(ret,) start, len, prot),
768 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))),
769 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))),
046f293c
LP
770 TP_printk()
771)
772#endif
f1e7d826
MD
773#ifndef OVERRIDE_32_sysfs
774SC_LTTNG_TRACEPOINT_EVENT(sysfs,
775 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2),
776 TP_ARGS(sc_exit(ret,) option, arg1, arg2),
777 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))),
778 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))),
046f293c
LP
779 TP_printk()
780)
781#endif
f1e7d826
MD
782#ifndef OVERRIDE_32_msync
783SC_LTTNG_TRACEPOINT_EVENT(msync,
784 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
785 TP_ARGS(sc_exit(ret,) start, len, flags),
786 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))),
787 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))),
046f293c
LP
788 TP_printk()
789)
790#endif
f1e7d826
MD
791#ifndef OVERRIDE_32_cacheflush
792SC_LTTNG_TRACEPOINT_EVENT(cacheflush,
793 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache),
794 TP_ARGS(sc_exit(ret,) addr, bytes, cache),
795 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(unsigned long, addr)) sc_inout(__field(unsigned long, bytes)) sc_inout(__field(unsigned int, cache))),
796 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(addr, addr)) sc_inout(tp_assign(bytes, bytes)) sc_inout(tp_assign(cache, cache))),
046f293c
LP
797 TP_printk()
798)
799#endif
f1e7d826
MD
800#ifndef OVERRIDE_32_sysmips
801SC_LTTNG_TRACEPOINT_EVENT(sysmips,
802 TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2),
803 TP_ARGS(sc_exit(ret,) cmd, arg1, arg2),
804 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(long, cmd)) sc_inout(__field(long, arg1)) sc_inout(__field(long, arg2))),
805 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg1, arg1)) sc_inout(tp_assign(arg2, arg2))),
046f293c
LP
806 TP_printk()
807)
808#endif
f1e7d826
MD
809#ifndef OVERRIDE_32_socket
810SC_LTTNG_TRACEPOINT_EVENT(socket,
811 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
812 TP_ARGS(sc_exit(ret,) family, type, protocol),
813 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))),
814 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))),
046f293c
LP
815 TP_printk()
816)
817#endif
f1e7d826
MD
818#ifndef OVERRIDE_32_setresuid
819SC_LTTNG_TRACEPOINT_EVENT(setresuid,
820 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
821 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
822 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))),
823 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))),
824 TP_printk()
825)
826#endif
827#ifndef OVERRIDE_32_setresgid
828SC_LTTNG_TRACEPOINT_EVENT(setresgid,
829 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
830 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
831 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))),
832 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))),
833 TP_printk()
834)
835#endif
836#ifndef OVERRIDE_32_madvise
837SC_LTTNG_TRACEPOINT_EVENT(madvise,
838 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
839 TP_ARGS(sc_exit(ret,) start, len_in, behavior),
840 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))),
841 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))),
842 TP_printk()
843)
844#endif
845#ifndef OVERRIDE_32_fcntl64
846SC_LTTNG_TRACEPOINT_EVENT(fcntl64,
847 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
848 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
849 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))),
850 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))),
851 TP_printk()
852)
853#endif
854#ifndef OVERRIDE_32_readahead
855SC_LTTNG_TRACEPOINT_EVENT(readahead,
856 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count),
857 TP_ARGS(sc_exit(ret,) fd, offset, count),
858 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(size_t, count))),
859 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(count, count))),
860 TP_printk()
861)
862#endif
863#ifndef OVERRIDE_32_tgkill
864SC_LTTNG_TRACEPOINT_EVENT(tgkill,
865 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
866 TP_ARGS(sc_exit(ret,) tgid, pid, sig),
867 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))),
868 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))),
869 TP_printk()
870)
871#endif
872#ifndef OVERRIDE_32_ioprio_set
873SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
874 TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
875 TP_ARGS(sc_exit(ret,) which, who, ioprio),
876 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))),
877 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))),
878 TP_printk()
879)
880#endif
881#ifndef OVERRIDE_32_dup3
882SC_LTTNG_TRACEPOINT_EVENT(dup3,
883 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
884 TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
885 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))),
886 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))),
887 TP_printk()
888)
889#endif
890#ifndef OVERRIDE_32_ptrace
891SC_LTTNG_TRACEPOINT_EVENT(ptrace,
892 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
893 TP_ARGS(sc_exit(ret,) request, pid, addr, data),
894 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))),
895 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))),
896 TP_printk()
897)
898#endif
899#ifndef OVERRIDE_32_fadvise64_64
900SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64,
901 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice),
902 TP_ARGS(sc_exit(ret,) fd, offset, len, advice),
903 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, fd)) sc_inout(__field(loff_t, offset)) sc_inout(__field(loff_t, len)) sc_inout(__field(int, advice))),
904 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(len, len)) sc_inout(tp_assign(advice, advice))),
905 TP_printk()
906)
907#endif
908#ifndef OVERRIDE_32_sync_file_range
909SC_LTTNG_TRACEPOINT_EVENT(sync_file_range,
910 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags),
911 TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags),
912 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, nbytes)) sc_in(__field(unsigned int, flags))),
913 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(nbytes, nbytes)) sc_in(tp_assign(flags, flags))),
914 TP_printk()
915)
916#endif
917#ifndef OVERRIDE_32_tee
918SC_LTTNG_TRACEPOINT_EVENT(tee,
919 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
920 TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
921 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))),
922 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))),
923 TP_printk()
924)
925#endif
926#ifndef OVERRIDE_32_fallocate
927SC_LTTNG_TRACEPOINT_EVENT(fallocate,
928 TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len),
929 TP_ARGS(sc_exit(ret,) fd, mode, offset, len),
930 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, mode)) sc_in(__field(loff_t, offset)) sc_in(__field(loff_t, len))),
931 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(offset, offset)) sc_in(tp_assign(len, len))),
932 TP_printk()
933)
934#endif
935#ifndef OVERRIDE_32_mremap
936SC_LTTNG_TRACEPOINT_EVENT(mremap,
937 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
938 TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
939 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))),
940 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))),
941 TP_printk()
942)
943#endif
944#ifndef OVERRIDE_32_prctl
945SC_LTTNG_TRACEPOINT_EVENT(prctl,
946 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
947 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
948 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))),
949 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))),
950 TP_printk()
951)
952#endif
953#ifndef OVERRIDE_32_remap_file_pages
954SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
955 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
956 TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
957 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))),
958 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))),
959 TP_printk()
960)
961#endif
962#ifndef OVERRIDE_32_mips_mmap
963SC_LTTNG_TRACEPOINT_EVENT(mips_mmap,
964 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset),
965 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset),
966 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(off_t, offset))),
967 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(offset, offset))),
968 TP_printk()
969)
970#endif
971#ifndef OVERRIDE_32_mips_mmap2
972SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2,
973 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff),
974 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff),
975 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))),
976 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))),
046f293c
LP
977 TP_printk()
978)
979#endif
980
981#endif /* _TRACE_SYSCALLS_INTEGERS_H */
982
983/* This part must be outside protection */
984#include "../../../probes/define_trace.h"
985
986#else /* CREATE_SYSCALL_TABLE */
987
988#include "mips-32-syscalls-3.13.0_integers_override.h"
989#include "syscalls_integers_override.h"
990
f1e7d826
MD
991#ifdef SC_ENTER
992#ifndef OVERRIDE_TABLE_32_getpid
993TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0)
994#endif
995#ifndef OVERRIDE_TABLE_32_getuid
996TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0)
997#endif
998#ifndef OVERRIDE_TABLE_32_pause
999TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0)
1000#endif
1001#ifndef OVERRIDE_TABLE_32_sync
1002TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0)
1003#endif
1004#ifndef OVERRIDE_TABLE_32_getgid
1005TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0)
1006#endif
1007#ifndef OVERRIDE_TABLE_32_geteuid
1008TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0)
1009#endif
1010#ifndef OVERRIDE_TABLE_32_getegid
1011TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0)
1012#endif
1013#ifndef OVERRIDE_TABLE_32_getppid
1014TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0)
1015#endif
1016#ifndef OVERRIDE_TABLE_32_getpgrp
1017TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0)
1018#endif
1019#ifndef OVERRIDE_TABLE_32_setsid
1020TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0)
1021#endif
1022#ifndef OVERRIDE_TABLE_32_sgetmask
1023TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0)
1024#endif
1025#ifndef OVERRIDE_TABLE_32_vhangup
1026TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0)
1027#endif
1028#ifndef OVERRIDE_TABLE_32_munlockall
1029TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0)
1030#endif
1031#ifndef OVERRIDE_TABLE_32_sched_yield
1032TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0)
1033#endif
1034#ifndef OVERRIDE_TABLE_32_gettid
1035TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0)
1036#endif
1037#ifndef OVERRIDE_TABLE_32_restart_syscall
1038TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0)
1039#endif
1040#ifndef OVERRIDE_TABLE_32_inotify_init
1041TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0)
1042#endif
1043#else /* #ifdef SC_ENTER */
1044#ifndef OVERRIDE_TABLE_32_getpid
1045TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0)
046f293c 1046#endif
f1e7d826
MD
1047#ifndef OVERRIDE_TABLE_32_getuid
1048TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0)
046f293c 1049#endif
f1e7d826
MD
1050#ifndef OVERRIDE_TABLE_32_pause
1051TRACE_SYSCALL_TABLE(pause, pause, 4029, 0)
046f293c 1052#endif
f1e7d826
MD
1053#ifndef OVERRIDE_TABLE_32_sync
1054TRACE_SYSCALL_TABLE(sync, sync, 4036, 0)
046f293c 1055#endif
f1e7d826
MD
1056#ifndef OVERRIDE_TABLE_32_getgid
1057TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0)
046f293c 1058#endif
f1e7d826
MD
1059#ifndef OVERRIDE_TABLE_32_geteuid
1060TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0)
046f293c 1061#endif
f1e7d826
MD
1062#ifndef OVERRIDE_TABLE_32_getegid
1063TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0)
046f293c 1064#endif
f1e7d826
MD
1065#ifndef OVERRIDE_TABLE_32_getppid
1066TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0)
046f293c 1067#endif
f1e7d826
MD
1068#ifndef OVERRIDE_TABLE_32_getpgrp
1069TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0)
046f293c 1070#endif
f1e7d826
MD
1071#ifndef OVERRIDE_TABLE_32_setsid
1072TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0)
046f293c 1073#endif
f1e7d826
MD
1074#ifndef OVERRIDE_TABLE_32_sgetmask
1075TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0)
046f293c 1076#endif
f1e7d826
MD
1077#ifndef OVERRIDE_TABLE_32_vhangup
1078TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0)
046f293c 1079#endif
f1e7d826
MD
1080#ifndef OVERRIDE_TABLE_32_munlockall
1081TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0)
046f293c 1082#endif
f1e7d826
MD
1083#ifndef OVERRIDE_TABLE_32_sched_yield
1084TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0)
046f293c 1085#endif
f1e7d826
MD
1086#ifndef OVERRIDE_TABLE_32_gettid
1087TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0)
046f293c 1088#endif
f1e7d826
MD
1089#ifndef OVERRIDE_TABLE_32_restart_syscall
1090TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0)
046f293c 1091#endif
f1e7d826
MD
1092#ifndef OVERRIDE_TABLE_32_inotify_init
1093TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0)
046f293c 1094#endif
f1e7d826
MD
1095#endif /* else #ifdef SC_ENTER */
1096#ifndef OVERRIDE_TABLE_32_exit
1097TRACE_SYSCALL_TABLE(exit, exit, 4001, 1)
046f293c 1098#endif
f1e7d826
MD
1099#ifndef OVERRIDE_TABLE_32_close
1100TRACE_SYSCALL_TABLE(close, close, 4006, 1)
046f293c 1101#endif
f1e7d826
MD
1102#ifndef OVERRIDE_TABLE_32_lseek
1103TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3)
046f293c 1104#endif
f1e7d826
MD
1105#ifndef OVERRIDE_TABLE_32_setuid
1106TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1)
046f293c 1107#endif
f1e7d826
MD
1108#ifndef OVERRIDE_TABLE_32_ptrace
1109TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4)
046f293c 1110#endif
f1e7d826
MD
1111#ifndef OVERRIDE_TABLE_32_alarm
1112TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1)
046f293c 1113#endif
f1e7d826
MD
1114#ifndef OVERRIDE_TABLE_32_nice
1115TRACE_SYSCALL_TABLE(nice, nice, 4034, 1)
046f293c 1116#endif
f1e7d826
MD
1117#ifndef OVERRIDE_TABLE_32_kill
1118TRACE_SYSCALL_TABLE(kill, kill, 4037, 2)
046f293c 1119#endif
f1e7d826
MD
1120#ifndef OVERRIDE_TABLE_32_dup
1121TRACE_SYSCALL_TABLE(dup, dup, 4041, 1)
046f293c 1122#endif
f1e7d826
MD
1123#ifndef OVERRIDE_TABLE_32_brk
1124TRACE_SYSCALL_TABLE(brk, brk, 4045, 1)
046f293c 1125#endif
f1e7d826
MD
1126#ifndef OVERRIDE_TABLE_32_setgid
1127TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1)
046f293c 1128#endif
f1e7d826
MD
1129#ifndef OVERRIDE_TABLE_32_ioctl
1130TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3)
046f293c 1131#endif
f1e7d826
MD
1132#ifndef OVERRIDE_TABLE_32_fcntl
1133TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3)
046f293c 1134#endif
f1e7d826
MD
1135#ifndef OVERRIDE_TABLE_32_setpgid
1136TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2)
046f293c 1137#endif
f1e7d826
MD
1138#ifndef OVERRIDE_TABLE_32_umask
1139TRACE_SYSCALL_TABLE(umask, umask, 4060, 1)
046f293c 1140#endif
f1e7d826
MD
1141#ifndef OVERRIDE_TABLE_32_dup2
1142TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2)
046f293c 1143#endif
f1e7d826
MD
1144#ifndef OVERRIDE_TABLE_32_ssetmask
1145TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1)
046f293c 1146#endif
f1e7d826
MD
1147#ifndef OVERRIDE_TABLE_32_setreuid
1148TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2)
046f293c 1149#endif
f1e7d826
MD
1150#ifndef OVERRIDE_TABLE_32_setregid
1151TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2)
046f293c 1152#endif
f1e7d826
MD
1153#ifndef OVERRIDE_TABLE_32_mips_mmap
1154TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 4090, 6)
046f293c 1155#endif
f1e7d826
MD
1156#ifndef OVERRIDE_TABLE_32_munmap
1157TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2)
046f293c 1158#endif
f1e7d826
MD
1159#ifndef OVERRIDE_TABLE_32_ftruncate
1160TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2)
046f293c 1161#endif
f1e7d826
MD
1162#ifndef OVERRIDE_TABLE_32_fchmod
1163TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2)
046f293c 1164#endif
f1e7d826
MD
1165#ifndef OVERRIDE_TABLE_32_fchown
1166TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3)
046f293c 1167#endif
f1e7d826
MD
1168#ifndef OVERRIDE_TABLE_32_getpriority
1169TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2)
046f293c 1170#endif
f1e7d826
MD
1171#ifndef OVERRIDE_TABLE_32_setpriority
1172TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3)
046f293c 1173#endif
f1e7d826
MD
1174#ifndef OVERRIDE_TABLE_32_fsync
1175TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1)
046f293c 1176#endif
f1e7d826
MD
1177#ifndef OVERRIDE_TABLE_32_mprotect
1178TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3)
046f293c 1179#endif
f1e7d826
MD
1180#ifndef OVERRIDE_TABLE_32_getpgid
1181TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1)
046f293c 1182#endif
f1e7d826
MD
1183#ifndef OVERRIDE_TABLE_32_fchdir
1184TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1)
046f293c 1185#endif
f1e7d826
MD
1186#ifndef OVERRIDE_TABLE_32_bdflush
1187TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2)
046f293c 1188#endif
f1e7d826
MD
1189#ifndef OVERRIDE_TABLE_32_sysfs
1190TRACE_SYSCALL_TABLE(sysfs, sysfs, 4135, 3)
046f293c 1191#endif
f1e7d826
MD
1192#ifndef OVERRIDE_TABLE_32_personality
1193TRACE_SYSCALL_TABLE(personality, personality, 4136, 1)
046f293c 1194#endif
f1e7d826
MD
1195#ifndef OVERRIDE_TABLE_32_setfsuid
1196TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1)
046f293c 1197#endif
f1e7d826
MD
1198#ifndef OVERRIDE_TABLE_32_setfsgid
1199TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1)
046f293c 1200#endif
f1e7d826
MD
1201#ifndef OVERRIDE_TABLE_32_flock
1202TRACE_SYSCALL_TABLE(flock, flock, 4143, 2)
046f293c 1203#endif
f1e7d826
MD
1204#ifndef OVERRIDE_TABLE_32_msync
1205TRACE_SYSCALL_TABLE(msync, msync, 4144, 3)
046f293c 1206#endif
f1e7d826
MD
1207#ifndef OVERRIDE_TABLE_32_cacheflush
1208TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3)
046f293c 1209#endif
f1e7d826
MD
1210#ifndef OVERRIDE_TABLE_32_sysmips
1211TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3)
046f293c 1212#endif
f1e7d826
MD
1213#ifndef OVERRIDE_TABLE_32_getsid
1214TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1)
046f293c 1215#endif
f1e7d826
MD
1216#ifndef OVERRIDE_TABLE_32_fdatasync
1217TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1)
046f293c 1218#endif
f1e7d826
MD
1219#ifndef OVERRIDE_TABLE_32_mlock
1220TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2)
046f293c 1221#endif
f1e7d826
MD
1222#ifndef OVERRIDE_TABLE_32_munlock
1223TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2)
046f293c 1224#endif
f1e7d826
MD
1225#ifndef OVERRIDE_TABLE_32_mlockall
1226TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1)
046f293c 1227#endif
f1e7d826
MD
1228#ifndef OVERRIDE_TABLE_32_sched_getscheduler
1229TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1)
046f293c 1230#endif
f1e7d826
MD
1231#ifndef OVERRIDE_TABLE_32_sched_get_priority_max
1232TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1)
046f293c 1233#endif
f1e7d826
MD
1234#ifndef OVERRIDE_TABLE_32_sched_get_priority_min
1235TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1)
046f293c 1236#endif
f1e7d826
MD
1237#ifndef OVERRIDE_TABLE_32_mremap
1238TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5)
046f293c 1239#endif
f1e7d826
MD
1240#ifndef OVERRIDE_TABLE_32_listen
1241TRACE_SYSCALL_TABLE(listen, listen, 4174, 2)
046f293c 1242#endif
f1e7d826
MD
1243#ifndef OVERRIDE_TABLE_32_shutdown
1244TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2)
046f293c 1245#endif
f1e7d826
MD
1246#ifndef OVERRIDE_TABLE_32_socket
1247TRACE_SYSCALL_TABLE(socket, socket, 4183, 3)
046f293c 1248#endif
f1e7d826
MD
1249#ifndef OVERRIDE_TABLE_32_setresuid
1250TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3)
046f293c 1251#endif
f1e7d826
MD
1252#ifndef OVERRIDE_TABLE_32_setresgid
1253TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3)
046f293c 1254#endif
f1e7d826
MD
1255#ifndef OVERRIDE_TABLE_32_prctl
1256TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5)
046f293c 1257#endif
f1e7d826
MD
1258#ifndef OVERRIDE_TABLE_32_mips_mmap2
1259TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6)
046f293c 1260#endif
f1e7d826
MD
1261#ifndef OVERRIDE_TABLE_32_ftruncate64
1262TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2)
046f293c 1263#endif
f1e7d826
MD
1264#ifndef OVERRIDE_TABLE_32_madvise
1265TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3)
046f293c 1266#endif
f1e7d826
MD
1267#ifndef OVERRIDE_TABLE_32_fcntl64
1268TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3)
046f293c 1269#endif
f1e7d826
MD
1270#ifndef OVERRIDE_TABLE_32_readahead
1271TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3)
046f293c 1272#endif
f1e7d826
MD
1273#ifndef OVERRIDE_TABLE_32_tkill
1274TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2)
046f293c 1275#endif
f1e7d826
MD
1276#ifndef OVERRIDE_TABLE_32_io_destroy
1277TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1)
046f293c 1278#endif
f1e7d826
MD
1279#ifndef OVERRIDE_TABLE_32_exit_group
1280TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1)
046f293c 1281#endif
f1e7d826
MD
1282#ifndef OVERRIDE_TABLE_32_epoll_create
1283TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1)
046f293c 1284#endif
f1e7d826
MD
1285#ifndef OVERRIDE_TABLE_32_remap_file_pages
1286TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5)
046f293c 1287#endif
f1e7d826
MD
1288#ifndef OVERRIDE_TABLE_32_fadvise64_64
1289TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4)
046f293c 1290#endif
f1e7d826
MD
1291#ifndef OVERRIDE_TABLE_32_timer_getoverrun
1292TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1)
046f293c 1293#endif
f1e7d826
MD
1294#ifndef OVERRIDE_TABLE_32_timer_delete
1295TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1)
046f293c 1296#endif
f1e7d826
MD
1297#ifndef OVERRIDE_TABLE_32_tgkill
1298TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3)
046f293c 1299#endif
f1e7d826
MD
1300#ifndef OVERRIDE_TABLE_32_set_thread_area
1301TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1)
046f293c 1302#endif
f1e7d826
MD
1303#ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1304TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2)
046f293c 1305#endif
f1e7d826
MD
1306#ifndef OVERRIDE_TABLE_32_unshare
1307TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1)
046f293c 1308#endif
f1e7d826
MD
1309#ifndef OVERRIDE_TABLE_32_sync_file_range
1310TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4)
046f293c 1311#endif
f1e7d826
MD
1312#ifndef OVERRIDE_TABLE_32_tee
1313TRACE_SYSCALL_TABLE(tee, tee, 4306, 4)
046f293c 1314#endif
f1e7d826
MD
1315#ifndef OVERRIDE_TABLE_32_ioprio_set
1316TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3)
046f293c 1317#endif
f1e7d826
MD
1318#ifndef OVERRIDE_TABLE_32_ioprio_get
1319TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2)
046f293c 1320#endif
f1e7d826
MD
1321#ifndef OVERRIDE_TABLE_32_eventfd
1322TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1)
046f293c 1323#endif
f1e7d826
MD
1324#ifndef OVERRIDE_TABLE_32_fallocate
1325TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4)
046f293c 1326#endif
f1e7d826
MD
1327#ifndef OVERRIDE_TABLE_32_timerfd_create
1328TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2)
046f293c 1329#endif
f1e7d826
MD
1330#ifndef OVERRIDE_TABLE_32_eventfd2
1331TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2)
046f293c 1332#endif
f1e7d826
MD
1333#ifndef OVERRIDE_TABLE_32_epoll_create1
1334TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1)
046f293c 1335#endif
f1e7d826
MD
1336#ifndef OVERRIDE_TABLE_32_dup3
1337TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3)
046f293c 1338#endif
f1e7d826
MD
1339#ifndef OVERRIDE_TABLE_32_inotify_init1
1340TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1)
046f293c 1341#endif
f1e7d826
MD
1342#ifndef OVERRIDE_TABLE_32_syncfs
1343TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1)
046f293c 1344#endif
f1e7d826
MD
1345#ifndef OVERRIDE_TABLE_32_setns
1346TRACE_SYSCALL_TABLE(setns, setns, 4344, 2)
046f293c
LP
1347#endif
1348
1349#endif /* CREATE_SYSCALL_TABLE */
This page took 0.084564 seconds and 4 git commands to generate.