Cleanup: Remove deprecated TODO file
[lttng-modules.git] / instrumentation / syscalls / headers / x86-64-syscalls_integers.h
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
6314c2d3 2
7e39c6d6 3/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
6314c2d3
MJ
4
5/* Generated from x86-64-syscalls 3.10.0-rc7 */
6
7e39c6d6
YB
7#ifndef CREATE_SYSCALL_TABLE
8
9#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
10#define _TRACE_SYSCALLS_INTEGERS_H
11
3b4aafcb 12#include <lttng/tracepoint-event.h>
7e39c6d6 13#include <linux/syscalls.h>
6314c2d3 14#include "x86-64-syscalls_integers_override.h"
7e39c6d6
YB
15#include "syscalls_integers_override.h"
16
e17f92ba 17#ifdef SC_ENTER
cb3ef14c 18SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
57ede728 19 TP_FIELDS()
7e39c6d6 20)
644d6e9c 21#ifndef OVERRIDE_64_sched_yield
cb3ef14c 22SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
7e39c6d6 23#endif
644d6e9c 24#ifndef OVERRIDE_64_pause
cb3ef14c 25SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
7e39c6d6 26#endif
644d6e9c 27#ifndef OVERRIDE_64_getpid
cb3ef14c 28SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
7e39c6d6 29#endif
644d6e9c 30#ifndef OVERRIDE_64_getuid
cb3ef14c 31SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
7e39c6d6 32#endif
644d6e9c 33#ifndef OVERRIDE_64_getgid
cb3ef14c 34SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
7e39c6d6 35#endif
644d6e9c 36#ifndef OVERRIDE_64_geteuid
cb3ef14c 37SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
7e39c6d6 38#endif
644d6e9c 39#ifndef OVERRIDE_64_getegid
cb3ef14c 40SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
7e39c6d6 41#endif
644d6e9c 42#ifndef OVERRIDE_64_getppid
cb3ef14c 43SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
7e39c6d6 44#endif
644d6e9c 45#ifndef OVERRIDE_64_getpgrp
cb3ef14c 46SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
7e39c6d6 47#endif
644d6e9c 48#ifndef OVERRIDE_64_setsid
cb3ef14c 49SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
7e39c6d6 50#endif
644d6e9c 51#ifndef OVERRIDE_64_munlockall
cb3ef14c 52SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
7e39c6d6 53#endif
644d6e9c 54#ifndef OVERRIDE_64_vhangup
cb3ef14c 55SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
7e39c6d6 56#endif
644d6e9c 57#ifndef OVERRIDE_64_sync
cb3ef14c 58SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
7e39c6d6 59#endif
644d6e9c 60#ifndef OVERRIDE_64_gettid
cb3ef14c 61SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
7e39c6d6 62#endif
644d6e9c 63#ifndef OVERRIDE_64_restart_syscall
cb3ef14c 64SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
7e39c6d6 65#endif
644d6e9c 66#ifndef OVERRIDE_64_inotify_init
cb3ef14c 67SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
7e39c6d6 68#endif
e17f92ba 69#else /* #ifdef SC_ENTER */
644d6e9c 70#ifndef OVERRIDE_64_sched_yield
cb3ef14c 71SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
e17f92ba
MD
72 TP_PROTO(sc_exit(long ret)),
73 TP_ARGS(sc_exit(ret)),
57ede728 74 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
75)
76#endif
644d6e9c 77#ifndef OVERRIDE_64_pause
cb3ef14c 78SC_LTTNG_TRACEPOINT_EVENT(pause,
e17f92ba
MD
79 TP_PROTO(sc_exit(long ret)),
80 TP_ARGS(sc_exit(ret)),
57ede728 81 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
82)
83#endif
644d6e9c 84#ifndef OVERRIDE_64_getpid
cb3ef14c 85SC_LTTNG_TRACEPOINT_EVENT(getpid,
e17f92ba
MD
86 TP_PROTO(sc_exit(long ret)),
87 TP_ARGS(sc_exit(ret)),
57ede728 88 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
89)
90#endif
644d6e9c 91#ifndef OVERRIDE_64_getuid
cb3ef14c 92SC_LTTNG_TRACEPOINT_EVENT(getuid,
e17f92ba
MD
93 TP_PROTO(sc_exit(long ret)),
94 TP_ARGS(sc_exit(ret)),
57ede728 95 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
96)
97#endif
644d6e9c 98#ifndef OVERRIDE_64_getgid
cb3ef14c 99SC_LTTNG_TRACEPOINT_EVENT(getgid,
e17f92ba
MD
100 TP_PROTO(sc_exit(long ret)),
101 TP_ARGS(sc_exit(ret)),
57ede728 102 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
103)
104#endif
644d6e9c 105#ifndef OVERRIDE_64_geteuid
cb3ef14c 106SC_LTTNG_TRACEPOINT_EVENT(geteuid,
e17f92ba
MD
107 TP_PROTO(sc_exit(long ret)),
108 TP_ARGS(sc_exit(ret)),
57ede728 109 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
110)
111#endif
644d6e9c 112#ifndef OVERRIDE_64_getegid
cb3ef14c 113SC_LTTNG_TRACEPOINT_EVENT(getegid,
e17f92ba
MD
114 TP_PROTO(sc_exit(long ret)),
115 TP_ARGS(sc_exit(ret)),
57ede728 116 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
117)
118#endif
644d6e9c 119#ifndef OVERRIDE_64_getppid
cb3ef14c 120SC_LTTNG_TRACEPOINT_EVENT(getppid,
e17f92ba
MD
121 TP_PROTO(sc_exit(long ret)),
122 TP_ARGS(sc_exit(ret)),
57ede728 123 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
124)
125#endif
644d6e9c 126#ifndef OVERRIDE_64_getpgrp
cb3ef14c 127SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
e17f92ba
MD
128 TP_PROTO(sc_exit(long ret)),
129 TP_ARGS(sc_exit(ret)),
57ede728 130 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
131)
132#endif
644d6e9c 133#ifndef OVERRIDE_64_setsid
cb3ef14c 134SC_LTTNG_TRACEPOINT_EVENT(setsid,
e17f92ba
MD
135 TP_PROTO(sc_exit(long ret)),
136 TP_ARGS(sc_exit(ret)),
57ede728 137 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
138)
139#endif
644d6e9c 140#ifndef OVERRIDE_64_munlockall
cb3ef14c 141SC_LTTNG_TRACEPOINT_EVENT(munlockall,
e17f92ba
MD
142 TP_PROTO(sc_exit(long ret)),
143 TP_ARGS(sc_exit(ret)),
57ede728 144 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
145)
146#endif
644d6e9c 147#ifndef OVERRIDE_64_vhangup
cb3ef14c 148SC_LTTNG_TRACEPOINT_EVENT(vhangup,
e17f92ba
MD
149 TP_PROTO(sc_exit(long ret)),
150 TP_ARGS(sc_exit(ret)),
57ede728 151 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
152)
153#endif
644d6e9c 154#ifndef OVERRIDE_64_sync
cb3ef14c 155SC_LTTNG_TRACEPOINT_EVENT(sync,
e17f92ba
MD
156 TP_PROTO(sc_exit(long ret)),
157 TP_ARGS(sc_exit(ret)),
57ede728 158 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
159)
160#endif
644d6e9c 161#ifndef OVERRIDE_64_gettid
cb3ef14c 162SC_LTTNG_TRACEPOINT_EVENT(gettid,
e17f92ba
MD
163 TP_PROTO(sc_exit(long ret)),
164 TP_ARGS(sc_exit(ret)),
57ede728 165 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
166)
167#endif
644d6e9c 168#ifndef OVERRIDE_64_restart_syscall
cb3ef14c 169SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
e17f92ba
MD
170 TP_PROTO(sc_exit(long ret)),
171 TP_ARGS(sc_exit(ret)),
57ede728 172 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
173)
174#endif
644d6e9c 175#ifndef OVERRIDE_64_inotify_init
cb3ef14c 176SC_LTTNG_TRACEPOINT_EVENT(inotify_init,
e17f92ba
MD
177 TP_PROTO(sc_exit(long ret)),
178 TP_ARGS(sc_exit(ret)),
57ede728 179 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
e17f92ba
MD
180)
181#endif
182#endif /* else #ifdef SC_ENTER */
644d6e9c 183#ifndef OVERRIDE_64_close
cb3ef14c 184SC_LTTNG_TRACEPOINT_EVENT(close,
e17f92ba
MD
185 TP_PROTO(sc_exit(long ret,) unsigned int fd),
186 TP_ARGS(sc_exit(ret,) fd),
57ede728 187 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
7e39c6d6
YB
188)
189#endif
644d6e9c 190#ifndef OVERRIDE_64_brk
cb3ef14c 191SC_LTTNG_TRACEPOINT_EVENT(brk,
e17f92ba
MD
192 TP_PROTO(sc_exit(long ret,) unsigned long brk),
193 TP_ARGS(sc_exit(ret,) brk),
57ede728 194 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk)))
7e39c6d6
YB
195)
196#endif
644d6e9c 197#ifndef OVERRIDE_64_dup
cb3ef14c 198SC_LTTNG_TRACEPOINT_EVENT(dup,
e17f92ba
MD
199 TP_PROTO(sc_exit(long ret,) unsigned int fildes),
200 TP_ARGS(sc_exit(ret,) fildes),
57ede728 201 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes)))
7e39c6d6
YB
202)
203#endif
644d6e9c 204#ifndef OVERRIDE_64_alarm
cb3ef14c 205SC_LTTNG_TRACEPOINT_EVENT(alarm,
e17f92ba
MD
206 TP_PROTO(sc_exit(long ret,) unsigned int seconds),
207 TP_ARGS(sc_exit(ret,) seconds),
57ede728 208 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds)))
7e39c6d6
YB
209)
210#endif
644d6e9c 211#ifndef OVERRIDE_64_exit
cb3ef14c 212SC_LTTNG_TRACEPOINT_EVENT(exit,
e17f92ba
MD
213 TP_PROTO(sc_exit(long ret,) int error_code),
214 TP_ARGS(sc_exit(ret,) error_code),
57ede728 215 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
7e39c6d6
YB
216)
217#endif
644d6e9c 218#ifndef OVERRIDE_64_fsync
cb3ef14c 219SC_LTTNG_TRACEPOINT_EVENT(fsync,
e17f92ba
MD
220 TP_PROTO(sc_exit(long ret,) unsigned int fd),
221 TP_ARGS(sc_exit(ret,) fd),
57ede728 222 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
7e39c6d6
YB
223)
224#endif
644d6e9c 225#ifndef OVERRIDE_64_fdatasync
cb3ef14c 226SC_LTTNG_TRACEPOINT_EVENT(fdatasync,
e17f92ba
MD
227 TP_PROTO(sc_exit(long ret,) unsigned int fd),
228 TP_ARGS(sc_exit(ret,) fd),
57ede728 229 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
7e39c6d6
YB
230)
231#endif
644d6e9c 232#ifndef OVERRIDE_64_fchdir
cb3ef14c 233SC_LTTNG_TRACEPOINT_EVENT(fchdir,
e17f92ba
MD
234 TP_PROTO(sc_exit(long ret,) unsigned int fd),
235 TP_ARGS(sc_exit(ret,) fd),
57ede728 236 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
7e39c6d6
YB
237)
238#endif
644d6e9c 239#ifndef OVERRIDE_64_umask
cb3ef14c 240SC_LTTNG_TRACEPOINT_EVENT(umask,
e17f92ba
MD
241 TP_PROTO(sc_exit(long ret,) int mask),
242 TP_ARGS(sc_exit(ret,) mask),
57ede728 243 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask)))
7e39c6d6
YB
244)
245#endif
644d6e9c 246#ifndef OVERRIDE_64_setuid
cb3ef14c 247SC_LTTNG_TRACEPOINT_EVENT(setuid,
e17f92ba
MD
248 TP_PROTO(sc_exit(long ret,) uid_t uid),
249 TP_ARGS(sc_exit(ret,) uid),
57ede728 250 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
7e39c6d6
YB
251)
252#endif
644d6e9c 253#ifndef OVERRIDE_64_setgid
cb3ef14c 254SC_LTTNG_TRACEPOINT_EVENT(setgid,
e17f92ba
MD
255 TP_PROTO(sc_exit(long ret,) gid_t gid),
256 TP_ARGS(sc_exit(ret,) gid),
57ede728 257 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
7e39c6d6
YB
258)
259#endif
644d6e9c 260#ifndef OVERRIDE_64_getpgid
cb3ef14c 261SC_LTTNG_TRACEPOINT_EVENT(getpgid,
e17f92ba
MD
262 TP_PROTO(sc_exit(long ret,) pid_t pid),
263 TP_ARGS(sc_exit(ret,) pid),
57ede728 264 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
7e39c6d6
YB
265)
266#endif
644d6e9c 267#ifndef OVERRIDE_64_setfsuid
cb3ef14c 268SC_LTTNG_TRACEPOINT_EVENT(setfsuid,
e17f92ba
MD
269 TP_PROTO(sc_exit(long ret,) uid_t uid),
270 TP_ARGS(sc_exit(ret,) uid),
57ede728 271 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
7e39c6d6
YB
272)
273#endif
644d6e9c 274#ifndef OVERRIDE_64_setfsgid
cb3ef14c 275SC_LTTNG_TRACEPOINT_EVENT(setfsgid,
e17f92ba
MD
276 TP_PROTO(sc_exit(long ret,) gid_t gid),
277 TP_ARGS(sc_exit(ret,) gid),
57ede728 278 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
7e39c6d6
YB
279)
280#endif
644d6e9c 281#ifndef OVERRIDE_64_getsid
cb3ef14c 282SC_LTTNG_TRACEPOINT_EVENT(getsid,
e17f92ba
MD
283 TP_PROTO(sc_exit(long ret,) pid_t pid),
284 TP_ARGS(sc_exit(ret,) pid),
57ede728 285 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
7e39c6d6
YB
286)
287#endif
644d6e9c 288#ifndef OVERRIDE_64_personality
cb3ef14c 289SC_LTTNG_TRACEPOINT_EVENT(personality,
e17f92ba
MD
290 TP_PROTO(sc_exit(long ret,) unsigned int personality),
291 TP_ARGS(sc_exit(ret,) personality),
57ede728 292 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality)))
7e39c6d6
YB
293)
294#endif
644d6e9c 295#ifndef OVERRIDE_64_sched_getscheduler
cb3ef14c 296SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler,
e17f92ba
MD
297 TP_PROTO(sc_exit(long ret,) pid_t pid),
298 TP_ARGS(sc_exit(ret,) pid),
57ede728 299 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
7e39c6d6
YB
300)
301#endif
644d6e9c 302#ifndef OVERRIDE_64_sched_get_priority_max
cb3ef14c 303SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max,
e17f92ba
MD
304 TP_PROTO(sc_exit(long ret,) int policy),
305 TP_ARGS(sc_exit(ret,) policy),
57ede728 306 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
7e39c6d6
YB
307)
308#endif
644d6e9c 309#ifndef OVERRIDE_64_sched_get_priority_min
cb3ef14c 310SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min,
e17f92ba
MD
311 TP_PROTO(sc_exit(long ret,) int policy),
312 TP_ARGS(sc_exit(ret,) policy),
57ede728 313 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
7e39c6d6
YB
314)
315#endif
644d6e9c 316#ifndef OVERRIDE_64_mlockall
cb3ef14c 317SC_LTTNG_TRACEPOINT_EVENT(mlockall,
e17f92ba
MD
318 TP_PROTO(sc_exit(long ret,) int flags),
319 TP_ARGS(sc_exit(ret,) flags),
57ede728 320 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
7e39c6d6
YB
321)
322#endif
644d6e9c 323#ifndef OVERRIDE_64_io_destroy
cb3ef14c 324SC_LTTNG_TRACEPOINT_EVENT(io_destroy,
e17f92ba
MD
325 TP_PROTO(sc_exit(long ret,) aio_context_t ctx),
326 TP_ARGS(sc_exit(ret,) ctx),
57ede728 327 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx)))
7e39c6d6
YB
328)
329#endif
644d6e9c 330#ifndef OVERRIDE_64_epoll_create
cb3ef14c 331SC_LTTNG_TRACEPOINT_EVENT(epoll_create,
e17f92ba
MD
332 TP_PROTO(sc_exit(long ret,) int size),
333 TP_ARGS(sc_exit(ret,) size),
57ede728 334 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size)))
7e39c6d6
YB
335)
336#endif
644d6e9c 337#ifndef OVERRIDE_64_timer_getoverrun
cb3ef14c 338SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun,
e17f92ba
MD
339 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
340 TP_ARGS(sc_exit(ret,) timer_id),
57ede728 341 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
7e39c6d6
YB
342)
343#endif
644d6e9c 344#ifndef OVERRIDE_64_timer_delete
cb3ef14c 345SC_LTTNG_TRACEPOINT_EVENT(timer_delete,
e17f92ba
MD
346 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
347 TP_ARGS(sc_exit(ret,) timer_id),
57ede728 348 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
7e39c6d6
YB
349)
350#endif
644d6e9c 351#ifndef OVERRIDE_64_exit_group
cb3ef14c 352SC_LTTNG_TRACEPOINT_EVENT(exit_group,
e17f92ba
MD
353 TP_PROTO(sc_exit(long ret,) int error_code),
354 TP_ARGS(sc_exit(ret,) error_code),
57ede728 355 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
7e39c6d6
YB
356)
357#endif
644d6e9c 358#ifndef OVERRIDE_64_unshare
cb3ef14c 359SC_LTTNG_TRACEPOINT_EVENT(unshare,
e17f92ba
MD
360 TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags),
361 TP_ARGS(sc_exit(ret,) unshare_flags),
57ede728 362 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags)))
7e39c6d6
YB
363)
364#endif
644d6e9c 365#ifndef OVERRIDE_64_eventfd
cb3ef14c 366SC_LTTNG_TRACEPOINT_EVENT(eventfd,
e17f92ba
MD
367 TP_PROTO(sc_exit(long ret,) unsigned int count),
368 TP_ARGS(sc_exit(ret,) count),
57ede728 369 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)))
7e39c6d6
YB
370)
371#endif
644d6e9c 372#ifndef OVERRIDE_64_epoll_create1
cb3ef14c 373SC_LTTNG_TRACEPOINT_EVENT(epoll_create1,
e17f92ba
MD
374 TP_PROTO(sc_exit(long ret,) int flags),
375 TP_ARGS(sc_exit(ret,) flags),
57ede728 376 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
7e39c6d6
YB
377)
378#endif
644d6e9c 379#ifndef OVERRIDE_64_inotify_init1
cb3ef14c 380SC_LTTNG_TRACEPOINT_EVENT(inotify_init1,
e17f92ba
MD
381 TP_PROTO(sc_exit(long ret,) int flags),
382 TP_ARGS(sc_exit(ret,) flags),
57ede728 383 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
7e39c6d6
YB
384)
385#endif
644d6e9c 386#ifndef OVERRIDE_64_syncfs
cb3ef14c 387SC_LTTNG_TRACEPOINT_EVENT(syncfs,
e17f92ba
MD
388 TP_PROTO(sc_exit(long ret,) int fd),
389 TP_ARGS(sc_exit(ret,) fd),
57ede728 390 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)))
7e39c6d6
YB
391)
392#endif
644d6e9c 393#ifndef OVERRIDE_64_munmap
cb3ef14c 394SC_LTTNG_TRACEPOINT_EVENT(munmap,
e17f92ba
MD
395 TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len),
396 TP_ARGS(sc_exit(ret,) addr, len),
57ede728 397 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)))
7e39c6d6
YB
398)
399#endif
644d6e9c 400#ifndef OVERRIDE_64_dup2
cb3ef14c 401SC_LTTNG_TRACEPOINT_EVENT(dup2,
e17f92ba
MD
402 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd),
403 TP_ARGS(sc_exit(ret,) oldfd, newfd),
57ede728 404 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)))
7e39c6d6
YB
405)
406#endif
644d6e9c 407#ifndef OVERRIDE_64_shutdown
cb3ef14c 408SC_LTTNG_TRACEPOINT_EVENT(shutdown,
e17f92ba
MD
409 TP_PROTO(sc_exit(long ret,) int fd, int how),
410 TP_ARGS(sc_exit(ret,) fd, how),
57ede728 411 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
7e39c6d6
YB
412)
413#endif
644d6e9c 414#ifndef OVERRIDE_64_listen
cb3ef14c 415SC_LTTNG_TRACEPOINT_EVENT(listen,
e17f92ba
MD
416 TP_PROTO(sc_exit(long ret,) int fd, int backlog),
417 TP_ARGS(sc_exit(ret,) fd, backlog),
57ede728 418 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
7e39c6d6
YB
419)
420#endif
644d6e9c 421#ifndef OVERRIDE_64_kill
cb3ef14c 422SC_LTTNG_TRACEPOINT_EVENT(kill,
e17f92ba
MD
423 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
424 TP_ARGS(sc_exit(ret,) pid, sig),
57ede728 425 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
7e39c6d6
YB
426)
427#endif
644d6e9c 428#ifndef OVERRIDE_64_msgget
cb3ef14c 429SC_LTTNG_TRACEPOINT_EVENT(msgget,
e17f92ba
MD
430 TP_PROTO(sc_exit(long ret,) key_t key, int msgflg),
431 TP_ARGS(sc_exit(ret,) key, msgflg),
57ede728 432 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg)))
7e39c6d6
YB
433)
434#endif
644d6e9c 435#ifndef OVERRIDE_64_flock
cb3ef14c 436SC_LTTNG_TRACEPOINT_EVENT(flock,
e17f92ba
MD
437 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd),
438 TP_ARGS(sc_exit(ret,) fd, cmd),
57ede728 439 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)))
7e39c6d6
YB
440)
441#endif
644d6e9c 442#ifndef OVERRIDE_64_ftruncate
cb3ef14c 443SC_LTTNG_TRACEPOINT_EVENT(ftruncate,
e17f92ba
MD
444 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length),
445 TP_ARGS(sc_exit(ret,) fd, length),
57ede728 446 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)))
7e39c6d6
YB
447)
448#endif
644d6e9c 449#ifndef OVERRIDE_64_fchmod
cb3ef14c 450SC_LTTNG_TRACEPOINT_EVENT(fchmod,
e17f92ba
MD
451 TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode),
452 TP_ARGS(sc_exit(ret,) fd, mode),
57ede728 453 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode)))
7e39c6d6
YB
454)
455#endif
644d6e9c 456#ifndef OVERRIDE_64_setpgid
cb3ef14c 457SC_LTTNG_TRACEPOINT_EVENT(setpgid,
e17f92ba
MD
458 TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid),
459 TP_ARGS(sc_exit(ret,) pid, pgid),
57ede728 460 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)))
7e39c6d6
YB
461)
462#endif
644d6e9c 463#ifndef OVERRIDE_64_setreuid
cb3ef14c 464SC_LTTNG_TRACEPOINT_EVENT(setreuid,
e17f92ba
MD
465 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid),
466 TP_ARGS(sc_exit(ret,) ruid, euid),
57ede728 467 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)))
7e39c6d6
YB
468)
469#endif
644d6e9c 470#ifndef OVERRIDE_64_setregid
cb3ef14c 471SC_LTTNG_TRACEPOINT_EVENT(setregid,
e17f92ba
MD
472 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid),
473 TP_ARGS(sc_exit(ret,) rgid, egid),
57ede728 474 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)))
7e39c6d6
YB
475)
476#endif
644d6e9c 477#ifndef OVERRIDE_64_getpriority
cb3ef14c 478SC_LTTNG_TRACEPOINT_EVENT(getpriority,
e17f92ba
MD
479 TP_PROTO(sc_exit(long ret,) int which, int who),
480 TP_ARGS(sc_exit(ret,) which, who),
57ede728 481 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
7e39c6d6
YB
482)
483#endif
644d6e9c 484#ifndef OVERRIDE_64_mlock
cb3ef14c 485SC_LTTNG_TRACEPOINT_EVENT(mlock,
e17f92ba
MD
486 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
487 TP_ARGS(sc_exit(ret,) start, len),
57ede728 488 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)))
7e39c6d6
YB
489)
490#endif
644d6e9c 491#ifndef OVERRIDE_64_munlock
cb3ef14c 492SC_LTTNG_TRACEPOINT_EVENT(munlock,
e17f92ba
MD
493 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
494 TP_ARGS(sc_exit(ret,) start, len),
57ede728 495 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)))
7e39c6d6
YB
496)
497#endif
644d6e9c 498#ifndef OVERRIDE_64_tkill
cb3ef14c 499SC_LTTNG_TRACEPOINT_EVENT(tkill,
e17f92ba
MD
500 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
501 TP_ARGS(sc_exit(ret,) pid, sig),
57ede728 502 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
7e39c6d6
YB
503)
504#endif
644d6e9c 505#ifndef OVERRIDE_64_ioprio_get
cb3ef14c 506SC_LTTNG_TRACEPOINT_EVENT(ioprio_get,
e17f92ba
MD
507 TP_PROTO(sc_exit(long ret,) int which, int who),
508 TP_ARGS(sc_exit(ret,) which, who),
57ede728 509 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
7e39c6d6
YB
510)
511#endif
644d6e9c 512#ifndef OVERRIDE_64_inotify_rm_watch
cb3ef14c 513SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch,
e17f92ba
MD
514 TP_PROTO(sc_exit(long ret,) int fd, __s32 wd),
515 TP_ARGS(sc_exit(ret,) fd, wd),
57ede728 516 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd)))
7e39c6d6
YB
517)
518#endif
644d6e9c 519#ifndef OVERRIDE_64_timerfd_create
cb3ef14c 520SC_LTTNG_TRACEPOINT_EVENT(timerfd_create,
e17f92ba
MD
521 TP_PROTO(sc_exit(long ret,) int clockid, int flags),
522 TP_ARGS(sc_exit(ret,) clockid, flags),
57ede728 523 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags)))
7e39c6d6
YB
524)
525#endif
644d6e9c 526#ifndef OVERRIDE_64_eventfd2
cb3ef14c 527SC_LTTNG_TRACEPOINT_EVENT(eventfd2,
e17f92ba
MD
528 TP_PROTO(sc_exit(long ret,) unsigned int count, int flags),
529 TP_ARGS(sc_exit(ret,) count, flags),
57ede728 530 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags)))
7e39c6d6
YB
531)
532#endif
644d6e9c 533#ifndef OVERRIDE_64_fanotify_init
cb3ef14c 534SC_LTTNG_TRACEPOINT_EVENT(fanotify_init,
e17f92ba
MD
535 TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags),
536 TP_ARGS(sc_exit(ret,) flags, event_f_flags),
57ede728 537 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)))
7e39c6d6
YB
538)
539#endif
644d6e9c 540#ifndef OVERRIDE_64_setns
cb3ef14c 541SC_LTTNG_TRACEPOINT_EVENT(setns,
e17f92ba
MD
542 TP_PROTO(sc_exit(long ret,) int fd, int nstype),
543 TP_ARGS(sc_exit(ret,) fd, nstype),
57ede728 544 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype)))
7e39c6d6
YB
545)
546#endif
644d6e9c 547#ifndef OVERRIDE_64_lseek
cb3ef14c 548SC_LTTNG_TRACEPOINT_EVENT(lseek,
e17f92ba
MD
549 TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence),
550 TP_ARGS(sc_exit(ret,) fd, offset, whence),
57ede728 551 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence)))
7e39c6d6
YB
552)
553#endif
644d6e9c 554#ifndef OVERRIDE_64_mprotect
cb3ef14c 555SC_LTTNG_TRACEPOINT_EVENT(mprotect,
e17f92ba
MD
556 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot),
557 TP_ARGS(sc_exit(ret,) start, len, prot),
57ede728 558 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)))
7e39c6d6
YB
559)
560#endif
644d6e9c 561#ifndef OVERRIDE_64_ioctl
cb3ef14c 562SC_LTTNG_TRACEPOINT_EVENT(ioctl,
e17f92ba
MD
563 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
564 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
57ede728 565 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)))
7e39c6d6
YB
566)
567#endif
644d6e9c 568#ifndef OVERRIDE_64_msync
cb3ef14c 569SC_LTTNG_TRACEPOINT_EVENT(msync,
e17f92ba
MD
570 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
571 TP_ARGS(sc_exit(ret,) start, len, flags),
57ede728 572 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)))
7e39c6d6
YB
573)
574#endif
644d6e9c 575#ifndef OVERRIDE_64_madvise
cb3ef14c 576SC_LTTNG_TRACEPOINT_EVENT(madvise,
e17f92ba
MD
577 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
578 TP_ARGS(sc_exit(ret,) start, len_in, behavior),
57ede728 579 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)))
7e39c6d6
YB
580)
581#endif
644d6e9c 582#ifndef OVERRIDE_64_shmget
cb3ef14c 583SC_LTTNG_TRACEPOINT_EVENT(shmget,
e17f92ba
MD
584 TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg),
585 TP_ARGS(sc_exit(ret,) key, size, shmflg),
57ede728 586 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg)))
7e39c6d6
YB
587)
588#endif
644d6e9c 589#ifndef OVERRIDE_64_socket
cb3ef14c 590SC_LTTNG_TRACEPOINT_EVENT(socket,
e17f92ba
MD
591 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
592 TP_ARGS(sc_exit(ret,) family, type, protocol),
57ede728 593 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol)))
7e39c6d6
YB
594)
595#endif
644d6e9c 596#ifndef OVERRIDE_64_semget
cb3ef14c 597SC_LTTNG_TRACEPOINT_EVENT(semget,
e17f92ba
MD
598 TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg),
599 TP_ARGS(sc_exit(ret,) key, nsems, semflg),
57ede728 600 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg)))
7e39c6d6
YB
601)
602#endif
644d6e9c 603#ifndef OVERRIDE_64_fcntl
cb3ef14c 604SC_LTTNG_TRACEPOINT_EVENT(fcntl,
e17f92ba
MD
605 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
606 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
57ede728 607 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)))
7e39c6d6
YB
608)
609#endif
644d6e9c 610#ifndef OVERRIDE_64_fchown
cb3ef14c 611SC_LTTNG_TRACEPOINT_EVENT(fchown,
e17f92ba
MD
612 TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
613 TP_ARGS(sc_exit(ret,) fd, user, group),
57ede728 614 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)))
7e39c6d6
YB
615)
616#endif
644d6e9c 617#ifndef OVERRIDE_64_setresuid
cb3ef14c 618SC_LTTNG_TRACEPOINT_EVENT(setresuid,
e17f92ba
MD
619 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
620 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
57ede728 621 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)))
7e39c6d6
YB
622)
623#endif
644d6e9c 624#ifndef OVERRIDE_64_setresgid
cb3ef14c 625SC_LTTNG_TRACEPOINT_EVENT(setresgid,
e17f92ba
MD
626 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
627 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
57ede728 628 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)))
7e39c6d6
YB
629)
630#endif
644d6e9c 631#ifndef OVERRIDE_64_sysfs
cb3ef14c 632SC_LTTNG_TRACEPOINT_EVENT(sysfs,
e17f92ba
MD
633 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2),
634 TP_ARGS(sc_exit(ret,) option, arg1, arg2),
57ede728 635 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)))
7e39c6d6
YB
636)
637#endif
644d6e9c 638#ifndef OVERRIDE_64_setpriority
cb3ef14c 639SC_LTTNG_TRACEPOINT_EVENT(setpriority,
e17f92ba
MD
640 TP_PROTO(sc_exit(long ret,) int which, int who, int niceval),
641 TP_ARGS(sc_exit(ret,) which, who, niceval),
57ede728 642 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)))
7e39c6d6
YB
643)
644#endif
644d6e9c 645#ifndef OVERRIDE_64_readahead
cb3ef14c 646SC_LTTNG_TRACEPOINT_EVENT(readahead,
e17f92ba
MD
647 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count),
648 TP_ARGS(sc_exit(ret,) fd, offset, count),
57ede728 649 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count)))
7e39c6d6
YB
650)
651#endif
644d6e9c 652#ifndef OVERRIDE_64_tgkill
cb3ef14c 653SC_LTTNG_TRACEPOINT_EVENT(tgkill,
e17f92ba
MD
654 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
655 TP_ARGS(sc_exit(ret,) tgid, pid, sig),
57ede728 656 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)))
7e39c6d6
YB
657)
658#endif
644d6e9c 659#ifndef OVERRIDE_64_ioprio_set
cb3ef14c 660SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
e17f92ba
MD
661 TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
662 TP_ARGS(sc_exit(ret,) which, who, ioprio),
57ede728 663 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)))
7e39c6d6
YB
664)
665#endif
644d6e9c 666#ifndef OVERRIDE_64_dup3
cb3ef14c 667SC_LTTNG_TRACEPOINT_EVENT(dup3,
e17f92ba
MD
668 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
669 TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
57ede728 670 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)))
7e39c6d6
YB
671)
672#endif
644d6e9c 673#ifndef OVERRIDE_64_semctl
cb3ef14c 674SC_LTTNG_TRACEPOINT_EVENT(semctl,
e17f92ba
MD
675 TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg),
676 TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg),
57ede728 677 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
7e39c6d6
YB
678)
679#endif
644d6e9c 680#ifndef OVERRIDE_64_ptrace
cb3ef14c 681SC_LTTNG_TRACEPOINT_EVENT(ptrace,
e17f92ba
MD
682 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
683 TP_ARGS(sc_exit(ret,) request, pid, addr, data),
57ede728 684 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)))
7e39c6d6
YB
685)
686#endif
644d6e9c 687#ifndef OVERRIDE_64_fadvise64
cb3ef14c 688SC_LTTNG_TRACEPOINT_EVENT(fadvise64,
e17f92ba
MD
689 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice),
690 TP_ARGS(sc_exit(ret,) fd, offset, len, advice),
57ede728 691 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, advice, advice)))
7e39c6d6
YB
692)
693#endif
644d6e9c 694#ifndef OVERRIDE_64_tee
cb3ef14c 695SC_LTTNG_TRACEPOINT_EVENT(tee,
e17f92ba
MD
696 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
697 TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
57ede728 698 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)))
7e39c6d6
YB
699)
700#endif
644d6e9c 701#ifndef OVERRIDE_64_sync_file_range
cb3ef14c 702SC_LTTNG_TRACEPOINT_EVENT(sync_file_range,
e17f92ba
MD
703 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags),
704 TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags),
57ede728 705 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags)))
7e39c6d6
YB
706)
707#endif
644d6e9c 708#ifndef OVERRIDE_64_fallocate
cb3ef14c 709SC_LTTNG_TRACEPOINT_EVENT(fallocate,
e17f92ba
MD
710 TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len),
711 TP_ARGS(sc_exit(ret,) fd, mode, offset, len),
57ede728 712 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)))
7e39c6d6
YB
713)
714#endif
644d6e9c 715#ifndef OVERRIDE_64_mremap
cb3ef14c 716SC_LTTNG_TRACEPOINT_EVENT(mremap,
e17f92ba
MD
717 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
718 TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
57ede728 719 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)))
7e39c6d6
YB
720)
721#endif
644d6e9c 722#ifndef OVERRIDE_64_prctl
cb3ef14c 723SC_LTTNG_TRACEPOINT_EVENT(prctl,
e17f92ba
MD
724 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
725 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
57ede728 726 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)))
7e39c6d6
YB
727)
728#endif
644d6e9c 729#ifndef OVERRIDE_64_remap_file_pages
cb3ef14c 730SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
e17f92ba
MD
731 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
732 TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
57ede728 733 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)))
7e39c6d6
YB
734)
735#endif
644d6e9c 736#ifndef OVERRIDE_64_keyctl
cb3ef14c 737SC_LTTNG_TRACEPOINT_EVENT(keyctl,
e17f92ba
MD
738 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
739 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
57ede728 740 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)))
7e39c6d6
YB
741)
742#endif
644d6e9c 743#ifndef OVERRIDE_64_mmap
cb3ef14c 744SC_LTTNG_TRACEPOINT_EVENT(mmap,
e17f92ba
MD
745 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off),
746 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off),
57ede728 747 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(unsigned long, off, off)))
7e39c6d6
YB
748)
749#endif
750
751#endif /* _TRACE_SYSCALLS_INTEGERS_H */
752
753/* This part must be outside protection */
3b4aafcb 754#include <lttng/define_trace.h>
7e39c6d6
YB
755
756#else /* CREATE_SYSCALL_TABLE */
757
6314c2d3 758#include "x86-64-syscalls_integers_override.h"
7e39c6d6
YB
759#include "syscalls_integers_override.h"
760
e17f92ba 761#ifdef SC_ENTER
644d6e9c
MD
762#ifndef OVERRIDE_TABLE_64_sched_yield
763TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 24, 0)
7e39c6d6 764#endif
644d6e9c
MD
765#ifndef OVERRIDE_TABLE_64_pause
766TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 34, 0)
7e39c6d6 767#endif
644d6e9c
MD
768#ifndef OVERRIDE_TABLE_64_getpid
769TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 39, 0)
7e39c6d6 770#endif
644d6e9c
MD
771#ifndef OVERRIDE_TABLE_64_getuid
772TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 102, 0)
7e39c6d6 773#endif
644d6e9c
MD
774#ifndef OVERRIDE_TABLE_64_getgid
775TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 104, 0)
7e39c6d6 776#endif
644d6e9c
MD
777#ifndef OVERRIDE_TABLE_64_geteuid
778TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 107, 0)
7e39c6d6 779#endif
644d6e9c
MD
780#ifndef OVERRIDE_TABLE_64_getegid
781TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 108, 0)
7e39c6d6 782#endif
644d6e9c
MD
783#ifndef OVERRIDE_TABLE_64_getppid
784TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 110, 0)
7e39c6d6 785#endif
644d6e9c
MD
786#ifndef OVERRIDE_TABLE_64_getpgrp
787TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 111, 0)
7e39c6d6 788#endif
644d6e9c
MD
789#ifndef OVERRIDE_TABLE_64_setsid
790TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 112, 0)
7e39c6d6 791#endif
644d6e9c
MD
792#ifndef OVERRIDE_TABLE_64_munlockall
793TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 152, 0)
7e39c6d6 794#endif
644d6e9c
MD
795#ifndef OVERRIDE_TABLE_64_vhangup
796TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 153, 0)
7e39c6d6 797#endif
644d6e9c
MD
798#ifndef OVERRIDE_TABLE_64_sync
799TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 162, 0)
7e39c6d6 800#endif
644d6e9c
MD
801#ifndef OVERRIDE_TABLE_64_gettid
802TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 186, 0)
7e39c6d6 803#endif
644d6e9c
MD
804#ifndef OVERRIDE_TABLE_64_restart_syscall
805TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 219, 0)
7e39c6d6 806#endif
644d6e9c
MD
807#ifndef OVERRIDE_TABLE_64_inotify_init
808TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 253, 0)
7e39c6d6 809#endif
e17f92ba 810#else /* #ifdef SC_ENTER */
644d6e9c
MD
811#ifndef OVERRIDE_TABLE_64_sched_yield
812TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 24, 0)
e17f92ba 813#endif
644d6e9c
MD
814#ifndef OVERRIDE_TABLE_64_pause
815TRACE_SYSCALL_TABLE(pause, pause, 34, 0)
e17f92ba 816#endif
644d6e9c
MD
817#ifndef OVERRIDE_TABLE_64_getpid
818TRACE_SYSCALL_TABLE(getpid, getpid, 39, 0)
e17f92ba 819#endif
644d6e9c
MD
820#ifndef OVERRIDE_TABLE_64_getuid
821TRACE_SYSCALL_TABLE(getuid, getuid, 102, 0)
e17f92ba 822#endif
644d6e9c
MD
823#ifndef OVERRIDE_TABLE_64_getgid
824TRACE_SYSCALL_TABLE(getgid, getgid, 104, 0)
e17f92ba 825#endif
644d6e9c
MD
826#ifndef OVERRIDE_TABLE_64_geteuid
827TRACE_SYSCALL_TABLE(geteuid, geteuid, 107, 0)
e17f92ba 828#endif
644d6e9c
MD
829#ifndef OVERRIDE_TABLE_64_getegid
830TRACE_SYSCALL_TABLE(getegid, getegid, 108, 0)
e17f92ba 831#endif
644d6e9c
MD
832#ifndef OVERRIDE_TABLE_64_getppid
833TRACE_SYSCALL_TABLE(getppid, getppid, 110, 0)
e17f92ba 834#endif
644d6e9c
MD
835#ifndef OVERRIDE_TABLE_64_getpgrp
836TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 111, 0)
e17f92ba 837#endif
644d6e9c
MD
838#ifndef OVERRIDE_TABLE_64_setsid
839TRACE_SYSCALL_TABLE(setsid, setsid, 112, 0)
e17f92ba 840#endif
644d6e9c
MD
841#ifndef OVERRIDE_TABLE_64_munlockall
842TRACE_SYSCALL_TABLE(munlockall, munlockall, 152, 0)
e17f92ba 843#endif
644d6e9c
MD
844#ifndef OVERRIDE_TABLE_64_vhangup
845TRACE_SYSCALL_TABLE(vhangup, vhangup, 153, 0)
e17f92ba 846#endif
644d6e9c
MD
847#ifndef OVERRIDE_TABLE_64_sync
848TRACE_SYSCALL_TABLE(sync, sync, 162, 0)
e17f92ba 849#endif
644d6e9c
MD
850#ifndef OVERRIDE_TABLE_64_gettid
851TRACE_SYSCALL_TABLE(gettid, gettid, 186, 0)
e17f92ba 852#endif
644d6e9c
MD
853#ifndef OVERRIDE_TABLE_64_restart_syscall
854TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 219, 0)
e17f92ba 855#endif
644d6e9c
MD
856#ifndef OVERRIDE_TABLE_64_inotify_init
857TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 253, 0)
e17f92ba
MD
858#endif
859#endif /* else #ifdef SC_ENTER */
644d6e9c
MD
860#ifndef OVERRIDE_TABLE_64_close
861TRACE_SYSCALL_TABLE(close, close, 3, 1)
7e39c6d6 862#endif
644d6e9c
MD
863#ifndef OVERRIDE_TABLE_64_lseek
864TRACE_SYSCALL_TABLE(lseek, lseek, 8, 3)
7e39c6d6 865#endif
644d6e9c
MD
866#ifndef OVERRIDE_TABLE_64_mmap
867TRACE_SYSCALL_TABLE(mmap, mmap, 9, 6)
7e39c6d6 868#endif
644d6e9c
MD
869#ifndef OVERRIDE_TABLE_64_mprotect
870TRACE_SYSCALL_TABLE(mprotect, mprotect, 10, 3)
7e39c6d6 871#endif
644d6e9c
MD
872#ifndef OVERRIDE_TABLE_64_munmap
873TRACE_SYSCALL_TABLE(munmap, munmap, 11, 2)
7e39c6d6 874#endif
644d6e9c
MD
875#ifndef OVERRIDE_TABLE_64_brk
876TRACE_SYSCALL_TABLE(brk, brk, 12, 1)
7e39c6d6 877#endif
644d6e9c
MD
878#ifndef OVERRIDE_TABLE_64_ioctl
879TRACE_SYSCALL_TABLE(ioctl, ioctl, 16, 3)
7e39c6d6 880#endif
644d6e9c
MD
881#ifndef OVERRIDE_TABLE_64_mremap
882TRACE_SYSCALL_TABLE(mremap, mremap, 25, 5)
7e39c6d6 883#endif
644d6e9c
MD
884#ifndef OVERRIDE_TABLE_64_msync
885TRACE_SYSCALL_TABLE(msync, msync, 26, 3)
7e39c6d6 886#endif
644d6e9c
MD
887#ifndef OVERRIDE_TABLE_64_madvise
888TRACE_SYSCALL_TABLE(madvise, madvise, 28, 3)
7e39c6d6 889#endif
644d6e9c
MD
890#ifndef OVERRIDE_TABLE_64_shmget
891TRACE_SYSCALL_TABLE(shmget, shmget, 29, 3)
7e39c6d6 892#endif
644d6e9c
MD
893#ifndef OVERRIDE_TABLE_64_dup
894TRACE_SYSCALL_TABLE(dup, dup, 32, 1)
7e39c6d6 895#endif
644d6e9c
MD
896#ifndef OVERRIDE_TABLE_64_dup2
897TRACE_SYSCALL_TABLE(dup2, dup2, 33, 2)
7e39c6d6 898#endif
644d6e9c
MD
899#ifndef OVERRIDE_TABLE_64_alarm
900TRACE_SYSCALL_TABLE(alarm, alarm, 37, 1)
7e39c6d6 901#endif
644d6e9c
MD
902#ifndef OVERRIDE_TABLE_64_socket
903TRACE_SYSCALL_TABLE(socket, socket, 41, 3)
7e39c6d6 904#endif
644d6e9c
MD
905#ifndef OVERRIDE_TABLE_64_shutdown
906TRACE_SYSCALL_TABLE(shutdown, shutdown, 48, 2)
7e39c6d6 907#endif
644d6e9c
MD
908#ifndef OVERRIDE_TABLE_64_listen
909TRACE_SYSCALL_TABLE(listen, listen, 50, 2)
7e39c6d6 910#endif
644d6e9c
MD
911#ifndef OVERRIDE_TABLE_64_exit
912TRACE_SYSCALL_TABLE(exit, exit, 60, 1)
7e39c6d6 913#endif
644d6e9c
MD
914#ifndef OVERRIDE_TABLE_64_kill
915TRACE_SYSCALL_TABLE(kill, kill, 62, 2)
7e39c6d6 916#endif
644d6e9c
MD
917#ifndef OVERRIDE_TABLE_64_semget
918TRACE_SYSCALL_TABLE(semget, semget, 64, 3)
7e39c6d6 919#endif
644d6e9c
MD
920#ifndef OVERRIDE_TABLE_64_semctl
921TRACE_SYSCALL_TABLE(semctl, semctl, 66, 4)
7e39c6d6 922#endif
644d6e9c
MD
923#ifndef OVERRIDE_TABLE_64_msgget
924TRACE_SYSCALL_TABLE(msgget, msgget, 68, 2)
7e39c6d6 925#endif
644d6e9c
MD
926#ifndef OVERRIDE_TABLE_64_fcntl
927TRACE_SYSCALL_TABLE(fcntl, fcntl, 72, 3)
7e39c6d6 928#endif
644d6e9c
MD
929#ifndef OVERRIDE_TABLE_64_flock
930TRACE_SYSCALL_TABLE(flock, flock, 73, 2)
7e39c6d6 931#endif
644d6e9c
MD
932#ifndef OVERRIDE_TABLE_64_fsync
933TRACE_SYSCALL_TABLE(fsync, fsync, 74, 1)
7e39c6d6 934#endif
644d6e9c
MD
935#ifndef OVERRIDE_TABLE_64_fdatasync
936TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 75, 1)
7e39c6d6 937#endif
644d6e9c
MD
938#ifndef OVERRIDE_TABLE_64_ftruncate
939TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 77, 2)
7e39c6d6 940#endif
644d6e9c
MD
941#ifndef OVERRIDE_TABLE_64_fchdir
942TRACE_SYSCALL_TABLE(fchdir, fchdir, 81, 1)
7e39c6d6 943#endif
644d6e9c
MD
944#ifndef OVERRIDE_TABLE_64_fchmod
945TRACE_SYSCALL_TABLE(fchmod, fchmod, 91, 2)
7e39c6d6 946#endif
644d6e9c
MD
947#ifndef OVERRIDE_TABLE_64_fchown
948TRACE_SYSCALL_TABLE(fchown, fchown, 93, 3)
7e39c6d6 949#endif
644d6e9c
MD
950#ifndef OVERRIDE_TABLE_64_umask
951TRACE_SYSCALL_TABLE(umask, umask, 95, 1)
7e39c6d6 952#endif
644d6e9c
MD
953#ifndef OVERRIDE_TABLE_64_ptrace
954TRACE_SYSCALL_TABLE(ptrace, ptrace, 101, 4)
7e39c6d6 955#endif
644d6e9c
MD
956#ifndef OVERRIDE_TABLE_64_setuid
957TRACE_SYSCALL_TABLE(setuid, setuid, 105, 1)
7e39c6d6 958#endif
644d6e9c
MD
959#ifndef OVERRIDE_TABLE_64_setgid
960TRACE_SYSCALL_TABLE(setgid, setgid, 106, 1)
7e39c6d6 961#endif
644d6e9c
MD
962#ifndef OVERRIDE_TABLE_64_setpgid
963TRACE_SYSCALL_TABLE(setpgid, setpgid, 109, 2)
7e39c6d6 964#endif
644d6e9c
MD
965#ifndef OVERRIDE_TABLE_64_setreuid
966TRACE_SYSCALL_TABLE(setreuid, setreuid, 113, 2)
7e39c6d6 967#endif
644d6e9c
MD
968#ifndef OVERRIDE_TABLE_64_setregid
969TRACE_SYSCALL_TABLE(setregid, setregid, 114, 2)
7e39c6d6 970#endif
644d6e9c
MD
971#ifndef OVERRIDE_TABLE_64_setresuid
972TRACE_SYSCALL_TABLE(setresuid, setresuid, 117, 3)
7e39c6d6 973#endif
644d6e9c
MD
974#ifndef OVERRIDE_TABLE_64_setresgid
975TRACE_SYSCALL_TABLE(setresgid, setresgid, 119, 3)
7e39c6d6 976#endif
644d6e9c
MD
977#ifndef OVERRIDE_TABLE_64_getpgid
978TRACE_SYSCALL_TABLE(getpgid, getpgid, 121, 1)
7e39c6d6 979#endif
644d6e9c
MD
980#ifndef OVERRIDE_TABLE_64_setfsuid
981TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 122, 1)
7e39c6d6 982#endif
644d6e9c
MD
983#ifndef OVERRIDE_TABLE_64_setfsgid
984TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 123, 1)
7e39c6d6 985#endif
644d6e9c
MD
986#ifndef OVERRIDE_TABLE_64_getsid
987TRACE_SYSCALL_TABLE(getsid, getsid, 124, 1)
7e39c6d6 988#endif
644d6e9c
MD
989#ifndef OVERRIDE_TABLE_64_personality
990TRACE_SYSCALL_TABLE(personality, personality, 135, 1)
7e39c6d6 991#endif
644d6e9c
MD
992#ifndef OVERRIDE_TABLE_64_sysfs
993TRACE_SYSCALL_TABLE(sysfs, sysfs, 139, 3)
7e39c6d6 994#endif
644d6e9c
MD
995#ifndef OVERRIDE_TABLE_64_getpriority
996TRACE_SYSCALL_TABLE(getpriority, getpriority, 140, 2)
7e39c6d6 997#endif
644d6e9c
MD
998#ifndef OVERRIDE_TABLE_64_setpriority
999TRACE_SYSCALL_TABLE(setpriority, setpriority, 141, 3)
7e39c6d6 1000#endif
644d6e9c
MD
1001#ifndef OVERRIDE_TABLE_64_sched_getscheduler
1002TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 145, 1)
7e39c6d6 1003#endif
644d6e9c
MD
1004#ifndef OVERRIDE_TABLE_64_sched_get_priority_max
1005TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 146, 1)
7e39c6d6 1006#endif
644d6e9c
MD
1007#ifndef OVERRIDE_TABLE_64_sched_get_priority_min
1008TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 147, 1)
7e39c6d6 1009#endif
644d6e9c
MD
1010#ifndef OVERRIDE_TABLE_64_mlock
1011TRACE_SYSCALL_TABLE(mlock, mlock, 149, 2)
7e39c6d6 1012#endif
644d6e9c
MD
1013#ifndef OVERRIDE_TABLE_64_munlock
1014TRACE_SYSCALL_TABLE(munlock, munlock, 150, 2)
7e39c6d6 1015#endif
644d6e9c
MD
1016#ifndef OVERRIDE_TABLE_64_mlockall
1017TRACE_SYSCALL_TABLE(mlockall, mlockall, 151, 1)
7e39c6d6 1018#endif
644d6e9c
MD
1019#ifndef OVERRIDE_TABLE_64_prctl
1020TRACE_SYSCALL_TABLE(prctl, prctl, 157, 5)
7e39c6d6 1021#endif
644d6e9c
MD
1022#ifndef OVERRIDE_TABLE_64_readahead
1023TRACE_SYSCALL_TABLE(readahead, readahead, 187, 3)
7e39c6d6 1024#endif
644d6e9c
MD
1025#ifndef OVERRIDE_TABLE_64_tkill
1026TRACE_SYSCALL_TABLE(tkill, tkill, 200, 2)
7e39c6d6 1027#endif
644d6e9c
MD
1028#ifndef OVERRIDE_TABLE_64_io_destroy
1029TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 207, 1)
7e39c6d6 1030#endif
644d6e9c
MD
1031#ifndef OVERRIDE_TABLE_64_epoll_create
1032TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 213, 1)
7e39c6d6 1033#endif
644d6e9c
MD
1034#ifndef OVERRIDE_TABLE_64_remap_file_pages
1035TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 216, 5)
7e39c6d6 1036#endif
644d6e9c
MD
1037#ifndef OVERRIDE_TABLE_64_fadvise64
1038TRACE_SYSCALL_TABLE(fadvise64, fadvise64, 221, 4)
7e39c6d6 1039#endif
644d6e9c
MD
1040#ifndef OVERRIDE_TABLE_64_timer_getoverrun
1041TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 225, 1)
7e39c6d6 1042#endif
644d6e9c
MD
1043#ifndef OVERRIDE_TABLE_64_timer_delete
1044TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 226, 1)
7e39c6d6 1045#endif
644d6e9c
MD
1046#ifndef OVERRIDE_TABLE_64_exit_group
1047TRACE_SYSCALL_TABLE(exit_group, exit_group, 231, 1)
7e39c6d6 1048#endif
644d6e9c
MD
1049#ifndef OVERRIDE_TABLE_64_tgkill
1050TRACE_SYSCALL_TABLE(tgkill, tgkill, 234, 3)
7e39c6d6 1051#endif
644d6e9c
MD
1052#ifndef OVERRIDE_TABLE_64_keyctl
1053TRACE_SYSCALL_TABLE(keyctl, keyctl, 250, 5)
7e39c6d6 1054#endif
644d6e9c
MD
1055#ifndef OVERRIDE_TABLE_64_ioprio_set
1056TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 251, 3)
7e39c6d6 1057#endif
644d6e9c
MD
1058#ifndef OVERRIDE_TABLE_64_ioprio_get
1059TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 252, 2)
7e39c6d6 1060#endif
644d6e9c
MD
1061#ifndef OVERRIDE_TABLE_64_inotify_rm_watch
1062TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 255, 2)
7e39c6d6 1063#endif
644d6e9c
MD
1064#ifndef OVERRIDE_TABLE_64_unshare
1065TRACE_SYSCALL_TABLE(unshare, unshare, 272, 1)
7e39c6d6 1066#endif
644d6e9c
MD
1067#ifndef OVERRIDE_TABLE_64_tee
1068TRACE_SYSCALL_TABLE(tee, tee, 276, 4)
7e39c6d6 1069#endif
644d6e9c
MD
1070#ifndef OVERRIDE_TABLE_64_sync_file_range
1071TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 277, 4)
7e39c6d6 1072#endif
644d6e9c
MD
1073#ifndef OVERRIDE_TABLE_64_timerfd_create
1074TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 283, 2)
7e39c6d6 1075#endif
644d6e9c
MD
1076#ifndef OVERRIDE_TABLE_64_eventfd
1077TRACE_SYSCALL_TABLE(eventfd, eventfd, 284, 1)
7e39c6d6 1078#endif
644d6e9c
MD
1079#ifndef OVERRIDE_TABLE_64_fallocate
1080TRACE_SYSCALL_TABLE(fallocate, fallocate, 285, 4)
7e39c6d6 1081#endif
644d6e9c
MD
1082#ifndef OVERRIDE_TABLE_64_eventfd2
1083TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 290, 2)
7e39c6d6 1084#endif
644d6e9c
MD
1085#ifndef OVERRIDE_TABLE_64_epoll_create1
1086TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 291, 1)
7e39c6d6 1087#endif
644d6e9c
MD
1088#ifndef OVERRIDE_TABLE_64_dup3
1089TRACE_SYSCALL_TABLE(dup3, dup3, 292, 3)
7e39c6d6 1090#endif
644d6e9c
MD
1091#ifndef OVERRIDE_TABLE_64_inotify_init1
1092TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 294, 1)
7e39c6d6 1093#endif
644d6e9c
MD
1094#ifndef OVERRIDE_TABLE_64_fanotify_init
1095TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 300, 2)
7e39c6d6 1096#endif
644d6e9c
MD
1097#ifndef OVERRIDE_TABLE_64_syncfs
1098TRACE_SYSCALL_TABLE(syncfs, syncfs, 306, 1)
7e39c6d6 1099#endif
644d6e9c
MD
1100#ifndef OVERRIDE_TABLE_64_setns
1101TRACE_SYSCALL_TABLE(setns, setns, 308, 2)
7e39c6d6
YB
1102#endif
1103
1104#endif /* CREATE_SYSCALL_TABLE */
This page took 0.146813 seconds and 4 git commands to generate.