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 x86-64-syscalls 3.10.0-rc7 */
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 "x86-64-syscalls_integers_override.h"
15 #include "syscalls_integers_override.h"
18 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
21 #ifndef OVERRIDE_64_sched_yield
22 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
24 #ifndef OVERRIDE_64_pause
25 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
27 #ifndef OVERRIDE_64_getpid
28 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
30 #ifndef OVERRIDE_64_getuid
31 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
33 #ifndef OVERRIDE_64_getgid
34 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
36 #ifndef OVERRIDE_64_geteuid
37 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
39 #ifndef OVERRIDE_64_getegid
40 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
42 #ifndef OVERRIDE_64_getppid
43 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
45 #ifndef OVERRIDE_64_getpgrp
46 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
48 #ifndef OVERRIDE_64_setsid
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
51 #ifndef OVERRIDE_64_munlockall
52 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
54 #ifndef OVERRIDE_64_vhangup
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
57 #ifndef OVERRIDE_64_sync
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
60 #ifndef OVERRIDE_64_gettid
61 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
63 #ifndef OVERRIDE_64_restart_syscall
64 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
66 #ifndef OVERRIDE_64_inotify_init
67 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
69 #else /* #ifdef SC_ENTER */
70 #ifndef OVERRIDE_64_sched_yield
71 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
72 TP_PROTO(sc_exit(long ret
)),
73 TP_ARGS(sc_exit(ret
)),
74 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
77 #ifndef OVERRIDE_64_pause
78 SC_LTTNG_TRACEPOINT_EVENT(pause
,
79 TP_PROTO(sc_exit(long ret
)),
80 TP_ARGS(sc_exit(ret
)),
81 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
84 #ifndef OVERRIDE_64_getpid
85 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
86 TP_PROTO(sc_exit(long ret
)),
87 TP_ARGS(sc_exit(ret
)),
88 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
91 #ifndef OVERRIDE_64_getuid
92 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
93 TP_PROTO(sc_exit(long ret
)),
94 TP_ARGS(sc_exit(ret
)),
95 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
98 #ifndef OVERRIDE_64_getgid
99 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
100 TP_PROTO(sc_exit(long ret
)),
101 TP_ARGS(sc_exit(ret
)),
102 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
105 #ifndef OVERRIDE_64_geteuid
106 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
107 TP_PROTO(sc_exit(long ret
)),
108 TP_ARGS(sc_exit(ret
)),
109 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
112 #ifndef OVERRIDE_64_getegid
113 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
114 TP_PROTO(sc_exit(long ret
)),
115 TP_ARGS(sc_exit(ret
)),
116 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
119 #ifndef OVERRIDE_64_getppid
120 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
121 TP_PROTO(sc_exit(long ret
)),
122 TP_ARGS(sc_exit(ret
)),
123 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
126 #ifndef OVERRIDE_64_getpgrp
127 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
128 TP_PROTO(sc_exit(long ret
)),
129 TP_ARGS(sc_exit(ret
)),
130 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
133 #ifndef OVERRIDE_64_setsid
134 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
135 TP_PROTO(sc_exit(long ret
)),
136 TP_ARGS(sc_exit(ret
)),
137 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
140 #ifndef OVERRIDE_64_munlockall
141 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
142 TP_PROTO(sc_exit(long ret
)),
143 TP_ARGS(sc_exit(ret
)),
144 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
147 #ifndef OVERRIDE_64_vhangup
148 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
149 TP_PROTO(sc_exit(long ret
)),
150 TP_ARGS(sc_exit(ret
)),
151 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
154 #ifndef OVERRIDE_64_sync
155 SC_LTTNG_TRACEPOINT_EVENT(sync
,
156 TP_PROTO(sc_exit(long ret
)),
157 TP_ARGS(sc_exit(ret
)),
158 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
161 #ifndef OVERRIDE_64_gettid
162 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
163 TP_PROTO(sc_exit(long ret
)),
164 TP_ARGS(sc_exit(ret
)),
165 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
168 #ifndef OVERRIDE_64_restart_syscall
169 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
170 TP_PROTO(sc_exit(long ret
)),
171 TP_ARGS(sc_exit(ret
)),
172 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
175 #ifndef OVERRIDE_64_inotify_init
176 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
177 TP_PROTO(sc_exit(long ret
)),
178 TP_ARGS(sc_exit(ret
)),
179 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
182 #endif /* else #ifdef SC_ENTER */
183 #ifndef OVERRIDE_64_close
184 SC_LTTNG_TRACEPOINT_EVENT(close
,
185 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
186 TP_ARGS(sc_exit(ret
,) fd
),
187 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
190 #ifndef OVERRIDE_64_brk
191 SC_LTTNG_TRACEPOINT_EVENT(brk
,
192 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
193 TP_ARGS(sc_exit(ret
,) brk
),
194 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
197 #ifndef OVERRIDE_64_dup
198 SC_LTTNG_TRACEPOINT_EVENT(dup
,
199 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
200 TP_ARGS(sc_exit(ret
,) fildes
),
201 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
204 #ifndef OVERRIDE_64_alarm
205 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
206 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
207 TP_ARGS(sc_exit(ret
,) seconds
),
208 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
211 #ifndef OVERRIDE_64_exit
212 SC_LTTNG_TRACEPOINT_EVENT(exit
,
213 TP_PROTO(sc_exit(long ret
,) int error_code
),
214 TP_ARGS(sc_exit(ret
,) error_code
),
215 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
218 #ifndef OVERRIDE_64_fsync
219 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
220 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
221 TP_ARGS(sc_exit(ret
,) fd
),
222 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
225 #ifndef OVERRIDE_64_fdatasync
226 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
227 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
228 TP_ARGS(sc_exit(ret
,) fd
),
229 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
232 #ifndef OVERRIDE_64_fchdir
233 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
234 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
235 TP_ARGS(sc_exit(ret
,) fd
),
236 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
239 #ifndef OVERRIDE_64_umask
240 SC_LTTNG_TRACEPOINT_EVENT(umask
,
241 TP_PROTO(sc_exit(long ret
,) int mask
),
242 TP_ARGS(sc_exit(ret
,) mask
),
243 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
246 #ifndef OVERRIDE_64_setuid
247 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
248 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
249 TP_ARGS(sc_exit(ret
,) uid
),
250 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
253 #ifndef OVERRIDE_64_setgid
254 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
255 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
256 TP_ARGS(sc_exit(ret
,) gid
),
257 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
260 #ifndef OVERRIDE_64_getpgid
261 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
262 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
263 TP_ARGS(sc_exit(ret
,) pid
),
264 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
267 #ifndef OVERRIDE_64_setfsuid
268 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
269 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
270 TP_ARGS(sc_exit(ret
,) uid
),
271 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
274 #ifndef OVERRIDE_64_setfsgid
275 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
276 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
277 TP_ARGS(sc_exit(ret
,) gid
),
278 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
281 #ifndef OVERRIDE_64_getsid
282 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
283 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
284 TP_ARGS(sc_exit(ret
,) pid
),
285 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
288 #ifndef OVERRIDE_64_personality
289 SC_LTTNG_TRACEPOINT_EVENT(personality
,
290 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
291 TP_ARGS(sc_exit(ret
,) personality
),
292 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
295 #ifndef OVERRIDE_64_sched_getscheduler
296 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
297 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
298 TP_ARGS(sc_exit(ret
,) pid
),
299 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
302 #ifndef OVERRIDE_64_sched_get_priority_max
303 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
304 TP_PROTO(sc_exit(long ret
,) int policy
),
305 TP_ARGS(sc_exit(ret
,) policy
),
306 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
309 #ifndef OVERRIDE_64_sched_get_priority_min
310 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
311 TP_PROTO(sc_exit(long ret
,) int policy
),
312 TP_ARGS(sc_exit(ret
,) policy
),
313 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
316 #ifndef OVERRIDE_64_mlockall
317 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
318 TP_PROTO(sc_exit(long ret
,) int flags
),
319 TP_ARGS(sc_exit(ret
,) flags
),
320 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
323 #ifndef OVERRIDE_64_io_destroy
324 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
325 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
326 TP_ARGS(sc_exit(ret
,) ctx
),
327 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
330 #ifndef OVERRIDE_64_epoll_create
331 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
332 TP_PROTO(sc_exit(long ret
,) int size
),
333 TP_ARGS(sc_exit(ret
,) size
),
334 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
337 #ifndef OVERRIDE_64_timer_getoverrun
338 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
339 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
340 TP_ARGS(sc_exit(ret
,) timer_id
),
341 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
344 #ifndef OVERRIDE_64_timer_delete
345 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
346 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
347 TP_ARGS(sc_exit(ret
,) timer_id
),
348 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
351 #ifndef OVERRIDE_64_exit_group
352 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
353 TP_PROTO(sc_exit(long ret
,) int error_code
),
354 TP_ARGS(sc_exit(ret
,) error_code
),
355 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
358 #ifndef OVERRIDE_64_unshare
359 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
360 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
361 TP_ARGS(sc_exit(ret
,) unshare_flags
),
362 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
365 #ifndef OVERRIDE_64_eventfd
366 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
367 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
368 TP_ARGS(sc_exit(ret
,) count
),
369 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
372 #ifndef OVERRIDE_64_epoll_create1
373 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
374 TP_PROTO(sc_exit(long ret
,) int flags
),
375 TP_ARGS(sc_exit(ret
,) flags
),
376 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
379 #ifndef OVERRIDE_64_inotify_init1
380 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
381 TP_PROTO(sc_exit(long ret
,) int flags
),
382 TP_ARGS(sc_exit(ret
,) flags
),
383 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
386 #ifndef OVERRIDE_64_syncfs
387 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
388 TP_PROTO(sc_exit(long ret
,) int fd
),
389 TP_ARGS(sc_exit(ret
,) fd
),
390 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
393 #ifndef OVERRIDE_64_munmap
394 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
395 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
396 TP_ARGS(sc_exit(ret
,) addr
, len
),
397 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, addr
, addr
)) sc_in(ctf_integer(size_t, len
, len
)))
400 #ifndef OVERRIDE_64_dup2
401 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
402 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
403 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
404 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, oldfd
, oldfd
)) sc_in(ctf_integer(unsigned int, newfd
, newfd
)))
407 #ifndef OVERRIDE_64_shutdown
408 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
409 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
410 TP_ARGS(sc_exit(ret
,) fd
, how
),
411 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
414 #ifndef OVERRIDE_64_listen
415 SC_LTTNG_TRACEPOINT_EVENT(listen
,
416 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
417 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
418 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
421 #ifndef OVERRIDE_64_kill
422 SC_LTTNG_TRACEPOINT_EVENT(kill
,
423 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
424 TP_ARGS(sc_exit(ret
,) pid
, sig
),
425 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
428 #ifndef OVERRIDE_64_msgget
429 SC_LTTNG_TRACEPOINT_EVENT(msgget
,
430 TP_PROTO(sc_exit(long ret
,) key_t key
, int msgflg
),
431 TP_ARGS(sc_exit(ret
,) key
, msgflg
),
432 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(key_t
, key
, key
)) sc_in(ctf_integer(int, msgflg
, msgflg
)))
435 #ifndef OVERRIDE_64_flock
436 SC_LTTNG_TRACEPOINT_EVENT(flock
,
437 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
438 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
439 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(unsigned int, cmd
, cmd
)))
442 #ifndef OVERRIDE_64_ftruncate
443 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
444 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
445 TP_ARGS(sc_exit(ret
,) fd
, length
),
446 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(unsigned long, length
, length
)))
449 #ifndef OVERRIDE_64_fchmod
450 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
451 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
452 TP_ARGS(sc_exit(ret
,) fd
, mode
),
453 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
456 #ifndef OVERRIDE_64_setpgid
457 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
458 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
459 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
460 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(pid_t
, pgid
, pgid
)))
463 #ifndef OVERRIDE_64_setreuid
464 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
465 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
466 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
467 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, ruid
, ruid
)) sc_in(ctf_integer(uid_t
, euid
, euid
)))
470 #ifndef OVERRIDE_64_setregid
471 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
472 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
473 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
474 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, rgid
, rgid
)) sc_in(ctf_integer(gid_t
, egid
, egid
)))
477 #ifndef OVERRIDE_64_getpriority
478 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
479 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
480 TP_ARGS(sc_exit(ret
,) which
, who
),
481 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
484 #ifndef OVERRIDE_64_mlock
485 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
486 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
487 TP_ARGS(sc_exit(ret
,) start
, len
),
488 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(size_t, len
, len
)))
491 #ifndef OVERRIDE_64_munlock
492 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
493 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
494 TP_ARGS(sc_exit(ret
,) start
, len
),
495 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(size_t, len
, len
)))
498 #ifndef OVERRIDE_64_tkill
499 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
500 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
501 TP_ARGS(sc_exit(ret
,) pid
, sig
),
502 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
505 #ifndef OVERRIDE_64_ioprio_get
506 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
507 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
508 TP_ARGS(sc_exit(ret
,) which
, who
),
509 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
512 #ifndef OVERRIDE_64_inotify_rm_watch
513 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
514 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
515 TP_ARGS(sc_exit(ret
,) fd
, wd
),
516 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
519 #ifndef OVERRIDE_64_timerfd_create
520 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
521 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
522 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
523 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
526 #ifndef OVERRIDE_64_eventfd2
527 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
528 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
529 TP_ARGS(sc_exit(ret
,) count
, flags
),
530 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
533 #ifndef OVERRIDE_64_fanotify_init
534 SC_LTTNG_TRACEPOINT_EVENT(fanotify_init
,
535 TP_PROTO(sc_exit(long ret
,) unsigned int flags
, unsigned int event_f_flags
),
536 TP_ARGS(sc_exit(ret
,) flags
, event_f_flags
),
537 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, flags
, flags
)) sc_in(ctf_integer(unsigned int, event_f_flags
, event_f_flags
)))
540 #ifndef OVERRIDE_64_setns
541 SC_LTTNG_TRACEPOINT_EVENT(setns
,
542 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
543 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
544 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
547 #ifndef OVERRIDE_64_lseek
548 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
549 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
550 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
551 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(off_t
, offset
, offset
)) sc_in(ctf_integer(unsigned int, whence
, whence
)))
554 #ifndef OVERRIDE_64_mprotect
555 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
556 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
557 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
558 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(unsigned long, prot
, prot
)))
561 #ifndef OVERRIDE_64_ioctl
562 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
563 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
564 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
565 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(unsigned int, cmd
, cmd
)) sc_inout(ctf_integer(unsigned long, arg
, arg
)))
568 #ifndef OVERRIDE_64_msync
569 SC_LTTNG_TRACEPOINT_EVENT(msync
,
570 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
571 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
572 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(int, flags
, flags
)))
575 #ifndef OVERRIDE_64_madvise
576 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
577 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
578 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
579 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(size_t, len_in
, len_in
)) sc_in(ctf_integer(int, behavior
, behavior
)))
582 #ifndef OVERRIDE_64_shmget
583 SC_LTTNG_TRACEPOINT_EVENT(shmget
,
584 TP_PROTO(sc_exit(long ret
,) key_t key
, size_t size
, int shmflg
),
585 TP_ARGS(sc_exit(ret
,) key
, size
, shmflg
),
586 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(key_t
, key
, key
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(int, shmflg
, shmflg
)))
589 #ifndef OVERRIDE_64_socket
590 SC_LTTNG_TRACEPOINT_EVENT(socket
,
591 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
592 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
593 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, family
, family
)) sc_in(ctf_integer(int, type
, type
)) sc_in(ctf_integer(int, protocol
, protocol
)))
596 #ifndef OVERRIDE_64_semget
597 SC_LTTNG_TRACEPOINT_EVENT(semget
,
598 TP_PROTO(sc_exit(long ret
,) key_t key
, int nsems
, int semflg
),
599 TP_ARGS(sc_exit(ret
,) key
, nsems
, semflg
),
600 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(key_t
, key
, key
)) sc_in(ctf_integer(int, nsems
, nsems
)) sc_in(ctf_integer(int, semflg
, semflg
)))
603 #ifndef OVERRIDE_64_fcntl
604 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
605 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
606 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
607 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(unsigned int, cmd
, cmd
)) sc_inout(ctf_integer(unsigned long, arg
, arg
)))
610 #ifndef OVERRIDE_64_fchown
611 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
612 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
613 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
614 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(uid_t
, user
, user
)) sc_in(ctf_integer(gid_t
, group
, group
)))
617 #ifndef OVERRIDE_64_setresuid
618 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
619 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
620 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
621 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, ruid
, ruid
)) sc_in(ctf_integer(uid_t
, euid
, euid
)) sc_in(ctf_integer(uid_t
, suid
, suid
)))
624 #ifndef OVERRIDE_64_setresgid
625 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
626 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
627 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
628 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, rgid
, rgid
)) sc_in(ctf_integer(gid_t
, egid
, egid
)) sc_in(ctf_integer(gid_t
, sgid
, sgid
)))
631 #ifndef OVERRIDE_64_sysfs
632 SC_LTTNG_TRACEPOINT_EVENT(sysfs
,
633 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg1
, unsigned long arg2
),
634 TP_ARGS(sc_exit(ret
,) option
, arg1
, arg2
),
635 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, option
, option
)) sc_in(ctf_integer(unsigned long, arg1
, arg1
)) sc_in(ctf_integer(unsigned long, arg2
, arg2
)))
638 #ifndef OVERRIDE_64_setpriority
639 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
640 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
641 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
642 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)) sc_in(ctf_integer(int, niceval
, niceval
)))
645 #ifndef OVERRIDE_64_readahead
646 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
647 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
648 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
649 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(loff_t
, offset
, offset
)) sc_in(ctf_integer(size_t, count
, count
)))
652 #ifndef OVERRIDE_64_tgkill
653 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
654 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
655 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
656 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, tgid
, tgid
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
659 #ifndef OVERRIDE_64_ioprio_set
660 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
661 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
662 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
663 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)) sc_in(ctf_integer(int, ioprio
, ioprio
)))
666 #ifndef OVERRIDE_64_dup3
667 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
668 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
669 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
670 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, oldfd
, oldfd
)) sc_in(ctf_integer(unsigned int, newfd
, newfd
)) sc_in(ctf_integer(int, flags
, flags
)))
673 #ifndef OVERRIDE_64_semctl
674 SC_LTTNG_TRACEPOINT_EVENT(semctl
,
675 TP_PROTO(sc_exit(long ret
,) int semid
, int semnum
, int cmd
, unsigned long arg
),
676 TP_ARGS(sc_exit(ret
,) semid
, semnum
, cmd
, arg
),
677 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, semid
, semid
)) sc_in(ctf_integer(int, semnum
, semnum
)) sc_in(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(unsigned long, arg
, arg
)))
680 #ifndef OVERRIDE_64_ptrace
681 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
682 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
683 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
684 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(long, request
, request
)) sc_in(ctf_integer(long, pid
, pid
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)) sc_inout(ctf_integer(unsigned long, data
, data
)))
687 #ifndef OVERRIDE_64_fadvise64
688 SC_LTTNG_TRACEPOINT_EVENT(fadvise64
,
689 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t len
, int advice
),
690 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
691 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(loff_t
, offset
, offset
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(int, advice
, advice
)))
694 #ifndef OVERRIDE_64_tee
695 SC_LTTNG_TRACEPOINT_EVENT(tee
,
696 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
697 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
698 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fdin
, fdin
)) sc_in(ctf_integer(int, fdout
, fdout
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
701 #ifndef OVERRIDE_64_sync_file_range
702 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
703 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
704 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
705 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(loff_t
, offset
, offset
)) sc_in(ctf_integer(loff_t
, nbytes
, nbytes
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
708 #ifndef OVERRIDE_64_fallocate
709 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
710 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
711 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
712 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, mode
, mode
)) sc_in(ctf_integer(loff_t
, offset
, offset
)) sc_in(ctf_integer(loff_t
, len
, len
)))
715 #ifndef OVERRIDE_64_mremap
716 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
717 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
718 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
719 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, addr
, addr
)) sc_in(ctf_integer(unsigned long, old_len
, old_len
)) sc_in(ctf_integer(unsigned long, new_len
, new_len
)) sc_in(ctf_integer(unsigned long, flags
, flags
)) sc_in(ctf_integer(unsigned long, new_addr
, new_addr
)))
722 #ifndef OVERRIDE_64_prctl
723 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
724 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
725 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
726 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, option
, option
)) sc_inout(ctf_integer(unsigned long, arg2
, arg2
)) sc_in(ctf_integer(unsigned long, arg3
, arg3
)) sc_in(ctf_integer(unsigned long, arg4
, arg4
)) sc_in(ctf_integer(unsigned long, arg5
, arg5
)))
729 #ifndef OVERRIDE_64_remap_file_pages
730 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
731 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
732 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
733 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(unsigned long, size
, size
)) sc_in(ctf_integer(unsigned long, prot
, prot
)) sc_in(ctf_integer(unsigned long, pgoff
, pgoff
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
736 #ifndef OVERRIDE_64_keyctl
737 SC_LTTNG_TRACEPOINT_EVENT(keyctl
,
738 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
739 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
740 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, option
, option
)) sc_inout(ctf_integer(unsigned long, arg2
, arg2
)) sc_inout(ctf_integer(unsigned long, arg3
, arg3
)) sc_inout(ctf_integer(unsigned long, arg4
, arg4
)) sc_inout(ctf_integer(unsigned long, arg5
, arg5
)))
743 #ifndef OVERRIDE_64_mmap
744 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
745 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long off
),
746 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, off
),
747 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, addr
, addr
)) sc_in(ctf_integer(unsigned long, len
, len
)) sc_in(ctf_integer(unsigned long, prot
, prot
)) sc_in(ctf_integer(unsigned long, flags
, flags
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_in(ctf_integer(unsigned long, off
, off
)))
751 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
753 /* This part must be outside protection */
754 #include <lttng/define_trace.h>
756 #else /* CREATE_SYSCALL_TABLE */
758 #include "x86-64-syscalls_integers_override.h"
759 #include "syscalls_integers_override.h"
762 #ifndef OVERRIDE_TABLE_64_sched_yield
763 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 24, 0)
765 #ifndef OVERRIDE_TABLE_64_pause
766 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 34, 0)
768 #ifndef OVERRIDE_TABLE_64_getpid
769 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 39, 0)
771 #ifndef OVERRIDE_TABLE_64_getuid
772 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 102, 0)
774 #ifndef OVERRIDE_TABLE_64_getgid
775 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 104, 0)
777 #ifndef OVERRIDE_TABLE_64_geteuid
778 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 107, 0)
780 #ifndef OVERRIDE_TABLE_64_getegid
781 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 108, 0)
783 #ifndef OVERRIDE_TABLE_64_getppid
784 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 110, 0)
786 #ifndef OVERRIDE_TABLE_64_getpgrp
787 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 111, 0)
789 #ifndef OVERRIDE_TABLE_64_setsid
790 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 112, 0)
792 #ifndef OVERRIDE_TABLE_64_munlockall
793 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 152, 0)
795 #ifndef OVERRIDE_TABLE_64_vhangup
796 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 153, 0)
798 #ifndef OVERRIDE_TABLE_64_sync
799 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 162, 0)
801 #ifndef OVERRIDE_TABLE_64_gettid
802 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 186, 0)
804 #ifndef OVERRIDE_TABLE_64_restart_syscall
805 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 219, 0)
807 #ifndef OVERRIDE_TABLE_64_inotify_init
808 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 253, 0)
810 #else /* #ifdef SC_ENTER */
811 #ifndef OVERRIDE_TABLE_64_sched_yield
812 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 24, 0)
814 #ifndef OVERRIDE_TABLE_64_pause
815 TRACE_SYSCALL_TABLE(pause
, pause
, 34, 0)
817 #ifndef OVERRIDE_TABLE_64_getpid
818 TRACE_SYSCALL_TABLE(getpid
, getpid
, 39, 0)
820 #ifndef OVERRIDE_TABLE_64_getuid
821 TRACE_SYSCALL_TABLE(getuid
, getuid
, 102, 0)
823 #ifndef OVERRIDE_TABLE_64_getgid
824 TRACE_SYSCALL_TABLE(getgid
, getgid
, 104, 0)
826 #ifndef OVERRIDE_TABLE_64_geteuid
827 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 107, 0)
829 #ifndef OVERRIDE_TABLE_64_getegid
830 TRACE_SYSCALL_TABLE(getegid
, getegid
, 108, 0)
832 #ifndef OVERRIDE_TABLE_64_getppid
833 TRACE_SYSCALL_TABLE(getppid
, getppid
, 110, 0)
835 #ifndef OVERRIDE_TABLE_64_getpgrp
836 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 111, 0)
838 #ifndef OVERRIDE_TABLE_64_setsid
839 TRACE_SYSCALL_TABLE(setsid
, setsid
, 112, 0)
841 #ifndef OVERRIDE_TABLE_64_munlockall
842 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 152, 0)
844 #ifndef OVERRIDE_TABLE_64_vhangup
845 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 153, 0)
847 #ifndef OVERRIDE_TABLE_64_sync
848 TRACE_SYSCALL_TABLE(sync
, sync
, 162, 0)
850 #ifndef OVERRIDE_TABLE_64_gettid
851 TRACE_SYSCALL_TABLE(gettid
, gettid
, 186, 0)
853 #ifndef OVERRIDE_TABLE_64_restart_syscall
854 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 219, 0)
856 #ifndef OVERRIDE_TABLE_64_inotify_init
857 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 253, 0)
859 #endif /* else #ifdef SC_ENTER */
860 #ifndef OVERRIDE_TABLE_64_close
861 TRACE_SYSCALL_TABLE(close
, close
, 3, 1)
863 #ifndef OVERRIDE_TABLE_64_lseek
864 TRACE_SYSCALL_TABLE(lseek
, lseek
, 8, 3)
866 #ifndef OVERRIDE_TABLE_64_mmap
867 TRACE_SYSCALL_TABLE(mmap
, mmap
, 9, 6)
869 #ifndef OVERRIDE_TABLE_64_mprotect
870 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 10, 3)
872 #ifndef OVERRIDE_TABLE_64_munmap
873 TRACE_SYSCALL_TABLE(munmap
, munmap
, 11, 2)
875 #ifndef OVERRIDE_TABLE_64_brk
876 TRACE_SYSCALL_TABLE(brk
, brk
, 12, 1)
878 #ifndef OVERRIDE_TABLE_64_ioctl
879 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 16, 3)
881 #ifndef OVERRIDE_TABLE_64_mremap
882 TRACE_SYSCALL_TABLE(mremap
, mremap
, 25, 5)
884 #ifndef OVERRIDE_TABLE_64_msync
885 TRACE_SYSCALL_TABLE(msync
, msync
, 26, 3)
887 #ifndef OVERRIDE_TABLE_64_madvise
888 TRACE_SYSCALL_TABLE(madvise
, madvise
, 28, 3)
890 #ifndef OVERRIDE_TABLE_64_shmget
891 TRACE_SYSCALL_TABLE(shmget
, shmget
, 29, 3)
893 #ifndef OVERRIDE_TABLE_64_dup
894 TRACE_SYSCALL_TABLE(dup
, dup
, 32, 1)
896 #ifndef OVERRIDE_TABLE_64_dup2
897 TRACE_SYSCALL_TABLE(dup2
, dup2
, 33, 2)
899 #ifndef OVERRIDE_TABLE_64_alarm
900 TRACE_SYSCALL_TABLE(alarm
, alarm
, 37, 1)
902 #ifndef OVERRIDE_TABLE_64_socket
903 TRACE_SYSCALL_TABLE(socket
, socket
, 41, 3)
905 #ifndef OVERRIDE_TABLE_64_shutdown
906 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 48, 2)
908 #ifndef OVERRIDE_TABLE_64_listen
909 TRACE_SYSCALL_TABLE(listen
, listen
, 50, 2)
911 #ifndef OVERRIDE_TABLE_64_exit
912 TRACE_SYSCALL_TABLE(exit
, exit
, 60, 1)
914 #ifndef OVERRIDE_TABLE_64_kill
915 TRACE_SYSCALL_TABLE(kill
, kill
, 62, 2)
917 #ifndef OVERRIDE_TABLE_64_semget
918 TRACE_SYSCALL_TABLE(semget
, semget
, 64, 3)
920 #ifndef OVERRIDE_TABLE_64_semctl
921 TRACE_SYSCALL_TABLE(semctl
, semctl
, 66, 4)
923 #ifndef OVERRIDE_TABLE_64_msgget
924 TRACE_SYSCALL_TABLE(msgget
, msgget
, 68, 2)
926 #ifndef OVERRIDE_TABLE_64_fcntl
927 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 72, 3)
929 #ifndef OVERRIDE_TABLE_64_flock
930 TRACE_SYSCALL_TABLE(flock
, flock
, 73, 2)
932 #ifndef OVERRIDE_TABLE_64_fsync
933 TRACE_SYSCALL_TABLE(fsync
, fsync
, 74, 1)
935 #ifndef OVERRIDE_TABLE_64_fdatasync
936 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 75, 1)
938 #ifndef OVERRIDE_TABLE_64_ftruncate
939 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 77, 2)
941 #ifndef OVERRIDE_TABLE_64_fchdir
942 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 81, 1)
944 #ifndef OVERRIDE_TABLE_64_fchmod
945 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 91, 2)
947 #ifndef OVERRIDE_TABLE_64_fchown
948 TRACE_SYSCALL_TABLE(fchown
, fchown
, 93, 3)
950 #ifndef OVERRIDE_TABLE_64_umask
951 TRACE_SYSCALL_TABLE(umask
, umask
, 95, 1)
953 #ifndef OVERRIDE_TABLE_64_ptrace
954 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 101, 4)
956 #ifndef OVERRIDE_TABLE_64_setuid
957 TRACE_SYSCALL_TABLE(setuid
, setuid
, 105, 1)
959 #ifndef OVERRIDE_TABLE_64_setgid
960 TRACE_SYSCALL_TABLE(setgid
, setgid
, 106, 1)
962 #ifndef OVERRIDE_TABLE_64_setpgid
963 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 109, 2)
965 #ifndef OVERRIDE_TABLE_64_setreuid
966 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 113, 2)
968 #ifndef OVERRIDE_TABLE_64_setregid
969 TRACE_SYSCALL_TABLE(setregid
, setregid
, 114, 2)
971 #ifndef OVERRIDE_TABLE_64_setresuid
972 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 117, 3)
974 #ifndef OVERRIDE_TABLE_64_setresgid
975 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 119, 3)
977 #ifndef OVERRIDE_TABLE_64_getpgid
978 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 121, 1)
980 #ifndef OVERRIDE_TABLE_64_setfsuid
981 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 122, 1)
983 #ifndef OVERRIDE_TABLE_64_setfsgid
984 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 123, 1)
986 #ifndef OVERRIDE_TABLE_64_getsid
987 TRACE_SYSCALL_TABLE(getsid
, getsid
, 124, 1)
989 #ifndef OVERRIDE_TABLE_64_personality
990 TRACE_SYSCALL_TABLE(personality
, personality
, 135, 1)
992 #ifndef OVERRIDE_TABLE_64_sysfs
993 TRACE_SYSCALL_TABLE(sysfs
, sysfs
, 139, 3)
995 #ifndef OVERRIDE_TABLE_64_getpriority
996 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 140, 2)
998 #ifndef OVERRIDE_TABLE_64_setpriority
999 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 141, 3)
1001 #ifndef OVERRIDE_TABLE_64_sched_getscheduler
1002 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 145, 1)
1004 #ifndef OVERRIDE_TABLE_64_sched_get_priority_max
1005 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 146, 1)
1007 #ifndef OVERRIDE_TABLE_64_sched_get_priority_min
1008 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 147, 1)
1010 #ifndef OVERRIDE_TABLE_64_mlock
1011 TRACE_SYSCALL_TABLE(mlock
, mlock
, 149, 2)
1013 #ifndef OVERRIDE_TABLE_64_munlock
1014 TRACE_SYSCALL_TABLE(munlock
, munlock
, 150, 2)
1016 #ifndef OVERRIDE_TABLE_64_mlockall
1017 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 151, 1)
1019 #ifndef OVERRIDE_TABLE_64_prctl
1020 TRACE_SYSCALL_TABLE(prctl
, prctl
, 157, 5)
1022 #ifndef OVERRIDE_TABLE_64_readahead
1023 TRACE_SYSCALL_TABLE(readahead
, readahead
, 187, 3)
1025 #ifndef OVERRIDE_TABLE_64_tkill
1026 TRACE_SYSCALL_TABLE(tkill
, tkill
, 200, 2)
1028 #ifndef OVERRIDE_TABLE_64_io_destroy
1029 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 207, 1)
1031 #ifndef OVERRIDE_TABLE_64_epoll_create
1032 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 213, 1)
1034 #ifndef OVERRIDE_TABLE_64_remap_file_pages
1035 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 216, 5)
1037 #ifndef OVERRIDE_TABLE_64_fadvise64
1038 TRACE_SYSCALL_TABLE(fadvise64
, fadvise64
, 221, 4)
1040 #ifndef OVERRIDE_TABLE_64_timer_getoverrun
1041 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 225, 1)
1043 #ifndef OVERRIDE_TABLE_64_timer_delete
1044 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 226, 1)
1046 #ifndef OVERRIDE_TABLE_64_exit_group
1047 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 231, 1)
1049 #ifndef OVERRIDE_TABLE_64_tgkill
1050 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 234, 3)
1052 #ifndef OVERRIDE_TABLE_64_keyctl
1053 TRACE_SYSCALL_TABLE(keyctl
, keyctl
, 250, 5)
1055 #ifndef OVERRIDE_TABLE_64_ioprio_set
1056 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 251, 3)
1058 #ifndef OVERRIDE_TABLE_64_ioprio_get
1059 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 252, 2)
1061 #ifndef OVERRIDE_TABLE_64_inotify_rm_watch
1062 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 255, 2)
1064 #ifndef OVERRIDE_TABLE_64_unshare
1065 TRACE_SYSCALL_TABLE(unshare
, unshare
, 272, 1)
1067 #ifndef OVERRIDE_TABLE_64_tee
1068 TRACE_SYSCALL_TABLE(tee
, tee
, 276, 4)
1070 #ifndef OVERRIDE_TABLE_64_sync_file_range
1071 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 277, 4)
1073 #ifndef OVERRIDE_TABLE_64_timerfd_create
1074 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 283, 2)
1076 #ifndef OVERRIDE_TABLE_64_eventfd
1077 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 284, 1)
1079 #ifndef OVERRIDE_TABLE_64_fallocate
1080 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 285, 4)
1082 #ifndef OVERRIDE_TABLE_64_eventfd2
1083 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 290, 2)
1085 #ifndef OVERRIDE_TABLE_64_epoll_create1
1086 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 291, 1)
1088 #ifndef OVERRIDE_TABLE_64_dup3
1089 TRACE_SYSCALL_TABLE(dup3
, dup3
, 292, 3)
1091 #ifndef OVERRIDE_TABLE_64_inotify_init1
1092 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 294, 1)
1094 #ifndef OVERRIDE_TABLE_64_fanotify_init
1095 TRACE_SYSCALL_TABLE(fanotify_init
, fanotify_init
, 300, 2)
1097 #ifndef OVERRIDE_TABLE_64_syncfs
1098 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 306, 1)
1100 #ifndef OVERRIDE_TABLE_64_setns
1101 TRACE_SYSCALL_TABLE(setns
, setns
, 308, 2)
1104 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.056847 seconds and 5 git commands to generate.