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