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