e7c07e71f64688cd5489817c50b3de66926d3c5a
1 // SPDX-FileCopyrightText: 2022 EfficiOS Inc.
3 // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only
5 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
7 /* Generated from arm-64-syscalls 6.0.7 */
9 #ifndef CREATE_SYSCALL_TABLE
11 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_SYSCALLS_INTEGERS_H
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"
20 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
23 #ifndef OVERRIDE_64_vhangup
24 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
26 #ifndef OVERRIDE_64_sync
27 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
29 #ifndef OVERRIDE_64_sched_yield
30 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
32 #ifndef OVERRIDE_64_restart_syscall
33 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
35 #ifndef OVERRIDE_64_rt_sigreturn
36 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, rt_sigreturn
)
38 #ifndef OVERRIDE_64_setsid
39 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
41 #ifndef OVERRIDE_64_getpid
42 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
44 #ifndef OVERRIDE_64_getppid
45 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
47 #ifndef OVERRIDE_64_getuid
48 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
50 #ifndef OVERRIDE_64_geteuid
51 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
53 #ifndef OVERRIDE_64_getgid
54 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
56 #ifndef OVERRIDE_64_getegid
57 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
59 #ifndef OVERRIDE_64_gettid
60 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
62 #ifndef OVERRIDE_64_munlockall
63 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
65 #else /* #ifdef SC_ENTER */
66 #ifndef OVERRIDE_64_vhangup
67 SC_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
)))
73 #ifndef OVERRIDE_64_sync
74 SC_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
)))
80 #ifndef OVERRIDE_64_sched_yield
81 SC_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
)))
87 #ifndef OVERRIDE_64_restart_syscall
88 SC_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
)))
94 #ifndef OVERRIDE_64_rt_sigreturn
95 SC_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
)))
101 #ifndef OVERRIDE_64_setsid
102 SC_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
)))
108 #ifndef OVERRIDE_64_getpid
109 SC_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
)))
115 #ifndef OVERRIDE_64_getppid
116 SC_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
)))
122 #ifndef OVERRIDE_64_getuid
123 SC_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
)))
129 #ifndef OVERRIDE_64_geteuid
130 SC_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
)))
136 #ifndef OVERRIDE_64_getgid
137 SC_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
)))
143 #ifndef OVERRIDE_64_getegid
144 SC_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
)))
150 #ifndef OVERRIDE_64_gettid
151 SC_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
)))
157 #ifndef OVERRIDE_64_munlockall
158 SC_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
)))
164 #endif /* else #ifdef SC_ENTER */
165 #ifndef OVERRIDE_64_io_destroy
166 SC_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
)))
172 #ifndef OVERRIDE_64_epoll_create1
173 SC_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
)))
179 #ifndef OVERRIDE_64_dup
180 SC_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
)))
186 #ifndef OVERRIDE_64_inotify_init1
187 SC_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
)))
193 #ifndef OVERRIDE_64_fchdir
194 SC_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
)))
200 #ifndef OVERRIDE_64_close
201 SC_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
)))
207 #ifndef OVERRIDE_64_fsync
208 SC_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
)))
214 #ifndef OVERRIDE_64_fdatasync
215 SC_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
)))
221 #ifndef OVERRIDE_64_arm64_personality
222 SC_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
)))
228 #ifndef OVERRIDE_64_exit
229 SC_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
)))
235 #ifndef OVERRIDE_64_exit_group
236 SC_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
)))
242 #ifndef OVERRIDE_64_unshare
243 SC_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
)))
249 #ifndef OVERRIDE_64_timer_getoverrun
250 SC_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
)))
256 #ifndef OVERRIDE_64_timer_delete
257 SC_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
)))
263 #ifndef OVERRIDE_64_sched_getscheduler
264 SC_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
)))
270 #ifndef OVERRIDE_64_sched_get_priority_max
271 SC_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
)))
277 #ifndef OVERRIDE_64_sched_get_priority_min
278 SC_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
)))
284 #ifndef OVERRIDE_64_setgid
285 SC_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
)))
291 #ifndef OVERRIDE_64_setuid
292 SC_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
)))
298 #ifndef OVERRIDE_64_setfsuid
299 SC_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
)))
305 #ifndef OVERRIDE_64_setfsgid
306 SC_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
)))
312 #ifndef OVERRIDE_64_getpgid
313 SC_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
)))
319 #ifndef OVERRIDE_64_getsid
320 SC_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
)))
326 #ifndef OVERRIDE_64_umask
327 SC_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
)))
333 #ifndef OVERRIDE_64_brk
334 SC_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
)))
340 #ifndef OVERRIDE_64_mlockall
341 SC_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
)))
347 #ifndef OVERRIDE_64_syncfs
348 SC_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
)))
354 #ifndef OVERRIDE_64_userfaultfd
355 SC_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
)))
361 #ifndef OVERRIDE_64_memfd_secret
362 SC_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
)))
368 #ifndef OVERRIDE_64_eventfd2
369 SC_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
)))
375 #ifndef OVERRIDE_64_inotify_rm_watch
376 SC_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
)))
382 #ifndef OVERRIDE_64_ioprio_get
383 SC_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
)))
389 #ifndef OVERRIDE_64_flock
390 SC_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
)))
396 #ifndef OVERRIDE_64_ftruncate
397 SC_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
)))
403 #ifndef OVERRIDE_64_fchmod
404 SC_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
)))
410 #ifndef OVERRIDE_64_timerfd_create
411 SC_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
)))
417 #ifndef OVERRIDE_64_kill
418 SC_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
)))
424 #ifndef OVERRIDE_64_tkill
425 SC_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
)))
431 #ifndef OVERRIDE_64_getpriority
432 SC_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
)))
438 #ifndef OVERRIDE_64_setregid
439 SC_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
)))
445 #ifndef OVERRIDE_64_setreuid
446 SC_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
)))
452 #ifndef OVERRIDE_64_setpgid
453 SC_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
)))
459 #ifndef OVERRIDE_64_msgget
460 SC_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
)))
466 #ifndef OVERRIDE_64_listen
467 SC_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
)))
473 #ifndef OVERRIDE_64_shutdown
474 SC_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
)))
480 #ifndef OVERRIDE_64_munmap
481 SC_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
)))
487 #ifndef OVERRIDE_64_mlock
488 SC_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
)))
494 #ifndef OVERRIDE_64_munlock
495 SC_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
)))
501 #ifndef OVERRIDE_64_fanotify_init
502 SC_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
)))
508 #ifndef OVERRIDE_64_setns
509 SC_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
)))
515 #ifndef OVERRIDE_64_pidfd_open
516 SC_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
)))
522 #ifndef OVERRIDE_64_process_mrelease
523 SC_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
)))
529 #ifndef OVERRIDE_64_dup3
530 SC_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
)))
536 #ifndef OVERRIDE_64_fcntl
537 SC_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
)))
543 #ifndef OVERRIDE_64_ioctl
544 SC_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
)))
550 #ifndef OVERRIDE_64_ioprio_set
551 SC_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
)))
557 #ifndef OVERRIDE_64_fchown
558 SC_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
)))
564 #ifndef OVERRIDE_64_lseek
565 SC_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
)))
571 #ifndef OVERRIDE_64_tgkill
572 SC_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
)))
578 #ifndef OVERRIDE_64_setpriority
579 SC_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
)))
585 #ifndef OVERRIDE_64_setresuid
586 SC_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
)))
592 #ifndef OVERRIDE_64_setresgid
593 SC_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
)))
599 #ifndef OVERRIDE_64_semget
600 SC_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
)))
606 #ifndef OVERRIDE_64_shmget
607 SC_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
)))
613 #ifndef OVERRIDE_64_socket
614 SC_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
)))
620 #ifndef OVERRIDE_64_readahead
621 SC_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
)))
627 #ifndef OVERRIDE_64_mprotect
628 SC_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
)))
634 #ifndef OVERRIDE_64_msync
635 SC_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
)))
641 #ifndef OVERRIDE_64_madvise
642 SC_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
)))
648 #ifndef OVERRIDE_64_membarrier
649 SC_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
)))
655 #ifndef OVERRIDE_64_mlock2
656 SC_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
)))
662 #ifndef OVERRIDE_64_fsmount
663 SC_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
)))
669 #ifndef OVERRIDE_64_close_range
670 SC_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
)))
676 #ifndef OVERRIDE_64_pidfd_getfd
677 SC_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
)))
683 #ifndef OVERRIDE_64_fallocate
684 SC_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
)))
690 #ifndef OVERRIDE_64_tee
691 SC_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
)))
697 #ifndef OVERRIDE_64_sync_file_range
698 SC_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
)))
704 #ifndef OVERRIDE_64_ptrace
705 SC_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
)))
711 #ifndef OVERRIDE_64_semctl
712 SC_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
)))
718 #ifndef OVERRIDE_64_fadvise64_64
719 SC_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
)))
725 #ifndef OVERRIDE_64_set_mempolicy_home_node
726 SC_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
)))
732 #ifndef OVERRIDE_64_prctl
733 SC_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
)))
739 #ifndef OVERRIDE_64_mremap
740 SC_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
)))
746 #ifndef OVERRIDE_64_keyctl
747 SC_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
)))
753 #ifndef OVERRIDE_64_remap_file_pages
754 SC_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
)))
760 #ifndef OVERRIDE_64_kcmp
761 SC_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
)))
767 #ifndef OVERRIDE_64_mmap
768 SC_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
)))
775 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
777 /* This part must be outside protection */
778 #include <lttng/define_trace.h>
780 #else /* CREATE_SYSCALL_TABLE */
782 #include "arm-64-syscalls_integers_override.h"
783 #include "syscalls_integers_override.h"
786 #ifndef OVERRIDE_TABLE_64_vhangup
787 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 58, 0)
789 #ifndef OVERRIDE_TABLE_64_sync
790 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 81, 0)
792 #ifndef OVERRIDE_TABLE_64_sched_yield
793 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 124, 0)
795 #ifndef OVERRIDE_TABLE_64_restart_syscall
796 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 128, 0)
798 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
799 TRACE_SYSCALL_TABLE(syscalls_noargs
, rt_sigreturn
, 139, 0)
801 #ifndef OVERRIDE_TABLE_64_setsid
802 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 157, 0)
804 #ifndef OVERRIDE_TABLE_64_getpid
805 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 172, 0)
807 #ifndef OVERRIDE_TABLE_64_getppid
808 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 173, 0)
810 #ifndef OVERRIDE_TABLE_64_getuid
811 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 174, 0)
813 #ifndef OVERRIDE_TABLE_64_geteuid
814 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 175, 0)
816 #ifndef OVERRIDE_TABLE_64_getgid
817 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 176, 0)
819 #ifndef OVERRIDE_TABLE_64_getegid
820 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 177, 0)
822 #ifndef OVERRIDE_TABLE_64_gettid
823 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 178, 0)
825 #ifndef OVERRIDE_TABLE_64_munlockall
826 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 231, 0)
828 #else /* #ifdef SC_ENTER */
829 #ifndef OVERRIDE_TABLE_64_vhangup
830 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 58, 0)
832 #ifndef OVERRIDE_TABLE_64_sync
833 TRACE_SYSCALL_TABLE(sync
, sync
, 81, 0)
835 #ifndef OVERRIDE_TABLE_64_sched_yield
836 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 124, 0)
838 #ifndef OVERRIDE_TABLE_64_restart_syscall
839 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 128, 0)
841 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
842 TRACE_SYSCALL_TABLE(rt_sigreturn
, rt_sigreturn
, 139, 0)
844 #ifndef OVERRIDE_TABLE_64_setsid
845 TRACE_SYSCALL_TABLE(setsid
, setsid
, 157, 0)
847 #ifndef OVERRIDE_TABLE_64_getpid
848 TRACE_SYSCALL_TABLE(getpid
, getpid
, 172, 0)
850 #ifndef OVERRIDE_TABLE_64_getppid
851 TRACE_SYSCALL_TABLE(getppid
, getppid
, 173, 0)
853 #ifndef OVERRIDE_TABLE_64_getuid
854 TRACE_SYSCALL_TABLE(getuid
, getuid
, 174, 0)
856 #ifndef OVERRIDE_TABLE_64_geteuid
857 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 175, 0)
859 #ifndef OVERRIDE_TABLE_64_getgid
860 TRACE_SYSCALL_TABLE(getgid
, getgid
, 176, 0)
862 #ifndef OVERRIDE_TABLE_64_getegid
863 TRACE_SYSCALL_TABLE(getegid
, getegid
, 177, 0)
865 #ifndef OVERRIDE_TABLE_64_gettid
866 TRACE_SYSCALL_TABLE(gettid
, gettid
, 178, 0)
868 #ifndef OVERRIDE_TABLE_64_munlockall
869 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 231, 0)
871 #endif /* else #ifdef SC_ENTER */
872 #ifndef OVERRIDE_TABLE_64_io_destroy
873 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 1, 1)
875 #ifndef OVERRIDE_TABLE_64_eventfd2
876 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 19, 2)
878 #ifndef OVERRIDE_TABLE_64_epoll_create1
879 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 20, 1)
881 #ifndef OVERRIDE_TABLE_64_dup
882 TRACE_SYSCALL_TABLE(dup
, dup
, 23, 1)
884 #ifndef OVERRIDE_TABLE_64_dup3
885 TRACE_SYSCALL_TABLE(dup3
, dup3
, 24, 3)
887 #ifndef OVERRIDE_TABLE_64_fcntl
888 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 25, 3)
890 #ifndef OVERRIDE_TABLE_64_inotify_init1
891 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 26, 1)
893 #ifndef OVERRIDE_TABLE_64_inotify_rm_watch
894 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 28, 2)
896 #ifndef OVERRIDE_TABLE_64_ioctl
897 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 29, 3)
899 #ifndef OVERRIDE_TABLE_64_ioprio_set
900 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 30, 3)
902 #ifndef OVERRIDE_TABLE_64_ioprio_get
903 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 31, 2)
905 #ifndef OVERRIDE_TABLE_64_flock
906 TRACE_SYSCALL_TABLE(flock
, flock
, 32, 2)
908 #ifndef OVERRIDE_TABLE_64_ftruncate
909 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 46, 2)
911 #ifndef OVERRIDE_TABLE_64_fallocate
912 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 47, 4)
914 #ifndef OVERRIDE_TABLE_64_fchdir
915 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 50, 1)
917 #ifndef OVERRIDE_TABLE_64_fchmod
918 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 52, 2)
920 #ifndef OVERRIDE_TABLE_64_fchown
921 TRACE_SYSCALL_TABLE(fchown
, fchown
, 55, 3)
923 #ifndef OVERRIDE_TABLE_64_close
924 TRACE_SYSCALL_TABLE(close
, close
, 57, 1)
926 #ifndef OVERRIDE_TABLE_64_lseek
927 TRACE_SYSCALL_TABLE(lseek
, lseek
, 62, 3)
929 #ifndef OVERRIDE_TABLE_64_tee
930 TRACE_SYSCALL_TABLE(tee
, tee
, 77, 4)
932 #ifndef OVERRIDE_TABLE_64_fsync
933 TRACE_SYSCALL_TABLE(fsync
, fsync
, 82, 1)
935 #ifndef OVERRIDE_TABLE_64_fdatasync
936 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 83, 1)
938 #ifndef OVERRIDE_TABLE_64_sync_file_range
939 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 84, 4)
941 #ifndef OVERRIDE_TABLE_64_timerfd_create
942 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 85, 2)
944 #ifndef OVERRIDE_TABLE_64_arm64_personality
945 TRACE_SYSCALL_TABLE(arm64_personality
, arm64_personality
, 92, 1)
947 #ifndef OVERRIDE_TABLE_64_exit
948 TRACE_SYSCALL_TABLE(exit
, exit
, 93, 1)
950 #ifndef OVERRIDE_TABLE_64_exit_group
951 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 94, 1)
953 #ifndef OVERRIDE_TABLE_64_unshare
954 TRACE_SYSCALL_TABLE(unshare
, unshare
, 97, 1)
956 #ifndef OVERRIDE_TABLE_64_timer_getoverrun
957 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 109, 1)
959 #ifndef OVERRIDE_TABLE_64_timer_delete
960 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 111, 1)
962 #ifndef OVERRIDE_TABLE_64_ptrace
963 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 117, 4)
965 #ifndef OVERRIDE_TABLE_64_sched_getscheduler
966 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 120, 1)
968 #ifndef OVERRIDE_TABLE_64_sched_get_priority_max
969 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 125, 1)
971 #ifndef OVERRIDE_TABLE_64_sched_get_priority_min
972 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 126, 1)
974 #ifndef OVERRIDE_TABLE_64_kill
975 TRACE_SYSCALL_TABLE(kill
, kill
, 129, 2)
977 #ifndef OVERRIDE_TABLE_64_tkill
978 TRACE_SYSCALL_TABLE(tkill
, tkill
, 130, 2)
980 #ifndef OVERRIDE_TABLE_64_tgkill
981 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 131, 3)
983 #ifndef OVERRIDE_TABLE_64_setpriority
984 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 140, 3)
986 #ifndef OVERRIDE_TABLE_64_getpriority
987 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 141, 2)
989 #ifndef OVERRIDE_TABLE_64_setregid
990 TRACE_SYSCALL_TABLE(setregid
, setregid
, 143, 2)
992 #ifndef OVERRIDE_TABLE_64_setgid
993 TRACE_SYSCALL_TABLE(setgid
, setgid
, 144, 1)
995 #ifndef OVERRIDE_TABLE_64_setreuid
996 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 145, 2)
998 #ifndef OVERRIDE_TABLE_64_setuid
999 TRACE_SYSCALL_TABLE(setuid
, setuid
, 146, 1)
1001 #ifndef OVERRIDE_TABLE_64_setresuid
1002 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 147, 3)
1004 #ifndef OVERRIDE_TABLE_64_setresgid
1005 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 149, 3)
1007 #ifndef OVERRIDE_TABLE_64_setfsuid
1008 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 151, 1)
1010 #ifndef OVERRIDE_TABLE_64_setfsgid
1011 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 152, 1)
1013 #ifndef OVERRIDE_TABLE_64_setpgid
1014 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 154, 2)
1016 #ifndef OVERRIDE_TABLE_64_getpgid
1017 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 155, 1)
1019 #ifndef OVERRIDE_TABLE_64_getsid
1020 TRACE_SYSCALL_TABLE(getsid
, getsid
, 156, 1)
1022 #ifndef OVERRIDE_TABLE_64_umask
1023 TRACE_SYSCALL_TABLE(umask
, umask
, 166, 1)
1025 #ifndef OVERRIDE_TABLE_64_prctl
1026 TRACE_SYSCALL_TABLE(prctl
, prctl
, 167, 5)
1028 #ifndef OVERRIDE_TABLE_64_msgget
1029 TRACE_SYSCALL_TABLE(msgget
, msgget
, 186, 2)
1031 #ifndef OVERRIDE_TABLE_64_semget
1032 TRACE_SYSCALL_TABLE(semget
, semget
, 190, 3)
1034 #ifndef OVERRIDE_TABLE_64_semctl
1035 TRACE_SYSCALL_TABLE(semctl
, semctl
, 191, 4)
1037 #ifndef OVERRIDE_TABLE_64_shmget
1038 TRACE_SYSCALL_TABLE(shmget
, shmget
, 194, 3)
1040 #ifndef OVERRIDE_TABLE_64_socket
1041 TRACE_SYSCALL_TABLE(socket
, socket
, 198, 3)
1043 #ifndef OVERRIDE_TABLE_64_listen
1044 TRACE_SYSCALL_TABLE(listen
, listen
, 201, 2)
1046 #ifndef OVERRIDE_TABLE_64_shutdown
1047 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 210, 2)
1049 #ifndef OVERRIDE_TABLE_64_readahead
1050 TRACE_SYSCALL_TABLE(readahead
, readahead
, 213, 3)
1052 #ifndef OVERRIDE_TABLE_64_brk
1053 TRACE_SYSCALL_TABLE(brk
, brk
, 214, 1)
1055 #ifndef OVERRIDE_TABLE_64_munmap
1056 TRACE_SYSCALL_TABLE(munmap
, munmap
, 215, 2)
1058 #ifndef OVERRIDE_TABLE_64_mremap
1059 TRACE_SYSCALL_TABLE(mremap
, mremap
, 216, 5)
1061 #ifndef OVERRIDE_TABLE_64_keyctl
1062 TRACE_SYSCALL_TABLE(keyctl
, keyctl
, 219, 5)
1064 #ifndef OVERRIDE_TABLE_64_mmap
1065 TRACE_SYSCALL_TABLE(mmap
, mmap
, 222, 6)
1067 #ifndef OVERRIDE_TABLE_64_fadvise64_64
1068 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 223, 4)
1070 #ifndef OVERRIDE_TABLE_64_mprotect
1071 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 226, 3)
1073 #ifndef OVERRIDE_TABLE_64_msync
1074 TRACE_SYSCALL_TABLE(msync
, msync
, 227, 3)
1076 #ifndef OVERRIDE_TABLE_64_mlock
1077 TRACE_SYSCALL_TABLE(mlock
, mlock
, 228, 2)
1079 #ifndef OVERRIDE_TABLE_64_munlock
1080 TRACE_SYSCALL_TABLE(munlock
, munlock
, 229, 2)
1082 #ifndef OVERRIDE_TABLE_64_mlockall
1083 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 230, 1)
1085 #ifndef OVERRIDE_TABLE_64_madvise
1086 TRACE_SYSCALL_TABLE(madvise
, madvise
, 233, 3)
1088 #ifndef OVERRIDE_TABLE_64_remap_file_pages
1089 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 234, 5)
1091 #ifndef OVERRIDE_TABLE_64_fanotify_init
1092 TRACE_SYSCALL_TABLE(fanotify_init
, fanotify_init
, 262, 2)
1094 #ifndef OVERRIDE_TABLE_64_syncfs
1095 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 267, 1)
1097 #ifndef OVERRIDE_TABLE_64_setns
1098 TRACE_SYSCALL_TABLE(setns
, setns
, 268, 2)
1100 #ifndef OVERRIDE_TABLE_64_kcmp
1101 TRACE_SYSCALL_TABLE(kcmp
, kcmp
, 272, 5)
1103 #ifndef OVERRIDE_TABLE_64_userfaultfd
1104 TRACE_SYSCALL_TABLE(userfaultfd
, userfaultfd
, 282, 1)
1106 #ifndef OVERRIDE_TABLE_64_membarrier
1107 TRACE_SYSCALL_TABLE(membarrier
, membarrier
, 283, 3)
1109 #ifndef OVERRIDE_TABLE_64_mlock2
1110 TRACE_SYSCALL_TABLE(mlock2
, mlock2
, 284, 3)
1112 #ifndef OVERRIDE_TABLE_64_fsmount
1113 TRACE_SYSCALL_TABLE(fsmount
, fsmount
, 432, 3)
1115 #ifndef OVERRIDE_TABLE_64_pidfd_open
1116 TRACE_SYSCALL_TABLE(pidfd_open
, pidfd_open
, 434, 2)
1118 #ifndef OVERRIDE_TABLE_64_close_range
1119 TRACE_SYSCALL_TABLE(close_range
, close_range
, 436, 3)
1121 #ifndef OVERRIDE_TABLE_64_pidfd_getfd
1122 TRACE_SYSCALL_TABLE(pidfd_getfd
, pidfd_getfd
, 438, 3)
1124 #ifndef OVERRIDE_TABLE_64_memfd_secret
1125 TRACE_SYSCALL_TABLE(memfd_secret
, memfd_secret
, 447, 1)
1127 #ifndef OVERRIDE_TABLE_64_process_mrelease
1128 TRACE_SYSCALL_TABLE(process_mrelease
, process_mrelease
, 448, 2)
1130 #ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node
1131 TRACE_SYSCALL_TABLE(set_mempolicy_home_node
, set_mempolicy_home_node
, 450, 4)
1134 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.058061 seconds and 5 git commands to generate.