1 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2 #ifndef CREATE_SYSCALL_TABLE
4 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_INTEGERS_H
7 #include <probes/lttng-tracepoint-event.h>
8 #include <linux/syscalls.h>
9 #include "x86-64-syscalls-3.10.0-rc7_integers_override.h"
10 #include "syscalls_integers_override.h"
13 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
16 #ifndef OVERRIDE_64_sched_yield
17 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
19 #ifndef OVERRIDE_64_pause
20 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
22 #ifndef OVERRIDE_64_getpid
23 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
25 #ifndef OVERRIDE_64_getuid
26 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
28 #ifndef OVERRIDE_64_getgid
29 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
31 #ifndef OVERRIDE_64_geteuid
32 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
34 #ifndef OVERRIDE_64_getegid
35 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
37 #ifndef OVERRIDE_64_getppid
38 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
40 #ifndef OVERRIDE_64_getpgrp
41 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
43 #ifndef OVERRIDE_64_setsid
44 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
46 #ifndef OVERRIDE_64_munlockall
47 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
49 #ifndef OVERRIDE_64_vhangup
50 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
52 #ifndef OVERRIDE_64_sync
53 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
55 #ifndef OVERRIDE_64_gettid
56 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
58 #ifndef OVERRIDE_64_restart_syscall
59 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
61 #ifndef OVERRIDE_64_inotify_init
62 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
64 #else /* #ifdef SC_ENTER */
65 #ifndef OVERRIDE_64_sched_yield
66 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
67 TP_PROTO(sc_exit(long ret
)),
68 TP_ARGS(sc_exit(ret
)),
69 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
72 #ifndef OVERRIDE_64_pause
73 SC_LTTNG_TRACEPOINT_EVENT(pause
,
74 TP_PROTO(sc_exit(long ret
)),
75 TP_ARGS(sc_exit(ret
)),
76 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
79 #ifndef OVERRIDE_64_getpid
80 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
81 TP_PROTO(sc_exit(long ret
)),
82 TP_ARGS(sc_exit(ret
)),
83 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
86 #ifndef OVERRIDE_64_getuid
87 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
88 TP_PROTO(sc_exit(long ret
)),
89 TP_ARGS(sc_exit(ret
)),
90 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
93 #ifndef OVERRIDE_64_getgid
94 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
95 TP_PROTO(sc_exit(long ret
)),
96 TP_ARGS(sc_exit(ret
)),
97 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
100 #ifndef OVERRIDE_64_geteuid
101 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
102 TP_PROTO(sc_exit(long ret
)),
103 TP_ARGS(sc_exit(ret
)),
104 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
107 #ifndef OVERRIDE_64_getegid
108 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
109 TP_PROTO(sc_exit(long ret
)),
110 TP_ARGS(sc_exit(ret
)),
111 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
114 #ifndef OVERRIDE_64_getppid
115 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
116 TP_PROTO(sc_exit(long ret
)),
117 TP_ARGS(sc_exit(ret
)),
118 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
121 #ifndef OVERRIDE_64_getpgrp
122 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
123 TP_PROTO(sc_exit(long ret
)),
124 TP_ARGS(sc_exit(ret
)),
125 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
128 #ifndef OVERRIDE_64_setsid
129 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
130 TP_PROTO(sc_exit(long ret
)),
131 TP_ARGS(sc_exit(ret
)),
132 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
135 #ifndef OVERRIDE_64_munlockall
136 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
137 TP_PROTO(sc_exit(long ret
)),
138 TP_ARGS(sc_exit(ret
)),
139 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
142 #ifndef OVERRIDE_64_vhangup
143 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
144 TP_PROTO(sc_exit(long ret
)),
145 TP_ARGS(sc_exit(ret
)),
146 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
149 #ifndef OVERRIDE_64_sync
150 SC_LTTNG_TRACEPOINT_EVENT(sync
,
151 TP_PROTO(sc_exit(long ret
)),
152 TP_ARGS(sc_exit(ret
)),
153 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
156 #ifndef OVERRIDE_64_gettid
157 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
158 TP_PROTO(sc_exit(long ret
)),
159 TP_ARGS(sc_exit(ret
)),
160 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
163 #ifndef OVERRIDE_64_restart_syscall
164 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
165 TP_PROTO(sc_exit(long ret
)),
166 TP_ARGS(sc_exit(ret
)),
167 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
170 #ifndef OVERRIDE_64_inotify_init
171 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
172 TP_PROTO(sc_exit(long ret
)),
173 TP_ARGS(sc_exit(ret
)),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
177 #endif /* else #ifdef SC_ENTER */
178 #ifndef OVERRIDE_64_close
179 SC_LTTNG_TRACEPOINT_EVENT(close
,
180 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
181 TP_ARGS(sc_exit(ret
,) fd
),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
185 #ifndef OVERRIDE_64_brk
186 SC_LTTNG_TRACEPOINT_EVENT(brk
,
187 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
188 TP_ARGS(sc_exit(ret
,) brk
),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
192 #ifndef OVERRIDE_64_dup
193 SC_LTTNG_TRACEPOINT_EVENT(dup
,
194 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
195 TP_ARGS(sc_exit(ret
,) fildes
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
199 #ifndef OVERRIDE_64_alarm
200 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
201 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
202 TP_ARGS(sc_exit(ret
,) seconds
),
203 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
206 #ifndef OVERRIDE_64_exit
207 SC_LTTNG_TRACEPOINT_EVENT(exit
,
208 TP_PROTO(sc_exit(long ret
,) int error_code
),
209 TP_ARGS(sc_exit(ret
,) error_code
),
210 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
213 #ifndef OVERRIDE_64_fsync
214 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
215 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
216 TP_ARGS(sc_exit(ret
,) fd
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
220 #ifndef OVERRIDE_64_fdatasync
221 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
222 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
223 TP_ARGS(sc_exit(ret
,) fd
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
227 #ifndef OVERRIDE_64_fchdir
228 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
229 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
230 TP_ARGS(sc_exit(ret
,) fd
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
234 #ifndef OVERRIDE_64_umask
235 SC_LTTNG_TRACEPOINT_EVENT(umask
,
236 TP_PROTO(sc_exit(long ret
,) int mask
),
237 TP_ARGS(sc_exit(ret
,) mask
),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
241 #ifndef OVERRIDE_64_setuid
242 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
243 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
244 TP_ARGS(sc_exit(ret
,) uid
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
248 #ifndef OVERRIDE_64_setgid
249 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
250 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
251 TP_ARGS(sc_exit(ret
,) gid
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
255 #ifndef OVERRIDE_64_getpgid
256 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
257 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
258 TP_ARGS(sc_exit(ret
,) pid
),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
262 #ifndef OVERRIDE_64_setfsuid
263 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
264 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
265 TP_ARGS(sc_exit(ret
,) uid
),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
269 #ifndef OVERRIDE_64_setfsgid
270 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
271 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
272 TP_ARGS(sc_exit(ret
,) gid
),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
276 #ifndef OVERRIDE_64_getsid
277 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
278 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
279 TP_ARGS(sc_exit(ret
,) pid
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
283 #ifndef OVERRIDE_64_personality
284 SC_LTTNG_TRACEPOINT_EVENT(personality
,
285 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
286 TP_ARGS(sc_exit(ret
,) personality
),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
290 #ifndef OVERRIDE_64_sched_getscheduler
291 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
292 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
293 TP_ARGS(sc_exit(ret
,) pid
),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
297 #ifndef OVERRIDE_64_sched_get_priority_max
298 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
299 TP_PROTO(sc_exit(long ret
,) int policy
),
300 TP_ARGS(sc_exit(ret
,) policy
),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
304 #ifndef OVERRIDE_64_sched_get_priority_min
305 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
306 TP_PROTO(sc_exit(long ret
,) int policy
),
307 TP_ARGS(sc_exit(ret
,) policy
),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
311 #ifndef OVERRIDE_64_mlockall
312 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
313 TP_PROTO(sc_exit(long ret
,) int flags
),
314 TP_ARGS(sc_exit(ret
,) flags
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
318 #ifndef OVERRIDE_64_io_destroy
319 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
320 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
321 TP_ARGS(sc_exit(ret
,) ctx
),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
325 #ifndef OVERRIDE_64_epoll_create
326 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
327 TP_PROTO(sc_exit(long ret
,) int size
),
328 TP_ARGS(sc_exit(ret
,) size
),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
332 #ifndef OVERRIDE_64_timer_getoverrun
333 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
334 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
335 TP_ARGS(sc_exit(ret
,) timer_id
),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
339 #ifndef OVERRIDE_64_timer_delete
340 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
341 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
342 TP_ARGS(sc_exit(ret
,) timer_id
),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
346 #ifndef OVERRIDE_64_exit_group
347 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
348 TP_PROTO(sc_exit(long ret
,) int error_code
),
349 TP_ARGS(sc_exit(ret
,) error_code
),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
353 #ifndef OVERRIDE_64_unshare
354 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
355 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
356 TP_ARGS(sc_exit(ret
,) unshare_flags
),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
360 #ifndef OVERRIDE_64_eventfd
361 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
362 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
363 TP_ARGS(sc_exit(ret
,) count
),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
367 #ifndef OVERRIDE_64_epoll_create1
368 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
369 TP_PROTO(sc_exit(long ret
,) int flags
),
370 TP_ARGS(sc_exit(ret
,) flags
),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
374 #ifndef OVERRIDE_64_inotify_init1
375 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
376 TP_PROTO(sc_exit(long ret
,) int flags
),
377 TP_ARGS(sc_exit(ret
,) flags
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
381 #ifndef OVERRIDE_64_syncfs
382 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
383 TP_PROTO(sc_exit(long ret
,) int fd
),
384 TP_ARGS(sc_exit(ret
,) fd
),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
388 #ifndef OVERRIDE_64_munmap
389 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
390 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
391 TP_ARGS(sc_exit(ret
,) addr
, len
),
392 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
)))
395 #ifndef OVERRIDE_64_dup2
396 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
397 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
398 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
399 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
)))
402 #ifndef OVERRIDE_64_shutdown
403 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
404 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
405 TP_ARGS(sc_exit(ret
,) fd
, how
),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
409 #ifndef OVERRIDE_64_listen
410 SC_LTTNG_TRACEPOINT_EVENT(listen
,
411 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
412 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
413 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
416 #ifndef OVERRIDE_64_kill
417 SC_LTTNG_TRACEPOINT_EVENT(kill
,
418 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
419 TP_ARGS(sc_exit(ret
,) pid
, sig
),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
423 #ifndef OVERRIDE_64_msgget
424 SC_LTTNG_TRACEPOINT_EVENT(msgget
,
425 TP_PROTO(sc_exit(long ret
,) key_t key
, int msgflg
),
426 TP_ARGS(sc_exit(ret
,) key
, msgflg
),
427 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(key_t
, key
, key
)) sc_in(ctf_integer(int, msgflg
, msgflg
)))
430 #ifndef OVERRIDE_64_flock
431 SC_LTTNG_TRACEPOINT_EVENT(flock
,
432 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
433 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
434 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
)))
437 #ifndef OVERRIDE_64_ftruncate
438 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
439 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
440 TP_ARGS(sc_exit(ret
,) fd
, length
),
441 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
)))
444 #ifndef OVERRIDE_64_fchmod
445 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
446 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
447 TP_ARGS(sc_exit(ret
,) fd
, mode
),
448 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
)))
451 #ifndef OVERRIDE_64_setpgid
452 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
453 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
454 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
455 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
)))
458 #ifndef OVERRIDE_64_setreuid
459 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
460 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
461 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
462 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
)))
465 #ifndef OVERRIDE_64_setregid
466 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
467 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
468 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
469 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
)))
472 #ifndef OVERRIDE_64_getpriority
473 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
474 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
475 TP_ARGS(sc_exit(ret
,) which
, who
),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
479 #ifndef OVERRIDE_64_mlock
480 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
481 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
482 TP_ARGS(sc_exit(ret
,) start
, len
),
483 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
)))
486 #ifndef OVERRIDE_64_munlock
487 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
488 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
489 TP_ARGS(sc_exit(ret
,) start
, len
),
490 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
)))
493 #ifndef OVERRIDE_64_tkill
494 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
495 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
496 TP_ARGS(sc_exit(ret
,) pid
, sig
),
497 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
500 #ifndef OVERRIDE_64_ioprio_get
501 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
502 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
503 TP_ARGS(sc_exit(ret
,) which
, who
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
507 #ifndef OVERRIDE_64_inotify_rm_watch
508 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
509 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
510 TP_ARGS(sc_exit(ret
,) fd
, wd
),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
514 #ifndef OVERRIDE_64_timerfd_create
515 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
516 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
517 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
521 #ifndef OVERRIDE_64_eventfd2
522 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
523 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
524 TP_ARGS(sc_exit(ret
,) count
, flags
),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
528 #ifndef OVERRIDE_64_fanotify_init
529 SC_LTTNG_TRACEPOINT_EVENT(fanotify_init
,
530 TP_PROTO(sc_exit(long ret
,) unsigned int flags
, unsigned int event_f_flags
),
531 TP_ARGS(sc_exit(ret
,) flags
, event_f_flags
),
532 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
)))
535 #ifndef OVERRIDE_64_setns
536 SC_LTTNG_TRACEPOINT_EVENT(setns
,
537 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
538 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
542 #ifndef OVERRIDE_64_lseek
543 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
544 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
545 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
546 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
)))
549 #ifndef OVERRIDE_64_mprotect
550 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
551 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
552 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
553 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
)))
556 #ifndef OVERRIDE_64_ioctl
557 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
558 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
559 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
560 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
)))
563 #ifndef OVERRIDE_64_msync
564 SC_LTTNG_TRACEPOINT_EVENT(msync
,
565 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
566 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
567 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
)))
570 #ifndef OVERRIDE_64_madvise
571 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
572 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
573 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
574 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
)))
577 #ifndef OVERRIDE_64_shmget
578 SC_LTTNG_TRACEPOINT_EVENT(shmget
,
579 TP_PROTO(sc_exit(long ret
,) key_t key
, size_t size
, int shmflg
),
580 TP_ARGS(sc_exit(ret
,) key
, size
, shmflg
),
581 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
)))
584 #ifndef OVERRIDE_64_socket
585 SC_LTTNG_TRACEPOINT_EVENT(socket
,
586 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
587 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
588 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
)))
591 #ifndef OVERRIDE_64_semget
592 SC_LTTNG_TRACEPOINT_EVENT(semget
,
593 TP_PROTO(sc_exit(long ret
,) key_t key
, int nsems
, int semflg
),
594 TP_ARGS(sc_exit(ret
,) key
, nsems
, semflg
),
595 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
)))
598 #ifndef OVERRIDE_64_fcntl
599 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
600 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
601 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
602 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
)))
605 #ifndef OVERRIDE_64_fchown
606 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
607 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
608 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
609 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
)))
612 #ifndef OVERRIDE_64_setresuid
613 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
614 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
615 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
616 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
)))
619 #ifndef OVERRIDE_64_setresgid
620 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
621 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
622 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
623 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
)))
626 #ifndef OVERRIDE_64_sysfs
627 SC_LTTNG_TRACEPOINT_EVENT(sysfs
,
628 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg1
, unsigned long arg2
),
629 TP_ARGS(sc_exit(ret
,) option
, arg1
, arg2
),
630 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
)))
633 #ifndef OVERRIDE_64_setpriority
634 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
635 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
636 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
637 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
)))
640 #ifndef OVERRIDE_64_readahead
641 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
642 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
643 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
644 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
)))
647 #ifndef OVERRIDE_64_tgkill
648 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
649 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
650 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
651 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
)))
654 #ifndef OVERRIDE_64_ioprio_set
655 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
656 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
657 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
658 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
)))
661 #ifndef OVERRIDE_64_dup3
662 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
663 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
664 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
665 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
)))
668 #ifndef OVERRIDE_64_semctl
669 SC_LTTNG_TRACEPOINT_EVENT(semctl
,
670 TP_PROTO(sc_exit(long ret
,) int semid
, int semnum
, int cmd
, unsigned long arg
),
671 TP_ARGS(sc_exit(ret
,) semid
, semnum
, cmd
, arg
),
672 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
)))
675 #ifndef OVERRIDE_64_ptrace
676 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
677 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
678 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
679 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
)))
682 #ifndef OVERRIDE_64_fadvise64
683 SC_LTTNG_TRACEPOINT_EVENT(fadvise64
,
684 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t len
, int advice
),
685 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
686 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
)))
689 #ifndef OVERRIDE_64_tee
690 SC_LTTNG_TRACEPOINT_EVENT(tee
,
691 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
692 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
693 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
)))
696 #ifndef OVERRIDE_64_sync_file_range
697 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
698 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
699 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
700 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
)))
703 #ifndef OVERRIDE_64_fallocate
704 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
705 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
706 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
707 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
)))
710 #ifndef OVERRIDE_64_mremap
711 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
712 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
713 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
714 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
)))
717 #ifndef OVERRIDE_64_prctl
718 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
719 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
720 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
721 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
)))
724 #ifndef OVERRIDE_64_remap_file_pages
725 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
726 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
727 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
728 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
)))
731 #ifndef OVERRIDE_64_keyctl
732 SC_LTTNG_TRACEPOINT_EVENT(keyctl
,
733 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
734 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
735 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
)))
738 #ifndef OVERRIDE_64_mmap
739 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
740 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long off
),
741 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, off
),
742 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
)))
746 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
748 /* This part must be outside protection */
749 #include <probes/define_trace.h>
751 #else /* CREATE_SYSCALL_TABLE */
753 #include "x86-64-syscalls-3.10.0-rc7_integers_override.h"
754 #include "syscalls_integers_override.h"
757 #ifndef OVERRIDE_TABLE_64_sched_yield
758 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 24, 0)
760 #ifndef OVERRIDE_TABLE_64_pause
761 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 34, 0)
763 #ifndef OVERRIDE_TABLE_64_getpid
764 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 39, 0)
766 #ifndef OVERRIDE_TABLE_64_getuid
767 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 102, 0)
769 #ifndef OVERRIDE_TABLE_64_getgid
770 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 104, 0)
772 #ifndef OVERRIDE_TABLE_64_geteuid
773 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 107, 0)
775 #ifndef OVERRIDE_TABLE_64_getegid
776 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 108, 0)
778 #ifndef OVERRIDE_TABLE_64_getppid
779 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 110, 0)
781 #ifndef OVERRIDE_TABLE_64_getpgrp
782 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 111, 0)
784 #ifndef OVERRIDE_TABLE_64_setsid
785 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 112, 0)
787 #ifndef OVERRIDE_TABLE_64_munlockall
788 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 152, 0)
790 #ifndef OVERRIDE_TABLE_64_vhangup
791 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 153, 0)
793 #ifndef OVERRIDE_TABLE_64_sync
794 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 162, 0)
796 #ifndef OVERRIDE_TABLE_64_gettid
797 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 186, 0)
799 #ifndef OVERRIDE_TABLE_64_restart_syscall
800 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 219, 0)
802 #ifndef OVERRIDE_TABLE_64_inotify_init
803 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 253, 0)
805 #else /* #ifdef SC_ENTER */
806 #ifndef OVERRIDE_TABLE_64_sched_yield
807 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 24, 0)
809 #ifndef OVERRIDE_TABLE_64_pause
810 TRACE_SYSCALL_TABLE(pause
, pause
, 34, 0)
812 #ifndef OVERRIDE_TABLE_64_getpid
813 TRACE_SYSCALL_TABLE(getpid
, getpid
, 39, 0)
815 #ifndef OVERRIDE_TABLE_64_getuid
816 TRACE_SYSCALL_TABLE(getuid
, getuid
, 102, 0)
818 #ifndef OVERRIDE_TABLE_64_getgid
819 TRACE_SYSCALL_TABLE(getgid
, getgid
, 104, 0)
821 #ifndef OVERRIDE_TABLE_64_geteuid
822 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 107, 0)
824 #ifndef OVERRIDE_TABLE_64_getegid
825 TRACE_SYSCALL_TABLE(getegid
, getegid
, 108, 0)
827 #ifndef OVERRIDE_TABLE_64_getppid
828 TRACE_SYSCALL_TABLE(getppid
, getppid
, 110, 0)
830 #ifndef OVERRIDE_TABLE_64_getpgrp
831 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 111, 0)
833 #ifndef OVERRIDE_TABLE_64_setsid
834 TRACE_SYSCALL_TABLE(setsid
, setsid
, 112, 0)
836 #ifndef OVERRIDE_TABLE_64_munlockall
837 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 152, 0)
839 #ifndef OVERRIDE_TABLE_64_vhangup
840 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 153, 0)
842 #ifndef OVERRIDE_TABLE_64_sync
843 TRACE_SYSCALL_TABLE(sync
, sync
, 162, 0)
845 #ifndef OVERRIDE_TABLE_64_gettid
846 TRACE_SYSCALL_TABLE(gettid
, gettid
, 186, 0)
848 #ifndef OVERRIDE_TABLE_64_restart_syscall
849 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 219, 0)
851 #ifndef OVERRIDE_TABLE_64_inotify_init
852 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 253, 0)
854 #endif /* else #ifdef SC_ENTER */
855 #ifndef OVERRIDE_TABLE_64_close
856 TRACE_SYSCALL_TABLE(close
, close
, 3, 1)
858 #ifndef OVERRIDE_TABLE_64_lseek
859 TRACE_SYSCALL_TABLE(lseek
, lseek
, 8, 3)
861 #ifndef OVERRIDE_TABLE_64_mmap
862 TRACE_SYSCALL_TABLE(mmap
, mmap
, 9, 6)
864 #ifndef OVERRIDE_TABLE_64_mprotect
865 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 10, 3)
867 #ifndef OVERRIDE_TABLE_64_munmap
868 TRACE_SYSCALL_TABLE(munmap
, munmap
, 11, 2)
870 #ifndef OVERRIDE_TABLE_64_brk
871 TRACE_SYSCALL_TABLE(brk
, brk
, 12, 1)
873 #ifndef OVERRIDE_TABLE_64_ioctl
874 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 16, 3)
876 #ifndef OVERRIDE_TABLE_64_mremap
877 TRACE_SYSCALL_TABLE(mremap
, mremap
, 25, 5)
879 #ifndef OVERRIDE_TABLE_64_msync
880 TRACE_SYSCALL_TABLE(msync
, msync
, 26, 3)
882 #ifndef OVERRIDE_TABLE_64_madvise
883 TRACE_SYSCALL_TABLE(madvise
, madvise
, 28, 3)
885 #ifndef OVERRIDE_TABLE_64_shmget
886 TRACE_SYSCALL_TABLE(shmget
, shmget
, 29, 3)
888 #ifndef OVERRIDE_TABLE_64_dup
889 TRACE_SYSCALL_TABLE(dup
, dup
, 32, 1)
891 #ifndef OVERRIDE_TABLE_64_dup2
892 TRACE_SYSCALL_TABLE(dup2
, dup2
, 33, 2)
894 #ifndef OVERRIDE_TABLE_64_alarm
895 TRACE_SYSCALL_TABLE(alarm
, alarm
, 37, 1)
897 #ifndef OVERRIDE_TABLE_64_socket
898 TRACE_SYSCALL_TABLE(socket
, socket
, 41, 3)
900 #ifndef OVERRIDE_TABLE_64_shutdown
901 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 48, 2)
903 #ifndef OVERRIDE_TABLE_64_listen
904 TRACE_SYSCALL_TABLE(listen
, listen
, 50, 2)
906 #ifndef OVERRIDE_TABLE_64_exit
907 TRACE_SYSCALL_TABLE(exit
, exit
, 60, 1)
909 #ifndef OVERRIDE_TABLE_64_kill
910 TRACE_SYSCALL_TABLE(kill
, kill
, 62, 2)
912 #ifndef OVERRIDE_TABLE_64_semget
913 TRACE_SYSCALL_TABLE(semget
, semget
, 64, 3)
915 #ifndef OVERRIDE_TABLE_64_semctl
916 TRACE_SYSCALL_TABLE(semctl
, semctl
, 66, 4)
918 #ifndef OVERRIDE_TABLE_64_msgget
919 TRACE_SYSCALL_TABLE(msgget
, msgget
, 68, 2)
921 #ifndef OVERRIDE_TABLE_64_fcntl
922 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 72, 3)
924 #ifndef OVERRIDE_TABLE_64_flock
925 TRACE_SYSCALL_TABLE(flock
, flock
, 73, 2)
927 #ifndef OVERRIDE_TABLE_64_fsync
928 TRACE_SYSCALL_TABLE(fsync
, fsync
, 74, 1)
930 #ifndef OVERRIDE_TABLE_64_fdatasync
931 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 75, 1)
933 #ifndef OVERRIDE_TABLE_64_ftruncate
934 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 77, 2)
936 #ifndef OVERRIDE_TABLE_64_fchdir
937 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 81, 1)
939 #ifndef OVERRIDE_TABLE_64_fchmod
940 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 91, 2)
942 #ifndef OVERRIDE_TABLE_64_fchown
943 TRACE_SYSCALL_TABLE(fchown
, fchown
, 93, 3)
945 #ifndef OVERRIDE_TABLE_64_umask
946 TRACE_SYSCALL_TABLE(umask
, umask
, 95, 1)
948 #ifndef OVERRIDE_TABLE_64_ptrace
949 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 101, 4)
951 #ifndef OVERRIDE_TABLE_64_setuid
952 TRACE_SYSCALL_TABLE(setuid
, setuid
, 105, 1)
954 #ifndef OVERRIDE_TABLE_64_setgid
955 TRACE_SYSCALL_TABLE(setgid
, setgid
, 106, 1)
957 #ifndef OVERRIDE_TABLE_64_setpgid
958 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 109, 2)
960 #ifndef OVERRIDE_TABLE_64_setreuid
961 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 113, 2)
963 #ifndef OVERRIDE_TABLE_64_setregid
964 TRACE_SYSCALL_TABLE(setregid
, setregid
, 114, 2)
966 #ifndef OVERRIDE_TABLE_64_setresuid
967 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 117, 3)
969 #ifndef OVERRIDE_TABLE_64_setresgid
970 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 119, 3)
972 #ifndef OVERRIDE_TABLE_64_getpgid
973 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 121, 1)
975 #ifndef OVERRIDE_TABLE_64_setfsuid
976 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 122, 1)
978 #ifndef OVERRIDE_TABLE_64_setfsgid
979 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 123, 1)
981 #ifndef OVERRIDE_TABLE_64_getsid
982 TRACE_SYSCALL_TABLE(getsid
, getsid
, 124, 1)
984 #ifndef OVERRIDE_TABLE_64_personality
985 TRACE_SYSCALL_TABLE(personality
, personality
, 135, 1)
987 #ifndef OVERRIDE_TABLE_64_sysfs
988 TRACE_SYSCALL_TABLE(sysfs
, sysfs
, 139, 3)
990 #ifndef OVERRIDE_TABLE_64_getpriority
991 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 140, 2)
993 #ifndef OVERRIDE_TABLE_64_setpriority
994 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 141, 3)
996 #ifndef OVERRIDE_TABLE_64_sched_getscheduler
997 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 145, 1)
999 #ifndef OVERRIDE_TABLE_64_sched_get_priority_max
1000 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 146, 1)
1002 #ifndef OVERRIDE_TABLE_64_sched_get_priority_min
1003 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 147, 1)
1005 #ifndef OVERRIDE_TABLE_64_mlock
1006 TRACE_SYSCALL_TABLE(mlock
, mlock
, 149, 2)
1008 #ifndef OVERRIDE_TABLE_64_munlock
1009 TRACE_SYSCALL_TABLE(munlock
, munlock
, 150, 2)
1011 #ifndef OVERRIDE_TABLE_64_mlockall
1012 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 151, 1)
1014 #ifndef OVERRIDE_TABLE_64_prctl
1015 TRACE_SYSCALL_TABLE(prctl
, prctl
, 157, 5)
1017 #ifndef OVERRIDE_TABLE_64_readahead
1018 TRACE_SYSCALL_TABLE(readahead
, readahead
, 187, 3)
1020 #ifndef OVERRIDE_TABLE_64_tkill
1021 TRACE_SYSCALL_TABLE(tkill
, tkill
, 200, 2)
1023 #ifndef OVERRIDE_TABLE_64_io_destroy
1024 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 207, 1)
1026 #ifndef OVERRIDE_TABLE_64_epoll_create
1027 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 213, 1)
1029 #ifndef OVERRIDE_TABLE_64_remap_file_pages
1030 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 216, 5)
1032 #ifndef OVERRIDE_TABLE_64_fadvise64
1033 TRACE_SYSCALL_TABLE(fadvise64
, fadvise64
, 221, 4)
1035 #ifndef OVERRIDE_TABLE_64_timer_getoverrun
1036 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 225, 1)
1038 #ifndef OVERRIDE_TABLE_64_timer_delete
1039 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 226, 1)
1041 #ifndef OVERRIDE_TABLE_64_exit_group
1042 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 231, 1)
1044 #ifndef OVERRIDE_TABLE_64_tgkill
1045 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 234, 3)
1047 #ifndef OVERRIDE_TABLE_64_keyctl
1048 TRACE_SYSCALL_TABLE(keyctl
, keyctl
, 250, 5)
1050 #ifndef OVERRIDE_TABLE_64_ioprio_set
1051 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 251, 3)
1053 #ifndef OVERRIDE_TABLE_64_ioprio_get
1054 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 252, 2)
1056 #ifndef OVERRIDE_TABLE_64_inotify_rm_watch
1057 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 255, 2)
1059 #ifndef OVERRIDE_TABLE_64_unshare
1060 TRACE_SYSCALL_TABLE(unshare
, unshare
, 272, 1)
1062 #ifndef OVERRIDE_TABLE_64_tee
1063 TRACE_SYSCALL_TABLE(tee
, tee
, 276, 4)
1065 #ifndef OVERRIDE_TABLE_64_sync_file_range
1066 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 277, 4)
1068 #ifndef OVERRIDE_TABLE_64_timerfd_create
1069 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 283, 2)
1071 #ifndef OVERRIDE_TABLE_64_eventfd
1072 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 284, 1)
1074 #ifndef OVERRIDE_TABLE_64_fallocate
1075 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 285, 4)
1077 #ifndef OVERRIDE_TABLE_64_eventfd2
1078 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 290, 2)
1080 #ifndef OVERRIDE_TABLE_64_epoll_create1
1081 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 291, 1)
1083 #ifndef OVERRIDE_TABLE_64_dup3
1084 TRACE_SYSCALL_TABLE(dup3
, dup3
, 292, 3)
1086 #ifndef OVERRIDE_TABLE_64_inotify_init1
1087 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 294, 1)
1089 #ifndef OVERRIDE_TABLE_64_fanotify_init
1090 TRACE_SYSCALL_TABLE(fanotify_init
, fanotify_init
, 300, 2)
1092 #ifndef OVERRIDE_TABLE_64_syncfs
1093 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 306, 1)
1095 #ifndef OVERRIDE_TABLE_64_setns
1096 TRACE_SYSCALL_TABLE(setns
, setns
, 308, 2)
1099 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.055327 seconds and 4 git commands to generate.