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