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 6.0.7 */
7 #ifndef CREATE_SYSCALL_TABLE
9 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_POINTERS_H
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "x86-64-syscalls_pointers_override.h"
15 #include "syscalls_pointers_override.h"
17 #ifndef OVERRIDE_64_pipe
18 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
19 TP_PROTO(sc_exit(long ret
,) int * fildes
),
20 TP_ARGS(sc_exit(ret
,) fildes
),
21 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)))
24 #ifndef OVERRIDE_64_newuname
25 SC_LTTNG_TRACEPOINT_EVENT(newuname
,
26 TP_PROTO(sc_exit(long ret
,) struct new_utsname
* name
),
27 TP_ARGS(sc_exit(ret
,) name
),
28 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct new_utsname
*, name
, name
)))
31 #ifndef OVERRIDE_64_shmdt
32 SC_LTTNG_TRACEPOINT_EVENT(shmdt
,
33 TP_PROTO(sc_exit(long ret
,) char * shmaddr
),
34 TP_ARGS(sc_exit(ret
,) shmaddr
),
35 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(char *, shmaddr
, shmaddr
)))
38 #ifndef OVERRIDE_64_chdir
39 SC_LTTNG_TRACEPOINT_EVENT(chdir
,
40 TP_PROTO(sc_exit(long ret
,) const char * filename
),
41 TP_ARGS(sc_exit(ret
,) filename
),
42 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
45 #ifndef OVERRIDE_64_rmdir
46 SC_LTTNG_TRACEPOINT_EVENT(rmdir
,
47 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
48 TP_ARGS(sc_exit(ret
,) pathname
),
49 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
52 #ifndef OVERRIDE_64_unlink
53 SC_LTTNG_TRACEPOINT_EVENT(unlink
,
54 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
55 TP_ARGS(sc_exit(ret
,) pathname
),
56 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
59 #ifndef OVERRIDE_64_sysinfo
60 SC_LTTNG_TRACEPOINT_EVENT(sysinfo
,
61 TP_PROTO(sc_exit(long ret
,) struct sysinfo
* info
),
62 TP_ARGS(sc_exit(ret
,) info
),
63 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct sysinfo
*, info
, info
)))
66 #ifndef OVERRIDE_64_times
67 SC_LTTNG_TRACEPOINT_EVENT(times
,
68 TP_PROTO(sc_exit(long ret
,) struct tms
* tbuf
),
69 TP_ARGS(sc_exit(ret
,) tbuf
),
70 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct tms
*, tbuf
, tbuf
)))
73 #ifndef OVERRIDE_64_adjtimex
74 SC_LTTNG_TRACEPOINT_EVENT(adjtimex
,
75 TP_PROTO(sc_exit(long ret
,) struct __kernel_timex
* txc_p
),
76 TP_ARGS(sc_exit(ret
,) txc_p
),
77 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct __kernel_timex
*, txc_p
, txc_p
)))
80 #ifndef OVERRIDE_64_chroot
81 SC_LTTNG_TRACEPOINT_EVENT(chroot
,
82 TP_PROTO(sc_exit(long ret
,) const char * filename
),
83 TP_ARGS(sc_exit(ret
,) filename
),
84 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
87 #ifndef OVERRIDE_64_acct
88 SC_LTTNG_TRACEPOINT_EVENT(acct
,
89 TP_PROTO(sc_exit(long ret
,) const char * name
),
90 TP_ARGS(sc_exit(ret
,) name
),
91 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)))
94 #ifndef OVERRIDE_64_swapoff
95 SC_LTTNG_TRACEPOINT_EVENT(swapoff
,
96 TP_PROTO(sc_exit(long ret
,) const char * specialfile
),
97 TP_ARGS(sc_exit(ret
,) specialfile
),
98 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(specialfile
, specialfile
)))
101 #ifndef OVERRIDE_64_time
102 SC_LTTNG_TRACEPOINT_EVENT(time
,
103 TP_PROTO(sc_exit(long ret
,) __kernel_old_time_t
* tloc
),
104 TP_ARGS(sc_exit(ret
,) tloc
),
105 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(__kernel_old_time_t
*, tloc
, tloc
)))
108 #ifndef OVERRIDE_64_set_tid_address
109 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address
,
110 TP_PROTO(sc_exit(long ret
,) int * tidptr
),
111 TP_ARGS(sc_exit(ret
,) tidptr
),
112 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int *, tidptr
, tidptr
)))
115 #ifndef OVERRIDE_64_mq_unlink
116 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink
,
117 TP_PROTO(sc_exit(long ret
,) const char * u_name
),
118 TP_ARGS(sc_exit(ret
,) u_name
),
119 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(u_name
, u_name
)))
122 #ifndef OVERRIDE_64_newstat
123 SC_LTTNG_TRACEPOINT_EVENT(newstat
,
124 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
125 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
126 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
129 #ifndef OVERRIDE_64_newfstat
130 SC_LTTNG_TRACEPOINT_EVENT(newfstat
,
131 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct stat
* statbuf
),
132 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
133 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
136 #ifndef OVERRIDE_64_newlstat
137 SC_LTTNG_TRACEPOINT_EVENT(newlstat
,
138 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
139 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
140 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
143 #ifndef OVERRIDE_64_access
144 SC_LTTNG_TRACEPOINT_EVENT(access
,
145 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
),
146 TP_ARGS(sc_exit(ret
,) filename
, mode
),
147 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, mode
, mode
)))
150 #ifndef OVERRIDE_64_nanosleep
151 SC_LTTNG_TRACEPOINT_EVENT(nanosleep
,
152 TP_PROTO(sc_exit(long ret
,) struct __kernel_timespec
* rqtp
, struct __kernel_timespec
* rmtp
),
153 TP_ARGS(sc_exit(ret
,) rqtp
, rmtp
),
154 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(struct __kernel_timespec
*, rqtp
, rqtp
)) sc_out(ctf_integer(struct __kernel_timespec
*, rmtp
, rmtp
)))
157 #ifndef OVERRIDE_64_getitimer
158 SC_LTTNG_TRACEPOINT_EVENT(getitimer
,
159 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
),
160 TP_ARGS(sc_exit(ret
,) which
, value
),
161 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_out(ctf_integer(struct __kernel_old_itimerval
*, value
, value
)))
164 #ifndef OVERRIDE_64_truncate
165 SC_LTTNG_TRACEPOINT_EVENT(truncate
,
166 TP_PROTO(sc_exit(long ret
,) const char * path
, long length
),
167 TP_ARGS(sc_exit(ret
,) path
, length
),
168 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_in(ctf_integer(long, length
, length
)))
171 #ifndef OVERRIDE_64_getcwd
172 SC_LTTNG_TRACEPOINT_EVENT(getcwd
,
173 TP_PROTO(sc_exit(long ret
,) char * buf
, unsigned long size
),
174 TP_ARGS(sc_exit(ret
,) buf
, size
),
175 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(unsigned long, size
, size
)))
178 #ifndef OVERRIDE_64_rename
179 SC_LTTNG_TRACEPOINT_EVENT(rename
,
180 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
181 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
185 #ifndef OVERRIDE_64_mkdir
186 SC_LTTNG_TRACEPOINT_EVENT(mkdir
,
187 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
188 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
192 #ifndef OVERRIDE_64_creat
193 SC_LTTNG_TRACEPOINT_EVENT(creat
,
194 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
195 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
199 #ifndef OVERRIDE_64_link
200 SC_LTTNG_TRACEPOINT_EVENT(link
,
201 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
202 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
203 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
206 #ifndef OVERRIDE_64_symlink
207 SC_LTTNG_TRACEPOINT_EVENT(symlink
,
208 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
209 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
210 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
213 #ifndef OVERRIDE_64_chmod
214 SC_LTTNG_TRACEPOINT_EVENT(chmod
,
215 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
),
216 TP_ARGS(sc_exit(ret
,) filename
, mode
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
220 #ifndef OVERRIDE_64_gettimeofday
221 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday
,
222 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
223 TP_ARGS(sc_exit(ret
,) tv
, tz
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct __kernel_old_timeval
*, tv
, tv
)) sc_out(ctf_integer(struct timezone
*, tz
, tz
)))
227 #ifndef OVERRIDE_64_getrlimit
228 SC_LTTNG_TRACEPOINT_EVENT(getrlimit
,
229 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
230 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, resource
, resource
)) sc_out(ctf_integer(struct rlimit
*, rlim
, rlim
)))
234 #ifndef OVERRIDE_64_getrusage
235 SC_LTTNG_TRACEPOINT_EVENT(getrusage
,
236 TP_PROTO(sc_exit(long ret
,) int who
, struct rusage
* ru
),
237 TP_ARGS(sc_exit(ret
,) who
, ru
),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, who
, who
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
241 #ifndef OVERRIDE_64_getgroups
242 SC_LTTNG_TRACEPOINT_EVENT(getgroups
,
243 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
244 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_out(ctf_integer(gid_t
*, grouplist
, grouplist
)))
248 #ifndef OVERRIDE_64_setgroups
249 SC_LTTNG_TRACEPOINT_EVENT(setgroups
,
250 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
251 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_in(ctf_integer(gid_t
*, grouplist
, grouplist
)))
255 #ifndef OVERRIDE_64_rt_sigpending
256 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending
,
257 TP_PROTO(sc_exit(long ret
,) sigset_t
* uset
, size_t sigsetsize
),
258 TP_ARGS(sc_exit(ret
,) uset
, sigsetsize
),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(sigset_t
*, uset
, uset
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
262 #ifndef OVERRIDE_64_rt_sigsuspend
263 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend
,
264 TP_PROTO(sc_exit(long ret
,) sigset_t
* unewset
, size_t sigsetsize
),
265 TP_ARGS(sc_exit(ret
,) unewset
, sigsetsize
),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(sigset_t
*, unewset
, unewset
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
269 #ifndef OVERRIDE_64_sigaltstack
270 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack
,
271 TP_PROTO(sc_exit(long ret
,) const stack_t
* uss
, stack_t
* uoss
),
272 TP_ARGS(sc_exit(ret
,) uss
, uoss
),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const stack_t
*, uss
, uss
)) sc_inout(ctf_integer(stack_t
*, uoss
, uoss
)))
276 #ifndef OVERRIDE_64_utime
277 SC_LTTNG_TRACEPOINT_EVENT(utime
,
278 TP_PROTO(sc_exit(long ret
,) char * filename
, struct utimbuf
* times
),
279 TP_ARGS(sc_exit(ret
,) filename
, times
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct utimbuf
*, times
, times
)))
283 #ifndef OVERRIDE_64_ustat
284 SC_LTTNG_TRACEPOINT_EVENT(ustat
,
285 TP_PROTO(sc_exit(long ret
,) unsigned dev
, struct ustat
* ubuf
),
286 TP_ARGS(sc_exit(ret
,) dev
, ubuf
),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned, dev
, dev
)) sc_out(ctf_integer(struct ustat
*, ubuf
, ubuf
)))
290 #ifndef OVERRIDE_64_statfs
291 SC_LTTNG_TRACEPOINT_EVENT(statfs
,
292 TP_PROTO(sc_exit(long ret
,) const char * pathname
, struct statfs
* buf
),
293 TP_ARGS(sc_exit(ret
,) pathname
, buf
),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(struct statfs
*, buf
, buf
)))
297 #ifndef OVERRIDE_64_fstatfs
298 SC_LTTNG_TRACEPOINT_EVENT(fstatfs
,
299 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct statfs
* buf
),
300 TP_ARGS(sc_exit(ret
,) fd
, buf
),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(struct statfs
*, buf
, buf
)))
304 #ifndef OVERRIDE_64_sched_setparam
305 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam
,
306 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
307 TP_ARGS(sc_exit(ret
,) pid
, param
),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(struct sched_param
*, param
, param
)))
311 #ifndef OVERRIDE_64_sched_getparam
312 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam
,
313 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
314 TP_ARGS(sc_exit(ret
,) pid
, param
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_out(ctf_integer(struct sched_param
*, param
, param
)))
318 #ifndef OVERRIDE_64_sched_rr_get_interval
319 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval
,
320 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct __kernel_timespec
* interval
),
321 TP_ARGS(sc_exit(ret
,) pid
, interval
),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_out(ctf_integer(struct __kernel_timespec
*, interval
, interval
)))
325 #ifndef OVERRIDE_64_pivot_root
326 SC_LTTNG_TRACEPOINT_EVENT(pivot_root
,
327 TP_PROTO(sc_exit(long ret
,) const char * new_root
, const char * put_old
),
328 TP_ARGS(sc_exit(ret
,) new_root
, put_old
),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(new_root
, new_root
)) sc_in(ctf_user_string(put_old
, put_old
)))
332 #ifndef OVERRIDE_64_setrlimit
333 SC_LTTNG_TRACEPOINT_EVENT(setrlimit
,
334 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
335 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, resource
, resource
)) sc_in(ctf_integer(struct rlimit
*, rlim
, rlim
)))
339 #ifndef OVERRIDE_64_settimeofday
340 SC_LTTNG_TRACEPOINT_EVENT(settimeofday
,
341 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
342 TP_ARGS(sc_exit(ret
,) tv
, tz
),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(struct __kernel_old_timeval
*, tv
, tv
)) sc_in(ctf_integer(struct timezone
*, tz
, tz
)))
346 #ifndef OVERRIDE_64_umount
347 SC_LTTNG_TRACEPOINT_EVENT(umount
,
348 TP_PROTO(sc_exit(long ret
,) char * name
, int flags
),
349 TP_ARGS(sc_exit(ret
,) name
, flags
),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, flags
, flags
)))
353 #ifndef OVERRIDE_64_swapon
354 SC_LTTNG_TRACEPOINT_EVENT(swapon
,
355 TP_PROTO(sc_exit(long ret
,) const char * specialfile
, int swap_flags
),
356 TP_ARGS(sc_exit(ret
,) specialfile
, swap_flags
),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(specialfile
, specialfile
)) sc_in(ctf_integer(int, swap_flags
, swap_flags
)))
360 #ifndef OVERRIDE_64_sethostname
361 SC_LTTNG_TRACEPOINT_EVENT(sethostname
,
362 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
363 TP_ARGS(sc_exit(ret
,) name
, len
),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
367 #ifndef OVERRIDE_64_setdomainname
368 SC_LTTNG_TRACEPOINT_EVENT(setdomainname
,
369 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
370 TP_ARGS(sc_exit(ret
,) name
, len
),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
374 #ifndef OVERRIDE_64_delete_module
375 SC_LTTNG_TRACEPOINT_EVENT(delete_module
,
376 TP_PROTO(sc_exit(long ret
,) const char * name_user
, unsigned int flags
),
377 TP_ARGS(sc_exit(ret
,) name_user
, flags
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name_user
, name_user
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
381 #ifndef OVERRIDE_64_removexattr
382 SC_LTTNG_TRACEPOINT_EVENT(removexattr
,
383 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
384 TP_ARGS(sc_exit(ret
,) pathname
, name
),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
388 #ifndef OVERRIDE_64_lremovexattr
389 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr
,
390 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
391 TP_ARGS(sc_exit(ret
,) pathname
, name
),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
395 #ifndef OVERRIDE_64_fremovexattr
396 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr
,
397 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
),
398 TP_ARGS(sc_exit(ret
,) fd
, name
),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)))
402 #ifndef OVERRIDE_64_io_setup
403 SC_LTTNG_TRACEPOINT_EVENT(io_setup
,
404 TP_PROTO(sc_exit(long ret
,) unsigned nr_events
, aio_context_t
* ctxp
),
405 TP_ARGS(sc_exit(ret
,) nr_events
, ctxp
),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned, nr_events
, nr_events
)) sc_in(ctf_integer(aio_context_t
*, ctxp
, ctxp
)))
409 #ifndef OVERRIDE_64_timer_gettime
410 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime
,
411 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct __kernel_itimerspec
* setting
),
412 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
413 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)) sc_out(ctf_integer(struct __kernel_itimerspec
*, setting
, setting
)))
416 #ifndef OVERRIDE_64_clock_settime
417 SC_LTTNG_TRACEPOINT_EVENT(clock_settime
,
418 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, const struct __kernel_timespec
* tp
),
419 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(const struct __kernel_timespec
*, tp
, tp
)))
423 #ifndef OVERRIDE_64_clock_gettime
424 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime
,
425 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
426 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
427 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_out(ctf_integer(struct __kernel_timespec
*, tp
, tp
)))
430 #ifndef OVERRIDE_64_clock_getres
431 SC_LTTNG_TRACEPOINT_EVENT(clock_getres
,
432 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
433 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
434 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_out(ctf_integer(struct __kernel_timespec
*, tp
, tp
)))
437 #ifndef OVERRIDE_64_utimes
438 SC_LTTNG_TRACEPOINT_EVENT(utimes
,
439 TP_PROTO(sc_exit(long ret
,) char * filename
, struct __kernel_old_timeval
* utimes
),
440 TP_ARGS(sc_exit(ret
,) filename
, utimes
),
441 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct __kernel_old_timeval
*, utimes
, utimes
)))
444 #ifndef OVERRIDE_64_mq_notify
445 SC_LTTNG_TRACEPOINT_EVENT(mq_notify
,
446 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct sigevent
* u_notification
),
447 TP_ARGS(sc_exit(ret
,) mqdes
, u_notification
),
448 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(mqd_t
, mqdes
, mqdes
)) sc_in(ctf_integer(const struct sigevent
*, u_notification
, u_notification
)))
451 #ifndef OVERRIDE_64_set_robust_list
452 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list
,
453 TP_PROTO(sc_exit(long ret
,) struct robust_list_head
* head
, size_t len
),
454 TP_ARGS(sc_exit(ret
,) head
, len
),
455 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(struct robust_list_head
*, head
, head
)) sc_in(ctf_integer(size_t, len
, len
)))
458 #ifndef OVERRIDE_64_timerfd_gettime
459 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime
,
460 TP_PROTO(sc_exit(long ret
,) int ufd
, struct __kernel_itimerspec
* otmr
),
461 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
462 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_out(ctf_integer(struct __kernel_itimerspec
*, otmr
, otmr
)))
465 #ifndef OVERRIDE_64_pipe2
466 SC_LTTNG_TRACEPOINT_EVENT(pipe2
,
467 TP_PROTO(sc_exit(long ret
,) int * fildes
, int flags
),
468 TP_ARGS(sc_exit(ret
,) fildes
, flags
),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)) sc_in(ctf_integer(int, flags
, flags
)))
472 #ifndef OVERRIDE_64_clock_adjtime
473 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime
,
474 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timex
* utx
),
475 TP_ARGS(sc_exit(ret
,) which_clock
, utx
),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_inout(ctf_integer(struct __kernel_timex
*, utx
, utx
)))
479 #ifndef OVERRIDE_64_memfd_create
480 SC_LTTNG_TRACEPOINT_EVENT(memfd_create
,
481 TP_PROTO(sc_exit(long ret
,) const char * uname
, unsigned int flags
),
482 TP_ARGS(sc_exit(ret
,) uname
, flags
),
483 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(uname
, uname
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
486 #ifndef OVERRIDE_64_io_uring_setup
487 SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup
,
488 TP_PROTO(sc_exit(long ret
,) u32 entries
, struct io_uring_params
* params
),
489 TP_ARGS(sc_exit(ret
,) entries
, params
),
490 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(u32
, entries
, entries
)) sc_inout(ctf_integer(struct io_uring_params
*, params
, params
)))
493 #ifndef OVERRIDE_64_fsopen
494 SC_LTTNG_TRACEPOINT_EVENT(fsopen
,
495 TP_PROTO(sc_exit(long ret
,) const char * _fs_name
, unsigned int flags
),
496 TP_ARGS(sc_exit(ret
,) _fs_name
, flags
),
497 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(_fs_name
, _fs_name
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
500 #ifndef OVERRIDE_64_clone3
501 SC_LTTNG_TRACEPOINT_EVENT(clone3
,
502 TP_PROTO(sc_exit(long ret
,) struct clone_args
* uargs
, size_t size
),
503 TP_ARGS(sc_exit(ret
,) uargs
, size
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct clone_args
*, uargs
, uargs
)) sc_inout(ctf_integer(size_t, size
, size
)))
507 #ifndef OVERRIDE_64_read
508 SC_LTTNG_TRACEPOINT_EVENT(read
,
509 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
),
510 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(size_t, count
, count
)))
514 #ifndef OVERRIDE_64_write
515 SC_LTTNG_TRACEPOINT_EVENT(write
,
516 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
),
517 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(const char *, buf
, buf
)) sc_in(ctf_integer(size_t, count
, count
)))
521 #ifndef OVERRIDE_64_open
522 SC_LTTNG_TRACEPOINT_EVENT(open
,
523 TP_PROTO(sc_exit(long ret
,) const char * filename
, int flags
, umode_t mode
),
524 TP_ARGS(sc_exit(ret
,) filename
, flags
, mode
),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
528 #ifndef OVERRIDE_64_poll
529 SC_LTTNG_TRACEPOINT_EVENT(poll
,
530 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, int timeout_msecs
),
531 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, timeout_msecs
),
532 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct pollfd
*, ufds
, ufds
)) sc_in(ctf_integer(unsigned int, nfds
, nfds
)) sc_in(ctf_integer(int, timeout_msecs
, timeout_msecs
)))
535 #ifndef OVERRIDE_64_readv
536 SC_LTTNG_TRACEPOINT_EVENT(readv
,
537 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
538 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_inout(ctf_integer(const struct iovec
*, vec
, vec
)) sc_in(ctf_integer(unsigned long, vlen
, vlen
)))
542 #ifndef OVERRIDE_64_writev
543 SC_LTTNG_TRACEPOINT_EVENT(writev
,
544 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
545 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
546 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_inout(ctf_integer(const struct iovec
*, vec
, vec
)) sc_in(ctf_integer(unsigned long, vlen
, vlen
)))
549 #ifndef OVERRIDE_64_mincore
550 SC_LTTNG_TRACEPOINT_EVENT(mincore
,
551 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned char * vec
),
552 TP_ARGS(sc_exit(ret
,) start
, len
, vec
),
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_out(ctf_integer(unsigned char *, vec
, vec
)))
556 #ifndef OVERRIDE_64_shmat
557 SC_LTTNG_TRACEPOINT_EVENT(shmat
,
558 TP_PROTO(sc_exit(long ret
,) int shmid
, char * shmaddr
, int shmflg
),
559 TP_ARGS(sc_exit(ret
,) shmid
, shmaddr
, shmflg
),
560 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, shmid
, shmid
)) sc_in(ctf_integer(char *, shmaddr
, shmaddr
)) sc_in(ctf_integer(int, shmflg
, shmflg
)))
563 #ifndef OVERRIDE_64_shmctl
564 SC_LTTNG_TRACEPOINT_EVENT(shmctl
,
565 TP_PROTO(sc_exit(long ret
,) int shmid
, int cmd
, struct shmid_ds
* buf
),
566 TP_ARGS(sc_exit(ret
,) shmid
, cmd
, buf
),
567 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, shmid
, shmid
)) sc_in(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(struct shmid_ds
*, buf
, buf
)))
570 #ifndef OVERRIDE_64_setitimer
571 SC_LTTNG_TRACEPOINT_EVENT(setitimer
,
572 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
, struct __kernel_old_itimerval
* ovalue
),
573 TP_ARGS(sc_exit(ret
,) which
, value
, ovalue
),
574 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(struct __kernel_old_itimerval
*, value
, value
)) sc_out(ctf_integer(struct __kernel_old_itimerval
*, ovalue
, ovalue
)))
577 #ifndef OVERRIDE_64_connect
578 SC_LTTNG_TRACEPOINT_EVENT(connect
,
579 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* uservaddr
, int addrlen
),
580 TP_ARGS(sc_exit(ret
,) fd
, uservaddr
, addrlen
),
581 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct sockaddr
*, uservaddr
, uservaddr
)) sc_in(ctf_integer(int, addrlen
, addrlen
)))
584 #ifndef OVERRIDE_64_accept
585 SC_LTTNG_TRACEPOINT_EVENT(accept
,
586 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
),
587 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
),
588 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(struct sockaddr
*, upeer_sockaddr
, upeer_sockaddr
)) sc_inout(ctf_integer(int *, upeer_addrlen
, upeer_addrlen
)))
591 #ifndef OVERRIDE_64_sendmsg
592 SC_LTTNG_TRACEPOINT_EVENT(sendmsg
,
593 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
594 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
595 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct user_msghdr
*, msg
, msg
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
598 #ifndef OVERRIDE_64_recvmsg
599 SC_LTTNG_TRACEPOINT_EVENT(recvmsg
,
600 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
601 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
602 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_inout(ctf_integer(struct user_msghdr
*, msg
, msg
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
605 #ifndef OVERRIDE_64_bind
606 SC_LTTNG_TRACEPOINT_EVENT(bind
,
607 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* umyaddr
, int addrlen
),
608 TP_ARGS(sc_exit(ret
,) fd
, umyaddr
, addrlen
),
609 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct sockaddr
*, umyaddr
, umyaddr
)) sc_in(ctf_integer(int, addrlen
, addrlen
)))
612 #ifndef OVERRIDE_64_getsockname
613 SC_LTTNG_TRACEPOINT_EVENT(getsockname
,
614 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
615 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
616 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(struct sockaddr
*, usockaddr
, usockaddr
)) sc_inout(ctf_integer(int *, usockaddr_len
, usockaddr_len
)))
619 #ifndef OVERRIDE_64_getpeername
620 SC_LTTNG_TRACEPOINT_EVENT(getpeername
,
621 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
622 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
623 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(struct sockaddr
*, usockaddr
, usockaddr
)) sc_inout(ctf_integer(int *, usockaddr_len
, usockaddr_len
)))
626 #ifndef OVERRIDE_64_execve
627 SC_LTTNG_TRACEPOINT_EVENT(execve
,
628 TP_PROTO(sc_exit(long ret
,) const char * filename
, const char *const * argv
, const char *const * envp
),
629 TP_ARGS(sc_exit(ret
,) filename
, argv
, envp
),
630 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(const char *const *, argv
, argv
)) sc_inout(ctf_integer(const char *const *, envp
, envp
)))
633 #ifndef OVERRIDE_64_semop
634 SC_LTTNG_TRACEPOINT_EVENT(semop
,
635 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned nsops
),
636 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
),
637 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, semid
, semid
)) sc_in(ctf_integer(struct sembuf
*, tsops
, tsops
)) sc_in(ctf_integer(unsigned, nsops
, nsops
)))
640 #ifndef OVERRIDE_64_msgctl
641 SC_LTTNG_TRACEPOINT_EVENT(msgctl
,
642 TP_PROTO(sc_exit(long ret
,) int msqid
, int cmd
, struct msqid_ds
* buf
),
643 TP_ARGS(sc_exit(ret
,) msqid
, cmd
, buf
),
644 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, msqid
, msqid
)) sc_in(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(struct msqid_ds
*, buf
, buf
)))
647 #ifndef OVERRIDE_64_getdents
648 SC_LTTNG_TRACEPOINT_EVENT(getdents
,
649 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent
* dirent
, unsigned int count
),
650 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
651 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(struct linux_dirent
*, dirent
, dirent
)) sc_in(ctf_integer(unsigned int, count
, count
)))
654 #ifndef OVERRIDE_64_readlink
655 SC_LTTNG_TRACEPOINT_EVENT(readlink
,
656 TP_PROTO(sc_exit(long ret
,) const char * path
, char * buf
, int bufsiz
),
657 TP_ARGS(sc_exit(ret
,) path
, buf
, bufsiz
),
658 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(int, bufsiz
, bufsiz
)))
661 #ifndef OVERRIDE_64_chown
662 SC_LTTNG_TRACEPOINT_EVENT(chown
,
663 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
664 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
665 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(uid_t
, user
, user
)) sc_in(ctf_integer(gid_t
, group
, group
)))
668 #ifndef OVERRIDE_64_lchown
669 SC_LTTNG_TRACEPOINT_EVENT(lchown
,
670 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
671 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
672 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(uid_t
, user
, user
)) sc_in(ctf_integer(gid_t
, group
, group
)))
675 #ifndef OVERRIDE_64_syslog
676 SC_LTTNG_TRACEPOINT_EVENT(syslog
,
677 TP_PROTO(sc_exit(long ret
,) int type
, char * buf
, int len
),
678 TP_ARGS(sc_exit(ret
,) type
, buf
, len
),
679 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, type
, type
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(int, len
, len
)))
682 #ifndef OVERRIDE_64_getresuid
683 SC_LTTNG_TRACEPOINT_EVENT(getresuid
,
684 TP_PROTO(sc_exit(long ret
,) uid_t
* ruidp
, uid_t
* euidp
, uid_t
* suidp
),
685 TP_ARGS(sc_exit(ret
,) ruidp
, euidp
, suidp
),
686 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(uid_t
*, ruidp
, ruidp
)) sc_out(ctf_integer(uid_t
*, euidp
, euidp
)) sc_out(ctf_integer(uid_t
*, suidp
, suidp
)))
689 #ifndef OVERRIDE_64_getresgid
690 SC_LTTNG_TRACEPOINT_EVENT(getresgid
,
691 TP_PROTO(sc_exit(long ret
,) gid_t
* rgidp
, gid_t
* egidp
, gid_t
* sgidp
),
692 TP_ARGS(sc_exit(ret
,) rgidp
, egidp
, sgidp
),
693 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(gid_t
*, rgidp
, rgidp
)) sc_out(ctf_integer(gid_t
*, egidp
, egidp
)) sc_out(ctf_integer(gid_t
*, sgidp
, sgidp
)))
696 #ifndef OVERRIDE_64_rt_sigqueueinfo
697 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo
,
698 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
, siginfo_t
* uinfo
),
699 TP_ARGS(sc_exit(ret
,) pid
, sig
, uinfo
),
700 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)) sc_in(ctf_integer(siginfo_t
*, uinfo
, uinfo
)))
703 #ifndef OVERRIDE_64_mknod
704 SC_LTTNG_TRACEPOINT_EVENT(mknod
,
705 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
, unsigned dev
),
706 TP_ARGS(sc_exit(ret
,) filename
, mode
, dev
),
707 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)) sc_in(ctf_integer(unsigned, dev
, dev
)))
710 #ifndef OVERRIDE_64_sched_setscheduler
711 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler
,
712 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int policy
, struct sched_param
* param
),
713 TP_ARGS(sc_exit(ret
,) pid
, policy
, param
),
714 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, policy
, policy
)) sc_in(ctf_integer(struct sched_param
*, param
, param
)))
717 #ifndef OVERRIDE_64_modify_ldt
718 SC_LTTNG_TRACEPOINT_EVENT(modify_ldt
,
719 TP_PROTO(sc_exit(long ret
,) int func
, void * ptr
, unsigned long bytecount
),
720 TP_ARGS(sc_exit(ret
,) func
, ptr
, bytecount
),
721 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, func
, func
)) sc_inout(ctf_integer(void *, ptr
, ptr
)) sc_inout(ctf_integer(unsigned long, bytecount
, bytecount
)))
724 #ifndef OVERRIDE_64_init_module
725 SC_LTTNG_TRACEPOINT_EVENT(init_module
,
726 TP_PROTO(sc_exit(long ret
,) void * umod
, unsigned long len
, const char * uargs
),
727 TP_ARGS(sc_exit(ret
,) umod
, len
, uargs
),
728 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(void *, umod
, umod
)) sc_in(ctf_integer(unsigned long, len
, len
)) sc_in(ctf_integer(const char *, uargs
, uargs
)))
731 #ifndef OVERRIDE_64_listxattr
732 SC_LTTNG_TRACEPOINT_EVENT(listxattr
,
733 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
734 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
735 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(char *, list
, list
)) sc_in(ctf_integer(size_t, size
, size
)))
738 #ifndef OVERRIDE_64_llistxattr
739 SC_LTTNG_TRACEPOINT_EVENT(llistxattr
,
740 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
741 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
742 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(char *, list
, list
)) sc_in(ctf_integer(size_t, size
, size
)))
745 #ifndef OVERRIDE_64_flistxattr
746 SC_LTTNG_TRACEPOINT_EVENT(flistxattr
,
747 TP_PROTO(sc_exit(long ret
,) int fd
, char * list
, size_t size
),
748 TP_ARGS(sc_exit(ret
,) fd
, list
, size
),
749 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(char *, list
, list
)) sc_in(ctf_integer(size_t, size
, size
)))
752 #ifndef OVERRIDE_64_sched_setaffinity
753 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
754 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
755 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
756 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned int, len
, len
)) sc_in(ctf_integer(unsigned long *, user_mask_ptr
, user_mask_ptr
)))
759 #ifndef OVERRIDE_64_sched_getaffinity
760 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
761 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
762 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
763 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned int, len
, len
)) sc_out(ctf_integer(unsigned long *, user_mask_ptr
, user_mask_ptr
)))
766 #ifndef OVERRIDE_64_io_submit
767 SC_LTTNG_TRACEPOINT_EVENT(io_submit
,
768 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long nr
, struct iocb
* * iocbpp
),
769 TP_ARGS(sc_exit(ret
,) ctx_id
, nr
, iocbpp
),
770 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx_id
, ctx_id
)) sc_in(ctf_integer(long, nr
, nr
)) sc_in(ctf_integer(struct iocb
* *, iocbpp
, iocbpp
)))
773 #ifndef OVERRIDE_64_io_cancel
774 SC_LTTNG_TRACEPOINT_EVENT(io_cancel
,
775 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, struct iocb
* iocb
, struct io_event
* result
),
776 TP_ARGS(sc_exit(ret
,) ctx_id
, iocb
, result
),
777 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx_id
, ctx_id
)) sc_in(ctf_integer(struct iocb
*, iocb
, iocb
)) sc_out(ctf_integer(struct io_event
*, result
, result
)))
780 #ifndef OVERRIDE_64_getdents64
781 SC_LTTNG_TRACEPOINT_EVENT(getdents64
,
782 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent64
* dirent
, unsigned int count
),
783 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
784 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(struct linux_dirent64
*, dirent
, dirent
)) sc_in(ctf_integer(unsigned int, count
, count
)))
787 #ifndef OVERRIDE_64_timer_create
788 SC_LTTNG_TRACEPOINT_EVENT(timer_create
,
789 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct sigevent
* timer_event_spec
, timer_t
* created_timer_id
),
790 TP_ARGS(sc_exit(ret
,) which_clock
, timer_event_spec
, created_timer_id
),
791 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(struct sigevent
*, timer_event_spec
, timer_event_spec
)) sc_out(ctf_integer(timer_t
*, created_timer_id
, created_timer_id
)))
794 #ifndef OVERRIDE_64_set_mempolicy
795 SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy
,
796 TP_PROTO(sc_exit(long ret
,) int mode
, const unsigned long * nmask
, unsigned long maxnode
),
797 TP_ARGS(sc_exit(ret
,) mode
, nmask
, maxnode
),
798 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mode
, mode
)) sc_in(ctf_integer(const unsigned long *, nmask
, nmask
)) sc_in(ctf_integer(unsigned long, maxnode
, maxnode
)))
801 #ifndef OVERRIDE_64_mq_getsetattr
802 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr
,
803 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct mq_attr
* u_mqstat
, struct mq_attr
* u_omqstat
),
804 TP_ARGS(sc_exit(ret
,) mqdes
, u_mqstat
, u_omqstat
),
805 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(mqd_t
, mqdes
, mqdes
)) sc_in(ctf_integer(const struct mq_attr
*, u_mqstat
, u_mqstat
)) sc_out(ctf_integer(struct mq_attr
*, u_omqstat
, u_omqstat
)))
808 #ifndef OVERRIDE_64_inotify_add_watch
809 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch
,
810 TP_PROTO(sc_exit(long ret
,) int fd
, const char * pathname
, u32 mask
),
811 TP_ARGS(sc_exit(ret
,) fd
, pathname
, mask
),
812 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(u32
, mask
, mask
)))
815 #ifndef OVERRIDE_64_mkdirat
816 SC_LTTNG_TRACEPOINT_EVENT(mkdirat
,
817 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, umode_t mode
),
818 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, mode
),
819 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
822 #ifndef OVERRIDE_64_futimesat
823 SC_LTTNG_TRACEPOINT_EVENT(futimesat
,
824 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct __kernel_old_timeval
* utimes
),
825 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
),
826 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct __kernel_old_timeval
*, utimes
, utimes
)))
829 #ifndef OVERRIDE_64_unlinkat
830 SC_LTTNG_TRACEPOINT_EVENT(unlinkat
,
831 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int flag
),
832 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, flag
),
833 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(int, flag
, flag
)))
836 #ifndef OVERRIDE_64_symlinkat
837 SC_LTTNG_TRACEPOINT_EVENT(symlinkat
,
838 TP_PROTO(sc_exit(long ret
,) const char * oldname
, int newdfd
, const char * newname
),
839 TP_ARGS(sc_exit(ret
,) oldname
, newdfd
, newname
),
840 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_integer(int, newdfd
, newdfd
)) sc_in(ctf_user_string(newname
, newname
)))
843 #ifndef OVERRIDE_64_fchmodat
844 SC_LTTNG_TRACEPOINT_EVENT(fchmodat
,
845 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
),
846 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
847 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
850 #ifndef OVERRIDE_64_faccessat
851 SC_LTTNG_TRACEPOINT_EVENT(faccessat
,
852 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
),
853 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
854 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, mode
, mode
)))
857 #ifndef OVERRIDE_64_get_robust_list
858 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list
,
859 TP_PROTO(sc_exit(long ret
,) int pid
, struct robust_list_head
* * head_ptr
, size_t * len_ptr
),
860 TP_ARGS(sc_exit(ret
,) pid
, head_ptr
, len_ptr
),
861 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, pid
, pid
)) sc_out(ctf_integer(struct robust_list_head
* *, head_ptr
, head_ptr
)) sc_out(ctf_integer(size_t *, len_ptr
, len_ptr
)))
864 #ifndef OVERRIDE_64_signalfd
865 SC_LTTNG_TRACEPOINT_EVENT(signalfd
,
866 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
),
867 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
),
868 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_in(ctf_integer(sigset_t
*, user_mask
, user_mask
)) sc_in(ctf_integer(size_t, sizemask
, sizemask
)))
871 #ifndef OVERRIDE_64_open_by_handle_at
872 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at
,
873 TP_PROTO(sc_exit(long ret
,) int mountdirfd
, struct file_handle
* handle
, int flags
),
874 TP_ARGS(sc_exit(ret
,) mountdirfd
, handle
, flags
),
875 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mountdirfd
, mountdirfd
)) sc_in(ctf_integer(struct file_handle
*, handle
, handle
)) sc_in(ctf_integer(int, flags
, flags
)))
878 #ifndef OVERRIDE_64_getcpu
879 SC_LTTNG_TRACEPOINT_EVENT(getcpu
,
880 TP_PROTO(sc_exit(long ret
,) unsigned * cpup
, unsigned * nodep
, struct getcpu_cache
* unused
),
881 TP_ARGS(sc_exit(ret
,) cpup
, nodep
, unused
),
882 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(unsigned *, cpup
, cpup
)) sc_out(ctf_integer(unsigned *, nodep
, nodep
)) sc_inout(ctf_integer(struct getcpu_cache
*, unused
, unused
)))
885 #ifndef OVERRIDE_64_finit_module
886 SC_LTTNG_TRACEPOINT_EVENT(finit_module
,
887 TP_PROTO(sc_exit(long ret
,) int fd
, const char * uargs
, int flags
),
888 TP_ARGS(sc_exit(ret
,) fd
, uargs
, flags
),
889 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(const char *, uargs
, uargs
)) sc_in(ctf_integer(int, flags
, flags
)))
892 #ifndef OVERRIDE_64_sched_setattr
893 SC_LTTNG_TRACEPOINT_EVENT(sched_setattr
,
894 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int flags
),
895 TP_ARGS(sc_exit(ret
,) pid
, uattr
, flags
),
896 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(pid_t
, pid
, pid
)) sc_inout(ctf_integer(struct sched_attr
*, uattr
, uattr
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
899 #ifndef OVERRIDE_64_seccomp
900 SC_LTTNG_TRACEPOINT_EVENT(seccomp
,
901 TP_PROTO(sc_exit(long ret
,) unsigned int op
, unsigned int flags
, void * uargs
),
902 TP_ARGS(sc_exit(ret
,) op
, flags
, uargs
),
903 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, op
, op
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)) sc_inout(ctf_integer(void *, uargs
, uargs
)))
906 #ifndef OVERRIDE_64_getrandom
907 SC_LTTNG_TRACEPOINT_EVENT(getrandom
,
908 TP_PROTO(sc_exit(long ret
,) char * ubuf
, size_t len
, unsigned int flags
),
909 TP_ARGS(sc_exit(ret
,) ubuf
, len
, flags
),
910 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(char *, ubuf
, ubuf
)) sc_inout(ctf_integer(size_t, len
, len
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
913 #ifndef OVERRIDE_64_bpf
914 SC_LTTNG_TRACEPOINT_EVENT(bpf
,
915 TP_PROTO(sc_exit(long ret
,) int cmd
, union bpf_attr
* uattr
, unsigned int size
),
916 TP_ARGS(sc_exit(ret
,) cmd
, uattr
, size
),
917 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(union bpf_attr
*, uattr
, uattr
)) sc_inout(ctf_integer(unsigned int, size
, size
)))
920 #ifndef OVERRIDE_64_open_tree
921 SC_LTTNG_TRACEPOINT_EVENT(open_tree
,
922 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
),
923 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
),
924 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(unsigned, flags
, flags
)))
927 #ifndef OVERRIDE_64_fspick
928 SC_LTTNG_TRACEPOINT_EVENT(fspick
,
929 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
),
930 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
),
931 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(path
, path
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
934 #ifndef OVERRIDE_64_rt_sigaction
935 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction
,
936 TP_PROTO(sc_exit(long ret
,) int sig
, const struct sigaction
* act
, struct sigaction
* oact
, size_t sigsetsize
),
937 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
, sigsetsize
),
938 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, sig
, sig
)) sc_in(ctf_integer(const struct sigaction
*, act
, act
)) sc_out(ctf_integer(struct sigaction
*, oact
, oact
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
941 #ifndef OVERRIDE_64_rt_sigprocmask
942 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask
,
943 TP_PROTO(sc_exit(long ret
,) int how
, sigset_t
* nset
, sigset_t
* oset
, size_t sigsetsize
),
944 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
, sigsetsize
),
945 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, how
, how
)) sc_in(ctf_integer(sigset_t
*, nset
, nset
)) sc_out(ctf_integer(sigset_t
*, oset
, oset
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
948 #ifndef OVERRIDE_64_pread64
949 SC_LTTNG_TRACEPOINT_EVENT(pread64
,
950 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
, loff_t pos
),
951 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
952 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(size_t, count
, count
)) sc_in(ctf_integer(loff_t
, pos
, pos
)))
955 #ifndef OVERRIDE_64_pwrite64
956 SC_LTTNG_TRACEPOINT_EVENT(pwrite64
,
957 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
, loff_t pos
),
958 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
959 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)) sc_in(ctf_integer(const char *, buf
, buf
)) sc_in(ctf_integer(size_t, count
, count
)) sc_in(ctf_integer(loff_t
, pos
, pos
)))
962 #ifndef OVERRIDE_64_sendfile64
963 SC_LTTNG_TRACEPOINT_EVENT(sendfile64
,
964 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, loff_t
* offset
, size_t count
),
965 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
966 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, out_fd
, out_fd
)) sc_in(ctf_integer(int, in_fd
, in_fd
)) sc_inout(ctf_integer(loff_t
*, offset
, offset
)) sc_in(ctf_integer(size_t, count
, count
)))
969 #ifndef OVERRIDE_64_socketpair
970 SC_LTTNG_TRACEPOINT_EVENT(socketpair
,
971 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
, int * usockvec
),
972 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
, usockvec
),
973 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
)) sc_out(ctf_integer(int *, usockvec
, usockvec
)))
976 #ifndef OVERRIDE_64_wait4
977 SC_LTTNG_TRACEPOINT_EVENT(wait4
,
978 TP_PROTO(sc_exit(long ret
,) pid_t upid
, int * stat_addr
, int options
, struct rusage
* ru
),
979 TP_ARGS(sc_exit(ret
,) upid
, stat_addr
, options
, ru
),
980 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, upid
, upid
)) sc_out(ctf_integer(int *, stat_addr
, stat_addr
)) sc_in(ctf_integer(int, options
, options
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
983 #ifndef OVERRIDE_64_msgsnd
984 SC_LTTNG_TRACEPOINT_EVENT(msgsnd
,
985 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, int msgflg
),
986 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgflg
),
987 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, msqid
, msqid
)) sc_in(ctf_integer(struct msgbuf
*, msgp
, msgp
)) sc_in(ctf_integer(size_t, msgsz
, msgsz
)) sc_in(ctf_integer(int, msgflg
, msgflg
)))
990 #ifndef OVERRIDE_64_rt_sigtimedwait
991 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait
,
992 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct __kernel_timespec
* uts
, size_t sigsetsize
),
993 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
994 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(const sigset_t
*, uthese
, uthese
)) sc_out(ctf_integer(siginfo_t
*, uinfo
, uinfo
)) sc_in(ctf_integer(const struct __kernel_timespec
*, uts
, uts
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
997 #ifndef OVERRIDE_64_reboot
998 SC_LTTNG_TRACEPOINT_EVENT(reboot
,
999 TP_PROTO(sc_exit(long ret
,) int magic1
, int magic2
, unsigned int cmd
, void * arg
),
1000 TP_ARGS(sc_exit(ret
,) magic1
, magic2
, cmd
, arg
),
1001 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, magic1
, magic1
)) sc_in(ctf_integer(int, magic2
, magic2
)) sc_in(ctf_integer(unsigned int, cmd
, cmd
)) sc_in(ctf_integer(void *, arg
, arg
)))
1004 #ifndef OVERRIDE_64_quotactl
1005 SC_LTTNG_TRACEPOINT_EVENT(quotactl
,
1006 TP_PROTO(sc_exit(long ret
,) unsigned int cmd
, const char * special
, qid_t id
, void * addr
),
1007 TP_ARGS(sc_exit(ret
,) cmd
, special
, id
, addr
),
1008 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, cmd
, cmd
)) sc_in(ctf_integer(const char *, special
, special
)) sc_in(ctf_integer(qid_t
, id
, id
)) sc_inout(ctf_integer(void *, addr
, addr
)))
1011 #ifndef OVERRIDE_64_getxattr
1012 SC_LTTNG_TRACEPOINT_EVENT(getxattr
,
1013 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1014 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1015 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_out(ctf_integer(void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)))
1018 #ifndef OVERRIDE_64_lgetxattr
1019 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr
,
1020 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1021 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1022 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_out(ctf_integer(void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)))
1025 #ifndef OVERRIDE_64_fgetxattr
1026 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr
,
1027 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, void * value
, size_t size
),
1028 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
),
1029 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)) sc_out(ctf_integer(void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)))
1032 #ifndef OVERRIDE_64_semtimedop
1033 SC_LTTNG_TRACEPOINT_EVENT(semtimedop
,
1034 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned int nsops
, const struct __kernel_timespec
* timeout
),
1035 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
, timeout
),
1036 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, semid
, semid
)) sc_in(ctf_integer(struct sembuf
*, tsops
, tsops
)) sc_in(ctf_integer(unsigned int, nsops
, nsops
)) sc_inout(ctf_integer(const struct __kernel_timespec
*, timeout
, timeout
)))
1039 #ifndef OVERRIDE_64_timer_settime
1040 SC_LTTNG_TRACEPOINT_EVENT(timer_settime
,
1041 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, const struct __kernel_itimerspec
* new_setting
, struct __kernel_itimerspec
* old_setting
),
1042 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new_setting
, old_setting
),
1043 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(const struct __kernel_itimerspec
*, new_setting
, new_setting
)) sc_out(ctf_integer(struct __kernel_itimerspec
*, old_setting
, old_setting
)))
1046 #ifndef OVERRIDE_64_clock_nanosleep
1047 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep
,
1048 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, int flags
, const struct __kernel_timespec
* rqtp
, struct __kernel_timespec
* rmtp
),
1049 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1050 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(const struct __kernel_timespec
*, rqtp
, rqtp
)) sc_out(ctf_integer(struct __kernel_timespec
*, rmtp
, rmtp
)))
1053 #ifndef OVERRIDE_64_epoll_wait
1054 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait
,
1055 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
),
1056 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
),
1057 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, epfd
, epfd
)) sc_out(ctf_integer(struct epoll_event
*, events
, events
)) sc_in(ctf_integer(int, maxevents
, maxevents
)) sc_in(ctf_integer(int, timeout
, timeout
)))
1060 #ifndef OVERRIDE_64_epoll_ctl
1061 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl
,
1062 TP_PROTO(sc_exit(long ret
,) int epfd
, int op
, int fd
, struct epoll_event
* event
),
1063 TP_ARGS(sc_exit(ret
,) epfd
, op
, fd
, event
),
1064 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, epfd
, epfd
)) sc_in(ctf_integer(int, op
, op
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct epoll_event
*, event
, event
)))
1067 #ifndef OVERRIDE_64_mq_open
1068 SC_LTTNG_TRACEPOINT_EVENT(mq_open
,
1069 TP_PROTO(sc_exit(long ret
,) const char * u_name
, int oflag
, umode_t mode
, struct mq_attr
* u_attr
),
1070 TP_ARGS(sc_exit(ret
,) u_name
, oflag
, mode
, u_attr
),
1071 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(u_name
, u_name
)) sc_in(ctf_integer(int, oflag
, oflag
)) sc_in(ctf_integer(umode_t
, mode
, mode
)) sc_in(ctf_integer(struct mq_attr
*, u_attr
, u_attr
)))
1074 #ifndef OVERRIDE_64_kexec_load
1075 SC_LTTNG_TRACEPOINT_EVENT(kexec_load
,
1076 TP_PROTO(sc_exit(long ret
,) unsigned long entry
, unsigned long nr_segments
, struct kexec_segment
* segments
, unsigned long flags
),
1077 TP_ARGS(sc_exit(ret
,) entry
, nr_segments
, segments
, flags
),
1078 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, entry
, entry
)) sc_in(ctf_integer(unsigned long, nr_segments
, nr_segments
)) sc_in(ctf_integer(struct kexec_segment
*, segments
, segments
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
1081 #ifndef OVERRIDE_64_request_key
1082 SC_LTTNG_TRACEPOINT_EVENT(request_key
,
1083 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const char * _callout_info
, key_serial_t destringid
),
1084 TP_ARGS(sc_exit(ret
,) _type
, _description
, _callout_info
, destringid
),
1085 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(_type
, _type
)) sc_in(ctf_integer(const char *, _description
, _description
)) sc_in(ctf_integer(const char *, _callout_info
, _callout_info
)) sc_in(ctf_integer(key_serial_t
, destringid
, destringid
)))
1088 #ifndef OVERRIDE_64_migrate_pages
1089 SC_LTTNG_TRACEPOINT_EVENT(migrate_pages
,
1090 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned long maxnode
, const unsigned long * old_nodes
, const unsigned long * new_nodes
),
1091 TP_ARGS(sc_exit(ret
,) pid
, maxnode
, old_nodes
, new_nodes
),
1092 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned long, maxnode
, maxnode
)) sc_in(ctf_integer(const unsigned long *, old_nodes
, old_nodes
)) sc_in(ctf_integer(const unsigned long *, new_nodes
, new_nodes
)))
1095 #ifndef OVERRIDE_64_openat
1096 SC_LTTNG_TRACEPOINT_EVENT(openat
,
1097 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int flags
, umode_t mode
),
1098 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mode
),
1099 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
1102 #ifndef OVERRIDE_64_mknodat
1103 SC_LTTNG_TRACEPOINT_EVENT(mknodat
,
1104 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
, unsigned int dev
),
1105 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, dev
),
1106 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)) sc_in(ctf_integer(unsigned int, dev
, dev
)))
1109 #ifndef OVERRIDE_64_newfstatat
1110 SC_LTTNG_TRACEPOINT_EVENT(newfstatat
,
1111 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct stat
* statbuf
, int flag
),
1112 TP_ARGS(sc_exit(ret
,) dfd
, filename
, statbuf
, flag
),
1113 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)) sc_in(ctf_integer(int, flag
, flag
)))
1116 #ifndef OVERRIDE_64_renameat
1117 SC_LTTNG_TRACEPOINT_EVENT(renameat
,
1118 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
),
1119 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
),
1120 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, olddfd
, olddfd
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_integer(int, newdfd
, newdfd
)) sc_in(ctf_user_string(newname
, newname
)))
1123 #ifndef OVERRIDE_64_readlinkat
1124 SC_LTTNG_TRACEPOINT_EVENT(readlinkat
,
1125 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, char * buf
, int bufsiz
),
1126 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, buf
, bufsiz
),
1127 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(int, bufsiz
, bufsiz
)))
1130 #ifndef OVERRIDE_64_vmsplice
1131 SC_LTTNG_TRACEPOINT_EVENT(vmsplice
,
1132 TP_PROTO(sc_exit(long ret
,) int fd
, const struct iovec
* uiov
, unsigned long nr_segs
, unsigned int flags
),
1133 TP_ARGS(sc_exit(ret
,) fd
, uiov
, nr_segs
, flags
),
1134 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(const struct iovec
*, uiov
, uiov
)) sc_in(ctf_integer(unsigned long, nr_segs
, nr_segs
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
1137 #ifndef OVERRIDE_64_utimensat
1138 SC_LTTNG_TRACEPOINT_EVENT(utimensat
,
1139 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct __kernel_timespec
* utimes
, int flags
),
1140 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
, flags
),
1141 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct __kernel_timespec
*, utimes
, utimes
)) sc_in(ctf_integer(int, flags
, flags
)))
1144 #ifndef OVERRIDE_64_timerfd_settime
1145 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime
,
1146 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct __kernel_itimerspec
* utmr
, struct __kernel_itimerspec
* otmr
),
1147 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1148 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(const struct __kernel_itimerspec
*, utmr
, utmr
)) sc_out(ctf_integer(struct __kernel_itimerspec
*, otmr
, otmr
)))
1151 #ifndef OVERRIDE_64_accept4
1152 SC_LTTNG_TRACEPOINT_EVENT(accept4
,
1153 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
, int flags
),
1154 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
, flags
),
1155 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(struct sockaddr
*, upeer_sockaddr
, upeer_sockaddr
)) sc_inout(ctf_integer(int *, upeer_addrlen
, upeer_addrlen
)) sc_in(ctf_integer(int, flags
, flags
)))
1158 #ifndef OVERRIDE_64_signalfd4
1159 SC_LTTNG_TRACEPOINT_EVENT(signalfd4
,
1160 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
, int flags
),
1161 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
, flags
),
1162 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_in(ctf_integer(sigset_t
*, user_mask
, user_mask
)) sc_in(ctf_integer(size_t, sizemask
, sizemask
)) sc_in(ctf_integer(int, flags
, flags
)))
1165 #ifndef OVERRIDE_64_rt_tgsigqueueinfo
1166 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo
,
1167 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
, siginfo_t
* uinfo
),
1168 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
, uinfo
),
1169 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
)) sc_in(ctf_integer(siginfo_t
*, uinfo
, uinfo
)))
1172 #ifndef OVERRIDE_64_prlimit64
1173 SC_LTTNG_TRACEPOINT_EVENT(prlimit64
,
1174 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int resource
, const struct rlimit64
* new_rlim
, struct rlimit64
* old_rlim
),
1175 TP_ARGS(sc_exit(ret
,) pid
, resource
, new_rlim
, old_rlim
),
1176 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned int, resource
, resource
)) sc_in(ctf_integer(const struct rlimit64
*, new_rlim
, new_rlim
)) sc_out(ctf_integer(struct rlimit64
*, old_rlim
, old_rlim
)))
1179 #ifndef OVERRIDE_64_sendmmsg
1180 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg
,
1181 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
),
1182 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
),
1183 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct mmsghdr
*, mmsg
, mmsg
)) sc_in(ctf_integer(unsigned int, vlen
, vlen
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
1186 #ifndef OVERRIDE_64_sched_getattr
1187 SC_LTTNG_TRACEPOINT_EVENT(sched_getattr
,
1188 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int usize
, unsigned int flags
),
1189 TP_ARGS(sc_exit(ret
,) pid
, uattr
, usize
, flags
),
1190 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(pid_t
, pid
, pid
)) sc_inout(ctf_integer(struct sched_attr
*, uattr
, uattr
)) sc_inout(ctf_integer(unsigned int, usize
, usize
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1193 #ifndef OVERRIDE_64_rseq
1194 SC_LTTNG_TRACEPOINT_EVENT(rseq
,
1195 TP_PROTO(sc_exit(long ret
,) struct rseq
* rseq
, u32 rseq_len
, int flags
, u32 sig
),
1196 TP_ARGS(sc_exit(ret
,) rseq
, rseq_len
, flags
, sig
),
1197 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct rseq
*, rseq
, rseq
)) sc_inout(ctf_integer(u32
, rseq_len
, rseq_len
)) sc_inout(ctf_integer(int, flags
, flags
)) sc_inout(ctf_integer(u32
, sig
, sig
)))
1200 #ifndef OVERRIDE_64_pidfd_send_signal
1201 SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal
,
1202 TP_PROTO(sc_exit(long ret
,) int pidfd
, int sig
, siginfo_t
* info
, unsigned int flags
),
1203 TP_ARGS(sc_exit(ret
,) pidfd
, sig
, info
, flags
),
1204 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, pidfd
, pidfd
)) sc_inout(ctf_integer(int, sig
, sig
)) sc_inout(ctf_integer(siginfo_t
*, info
, info
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1207 #ifndef OVERRIDE_64_io_uring_register
1208 SC_LTTNG_TRACEPOINT_EVENT(io_uring_register
,
1209 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int opcode
, void * arg
, unsigned int nr_args
),
1210 TP_ARGS(sc_exit(ret
,) fd
, opcode
, arg
, nr_args
),
1211 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(unsigned int, opcode
, opcode
)) sc_inout(ctf_integer(void *, arg
, arg
)) sc_inout(ctf_integer(unsigned int, nr_args
, nr_args
)))
1214 #ifndef OVERRIDE_64_openat2
1215 SC_LTTNG_TRACEPOINT_EVENT(openat2
,
1216 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct open_how
* how
, size_t usize
),
1217 TP_ARGS(sc_exit(ret
,) dfd
, filename
, how
, usize
),
1218 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(struct open_how
*, how
, how
)) sc_inout(ctf_integer(size_t, usize
, usize
)))
1221 #ifndef OVERRIDE_64_faccessat2
1222 SC_LTTNG_TRACEPOINT_EVENT(faccessat2
,
1223 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
, int flags
),
1224 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, flags
),
1225 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(int, mode
, mode
)) sc_inout(ctf_integer(int, flags
, flags
)))
1228 #ifndef OVERRIDE_64_quotactl_fd
1229 SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd
,
1230 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, qid_t id
, void * addr
),
1231 TP_ARGS(sc_exit(ret
,) fd
, cmd
, id
, addr
),
1232 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(unsigned int, cmd
, cmd
)) sc_inout(ctf_integer(qid_t
, id
, id
)) sc_inout(ctf_integer(void *, addr
, addr
)))
1235 #ifndef OVERRIDE_64_select
1236 SC_LTTNG_TRACEPOINT_EVENT(select
,
1237 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_old_timeval
* tvp
),
1238 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tvp
),
1239 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, n
, n
)) sc_inout(ctf_integer(fd_set
*, inp
, inp
)) sc_inout(ctf_integer(fd_set
*, outp
, outp
)) sc_inout(ctf_integer(fd_set
*, exp
, exp
)) sc_inout(ctf_integer(struct __kernel_old_timeval
*, tvp
, tvp
)))
1242 #ifndef OVERRIDE_64_setsockopt
1243 SC_LTTNG_TRACEPOINT_EVENT(setsockopt
,
1244 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int optlen
),
1245 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1246 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, level
, level
)) sc_in(ctf_integer(int, optname
, optname
)) sc_in(ctf_integer(char *, optval
, optval
)) sc_in(ctf_integer(int, optlen
, optlen
)))
1249 #ifndef OVERRIDE_64_getsockopt
1250 SC_LTTNG_TRACEPOINT_EVENT(getsockopt
,
1251 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int * optlen
),
1252 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1253 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, level
, level
)) sc_in(ctf_integer(int, optname
, optname
)) sc_out(ctf_integer(char *, optval
, optval
)) sc_inout(ctf_integer(int *, optlen
, optlen
)))
1256 #ifndef OVERRIDE_64_clone
1257 SC_LTTNG_TRACEPOINT_EVENT(clone
,
1258 TP_PROTO(sc_exit(long ret
,) unsigned long clone_flags
, unsigned long newsp
, int * parent_tidptr
, int * child_tidptr
, unsigned long tls
),
1259 TP_ARGS(sc_exit(ret
,) clone_flags
, newsp
, parent_tidptr
, child_tidptr
, tls
),
1260 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, clone_flags
, clone_flags
)) sc_inout(ctf_integer(unsigned long, newsp
, newsp
)) sc_inout(ctf_integer(int *, parent_tidptr
, parent_tidptr
)) sc_inout(ctf_integer(int *, child_tidptr
, child_tidptr
)) sc_inout(ctf_integer(unsigned long, tls
, tls
)))
1263 #ifndef OVERRIDE_64_msgrcv
1264 SC_LTTNG_TRACEPOINT_EVENT(msgrcv
,
1265 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, long msgtyp
, int msgflg
),
1266 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgtyp
, msgflg
),
1267 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, msqid
, msqid
)) sc_out(ctf_integer(struct msgbuf
*, msgp
, msgp
)) sc_in(ctf_integer(size_t, msgsz
, msgsz
)) sc_in(ctf_integer(long, msgtyp
, msgtyp
)) sc_in(ctf_integer(int, msgflg
, msgflg
)))
1270 #ifndef OVERRIDE_64_mount
1271 SC_LTTNG_TRACEPOINT_EVENT(mount
,
1272 TP_PROTO(sc_exit(long ret
,) char * dev_name
, char * dir_name
, char * type
, unsigned long flags
, void * data
),
1273 TP_ARGS(sc_exit(ret
,) dev_name
, dir_name
, type
, flags
, data
),
1274 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(dev_name
, dev_name
)) sc_in(ctf_user_string(dir_name
, dir_name
)) sc_in(ctf_user_string(type
, type
)) sc_in(ctf_integer(unsigned long, flags
, flags
)) sc_in(ctf_integer(void *, data
, data
)))
1277 #ifndef OVERRIDE_64_setxattr
1278 SC_LTTNG_TRACEPOINT_EVENT(setxattr
,
1279 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1280 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1281 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(const void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(int, flags
, flags
)))
1284 #ifndef OVERRIDE_64_lsetxattr
1285 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr
,
1286 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1287 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1288 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(const void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(int, flags
, flags
)))
1291 #ifndef OVERRIDE_64_fsetxattr
1292 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr
,
1293 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, const void * value
, size_t size
, int flags
),
1294 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
, flags
),
1295 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(const void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(int, flags
, flags
)))
1298 #ifndef OVERRIDE_64_io_getevents
1299 SC_LTTNG_TRACEPOINT_EVENT(io_getevents
,
1300 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct __kernel_timespec
* timeout
),
1301 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
),
1302 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx_id
, ctx_id
)) sc_in(ctf_integer(long, min_nr
, min_nr
)) sc_in(ctf_integer(long, nr
, nr
)) sc_out(ctf_integer(struct io_event
*, events
, events
)) sc_inout(ctf_integer(struct __kernel_timespec
*, timeout
, timeout
)))
1305 #ifndef OVERRIDE_64_get_mempolicy
1306 SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy
,
1307 TP_PROTO(sc_exit(long ret
,) int * policy
, unsigned long * nmask
, unsigned long maxnode
, unsigned long addr
, unsigned long flags
),
1308 TP_ARGS(sc_exit(ret
,) policy
, nmask
, maxnode
, addr
, flags
),
1309 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, policy
, policy
)) sc_out(ctf_integer(unsigned long *, nmask
, nmask
)) sc_in(ctf_integer(unsigned long, maxnode
, maxnode
)) sc_in(ctf_integer(unsigned long, addr
, addr
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
1312 #ifndef OVERRIDE_64_mq_timedsend
1313 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend
,
1314 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const char * u_msg_ptr
, size_t msg_len
, unsigned int msg_prio
, const struct __kernel_timespec
* u_abs_timeout
),
1315 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1316 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(mqd_t
, mqdes
, mqdes
)) sc_in(ctf_integer(const char *, u_msg_ptr
, u_msg_ptr
)) sc_in(ctf_integer(size_t, msg_len
, msg_len
)) sc_in(ctf_integer(unsigned int, msg_prio
, msg_prio
)) sc_in(ctf_integer(const struct __kernel_timespec
*, u_abs_timeout
, u_abs_timeout
)))
1319 #ifndef OVERRIDE_64_mq_timedreceive
1320 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive
,
1321 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, char * u_msg_ptr
, size_t msg_len
, unsigned int * u_msg_prio
, const struct __kernel_timespec
* u_abs_timeout
),
1322 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1323 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(mqd_t
, mqdes
, mqdes
)) sc_out(ctf_integer(char *, u_msg_ptr
, u_msg_ptr
)) sc_in(ctf_integer(size_t, msg_len
, msg_len
)) sc_out(ctf_integer(unsigned int *, u_msg_prio
, u_msg_prio
)) sc_in(ctf_integer(const struct __kernel_timespec
*, u_abs_timeout
, u_abs_timeout
)))
1326 #ifndef OVERRIDE_64_waitid
1327 SC_LTTNG_TRACEPOINT_EVENT(waitid
,
1328 TP_PROTO(sc_exit(long ret
,) int which
, pid_t upid
, struct siginfo
* infop
, int options
, struct rusage
* ru
),
1329 TP_ARGS(sc_exit(ret
,) which
, upid
, infop
, options
, ru
),
1330 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(pid_t
, upid
, upid
)) sc_out(ctf_integer(struct siginfo
*, infop
, infop
)) sc_in(ctf_integer(int, options
, options
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
1333 #ifndef OVERRIDE_64_add_key
1334 SC_LTTNG_TRACEPOINT_EVENT(add_key
,
1335 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const void * _payload
, size_t plen
, key_serial_t ringid
),
1336 TP_ARGS(sc_exit(ret
,) _type
, _description
, _payload
, plen
, ringid
),
1337 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(_type
, _type
)) sc_in(ctf_integer(const char *, _description
, _description
)) sc_in(ctf_integer(const void *, _payload
, _payload
)) sc_in(ctf_integer(size_t, plen
, plen
)) sc_in(ctf_integer(key_serial_t
, ringid
, ringid
)))
1340 #ifndef OVERRIDE_64_fchownat
1341 SC_LTTNG_TRACEPOINT_EVENT(fchownat
,
1342 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, uid_t user
, gid_t group
, int flag
),
1343 TP_ARGS(sc_exit(ret
,) dfd
, filename
, user
, group
, flag
),
1344 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(uid_t
, user
, user
)) sc_in(ctf_integer(gid_t
, group
, group
)) sc_in(ctf_integer(int, flag
, flag
)))
1347 #ifndef OVERRIDE_64_linkat
1348 SC_LTTNG_TRACEPOINT_EVENT(linkat
,
1349 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, int flags
),
1350 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1351 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, olddfd
, olddfd
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_integer(int, newdfd
, newdfd
)) sc_in(ctf_user_string(newname
, newname
)) sc_in(ctf_integer(int, flags
, flags
)))
1354 #ifndef OVERRIDE_64_ppoll
1355 SC_LTTNG_TRACEPOINT_EVENT(ppoll
,
1356 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct __kernel_timespec
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1357 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1358 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct pollfd
*, ufds
, ufds
)) sc_in(ctf_integer(unsigned int, nfds
, nfds
)) sc_in(ctf_integer(struct __kernel_timespec
*, tsp
, tsp
)) sc_in(ctf_integer(const sigset_t
*, sigmask
, sigmask
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
1361 #ifndef OVERRIDE_64_preadv
1362 SC_LTTNG_TRACEPOINT_EVENT(preadv
,
1363 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1364 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1365 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_out(ctf_integer(const struct iovec
*, vec
, vec
)) sc_in(ctf_integer(unsigned long, vlen
, vlen
)) sc_in(ctf_integer(unsigned long, pos_l
, pos_l
)) sc_in(ctf_integer(unsigned long, pos_h
, pos_h
)))
1368 #ifndef OVERRIDE_64_pwritev
1369 SC_LTTNG_TRACEPOINT_EVENT(pwritev
,
1370 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1371 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1372 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_in(ctf_integer(const struct iovec
*, vec
, vec
)) sc_in(ctf_integer(unsigned long, vlen
, vlen
)) sc_in(ctf_integer(unsigned long, pos_l
, pos_l
)) sc_in(ctf_integer(unsigned long, pos_h
, pos_h
)))
1375 #ifndef OVERRIDE_64_perf_event_open
1376 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open
,
1377 TP_PROTO(sc_exit(long ret
,) struct perf_event_attr
* attr_uptr
, pid_t pid
, int cpu
, int group_fd
, unsigned long flags
),
1378 TP_ARGS(sc_exit(ret
,) attr_uptr
, pid
, cpu
, group_fd
, flags
),
1379 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(struct perf_event_attr
*, attr_uptr
, attr_uptr
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, cpu
, cpu
)) sc_in(ctf_integer(int, group_fd
, group_fd
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
1382 #ifndef OVERRIDE_64_recvmmsg
1383 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg
,
1384 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct __kernel_timespec
* timeout
),
1385 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1386 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(struct mmsghdr
*, mmsg
, mmsg
)) sc_in(ctf_integer(unsigned int, vlen
, vlen
)) sc_in(ctf_integer(unsigned int, flags
, flags
)) sc_inout(ctf_integer(struct __kernel_timespec
*, timeout
, timeout
)))
1389 #ifndef OVERRIDE_64_fanotify_mark
1390 SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark
,
1391 TP_PROTO(sc_exit(long ret
,) int fanotify_fd
, unsigned int flags
, __u64 mask
, int dfd
, const char * pathname
),
1392 TP_ARGS(sc_exit(ret
,) fanotify_fd
, flags
, mask
, dfd
, pathname
),
1393 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fanotify_fd
, fanotify_fd
)) sc_in(ctf_integer(unsigned int, flags
, flags
)) sc_in(ctf_integer(__u64
, mask
, mask
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(pathname
, pathname
)))
1396 #ifndef OVERRIDE_64_name_to_handle_at
1397 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at
,
1398 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * name
, struct file_handle
* handle
, int * mnt_id
, int flag
),
1399 TP_ARGS(sc_exit(ret
,) dfd
, name
, handle
, mnt_id
, flag
),
1400 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, dfd
, dfd
)) sc_in(ctf_user_string(name
, name
)) sc_inout(ctf_integer(struct file_handle
*, handle
, handle
)) sc_out(ctf_integer(int *, mnt_id
, mnt_id
)) sc_in(ctf_integer(int, flag
, flag
)))
1403 #ifndef OVERRIDE_64_renameat2
1404 SC_LTTNG_TRACEPOINT_EVENT(renameat2
,
1405 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, unsigned int flags
),
1406 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1407 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, olddfd
, olddfd
)) sc_inout(ctf_user_string(oldname
, oldname
)) sc_inout(ctf_integer(int, newdfd
, newdfd
)) sc_inout(ctf_user_string(newname
, newname
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1410 #ifndef OVERRIDE_64_kexec_file_load
1411 SC_LTTNG_TRACEPOINT_EVENT(kexec_file_load
,
1412 TP_PROTO(sc_exit(long ret
,) int kernel_fd
, int initrd_fd
, unsigned long cmdline_len
, const char * cmdline_ptr
, unsigned long flags
),
1413 TP_ARGS(sc_exit(ret
,) kernel_fd
, initrd_fd
, cmdline_len
, cmdline_ptr
, flags
),
1414 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, kernel_fd
, kernel_fd
)) sc_inout(ctf_integer(int, initrd_fd
, initrd_fd
)) sc_inout(ctf_integer(unsigned long, cmdline_len
, cmdline_len
)) sc_inout(ctf_integer(const char *, cmdline_ptr
, cmdline_ptr
)) sc_inout(ctf_integer(unsigned long, flags
, flags
)))
1417 #ifndef OVERRIDE_64_execveat
1418 SC_LTTNG_TRACEPOINT_EVENT(execveat
,
1419 TP_PROTO(sc_exit(long ret
,) int fd
, const char * filename
, const char *const * argv
, const char *const * envp
, int flags
),
1420 TP_ARGS(sc_exit(ret
,) fd
, filename
, argv
, envp
, flags
),
1421 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd
, fd
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(const char *const *, argv
, argv
)) sc_inout(ctf_integer(const char *const *, envp
, envp
)) sc_inout(ctf_integer(int, flags
, flags
)))
1424 #ifndef OVERRIDE_64_statx
1425 SC_LTTNG_TRACEPOINT_EVENT(statx
,
1426 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
, unsigned int mask
, struct statx
* buffer
),
1427 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mask
, buffer
),
1428 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(unsigned, flags
, flags
)) sc_inout(ctf_integer(unsigned int, mask
, mask
)) sc_inout(ctf_integer(struct statx
*, buffer
, buffer
)))
1431 #ifndef OVERRIDE_64_move_mount
1432 SC_LTTNG_TRACEPOINT_EVENT(move_mount
,
1433 TP_PROTO(sc_exit(long ret
,) int from_dfd
, const char * from_pathname
, int to_dfd
, const char * to_pathname
, unsigned int flags
),
1434 TP_ARGS(sc_exit(ret
,) from_dfd
, from_pathname
, to_dfd
, to_pathname
, flags
),
1435 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, from_dfd
, from_dfd
)) sc_inout(ctf_user_string(from_pathname
, from_pathname
)) sc_inout(ctf_integer(int, to_dfd
, to_dfd
)) sc_inout(ctf_user_string(to_pathname
, to_pathname
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1438 #ifndef OVERRIDE_64_fsconfig
1439 SC_LTTNG_TRACEPOINT_EVENT(fsconfig
,
1440 TP_PROTO(sc_exit(long ret
,) int fd
, unsigned int cmd
, const char * _key
, const void * _value
, int aux
),
1441 TP_ARGS(sc_exit(ret
,) fd
, cmd
, _key
, _value
, aux
),
1442 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd
, fd
)) sc_inout(ctf_integer(unsigned int, cmd
, cmd
)) sc_inout(ctf_integer(const char *, _key
, _key
)) sc_inout(ctf_integer(const void *, _value
, _value
)) sc_inout(ctf_integer(int, aux
, aux
)))
1445 #ifndef OVERRIDE_64_process_madvise
1446 SC_LTTNG_TRACEPOINT_EVENT(process_madvise
,
1447 TP_PROTO(sc_exit(long ret
,) int pidfd
, const struct iovec
* vec
, size_t vlen
, int behavior
, unsigned int flags
),
1448 TP_ARGS(sc_exit(ret
,) pidfd
, vec
, vlen
, behavior
, flags
),
1449 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, pidfd
, pidfd
)) sc_inout(ctf_integer(const struct iovec
*, vec
, vec
)) sc_inout(ctf_integer(size_t, vlen
, vlen
)) sc_inout(ctf_integer(int, behavior
, behavior
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1452 #ifndef OVERRIDE_64_mount_setattr
1453 SC_LTTNG_TRACEPOINT_EVENT(mount_setattr
,
1454 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
, struct mount_attr
* uattr
, size_t usize
),
1455 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
, uattr
, usize
),
1456 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, dfd
, dfd
)) sc_inout(ctf_user_string(path
, path
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)) sc_inout(ctf_integer(struct mount_attr
*, uattr
, uattr
)) sc_inout(ctf_integer(size_t, usize
, usize
)))
1459 #ifndef OVERRIDE_64_futex_waitv
1460 SC_LTTNG_TRACEPOINT_EVENT(futex_waitv
,
1461 TP_PROTO(sc_exit(long ret
,) struct futex_waitv
* waiters
, unsigned int nr_futexes
, unsigned int flags
, struct __kernel_timespec
* timeout
, clockid_t clockid
),
1462 TP_ARGS(sc_exit(ret
,) waiters
, nr_futexes
, flags
, timeout
, clockid
),
1463 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct futex_waitv
*, waiters
, waiters
)) sc_inout(ctf_integer(unsigned int, nr_futexes
, nr_futexes
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)) sc_inout(ctf_integer(struct __kernel_timespec
*, timeout
, timeout
)) sc_inout(ctf_integer(clockid_t
, clockid
, clockid
)))
1466 #ifndef OVERRIDE_64_sendto
1467 SC_LTTNG_TRACEPOINT_EVENT(sendto
,
1468 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned int flags
, struct sockaddr
* addr
, int addr_len
),
1469 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
, addr
, addr_len
),
1470 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(void *, buff
, buff
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(unsigned int, flags
, flags
)) sc_in(ctf_integer(struct sockaddr
*, addr
, addr
)) sc_in(ctf_integer(int, addr_len
, addr_len
)))
1473 #ifndef OVERRIDE_64_recvfrom
1474 SC_LTTNG_TRACEPOINT_EVENT(recvfrom
,
1475 TP_PROTO(sc_exit(long ret
,) int fd
, void * ubuf
, size_t size
, unsigned int flags
, struct sockaddr
* addr
, int * addr_len
),
1476 TP_ARGS(sc_exit(ret
,) fd
, ubuf
, size
, flags
, addr
, addr_len
),
1477 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_out(ctf_integer(void *, ubuf
, ubuf
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(unsigned int, flags
, flags
)) sc_out(ctf_integer(struct sockaddr
*, addr
, addr
)) sc_inout(ctf_integer(int *, addr_len
, addr_len
)))
1480 #ifndef OVERRIDE_64_futex
1481 SC_LTTNG_TRACEPOINT_EVENT(futex
,
1482 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, const struct __kernel_timespec
* utime
, u32
* uaddr2
, u32 val3
),
1483 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1484 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(u32
*, uaddr
, uaddr
)) sc_in(ctf_integer(int, op
, op
)) sc_in(ctf_integer(u32
, val
, val
)) sc_in(ctf_integer(const struct __kernel_timespec
*, utime
, utime
)) sc_inout(ctf_integer(u32
*, uaddr2
, uaddr2
)) sc_in(ctf_integer(u32
, val3
, val3
)))
1487 #ifndef OVERRIDE_64_mbind
1488 SC_LTTNG_TRACEPOINT_EVENT(mbind
,
1489 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long len
, unsigned long mode
, const unsigned long * nmask
, unsigned long maxnode
, unsigned int flags
),
1490 TP_ARGS(sc_exit(ret
,) start
, len
, mode
, nmask
, maxnode
, flags
),
1491 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, start
, start
)) sc_in(ctf_integer(unsigned long, len
, len
)) sc_in(ctf_integer(unsigned long, mode
, mode
)) sc_in(ctf_integer(const unsigned long *, nmask
, nmask
)) sc_in(ctf_integer(unsigned long, maxnode
, maxnode
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
1494 #ifndef OVERRIDE_64_pselect6
1495 SC_LTTNG_TRACEPOINT_EVENT(pselect6
,
1496 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_timespec
* tsp
, void * sig
),
1497 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1498 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, n
, n
)) sc_inout(ctf_integer(fd_set
*, inp
, inp
)) sc_inout(ctf_integer(fd_set
*, outp
, outp
)) sc_inout(ctf_integer(fd_set
*, exp
, exp
)) sc_inout(ctf_integer(struct __kernel_timespec
*, tsp
, tsp
)) sc_in(ctf_integer(void *, sig
, sig
)))
1501 #ifndef OVERRIDE_64_splice
1502 SC_LTTNG_TRACEPOINT_EVENT(splice
,
1503 TP_PROTO(sc_exit(long ret
,) int fd_in
, loff_t
* off_in
, int fd_out
, loff_t
* off_out
, size_t len
, unsigned int flags
),
1504 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1505 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd_in
, fd_in
)) sc_in(ctf_integer(loff_t
*, off_in
, off_in
)) sc_in(ctf_integer(int, fd_out
, fd_out
)) sc_in(ctf_integer(loff_t
*, off_out
, off_out
)) sc_in(ctf_integer(size_t, len
, len
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
1508 #ifndef OVERRIDE_64_move_pages
1509 SC_LTTNG_TRACEPOINT_EVENT(move_pages
,
1510 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned long nr_pages
, const void * * pages
, const int * nodes
, int * status
, int flags
),
1511 TP_ARGS(sc_exit(ret
,) pid
, nr_pages
, pages
, nodes
, status
, flags
),
1512 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned long, nr_pages
, nr_pages
)) sc_in(ctf_integer(const void * *, pages
, pages
)) sc_in(ctf_integer(const int *, nodes
, nodes
)) sc_out(ctf_integer(int *, status
, status
)) sc_in(ctf_integer(int, flags
, flags
)))
1515 #ifndef OVERRIDE_64_epoll_pwait
1516 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait
,
1517 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1518 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1519 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, epfd
, epfd
)) sc_out(ctf_integer(struct epoll_event
*, events
, events
)) sc_in(ctf_integer(int, maxevents
, maxevents
)) sc_in(ctf_integer(int, timeout
, timeout
)) sc_in(ctf_integer(const sigset_t
*, sigmask
, sigmask
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
1522 #ifndef OVERRIDE_64_process_vm_readv
1523 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv
,
1524 TP_PROTO(sc_exit(long ret
,) pid_t pid
, const struct iovec
* lvec
, unsigned long liovcnt
, const struct iovec
* rvec
, unsigned long riovcnt
, unsigned long flags
),
1525 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1526 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_out(ctf_integer(const struct iovec
*, lvec
, lvec
)) sc_in(ctf_integer(unsigned long, liovcnt
, liovcnt
)) sc_in(ctf_integer(const struct iovec
*, rvec
, rvec
)) sc_in(ctf_integer(unsigned long, riovcnt
, riovcnt
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
1529 #ifndef OVERRIDE_64_process_vm_writev
1530 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev
,
1531 TP_PROTO(sc_exit(long ret
,) pid_t pid
, const struct iovec
* lvec
, unsigned long liovcnt
, const struct iovec
* rvec
, unsigned long riovcnt
, unsigned long flags
),
1532 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1533 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(const struct iovec
*, lvec
, lvec
)) sc_in(ctf_integer(unsigned long, liovcnt
, liovcnt
)) sc_in(ctf_integer(const struct iovec
*, rvec
, rvec
)) sc_in(ctf_integer(unsigned long, riovcnt
, riovcnt
)) sc_in(ctf_integer(unsigned long, flags
, flags
)))
1536 #ifndef OVERRIDE_64_copy_file_range
1537 SC_LTTNG_TRACEPOINT_EVENT(copy_file_range
,
1538 TP_PROTO(sc_exit(long ret
,) int fd_in
, loff_t
* off_in
, int fd_out
, loff_t
* off_out
, size_t len
, unsigned int flags
),
1539 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1540 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd_in
, fd_in
)) sc_inout(ctf_integer(loff_t
*, off_in
, off_in
)) sc_inout(ctf_integer(int, fd_out
, fd_out
)) sc_inout(ctf_integer(loff_t
*, off_out
, off_out
)) sc_inout(ctf_integer(size_t, len
, len
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1543 #ifndef OVERRIDE_64_preadv2
1544 SC_LTTNG_TRACEPOINT_EVENT(preadv2
,
1545 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
, rwf_t flags
),
1546 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1547 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, fd
, fd
)) sc_inout(ctf_integer(const struct iovec
*, vec
, vec
)) sc_inout(ctf_integer(unsigned long, vlen
, vlen
)) sc_inout(ctf_integer(unsigned long, pos_l
, pos_l
)) sc_inout(ctf_integer(unsigned long, pos_h
, pos_h
)) sc_inout(ctf_integer(rwf_t
, flags
, flags
)))
1550 #ifndef OVERRIDE_64_pwritev2
1551 SC_LTTNG_TRACEPOINT_EVENT(pwritev2
,
1552 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
, rwf_t flags
),
1553 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1554 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, fd
, fd
)) sc_inout(ctf_integer(const struct iovec
*, vec
, vec
)) sc_inout(ctf_integer(unsigned long, vlen
, vlen
)) sc_inout(ctf_integer(unsigned long, pos_l
, pos_l
)) sc_inout(ctf_integer(unsigned long, pos_h
, pos_h
)) sc_inout(ctf_integer(rwf_t
, flags
, flags
)))
1557 #ifndef OVERRIDE_64_io_pgetevents
1558 SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents
,
1559 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct __kernel_timespec
* timeout
, const struct __aio_sigset
* usig
),
1560 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
, usig
),
1561 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(aio_context_t
, ctx_id
, ctx_id
)) sc_inout(ctf_integer(long, min_nr
, min_nr
)) sc_inout(ctf_integer(long, nr
, nr
)) sc_inout(ctf_integer(struct io_event
*, events
, events
)) sc_inout(ctf_integer(struct __kernel_timespec
*, timeout
, timeout
)) sc_inout(ctf_integer(const struct __aio_sigset
*, usig
, usig
)))
1564 #ifndef OVERRIDE_64_io_uring_enter
1565 SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter
,
1566 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, u32 to_submit
, u32 min_complete
, u32 flags
, const void * argp
, size_t argsz
),
1567 TP_ARGS(sc_exit(ret
,) fd
, to_submit
, min_complete
, flags
, argp
, argsz
),
1568 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(u32
, to_submit
, to_submit
)) sc_inout(ctf_integer(u32
, min_complete
, min_complete
)) sc_inout(ctf_integer(u32
, flags
, flags
)) sc_inout(ctf_integer(const void *, argp
, argp
)) sc_inout(ctf_integer(size_t, argsz
, argsz
)))
1571 #ifndef OVERRIDE_64_epoll_pwait2
1572 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2
,
1573 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, const struct __kernel_timespec
* timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1574 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1575 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, epfd
, epfd
)) sc_inout(ctf_integer(struct epoll_event
*, events
, events
)) sc_inout(ctf_integer(int, maxevents
, maxevents
)) sc_inout(ctf_integer(const struct __kernel_timespec
*, timeout
, timeout
)) sc_inout(ctf_integer(const sigset_t
*, sigmask
, sigmask
)) sc_inout(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
1579 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1581 /* This part must be outside protection */
1582 #include <lttng/define_trace.h>
1584 #else /* CREATE_SYSCALL_TABLE */
1586 #include "x86-64-syscalls_pointers_override.h"
1587 #include "syscalls_pointers_override.h"
1589 #ifndef OVERRIDE_TABLE_64_read
1590 TRACE_SYSCALL_TABLE(read
, read
, 0, 3)
1592 #ifndef OVERRIDE_TABLE_64_write
1593 TRACE_SYSCALL_TABLE(write
, write
, 1, 3)
1595 #ifndef OVERRIDE_TABLE_64_open
1596 TRACE_SYSCALL_TABLE(open
, open
, 2, 3)
1598 #ifndef OVERRIDE_TABLE_64_newstat
1599 TRACE_SYSCALL_TABLE(newstat
, newstat
, 4, 2)
1601 #ifndef OVERRIDE_TABLE_64_newfstat
1602 TRACE_SYSCALL_TABLE(newfstat
, newfstat
, 5, 2)
1604 #ifndef OVERRIDE_TABLE_64_newlstat
1605 TRACE_SYSCALL_TABLE(newlstat
, newlstat
, 6, 2)
1607 #ifndef OVERRIDE_TABLE_64_poll
1608 TRACE_SYSCALL_TABLE(poll
, poll
, 7, 3)
1610 #ifndef OVERRIDE_TABLE_64_rt_sigaction
1611 TRACE_SYSCALL_TABLE(rt_sigaction
, rt_sigaction
, 13, 4)
1613 #ifndef OVERRIDE_TABLE_64_rt_sigprocmask
1614 TRACE_SYSCALL_TABLE(rt_sigprocmask
, rt_sigprocmask
, 14, 4)
1616 #ifndef OVERRIDE_TABLE_64_pread64
1617 TRACE_SYSCALL_TABLE(pread64
, pread64
, 17, 4)
1619 #ifndef OVERRIDE_TABLE_64_pwrite64
1620 TRACE_SYSCALL_TABLE(pwrite64
, pwrite64
, 18, 4)
1622 #ifndef OVERRIDE_TABLE_64_readv
1623 TRACE_SYSCALL_TABLE(readv
, readv
, 19, 3)
1625 #ifndef OVERRIDE_TABLE_64_writev
1626 TRACE_SYSCALL_TABLE(writev
, writev
, 20, 3)
1628 #ifndef OVERRIDE_TABLE_64_access
1629 TRACE_SYSCALL_TABLE(access
, access
, 21, 2)
1631 #ifndef OVERRIDE_TABLE_64_pipe
1632 TRACE_SYSCALL_TABLE(pipe
, pipe
, 22, 1)
1634 #ifndef OVERRIDE_TABLE_64_select
1635 TRACE_SYSCALL_TABLE(select
, select
, 23, 5)
1637 #ifndef OVERRIDE_TABLE_64_mincore
1638 TRACE_SYSCALL_TABLE(mincore
, mincore
, 27, 3)
1640 #ifndef OVERRIDE_TABLE_64_shmat
1641 TRACE_SYSCALL_TABLE(shmat
, shmat
, 30, 3)
1643 #ifndef OVERRIDE_TABLE_64_shmctl
1644 TRACE_SYSCALL_TABLE(shmctl
, shmctl
, 31, 3)
1646 #ifndef OVERRIDE_TABLE_64_nanosleep
1647 TRACE_SYSCALL_TABLE(nanosleep
, nanosleep
, 35, 2)
1649 #ifndef OVERRIDE_TABLE_64_getitimer
1650 TRACE_SYSCALL_TABLE(getitimer
, getitimer
, 36, 2)
1652 #ifndef OVERRIDE_TABLE_64_setitimer
1653 TRACE_SYSCALL_TABLE(setitimer
, setitimer
, 38, 3)
1655 #ifndef OVERRIDE_TABLE_64_sendfile64
1656 TRACE_SYSCALL_TABLE(sendfile64
, sendfile64
, 40, 4)
1658 #ifndef OVERRIDE_TABLE_64_connect
1659 TRACE_SYSCALL_TABLE(connect
, connect
, 42, 3)
1661 #ifndef OVERRIDE_TABLE_64_accept
1662 TRACE_SYSCALL_TABLE(accept
, accept
, 43, 3)
1664 #ifndef OVERRIDE_TABLE_64_sendto
1665 TRACE_SYSCALL_TABLE(sendto
, sendto
, 44, 6)
1667 #ifndef OVERRIDE_TABLE_64_recvfrom
1668 TRACE_SYSCALL_TABLE(recvfrom
, recvfrom
, 45, 6)
1670 #ifndef OVERRIDE_TABLE_64_sendmsg
1671 TRACE_SYSCALL_TABLE(sendmsg
, sendmsg
, 46, 3)
1673 #ifndef OVERRIDE_TABLE_64_recvmsg
1674 TRACE_SYSCALL_TABLE(recvmsg
, recvmsg
, 47, 3)
1676 #ifndef OVERRIDE_TABLE_64_bind
1677 TRACE_SYSCALL_TABLE(bind
, bind
, 49, 3)
1679 #ifndef OVERRIDE_TABLE_64_getsockname
1680 TRACE_SYSCALL_TABLE(getsockname
, getsockname
, 51, 3)
1682 #ifndef OVERRIDE_TABLE_64_getpeername
1683 TRACE_SYSCALL_TABLE(getpeername
, getpeername
, 52, 3)
1685 #ifndef OVERRIDE_TABLE_64_socketpair
1686 TRACE_SYSCALL_TABLE(socketpair
, socketpair
, 53, 4)
1688 #ifndef OVERRIDE_TABLE_64_setsockopt
1689 TRACE_SYSCALL_TABLE(setsockopt
, setsockopt
, 54, 5)
1691 #ifndef OVERRIDE_TABLE_64_getsockopt
1692 TRACE_SYSCALL_TABLE(getsockopt
, getsockopt
, 55, 5)
1694 #ifndef OVERRIDE_TABLE_64_clone
1695 TRACE_SYSCALL_TABLE(clone
, clone
, 56, 5)
1697 #ifndef OVERRIDE_TABLE_64_execve
1698 TRACE_SYSCALL_TABLE(execve
, execve
, 59, 3)
1700 #ifndef OVERRIDE_TABLE_64_wait4
1701 TRACE_SYSCALL_TABLE(wait4
, wait4
, 61, 4)
1703 #ifndef OVERRIDE_TABLE_64_newuname
1704 TRACE_SYSCALL_TABLE(newuname
, newuname
, 63, 1)
1706 #ifndef OVERRIDE_TABLE_64_semop
1707 TRACE_SYSCALL_TABLE(semop
, semop
, 65, 3)
1709 #ifndef OVERRIDE_TABLE_64_shmdt
1710 TRACE_SYSCALL_TABLE(shmdt
, shmdt
, 67, 1)
1712 #ifndef OVERRIDE_TABLE_64_msgsnd
1713 TRACE_SYSCALL_TABLE(msgsnd
, msgsnd
, 69, 4)
1715 #ifndef OVERRIDE_TABLE_64_msgrcv
1716 TRACE_SYSCALL_TABLE(msgrcv
, msgrcv
, 70, 5)
1718 #ifndef OVERRIDE_TABLE_64_msgctl
1719 TRACE_SYSCALL_TABLE(msgctl
, msgctl
, 71, 3)
1721 #ifndef OVERRIDE_TABLE_64_truncate
1722 TRACE_SYSCALL_TABLE(truncate
, truncate
, 76, 2)
1724 #ifndef OVERRIDE_TABLE_64_getdents
1725 TRACE_SYSCALL_TABLE(getdents
, getdents
, 78, 3)
1727 #ifndef OVERRIDE_TABLE_64_getcwd
1728 TRACE_SYSCALL_TABLE(getcwd
, getcwd
, 79, 2)
1730 #ifndef OVERRIDE_TABLE_64_chdir
1731 TRACE_SYSCALL_TABLE(chdir
, chdir
, 80, 1)
1733 #ifndef OVERRIDE_TABLE_64_rename
1734 TRACE_SYSCALL_TABLE(rename
, rename
, 82, 2)
1736 #ifndef OVERRIDE_TABLE_64_mkdir
1737 TRACE_SYSCALL_TABLE(mkdir
, mkdir
, 83, 2)
1739 #ifndef OVERRIDE_TABLE_64_rmdir
1740 TRACE_SYSCALL_TABLE(rmdir
, rmdir
, 84, 1)
1742 #ifndef OVERRIDE_TABLE_64_creat
1743 TRACE_SYSCALL_TABLE(creat
, creat
, 85, 2)
1745 #ifndef OVERRIDE_TABLE_64_link
1746 TRACE_SYSCALL_TABLE(link
, link
, 86, 2)
1748 #ifndef OVERRIDE_TABLE_64_unlink
1749 TRACE_SYSCALL_TABLE(unlink
, unlink
, 87, 1)
1751 #ifndef OVERRIDE_TABLE_64_symlink
1752 TRACE_SYSCALL_TABLE(symlink
, symlink
, 88, 2)
1754 #ifndef OVERRIDE_TABLE_64_readlink
1755 TRACE_SYSCALL_TABLE(readlink
, readlink
, 89, 3)
1757 #ifndef OVERRIDE_TABLE_64_chmod
1758 TRACE_SYSCALL_TABLE(chmod
, chmod
, 90, 2)
1760 #ifndef OVERRIDE_TABLE_64_chown
1761 TRACE_SYSCALL_TABLE(chown
, chown
, 92, 3)
1763 #ifndef OVERRIDE_TABLE_64_lchown
1764 TRACE_SYSCALL_TABLE(lchown
, lchown
, 94, 3)
1766 #ifndef OVERRIDE_TABLE_64_gettimeofday
1767 TRACE_SYSCALL_TABLE(gettimeofday
, gettimeofday
, 96, 2)
1769 #ifndef OVERRIDE_TABLE_64_getrlimit
1770 TRACE_SYSCALL_TABLE(getrlimit
, getrlimit
, 97, 2)
1772 #ifndef OVERRIDE_TABLE_64_getrusage
1773 TRACE_SYSCALL_TABLE(getrusage
, getrusage
, 98, 2)
1775 #ifndef OVERRIDE_TABLE_64_sysinfo
1776 TRACE_SYSCALL_TABLE(sysinfo
, sysinfo
, 99, 1)
1778 #ifndef OVERRIDE_TABLE_64_times
1779 TRACE_SYSCALL_TABLE(times
, times
, 100, 1)
1781 #ifndef OVERRIDE_TABLE_64_syslog
1782 TRACE_SYSCALL_TABLE(syslog
, syslog
, 103, 3)
1784 #ifndef OVERRIDE_TABLE_64_getgroups
1785 TRACE_SYSCALL_TABLE(getgroups
, getgroups
, 115, 2)
1787 #ifndef OVERRIDE_TABLE_64_setgroups
1788 TRACE_SYSCALL_TABLE(setgroups
, setgroups
, 116, 2)
1790 #ifndef OVERRIDE_TABLE_64_getresuid
1791 TRACE_SYSCALL_TABLE(getresuid
, getresuid
, 118, 3)
1793 #ifndef OVERRIDE_TABLE_64_getresgid
1794 TRACE_SYSCALL_TABLE(getresgid
, getresgid
, 120, 3)
1796 #ifndef OVERRIDE_TABLE_64_rt_sigpending
1797 TRACE_SYSCALL_TABLE(rt_sigpending
, rt_sigpending
, 127, 2)
1799 #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait
1800 TRACE_SYSCALL_TABLE(rt_sigtimedwait
, rt_sigtimedwait
, 128, 4)
1802 #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo
1803 TRACE_SYSCALL_TABLE(rt_sigqueueinfo
, rt_sigqueueinfo
, 129, 3)
1805 #ifndef OVERRIDE_TABLE_64_rt_sigsuspend
1806 TRACE_SYSCALL_TABLE(rt_sigsuspend
, rt_sigsuspend
, 130, 2)
1808 #ifndef OVERRIDE_TABLE_64_sigaltstack
1809 TRACE_SYSCALL_TABLE(sigaltstack
, sigaltstack
, 131, 2)
1811 #ifndef OVERRIDE_TABLE_64_utime
1812 TRACE_SYSCALL_TABLE(utime
, utime
, 132, 2)
1814 #ifndef OVERRIDE_TABLE_64_mknod
1815 TRACE_SYSCALL_TABLE(mknod
, mknod
, 133, 3)
1817 #ifndef OVERRIDE_TABLE_64_ustat
1818 TRACE_SYSCALL_TABLE(ustat
, ustat
, 136, 2)
1820 #ifndef OVERRIDE_TABLE_64_statfs
1821 TRACE_SYSCALL_TABLE(statfs
, statfs
, 137, 2)
1823 #ifndef OVERRIDE_TABLE_64_fstatfs
1824 TRACE_SYSCALL_TABLE(fstatfs
, fstatfs
, 138, 2)
1826 #ifndef OVERRIDE_TABLE_64_sched_setparam
1827 TRACE_SYSCALL_TABLE(sched_setparam
, sched_setparam
, 142, 2)
1829 #ifndef OVERRIDE_TABLE_64_sched_getparam
1830 TRACE_SYSCALL_TABLE(sched_getparam
, sched_getparam
, 143, 2)
1832 #ifndef OVERRIDE_TABLE_64_sched_setscheduler
1833 TRACE_SYSCALL_TABLE(sched_setscheduler
, sched_setscheduler
, 144, 3)
1835 #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval
1836 TRACE_SYSCALL_TABLE(sched_rr_get_interval
, sched_rr_get_interval
, 148, 2)
1838 #ifndef OVERRIDE_TABLE_64_modify_ldt
1839 TRACE_SYSCALL_TABLE(modify_ldt
, modify_ldt
, 154, 3)
1841 #ifndef OVERRIDE_TABLE_64_pivot_root
1842 TRACE_SYSCALL_TABLE(pivot_root
, pivot_root
, 155, 2)
1844 #ifndef OVERRIDE_TABLE_64_adjtimex
1845 TRACE_SYSCALL_TABLE(adjtimex
, adjtimex
, 159, 1)
1847 #ifndef OVERRIDE_TABLE_64_setrlimit
1848 TRACE_SYSCALL_TABLE(setrlimit
, setrlimit
, 160, 2)
1850 #ifndef OVERRIDE_TABLE_64_chroot
1851 TRACE_SYSCALL_TABLE(chroot
, chroot
, 161, 1)
1853 #ifndef OVERRIDE_TABLE_64_acct
1854 TRACE_SYSCALL_TABLE(acct
, acct
, 163, 1)
1856 #ifndef OVERRIDE_TABLE_64_settimeofday
1857 TRACE_SYSCALL_TABLE(settimeofday
, settimeofday
, 164, 2)
1859 #ifndef OVERRIDE_TABLE_64_mount
1860 TRACE_SYSCALL_TABLE(mount
, mount
, 165, 5)
1862 #ifndef OVERRIDE_TABLE_64_umount
1863 TRACE_SYSCALL_TABLE(umount
, umount
, 166, 2)
1865 #ifndef OVERRIDE_TABLE_64_swapon
1866 TRACE_SYSCALL_TABLE(swapon
, swapon
, 167, 2)
1868 #ifndef OVERRIDE_TABLE_64_swapoff
1869 TRACE_SYSCALL_TABLE(swapoff
, swapoff
, 168, 1)
1871 #ifndef OVERRIDE_TABLE_64_reboot
1872 TRACE_SYSCALL_TABLE(reboot
, reboot
, 169, 4)
1874 #ifndef OVERRIDE_TABLE_64_sethostname
1875 TRACE_SYSCALL_TABLE(sethostname
, sethostname
, 170, 2)
1877 #ifndef OVERRIDE_TABLE_64_setdomainname
1878 TRACE_SYSCALL_TABLE(setdomainname
, setdomainname
, 171, 2)
1880 #ifndef OVERRIDE_TABLE_64_init_module
1881 TRACE_SYSCALL_TABLE(init_module
, init_module
, 175, 3)
1883 #ifndef OVERRIDE_TABLE_64_delete_module
1884 TRACE_SYSCALL_TABLE(delete_module
, delete_module
, 176, 2)
1886 #ifndef OVERRIDE_TABLE_64_quotactl
1887 TRACE_SYSCALL_TABLE(quotactl
, quotactl
, 179, 4)
1889 #ifndef OVERRIDE_TABLE_64_setxattr
1890 TRACE_SYSCALL_TABLE(setxattr
, setxattr
, 188, 5)
1892 #ifndef OVERRIDE_TABLE_64_lsetxattr
1893 TRACE_SYSCALL_TABLE(lsetxattr
, lsetxattr
, 189, 5)
1895 #ifndef OVERRIDE_TABLE_64_fsetxattr
1896 TRACE_SYSCALL_TABLE(fsetxattr
, fsetxattr
, 190, 5)
1898 #ifndef OVERRIDE_TABLE_64_getxattr
1899 TRACE_SYSCALL_TABLE(getxattr
, getxattr
, 191, 4)
1901 #ifndef OVERRIDE_TABLE_64_lgetxattr
1902 TRACE_SYSCALL_TABLE(lgetxattr
, lgetxattr
, 192, 4)
1904 #ifndef OVERRIDE_TABLE_64_fgetxattr
1905 TRACE_SYSCALL_TABLE(fgetxattr
, fgetxattr
, 193, 4)
1907 #ifndef OVERRIDE_TABLE_64_listxattr
1908 TRACE_SYSCALL_TABLE(listxattr
, listxattr
, 194, 3)
1910 #ifndef OVERRIDE_TABLE_64_llistxattr
1911 TRACE_SYSCALL_TABLE(llistxattr
, llistxattr
, 195, 3)
1913 #ifndef OVERRIDE_TABLE_64_flistxattr
1914 TRACE_SYSCALL_TABLE(flistxattr
, flistxattr
, 196, 3)
1916 #ifndef OVERRIDE_TABLE_64_removexattr
1917 TRACE_SYSCALL_TABLE(removexattr
, removexattr
, 197, 2)
1919 #ifndef OVERRIDE_TABLE_64_lremovexattr
1920 TRACE_SYSCALL_TABLE(lremovexattr
, lremovexattr
, 198, 2)
1922 #ifndef OVERRIDE_TABLE_64_fremovexattr
1923 TRACE_SYSCALL_TABLE(fremovexattr
, fremovexattr
, 199, 2)
1925 #ifndef OVERRIDE_TABLE_64_time
1926 TRACE_SYSCALL_TABLE(time
, time
, 201, 1)
1928 #ifndef OVERRIDE_TABLE_64_futex
1929 TRACE_SYSCALL_TABLE(futex
, futex
, 202, 6)
1931 #ifndef OVERRIDE_TABLE_64_sched_setaffinity
1932 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 203, 3)
1934 #ifndef OVERRIDE_TABLE_64_sched_getaffinity
1935 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 204, 3)
1937 #ifndef OVERRIDE_TABLE_64_io_setup
1938 TRACE_SYSCALL_TABLE(io_setup
, io_setup
, 206, 2)
1940 #ifndef OVERRIDE_TABLE_64_io_getevents
1941 TRACE_SYSCALL_TABLE(io_getevents
, io_getevents
, 208, 5)
1943 #ifndef OVERRIDE_TABLE_64_io_submit
1944 TRACE_SYSCALL_TABLE(io_submit
, io_submit
, 209, 3)
1946 #ifndef OVERRIDE_TABLE_64_io_cancel
1947 TRACE_SYSCALL_TABLE(io_cancel
, io_cancel
, 210, 3)
1949 #ifndef OVERRIDE_TABLE_64_getdents64
1950 TRACE_SYSCALL_TABLE(getdents64
, getdents64
, 217, 3)
1952 #ifndef OVERRIDE_TABLE_64_set_tid_address
1953 TRACE_SYSCALL_TABLE(set_tid_address
, set_tid_address
, 218, 1)
1955 #ifndef OVERRIDE_TABLE_64_semtimedop
1956 TRACE_SYSCALL_TABLE(semtimedop
, semtimedop
, 220, 4)
1958 #ifndef OVERRIDE_TABLE_64_timer_create
1959 TRACE_SYSCALL_TABLE(timer_create
, timer_create
, 222, 3)
1961 #ifndef OVERRIDE_TABLE_64_timer_settime
1962 TRACE_SYSCALL_TABLE(timer_settime
, timer_settime
, 223, 4)
1964 #ifndef OVERRIDE_TABLE_64_timer_gettime
1965 TRACE_SYSCALL_TABLE(timer_gettime
, timer_gettime
, 224, 2)
1967 #ifndef OVERRIDE_TABLE_64_clock_settime
1968 TRACE_SYSCALL_TABLE(clock_settime
, clock_settime
, 227, 2)
1970 #ifndef OVERRIDE_TABLE_64_clock_gettime
1971 TRACE_SYSCALL_TABLE(clock_gettime
, clock_gettime
, 228, 2)
1973 #ifndef OVERRIDE_TABLE_64_clock_getres
1974 TRACE_SYSCALL_TABLE(clock_getres
, clock_getres
, 229, 2)
1976 #ifndef OVERRIDE_TABLE_64_clock_nanosleep
1977 TRACE_SYSCALL_TABLE(clock_nanosleep
, clock_nanosleep
, 230, 4)
1979 #ifndef OVERRIDE_TABLE_64_epoll_wait
1980 TRACE_SYSCALL_TABLE(epoll_wait
, epoll_wait
, 232, 4)
1982 #ifndef OVERRIDE_TABLE_64_epoll_ctl
1983 TRACE_SYSCALL_TABLE(epoll_ctl
, epoll_ctl
, 233, 4)
1985 #ifndef OVERRIDE_TABLE_64_utimes
1986 TRACE_SYSCALL_TABLE(utimes
, utimes
, 235, 2)
1988 #ifndef OVERRIDE_TABLE_64_mbind
1989 TRACE_SYSCALL_TABLE(mbind
, mbind
, 237, 6)
1991 #ifndef OVERRIDE_TABLE_64_set_mempolicy
1992 TRACE_SYSCALL_TABLE(set_mempolicy
, set_mempolicy
, 238, 3)
1994 #ifndef OVERRIDE_TABLE_64_get_mempolicy
1995 TRACE_SYSCALL_TABLE(get_mempolicy
, get_mempolicy
, 239, 5)
1997 #ifndef OVERRIDE_TABLE_64_mq_open
1998 TRACE_SYSCALL_TABLE(mq_open
, mq_open
, 240, 4)
2000 #ifndef OVERRIDE_TABLE_64_mq_unlink
2001 TRACE_SYSCALL_TABLE(mq_unlink
, mq_unlink
, 241, 1)
2003 #ifndef OVERRIDE_TABLE_64_mq_timedsend
2004 TRACE_SYSCALL_TABLE(mq_timedsend
, mq_timedsend
, 242, 5)
2006 #ifndef OVERRIDE_TABLE_64_mq_timedreceive
2007 TRACE_SYSCALL_TABLE(mq_timedreceive
, mq_timedreceive
, 243, 5)
2009 #ifndef OVERRIDE_TABLE_64_mq_notify
2010 TRACE_SYSCALL_TABLE(mq_notify
, mq_notify
, 244, 2)
2012 #ifndef OVERRIDE_TABLE_64_mq_getsetattr
2013 TRACE_SYSCALL_TABLE(mq_getsetattr
, mq_getsetattr
, 245, 3)
2015 #ifndef OVERRIDE_TABLE_64_kexec_load
2016 TRACE_SYSCALL_TABLE(kexec_load
, kexec_load
, 246, 4)
2018 #ifndef OVERRIDE_TABLE_64_waitid
2019 TRACE_SYSCALL_TABLE(waitid
, waitid
, 247, 5)
2021 #ifndef OVERRIDE_TABLE_64_add_key
2022 TRACE_SYSCALL_TABLE(add_key
, add_key
, 248, 5)
2024 #ifndef OVERRIDE_TABLE_64_request_key
2025 TRACE_SYSCALL_TABLE(request_key
, request_key
, 249, 4)
2027 #ifndef OVERRIDE_TABLE_64_inotify_add_watch
2028 TRACE_SYSCALL_TABLE(inotify_add_watch
, inotify_add_watch
, 254, 3)
2030 #ifndef OVERRIDE_TABLE_64_migrate_pages
2031 TRACE_SYSCALL_TABLE(migrate_pages
, migrate_pages
, 256, 4)
2033 #ifndef OVERRIDE_TABLE_64_openat
2034 TRACE_SYSCALL_TABLE(openat
, openat
, 257, 4)
2036 #ifndef OVERRIDE_TABLE_64_mkdirat
2037 TRACE_SYSCALL_TABLE(mkdirat
, mkdirat
, 258, 3)
2039 #ifndef OVERRIDE_TABLE_64_mknodat
2040 TRACE_SYSCALL_TABLE(mknodat
, mknodat
, 259, 4)
2042 #ifndef OVERRIDE_TABLE_64_fchownat
2043 TRACE_SYSCALL_TABLE(fchownat
, fchownat
, 260, 5)
2045 #ifndef OVERRIDE_TABLE_64_futimesat
2046 TRACE_SYSCALL_TABLE(futimesat
, futimesat
, 261, 3)
2048 #ifndef OVERRIDE_TABLE_64_newfstatat
2049 TRACE_SYSCALL_TABLE(newfstatat
, newfstatat
, 262, 4)
2051 #ifndef OVERRIDE_TABLE_64_unlinkat
2052 TRACE_SYSCALL_TABLE(unlinkat
, unlinkat
, 263, 3)
2054 #ifndef OVERRIDE_TABLE_64_renameat
2055 TRACE_SYSCALL_TABLE(renameat
, renameat
, 264, 4)
2057 #ifndef OVERRIDE_TABLE_64_linkat
2058 TRACE_SYSCALL_TABLE(linkat
, linkat
, 265, 5)
2060 #ifndef OVERRIDE_TABLE_64_symlinkat
2061 TRACE_SYSCALL_TABLE(symlinkat
, symlinkat
, 266, 3)
2063 #ifndef OVERRIDE_TABLE_64_readlinkat
2064 TRACE_SYSCALL_TABLE(readlinkat
, readlinkat
, 267, 4)
2066 #ifndef OVERRIDE_TABLE_64_fchmodat
2067 TRACE_SYSCALL_TABLE(fchmodat
, fchmodat
, 268, 3)
2069 #ifndef OVERRIDE_TABLE_64_faccessat
2070 TRACE_SYSCALL_TABLE(faccessat
, faccessat
, 269, 3)
2072 #ifndef OVERRIDE_TABLE_64_pselect6
2073 TRACE_SYSCALL_TABLE(pselect6
, pselect6
, 270, 6)
2075 #ifndef OVERRIDE_TABLE_64_ppoll
2076 TRACE_SYSCALL_TABLE(ppoll
, ppoll
, 271, 5)
2078 #ifndef OVERRIDE_TABLE_64_set_robust_list
2079 TRACE_SYSCALL_TABLE(set_robust_list
, set_robust_list
, 273, 2)
2081 #ifndef OVERRIDE_TABLE_64_get_robust_list
2082 TRACE_SYSCALL_TABLE(get_robust_list
, get_robust_list
, 274, 3)
2084 #ifndef OVERRIDE_TABLE_64_splice
2085 TRACE_SYSCALL_TABLE(splice
, splice
, 275, 6)
2087 #ifndef OVERRIDE_TABLE_64_vmsplice
2088 TRACE_SYSCALL_TABLE(vmsplice
, vmsplice
, 278, 4)
2090 #ifndef OVERRIDE_TABLE_64_move_pages
2091 TRACE_SYSCALL_TABLE(move_pages
, move_pages
, 279, 6)
2093 #ifndef OVERRIDE_TABLE_64_utimensat
2094 TRACE_SYSCALL_TABLE(utimensat
, utimensat
, 280, 4)
2096 #ifndef OVERRIDE_TABLE_64_epoll_pwait
2097 TRACE_SYSCALL_TABLE(epoll_pwait
, epoll_pwait
, 281, 6)
2099 #ifndef OVERRIDE_TABLE_64_signalfd
2100 TRACE_SYSCALL_TABLE(signalfd
, signalfd
, 282, 3)
2102 #ifndef OVERRIDE_TABLE_64_timerfd_settime
2103 TRACE_SYSCALL_TABLE(timerfd_settime
, timerfd_settime
, 286, 4)
2105 #ifndef OVERRIDE_TABLE_64_timerfd_gettime
2106 TRACE_SYSCALL_TABLE(timerfd_gettime
, timerfd_gettime
, 287, 2)
2108 #ifndef OVERRIDE_TABLE_64_accept4
2109 TRACE_SYSCALL_TABLE(accept4
, accept4
, 288, 4)
2111 #ifndef OVERRIDE_TABLE_64_signalfd4
2112 TRACE_SYSCALL_TABLE(signalfd4
, signalfd4
, 289, 4)
2114 #ifndef OVERRIDE_TABLE_64_pipe2
2115 TRACE_SYSCALL_TABLE(pipe2
, pipe2
, 293, 2)
2117 #ifndef OVERRIDE_TABLE_64_preadv
2118 TRACE_SYSCALL_TABLE(preadv
, preadv
, 295, 5)
2120 #ifndef OVERRIDE_TABLE_64_pwritev
2121 TRACE_SYSCALL_TABLE(pwritev
, pwritev
, 296, 5)
2123 #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo
2124 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo
, rt_tgsigqueueinfo
, 297, 4)
2126 #ifndef OVERRIDE_TABLE_64_perf_event_open
2127 TRACE_SYSCALL_TABLE(perf_event_open
, perf_event_open
, 298, 5)
2129 #ifndef OVERRIDE_TABLE_64_recvmmsg
2130 TRACE_SYSCALL_TABLE(recvmmsg
, recvmmsg
, 299, 5)
2132 #ifndef OVERRIDE_TABLE_64_fanotify_mark
2133 TRACE_SYSCALL_TABLE(fanotify_mark
, fanotify_mark
, 301, 5)
2135 #ifndef OVERRIDE_TABLE_64_prlimit64
2136 TRACE_SYSCALL_TABLE(prlimit64
, prlimit64
, 302, 4)
2138 #ifndef OVERRIDE_TABLE_64_name_to_handle_at
2139 TRACE_SYSCALL_TABLE(name_to_handle_at
, name_to_handle_at
, 303, 5)
2141 #ifndef OVERRIDE_TABLE_64_open_by_handle_at
2142 TRACE_SYSCALL_TABLE(open_by_handle_at
, open_by_handle_at
, 304, 3)
2144 #ifndef OVERRIDE_TABLE_64_clock_adjtime
2145 TRACE_SYSCALL_TABLE(clock_adjtime
, clock_adjtime
, 305, 2)
2147 #ifndef OVERRIDE_TABLE_64_sendmmsg
2148 TRACE_SYSCALL_TABLE(sendmmsg
, sendmmsg
, 307, 4)
2150 #ifndef OVERRIDE_TABLE_64_getcpu
2151 TRACE_SYSCALL_TABLE(getcpu
, getcpu
, 309, 3)
2153 #ifndef OVERRIDE_TABLE_64_process_vm_readv
2154 TRACE_SYSCALL_TABLE(process_vm_readv
, process_vm_readv
, 310, 6)
2156 #ifndef OVERRIDE_TABLE_64_process_vm_writev
2157 TRACE_SYSCALL_TABLE(process_vm_writev
, process_vm_writev
, 311, 6)
2159 #ifndef OVERRIDE_TABLE_64_finit_module
2160 TRACE_SYSCALL_TABLE(finit_module
, finit_module
, 313, 3)
2162 #ifndef OVERRIDE_TABLE_64_sched_setattr
2163 TRACE_SYSCALL_TABLE(sched_setattr
, sched_setattr
, 314, 3)
2165 #ifndef OVERRIDE_TABLE_64_sched_getattr
2166 TRACE_SYSCALL_TABLE(sched_getattr
, sched_getattr
, 315, 4)
2168 #ifndef OVERRIDE_TABLE_64_renameat2
2169 TRACE_SYSCALL_TABLE(renameat2
, renameat2
, 316, 5)
2171 #ifndef OVERRIDE_TABLE_64_seccomp
2172 TRACE_SYSCALL_TABLE(seccomp
, seccomp
, 317, 3)
2174 #ifndef OVERRIDE_TABLE_64_getrandom
2175 TRACE_SYSCALL_TABLE(getrandom
, getrandom
, 318, 3)
2177 #ifndef OVERRIDE_TABLE_64_memfd_create
2178 TRACE_SYSCALL_TABLE(memfd_create
, memfd_create
, 319, 2)
2180 #ifndef OVERRIDE_TABLE_64_kexec_file_load
2181 TRACE_SYSCALL_TABLE(kexec_file_load
, kexec_file_load
, 320, 5)
2183 #ifndef OVERRIDE_TABLE_64_bpf
2184 TRACE_SYSCALL_TABLE(bpf
, bpf
, 321, 3)
2186 #ifndef OVERRIDE_TABLE_64_execveat
2187 TRACE_SYSCALL_TABLE(execveat
, execveat
, 322, 5)
2189 #ifndef OVERRIDE_TABLE_64_copy_file_range
2190 TRACE_SYSCALL_TABLE(copy_file_range
, copy_file_range
, 326, 6)
2192 #ifndef OVERRIDE_TABLE_64_preadv2
2193 TRACE_SYSCALL_TABLE(preadv2
, preadv2
, 327, 6)
2195 #ifndef OVERRIDE_TABLE_64_pwritev2
2196 TRACE_SYSCALL_TABLE(pwritev2
, pwritev2
, 328, 6)
2198 #ifndef OVERRIDE_TABLE_64_statx
2199 TRACE_SYSCALL_TABLE(statx
, statx
, 332, 5)
2201 #ifndef OVERRIDE_TABLE_64_io_pgetevents
2202 TRACE_SYSCALL_TABLE(io_pgetevents
, io_pgetevents
, 333, 6)
2204 #ifndef OVERRIDE_TABLE_64_rseq
2205 TRACE_SYSCALL_TABLE(rseq
, rseq
, 334, 4)
2207 #ifndef OVERRIDE_TABLE_64_pidfd_send_signal
2208 TRACE_SYSCALL_TABLE(pidfd_send_signal
, pidfd_send_signal
, 424, 4)
2210 #ifndef OVERRIDE_TABLE_64_io_uring_setup
2211 TRACE_SYSCALL_TABLE(io_uring_setup
, io_uring_setup
, 425, 2)
2213 #ifndef OVERRIDE_TABLE_64_io_uring_enter
2214 TRACE_SYSCALL_TABLE(io_uring_enter
, io_uring_enter
, 426, 6)
2216 #ifndef OVERRIDE_TABLE_64_io_uring_register
2217 TRACE_SYSCALL_TABLE(io_uring_register
, io_uring_register
, 427, 4)
2219 #ifndef OVERRIDE_TABLE_64_open_tree
2220 TRACE_SYSCALL_TABLE(open_tree
, open_tree
, 428, 3)
2222 #ifndef OVERRIDE_TABLE_64_move_mount
2223 TRACE_SYSCALL_TABLE(move_mount
, move_mount
, 429, 5)
2225 #ifndef OVERRIDE_TABLE_64_fsopen
2226 TRACE_SYSCALL_TABLE(fsopen
, fsopen
, 430, 2)
2228 #ifndef OVERRIDE_TABLE_64_fsconfig
2229 TRACE_SYSCALL_TABLE(fsconfig
, fsconfig
, 431, 5)
2231 #ifndef OVERRIDE_TABLE_64_fspick
2232 TRACE_SYSCALL_TABLE(fspick
, fspick
, 433, 3)
2234 #ifndef OVERRIDE_TABLE_64_clone3
2235 TRACE_SYSCALL_TABLE(clone3
, clone3
, 435, 2)
2237 #ifndef OVERRIDE_TABLE_64_openat2
2238 TRACE_SYSCALL_TABLE(openat2
, openat2
, 437, 4)
2240 #ifndef OVERRIDE_TABLE_64_faccessat2
2241 TRACE_SYSCALL_TABLE(faccessat2
, faccessat2
, 439, 4)
2243 #ifndef OVERRIDE_TABLE_64_process_madvise
2244 TRACE_SYSCALL_TABLE(process_madvise
, process_madvise
, 440, 5)
2246 #ifndef OVERRIDE_TABLE_64_epoll_pwait2
2247 TRACE_SYSCALL_TABLE(epoll_pwait2
, epoll_pwait2
, 441, 6)
2249 #ifndef OVERRIDE_TABLE_64_mount_setattr
2250 TRACE_SYSCALL_TABLE(mount_setattr
, mount_setattr
, 442, 5)
2252 #ifndef OVERRIDE_TABLE_64_quotactl_fd
2253 TRACE_SYSCALL_TABLE(quotactl_fd
, quotactl_fd
, 443, 4)
2255 #ifndef OVERRIDE_TABLE_64_futex_waitv
2256 TRACE_SYSCALL_TABLE(futex_waitv
, futex_waitv
, 449, 5)
2259 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.109952 seconds and 5 git commands to generate.