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