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