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