1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
5 /* Generated from arm-64-syscalls 6.0.7 */
7 #ifndef CREATE_SYSCALL_TABLE
9 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_INTEGERS_H
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "arm-64-syscalls_integers_override.h"
15 #include "syscalls_integers_override.h"
18 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
21 #ifndef OVERRIDE_64_vhangup
22 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
24 #ifndef OVERRIDE_64_sync
25 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
27 #ifndef OVERRIDE_64_sched_yield
28 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
30 #ifndef OVERRIDE_64_restart_syscall
31 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
33 #ifndef OVERRIDE_64_rt_sigreturn
34 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, rt_sigreturn
)
36 #ifndef OVERRIDE_64_setsid
37 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
39 #ifndef OVERRIDE_64_getpid
40 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
42 #ifndef OVERRIDE_64_getppid
43 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
45 #ifndef OVERRIDE_64_getuid
46 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
48 #ifndef OVERRIDE_64_geteuid
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
51 #ifndef OVERRIDE_64_getgid
52 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
54 #ifndef OVERRIDE_64_getegid
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
57 #ifndef OVERRIDE_64_gettid
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
60 #ifndef OVERRIDE_64_munlockall
61 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
63 #else /* #ifdef SC_ENTER */
64 #ifndef OVERRIDE_64_vhangup
65 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
66 TP_PROTO(sc_exit(long ret
)),
67 TP_ARGS(sc_exit(ret
)),
68 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
71 #ifndef OVERRIDE_64_sync
72 SC_LTTNG_TRACEPOINT_EVENT(sync
,
73 TP_PROTO(sc_exit(long ret
)),
74 TP_ARGS(sc_exit(ret
)),
75 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
78 #ifndef OVERRIDE_64_sched_yield
79 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
80 TP_PROTO(sc_exit(long ret
)),
81 TP_ARGS(sc_exit(ret
)),
82 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
85 #ifndef OVERRIDE_64_restart_syscall
86 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
87 TP_PROTO(sc_exit(long ret
)),
88 TP_ARGS(sc_exit(ret
)),
89 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
92 #ifndef OVERRIDE_64_rt_sigreturn
93 SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn
,
94 TP_PROTO(sc_exit(long ret
)),
95 TP_ARGS(sc_exit(ret
)),
96 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
99 #ifndef OVERRIDE_64_setsid
100 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
101 TP_PROTO(sc_exit(long ret
)),
102 TP_ARGS(sc_exit(ret
)),
103 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
106 #ifndef OVERRIDE_64_getpid
107 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
108 TP_PROTO(sc_exit(long ret
)),
109 TP_ARGS(sc_exit(ret
)),
110 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
113 #ifndef OVERRIDE_64_getppid
114 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
115 TP_PROTO(sc_exit(long ret
)),
116 TP_ARGS(sc_exit(ret
)),
117 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
120 #ifndef OVERRIDE_64_getuid
121 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
122 TP_PROTO(sc_exit(long ret
)),
123 TP_ARGS(sc_exit(ret
)),
124 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
127 #ifndef OVERRIDE_64_geteuid
128 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
129 TP_PROTO(sc_exit(long ret
)),
130 TP_ARGS(sc_exit(ret
)),
131 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
134 #ifndef OVERRIDE_64_getgid
135 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
136 TP_PROTO(sc_exit(long ret
)),
137 TP_ARGS(sc_exit(ret
)),
138 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
141 #ifndef OVERRIDE_64_getegid
142 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
143 TP_PROTO(sc_exit(long ret
)),
144 TP_ARGS(sc_exit(ret
)),
145 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
148 #ifndef OVERRIDE_64_gettid
149 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
150 TP_PROTO(sc_exit(long ret
)),
151 TP_ARGS(sc_exit(ret
)),
152 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
155 #ifndef OVERRIDE_64_munlockall
156 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
157 TP_PROTO(sc_exit(long ret
)),
158 TP_ARGS(sc_exit(ret
)),
159 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
162 #endif /* else #ifdef SC_ENTER */
163 #ifndef OVERRIDE_64_io_destroy
164 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
165 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
166 TP_ARGS(sc_exit(ret
,) ctx
),
167 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
170 #ifndef OVERRIDE_64_epoll_create1
171 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
172 TP_PROTO(sc_exit(long ret
,) int flags
),
173 TP_ARGS(sc_exit(ret
,) flags
),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
177 #ifndef OVERRIDE_64_dup
178 SC_LTTNG_TRACEPOINT_EVENT(dup
,
179 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
180 TP_ARGS(sc_exit(ret
,) fildes
),
181 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
184 #ifndef OVERRIDE_64_inotify_init1
185 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
186 TP_PROTO(sc_exit(long ret
,) int flags
),
187 TP_ARGS(sc_exit(ret
,) flags
),
188 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
191 #ifndef OVERRIDE_64_fchdir
192 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
193 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
194 TP_ARGS(sc_exit(ret
,) fd
),
195 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
198 #ifndef OVERRIDE_64_close
199 SC_LTTNG_TRACEPOINT_EVENT(close
,
200 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
201 TP_ARGS(sc_exit(ret
,) fd
),
202 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
205 #ifndef OVERRIDE_64_fsync
206 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
207 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
208 TP_ARGS(sc_exit(ret
,) fd
),
209 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
212 #ifndef OVERRIDE_64_fdatasync
213 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
214 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
215 TP_ARGS(sc_exit(ret
,) fd
),
216 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
219 #ifndef OVERRIDE_64_arm64_personality
220 SC_LTTNG_TRACEPOINT_EVENT(arm64_personality
,
221 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
222 TP_ARGS(sc_exit(ret
,) personality
),
223 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, personality
, personality
)))
226 #ifndef OVERRIDE_64_exit
227 SC_LTTNG_TRACEPOINT_EVENT(exit
,
228 TP_PROTO(sc_exit(long ret
,) int error_code
),
229 TP_ARGS(sc_exit(ret
,) error_code
),
230 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
233 #ifndef OVERRIDE_64_exit_group
234 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
235 TP_PROTO(sc_exit(long ret
,) int error_code
),
236 TP_ARGS(sc_exit(ret
,) error_code
),
237 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
240 #ifndef OVERRIDE_64_unshare
241 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
242 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
243 TP_ARGS(sc_exit(ret
,) unshare_flags
),
244 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
247 #ifndef OVERRIDE_64_timer_getoverrun
248 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
249 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
250 TP_ARGS(sc_exit(ret
,) timer_id
),
251 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
254 #ifndef OVERRIDE_64_timer_delete
255 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
256 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
257 TP_ARGS(sc_exit(ret
,) timer_id
),
258 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
261 #ifndef OVERRIDE_64_sched_getscheduler
262 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
263 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
264 TP_ARGS(sc_exit(ret
,) pid
),
265 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
268 #ifndef OVERRIDE_64_sched_get_priority_max
269 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
270 TP_PROTO(sc_exit(long ret
,) int policy
),
271 TP_ARGS(sc_exit(ret
,) policy
),
272 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
275 #ifndef OVERRIDE_64_sched_get_priority_min
276 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
277 TP_PROTO(sc_exit(long ret
,) int policy
),
278 TP_ARGS(sc_exit(ret
,) policy
),
279 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
282 #ifndef OVERRIDE_64_setgid
283 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
284 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
285 TP_ARGS(sc_exit(ret
,) gid
),
286 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
289 #ifndef OVERRIDE_64_setuid
290 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
291 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
292 TP_ARGS(sc_exit(ret
,) uid
),
293 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
296 #ifndef OVERRIDE_64_setfsuid
297 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
298 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
299 TP_ARGS(sc_exit(ret
,) uid
),
300 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
303 #ifndef OVERRIDE_64_setfsgid
304 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
305 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
306 TP_ARGS(sc_exit(ret
,) gid
),
307 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
310 #ifndef OVERRIDE_64_getpgid
311 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
312 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
313 TP_ARGS(sc_exit(ret
,) pid
),
314 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
317 #ifndef OVERRIDE_64_getsid
318 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
319 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
320 TP_ARGS(sc_exit(ret
,) pid
),
321 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
324 #ifndef OVERRIDE_64_umask
325 SC_LTTNG_TRACEPOINT_EVENT(umask
,
326 TP_PROTO(sc_exit(long ret
,) int mask
),
327 TP_ARGS(sc_exit(ret
,) mask
),
328 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
331 #ifndef OVERRIDE_64_brk
332 SC_LTTNG_TRACEPOINT_EVENT(brk
,
333 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
334 TP_ARGS(sc_exit(ret
,) brk
),
335 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
338 #ifndef OVERRIDE_64_mlockall
339 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
340 TP_PROTO(sc_exit(long ret
,) int flags
),
341 TP_ARGS(sc_exit(ret
,) flags
),
342 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
345 #ifndef OVERRIDE_64_syncfs
346 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
347 TP_PROTO(sc_exit(long ret
,) int fd
),
348 TP_ARGS(sc_exit(ret
,) fd
),
349 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
352 #ifndef OVERRIDE_64_userfaultfd
353 SC_LTTNG_TRACEPOINT_EVENT(userfaultfd
,
354 TP_PROTO(sc_exit(long ret
,) int flags
),
355 TP_ARGS(sc_exit(ret
,) flags
),
356 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, flags
, flags
)))
359 #ifndef OVERRIDE_64_memfd_secret
360 SC_LTTNG_TRACEPOINT_EVENT(memfd_secret
,
361 TP_PROTO(sc_exit(long ret
,) unsigned int flags
),
362 TP_ARGS(sc_exit(ret
,) flags
),
363 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
366 #ifndef OVERRIDE_64_eventfd2
367 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
368 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
369 TP_ARGS(sc_exit(ret
,) count
, flags
),
370 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 #ifndef OVERRIDE_64_inotify_rm_watch
374 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
375 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
376 TP_ARGS(sc_exit(ret
,) fd
, wd
),
377 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
380 #ifndef OVERRIDE_64_ioprio_get
381 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
382 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
383 TP_ARGS(sc_exit(ret
,) which
, who
),
384 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
387 #ifndef OVERRIDE_64_flock
388 SC_LTTNG_TRACEPOINT_EVENT(flock
,
389 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
390 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
391 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 #ifndef OVERRIDE_64_ftruncate
395 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
396 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
397 TP_ARGS(sc_exit(ret
,) fd
, length
),
398 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 #ifndef OVERRIDE_64_fchmod
402 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
403 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
404 TP_ARGS(sc_exit(ret
,) fd
, mode
),
405 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 #ifndef OVERRIDE_64_timerfd_create
409 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
410 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
411 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
412 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
415 #ifndef OVERRIDE_64_kill
416 SC_LTTNG_TRACEPOINT_EVENT(kill
,
417 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
418 TP_ARGS(sc_exit(ret
,) pid
, sig
),
419 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 #ifndef OVERRIDE_64_tkill
423 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
424 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
425 TP_ARGS(sc_exit(ret
,) pid
, sig
),
426 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 #ifndef OVERRIDE_64_getpriority
430 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
431 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
432 TP_ARGS(sc_exit(ret
,) which
, who
),
433 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
436 #ifndef OVERRIDE_64_setregid
437 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
438 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
439 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
440 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 #ifndef OVERRIDE_64_setreuid
444 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
445 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
446 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
447 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 #ifndef OVERRIDE_64_setpgid
451 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
452 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
453 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
454 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 #ifndef OVERRIDE_64_msgget
458 SC_LTTNG_TRACEPOINT_EVENT(msgget
,
459 TP_PROTO(sc_exit(long ret
,) key_t key
, int msgflg
),
460 TP_ARGS(sc_exit(ret
,) key
, msgflg
),
461 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 #ifndef OVERRIDE_64_listen
465 SC_LTTNG_TRACEPOINT_EVENT(listen
,
466 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
467 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
468 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
471 #ifndef OVERRIDE_64_shutdown
472 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
473 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
474 TP_ARGS(sc_exit(ret
,) fd
, how
),
475 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
478 #ifndef OVERRIDE_64_munmap
479 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
480 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
481 TP_ARGS(sc_exit(ret
,) addr
, len
),
482 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 #ifndef OVERRIDE_64_mlock
486 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
487 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
488 TP_ARGS(sc_exit(ret
,) start
, len
),
489 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 #ifndef OVERRIDE_64_munlock
493 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
494 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
495 TP_ARGS(sc_exit(ret
,) start
, len
),
496 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 #ifndef OVERRIDE_64_fanotify_init
500 SC_LTTNG_TRACEPOINT_EVENT(fanotify_init
,
501 TP_PROTO(sc_exit(long ret
,) unsigned int flags
, unsigned int event_f_flags
),
502 TP_ARGS(sc_exit(ret
,) flags
, event_f_flags
),
503 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 #ifndef OVERRIDE_64_setns
507 SC_LTTNG_TRACEPOINT_EVENT(setns
,
508 TP_PROTO(sc_exit(long ret
,) int fd
, int flags
),
509 TP_ARGS(sc_exit(ret
,) fd
, flags
),
510 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, flags
, flags
)))
513 #ifndef OVERRIDE_64_pidfd_open
514 SC_LTTNG_TRACEPOINT_EVENT(pidfd_open
,
515 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int flags
),
516 TP_ARGS(sc_exit(ret
,) pid
, flags
),
517 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 #ifndef OVERRIDE_64_process_mrelease
521 SC_LTTNG_TRACEPOINT_EVENT(process_mrelease
,
522 TP_PROTO(sc_exit(long ret
,) int pidfd
, unsigned int flags
),
523 TP_ARGS(sc_exit(ret
,) pidfd
, flags
),
524 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 #ifndef OVERRIDE_64_dup3
528 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
529 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
530 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
531 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 #ifndef OVERRIDE_64_fcntl
535 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
536 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
537 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
538 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 #ifndef OVERRIDE_64_ioctl
542 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
543 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
544 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
545 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 #ifndef OVERRIDE_64_ioprio_set
549 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
550 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
551 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
552 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 #ifndef OVERRIDE_64_fchown
556 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
557 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
558 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
559 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 #ifndef OVERRIDE_64_lseek
563 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
564 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
565 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
566 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 #ifndef OVERRIDE_64_tgkill
570 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
571 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
572 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
573 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 #ifndef OVERRIDE_64_setpriority
577 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
578 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
579 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
580 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 #ifndef OVERRIDE_64_setresuid
584 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
585 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
586 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
587 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, ruid
, ruid
)) sc_in(ctf_integer(uid_t
, euid
, euid
)) sc_in(ctf_integer(uid_t
, suid
, suid
)))
590 #ifndef OVERRIDE_64_setresgid
591 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
592 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
593 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
594 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, rgid
, rgid
)) sc_in(ctf_integer(gid_t
, egid
, egid
)) sc_in(ctf_integer(gid_t
, sgid
, sgid
)))
597 #ifndef OVERRIDE_64_semget
598 SC_LTTNG_TRACEPOINT_EVENT(semget
,
599 TP_PROTO(sc_exit(long ret
,) key_t key
, int nsems
, int semflg
),
600 TP_ARGS(sc_exit(ret
,) key
, nsems
, semflg
),
601 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 #ifndef OVERRIDE_64_shmget
605 SC_LTTNG_TRACEPOINT_EVENT(shmget
,
606 TP_PROTO(sc_exit(long ret
,) key_t key
, size_t size
, int shmflg
),
607 TP_ARGS(sc_exit(ret
,) key
, size
, shmflg
),
608 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 #ifndef OVERRIDE_64_socket
612 SC_LTTNG_TRACEPOINT_EVENT(socket
,
613 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
614 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
615 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 #ifndef OVERRIDE_64_readahead
619 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
620 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
621 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
622 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 #ifndef OVERRIDE_64_mprotect
626 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
627 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
628 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
629 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 #ifndef OVERRIDE_64_msync
633 SC_LTTNG_TRACEPOINT_EVENT(msync
,
634 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
635 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
636 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 #ifndef OVERRIDE_64_madvise
640 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
641 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
642 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
643 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 #ifndef OVERRIDE_64_membarrier
647 SC_LTTNG_TRACEPOINT_EVENT(membarrier
,
648 TP_PROTO(sc_exit(long ret
,) int cmd
, unsigned int flags
, int cpu_id
),
649 TP_ARGS(sc_exit(ret
,) cmd
, flags
, cpu_id
),
650 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 #ifndef OVERRIDE_64_mlock2
654 SC_LTTNG_TRACEPOINT_EVENT(mlock2
,
655 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
656 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
657 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 #ifndef OVERRIDE_64_fsmount
661 SC_LTTNG_TRACEPOINT_EVENT(fsmount
,
662 TP_PROTO(sc_exit(long ret
,) int fs_fd
, unsigned int flags
, unsigned int attr_flags
),
663 TP_ARGS(sc_exit(ret
,) fs_fd
, flags
, attr_flags
),
664 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 #ifndef OVERRIDE_64_close_range
668 SC_LTTNG_TRACEPOINT_EVENT(close_range
,
669 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int max_fd
, unsigned int flags
),
670 TP_ARGS(sc_exit(ret
,) fd
, max_fd
, flags
),
671 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 #ifndef OVERRIDE_64_pidfd_getfd
675 SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd
,
676 TP_PROTO(sc_exit(long ret
,) int pidfd
, int fd
, unsigned int flags
),
677 TP_ARGS(sc_exit(ret
,) pidfd
, fd
, flags
),
678 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 #ifndef OVERRIDE_64_fallocate
682 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
683 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
684 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
685 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 #ifndef OVERRIDE_64_tee
689 SC_LTTNG_TRACEPOINT_EVENT(tee
,
690 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
691 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
692 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 #ifndef OVERRIDE_64_sync_file_range
696 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
697 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
698 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
699 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 #ifndef OVERRIDE_64_ptrace
703 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
704 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
705 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
706 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 #ifndef OVERRIDE_64_semctl
710 SC_LTTNG_TRACEPOINT_EVENT(semctl
,
711 TP_PROTO(sc_exit(long ret
,) int semid
, int semnum
, int cmd
, unsigned long arg
),
712 TP_ARGS(sc_exit(ret
,) semid
, semnum
, cmd
, arg
),
713 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 #ifndef OVERRIDE_64_fadvise64_64
717 SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64
,
718 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t len
, int advice
),
719 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
720 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 #ifndef OVERRIDE_64_set_mempolicy_home_node
724 SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node
,
725 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long len
, unsigned long home_node
, unsigned long flags
),
726 TP_ARGS(sc_exit(ret
,) start
, len
, home_node
, flags
),
727 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 #ifndef OVERRIDE_64_prctl
731 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
732 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
733 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
734 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 #ifndef OVERRIDE_64_mremap
738 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
739 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
740 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
741 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 #ifndef OVERRIDE_64_keyctl
745 SC_LTTNG_TRACEPOINT_EVENT(keyctl
,
746 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
747 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
748 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 #ifndef OVERRIDE_64_remap_file_pages
752 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
753 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
754 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
755 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 #ifndef OVERRIDE_64_kcmp
759 SC_LTTNG_TRACEPOINT_EVENT(kcmp
,
760 TP_PROTO(sc_exit(long ret
,) pid_t pid1
, pid_t pid2
, int type
, unsigned long idx1
, unsigned long idx2
),
761 TP_ARGS(sc_exit(ret
,) pid1
, pid2
, type
, idx1
, idx2
),
762 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 #ifndef OVERRIDE_64_mmap
766 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
767 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long off
),
768 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, off
),
769 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
)))
773 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
775 /* This part must be outside protection */
776 #include <lttng/define_trace.h>
778 #else /* CREATE_SYSCALL_TABLE */
780 #include "arm-64-syscalls_integers_override.h"
781 #include "syscalls_integers_override.h"
784 #ifndef OVERRIDE_TABLE_64_vhangup
785 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 58, 0)
787 #ifndef OVERRIDE_TABLE_64_sync
788 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 81, 0)
790 #ifndef OVERRIDE_TABLE_64_sched_yield
791 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 124, 0)
793 #ifndef OVERRIDE_TABLE_64_restart_syscall
794 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 128, 0)
796 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
797 TRACE_SYSCALL_TABLE(syscalls_noargs
, rt_sigreturn
, 139, 0)
799 #ifndef OVERRIDE_TABLE_64_setsid
800 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 157, 0)
802 #ifndef OVERRIDE_TABLE_64_getpid
803 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 172, 0)
805 #ifndef OVERRIDE_TABLE_64_getppid
806 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 173, 0)
808 #ifndef OVERRIDE_TABLE_64_getuid
809 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 174, 0)
811 #ifndef OVERRIDE_TABLE_64_geteuid
812 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 175, 0)
814 #ifndef OVERRIDE_TABLE_64_getgid
815 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 176, 0)
817 #ifndef OVERRIDE_TABLE_64_getegid
818 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 177, 0)
820 #ifndef OVERRIDE_TABLE_64_gettid
821 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 178, 0)
823 #ifndef OVERRIDE_TABLE_64_munlockall
824 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 231, 0)
826 #else /* #ifdef SC_ENTER */
827 #ifndef OVERRIDE_TABLE_64_vhangup
828 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 58, 0)
830 #ifndef OVERRIDE_TABLE_64_sync
831 TRACE_SYSCALL_TABLE(sync
, sync
, 81, 0)
833 #ifndef OVERRIDE_TABLE_64_sched_yield
834 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 124, 0)
836 #ifndef OVERRIDE_TABLE_64_restart_syscall
837 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 128, 0)
839 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
840 TRACE_SYSCALL_TABLE(rt_sigreturn
, rt_sigreturn
, 139, 0)
842 #ifndef OVERRIDE_TABLE_64_setsid
843 TRACE_SYSCALL_TABLE(setsid
, setsid
, 157, 0)
845 #ifndef OVERRIDE_TABLE_64_getpid
846 TRACE_SYSCALL_TABLE(getpid
, getpid
, 172, 0)
848 #ifndef OVERRIDE_TABLE_64_getppid
849 TRACE_SYSCALL_TABLE(getppid
, getppid
, 173, 0)
851 #ifndef OVERRIDE_TABLE_64_getuid
852 TRACE_SYSCALL_TABLE(getuid
, getuid
, 174, 0)
854 #ifndef OVERRIDE_TABLE_64_geteuid
855 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 175, 0)
857 #ifndef OVERRIDE_TABLE_64_getgid
858 TRACE_SYSCALL_TABLE(getgid
, getgid
, 176, 0)
860 #ifndef OVERRIDE_TABLE_64_getegid
861 TRACE_SYSCALL_TABLE(getegid
, getegid
, 177, 0)
863 #ifndef OVERRIDE_TABLE_64_gettid
864 TRACE_SYSCALL_TABLE(gettid
, gettid
, 178, 0)
866 #ifndef OVERRIDE_TABLE_64_munlockall
867 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 231, 0)
869 #endif /* else #ifdef SC_ENTER */
870 #ifndef OVERRIDE_TABLE_64_io_destroy
871 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 1, 1)
873 #ifndef OVERRIDE_TABLE_64_eventfd2
874 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 19, 2)
876 #ifndef OVERRIDE_TABLE_64_epoll_create1
877 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 20, 1)
879 #ifndef OVERRIDE_TABLE_64_dup
880 TRACE_SYSCALL_TABLE(dup
, dup
, 23, 1)
882 #ifndef OVERRIDE_TABLE_64_dup3
883 TRACE_SYSCALL_TABLE(dup3
, dup3
, 24, 3)
885 #ifndef OVERRIDE_TABLE_64_fcntl
886 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 25, 3)
888 #ifndef OVERRIDE_TABLE_64_inotify_init1
889 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 26, 1)
891 #ifndef OVERRIDE_TABLE_64_inotify_rm_watch
892 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 28, 2)
894 #ifndef OVERRIDE_TABLE_64_ioctl
895 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 29, 3)
897 #ifndef OVERRIDE_TABLE_64_ioprio_set
898 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 30, 3)
900 #ifndef OVERRIDE_TABLE_64_ioprio_get
901 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 31, 2)
903 #ifndef OVERRIDE_TABLE_64_flock
904 TRACE_SYSCALL_TABLE(flock
, flock
, 32, 2)
906 #ifndef OVERRIDE_TABLE_64_ftruncate
907 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 46, 2)
909 #ifndef OVERRIDE_TABLE_64_fallocate
910 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 47, 4)
912 #ifndef OVERRIDE_TABLE_64_fchdir
913 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 50, 1)
915 #ifndef OVERRIDE_TABLE_64_fchmod
916 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 52, 2)
918 #ifndef OVERRIDE_TABLE_64_fchown
919 TRACE_SYSCALL_TABLE(fchown
, fchown
, 55, 3)
921 #ifndef OVERRIDE_TABLE_64_close
922 TRACE_SYSCALL_TABLE(close
, close
, 57, 1)
924 #ifndef OVERRIDE_TABLE_64_lseek
925 TRACE_SYSCALL_TABLE(lseek
, lseek
, 62, 3)
927 #ifndef OVERRIDE_TABLE_64_tee
928 TRACE_SYSCALL_TABLE(tee
, tee
, 77, 4)
930 #ifndef OVERRIDE_TABLE_64_fsync
931 TRACE_SYSCALL_TABLE(fsync
, fsync
, 82, 1)
933 #ifndef OVERRIDE_TABLE_64_fdatasync
934 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 83, 1)
936 #ifndef OVERRIDE_TABLE_64_sync_file_range
937 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 84, 4)
939 #ifndef OVERRIDE_TABLE_64_timerfd_create
940 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 85, 2)
942 #ifndef OVERRIDE_TABLE_64_arm64_personality
943 TRACE_SYSCALL_TABLE(arm64_personality
, arm64_personality
, 92, 1)
945 #ifndef OVERRIDE_TABLE_64_exit
946 TRACE_SYSCALL_TABLE(exit
, exit
, 93, 1)
948 #ifndef OVERRIDE_TABLE_64_exit_group
949 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 94, 1)
951 #ifndef OVERRIDE_TABLE_64_unshare
952 TRACE_SYSCALL_TABLE(unshare
, unshare
, 97, 1)
954 #ifndef OVERRIDE_TABLE_64_timer_getoverrun
955 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 109, 1)
957 #ifndef OVERRIDE_TABLE_64_timer_delete
958 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 111, 1)
960 #ifndef OVERRIDE_TABLE_64_ptrace
961 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 117, 4)
963 #ifndef OVERRIDE_TABLE_64_sched_getscheduler
964 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 120, 1)
966 #ifndef OVERRIDE_TABLE_64_sched_get_priority_max
967 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 125, 1)
969 #ifndef OVERRIDE_TABLE_64_sched_get_priority_min
970 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 126, 1)
972 #ifndef OVERRIDE_TABLE_64_kill
973 TRACE_SYSCALL_TABLE(kill
, kill
, 129, 2)
975 #ifndef OVERRIDE_TABLE_64_tkill
976 TRACE_SYSCALL_TABLE(tkill
, tkill
, 130, 2)
978 #ifndef OVERRIDE_TABLE_64_tgkill
979 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 131, 3)
981 #ifndef OVERRIDE_TABLE_64_setpriority
982 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 140, 3)
984 #ifndef OVERRIDE_TABLE_64_getpriority
985 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 141, 2)
987 #ifndef OVERRIDE_TABLE_64_setregid
988 TRACE_SYSCALL_TABLE(setregid
, setregid
, 143, 2)
990 #ifndef OVERRIDE_TABLE_64_setgid
991 TRACE_SYSCALL_TABLE(setgid
, setgid
, 144, 1)
993 #ifndef OVERRIDE_TABLE_64_setreuid
994 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 145, 2)
996 #ifndef OVERRIDE_TABLE_64_setuid
997 TRACE_SYSCALL_TABLE(setuid
, setuid
, 146, 1)
999 #ifndef OVERRIDE_TABLE_64_setresuid
1000 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 147, 3)
1002 #ifndef OVERRIDE_TABLE_64_setresgid
1003 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 149, 3)
1005 #ifndef OVERRIDE_TABLE_64_setfsuid
1006 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 151, 1)
1008 #ifndef OVERRIDE_TABLE_64_setfsgid
1009 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 152, 1)
1011 #ifndef OVERRIDE_TABLE_64_setpgid
1012 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 154, 2)
1014 #ifndef OVERRIDE_TABLE_64_getpgid
1015 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 155, 1)
1017 #ifndef OVERRIDE_TABLE_64_getsid
1018 TRACE_SYSCALL_TABLE(getsid
, getsid
, 156, 1)
1020 #ifndef OVERRIDE_TABLE_64_umask
1021 TRACE_SYSCALL_TABLE(umask
, umask
, 166, 1)
1023 #ifndef OVERRIDE_TABLE_64_prctl
1024 TRACE_SYSCALL_TABLE(prctl
, prctl
, 167, 5)
1026 #ifndef OVERRIDE_TABLE_64_msgget
1027 TRACE_SYSCALL_TABLE(msgget
, msgget
, 186, 2)
1029 #ifndef OVERRIDE_TABLE_64_semget
1030 TRACE_SYSCALL_TABLE(semget
, semget
, 190, 3)
1032 #ifndef OVERRIDE_TABLE_64_semctl
1033 TRACE_SYSCALL_TABLE(semctl
, semctl
, 191, 4)
1035 #ifndef OVERRIDE_TABLE_64_shmget
1036 TRACE_SYSCALL_TABLE(shmget
, shmget
, 194, 3)
1038 #ifndef OVERRIDE_TABLE_64_socket
1039 TRACE_SYSCALL_TABLE(socket
, socket
, 198, 3)
1041 #ifndef OVERRIDE_TABLE_64_listen
1042 TRACE_SYSCALL_TABLE(listen
, listen
, 201, 2)
1044 #ifndef OVERRIDE_TABLE_64_shutdown
1045 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 210, 2)
1047 #ifndef OVERRIDE_TABLE_64_readahead
1048 TRACE_SYSCALL_TABLE(readahead
, readahead
, 213, 3)
1050 #ifndef OVERRIDE_TABLE_64_brk
1051 TRACE_SYSCALL_TABLE(brk
, brk
, 214, 1)
1053 #ifndef OVERRIDE_TABLE_64_munmap
1054 TRACE_SYSCALL_TABLE(munmap
, munmap
, 215, 2)
1056 #ifndef OVERRIDE_TABLE_64_mremap
1057 TRACE_SYSCALL_TABLE(mremap
, mremap
, 216, 5)
1059 #ifndef OVERRIDE_TABLE_64_keyctl
1060 TRACE_SYSCALL_TABLE(keyctl
, keyctl
, 219, 5)
1062 #ifndef OVERRIDE_TABLE_64_mmap
1063 TRACE_SYSCALL_TABLE(mmap
, mmap
, 222, 6)
1065 #ifndef OVERRIDE_TABLE_64_fadvise64_64
1066 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 223, 4)
1068 #ifndef OVERRIDE_TABLE_64_mprotect
1069 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 226, 3)
1071 #ifndef OVERRIDE_TABLE_64_msync
1072 TRACE_SYSCALL_TABLE(msync
, msync
, 227, 3)
1074 #ifndef OVERRIDE_TABLE_64_mlock
1075 TRACE_SYSCALL_TABLE(mlock
, mlock
, 228, 2)
1077 #ifndef OVERRIDE_TABLE_64_munlock
1078 TRACE_SYSCALL_TABLE(munlock
, munlock
, 229, 2)
1080 #ifndef OVERRIDE_TABLE_64_mlockall
1081 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 230, 1)
1083 #ifndef OVERRIDE_TABLE_64_madvise
1084 TRACE_SYSCALL_TABLE(madvise
, madvise
, 233, 3)
1086 #ifndef OVERRIDE_TABLE_64_remap_file_pages
1087 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 234, 5)
1089 #ifndef OVERRIDE_TABLE_64_fanotify_init
1090 TRACE_SYSCALL_TABLE(fanotify_init
, fanotify_init
, 262, 2)
1092 #ifndef OVERRIDE_TABLE_64_syncfs
1093 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 267, 1)
1095 #ifndef OVERRIDE_TABLE_64_setns
1096 TRACE_SYSCALL_TABLE(setns
, setns
, 268, 2)
1098 #ifndef OVERRIDE_TABLE_64_kcmp
1099 TRACE_SYSCALL_TABLE(kcmp
, kcmp
, 272, 5)
1101 #ifndef OVERRIDE_TABLE_64_userfaultfd
1102 TRACE_SYSCALL_TABLE(userfaultfd
, userfaultfd
, 282, 1)
1104 #ifndef OVERRIDE_TABLE_64_membarrier
1105 TRACE_SYSCALL_TABLE(membarrier
, membarrier
, 283, 3)
1107 #ifndef OVERRIDE_TABLE_64_mlock2
1108 TRACE_SYSCALL_TABLE(mlock2
, mlock2
, 284, 3)
1110 #ifndef OVERRIDE_TABLE_64_fsmount
1111 TRACE_SYSCALL_TABLE(fsmount
, fsmount
, 432, 3)
1113 #ifndef OVERRIDE_TABLE_64_pidfd_open
1114 TRACE_SYSCALL_TABLE(pidfd_open
, pidfd_open
, 434, 2)
1116 #ifndef OVERRIDE_TABLE_64_close_range
1117 TRACE_SYSCALL_TABLE(close_range
, close_range
, 436, 3)
1119 #ifndef OVERRIDE_TABLE_64_pidfd_getfd
1120 TRACE_SYSCALL_TABLE(pidfd_getfd
, pidfd_getfd
, 438, 3)
1122 #ifndef OVERRIDE_TABLE_64_memfd_secret
1123 TRACE_SYSCALL_TABLE(memfd_secret
, memfd_secret
, 447, 1)
1125 #ifndef OVERRIDE_TABLE_64_process_mrelease
1126 TRACE_SYSCALL_TABLE(process_mrelease
, process_mrelease
, 448, 2)
1128 #ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node
1129 TRACE_SYSCALL_TABLE(set_mempolicy_home_node
, set_mempolicy_home_node
, 450, 4)
1132 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.066703 seconds and 4 git commands to generate.