d592755ffb636c0f0a2e1112c5d1161419664529
1 // SPDX-FileCopyrightText: 2022 EfficiOS Inc.
3 // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only
5 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
7 /* Generated from x86-64-syscalls 6.0.7 */
9 #ifndef CREATE_SYSCALL_TABLE
11 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_SYSCALLS_POINTERS_H
14 #include <lttng/tracepoint-event.h>
15 #include <linux/syscalls.h>
16 #include "x86-64-syscalls_pointers_override.h"
17 #include "syscalls_pointers_override.h"
19 #ifndef OVERRIDE_64_pipe
20 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
21 TP_PROTO(sc_exit(long ret
,) int * fildes
),
22 TP_ARGS(sc_exit(ret
,) fildes
),
23 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)))
26 #ifndef OVERRIDE_64_newuname
27 SC_LTTNG_TRACEPOINT_EVENT(newuname
,
28 TP_PROTO(sc_exit(long ret
,) struct new_utsname
* name
),
29 TP_ARGS(sc_exit(ret
,) name
),
30 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct new_utsname
*, name
, name
)))
33 #ifndef OVERRIDE_64_shmdt
34 SC_LTTNG_TRACEPOINT_EVENT(shmdt
,
35 TP_PROTO(sc_exit(long ret
,) char * shmaddr
),
36 TP_ARGS(sc_exit(ret
,) shmaddr
),
37 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(char *, shmaddr
, shmaddr
)))
40 #ifndef OVERRIDE_64_chdir
41 SC_LTTNG_TRACEPOINT_EVENT(chdir
,
42 TP_PROTO(sc_exit(long ret
,) const char * filename
),
43 TP_ARGS(sc_exit(ret
,) filename
),
44 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
47 #ifndef OVERRIDE_64_rmdir
48 SC_LTTNG_TRACEPOINT_EVENT(rmdir
,
49 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
50 TP_ARGS(sc_exit(ret
,) pathname
),
51 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
54 #ifndef OVERRIDE_64_unlink
55 SC_LTTNG_TRACEPOINT_EVENT(unlink
,
56 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
57 TP_ARGS(sc_exit(ret
,) pathname
),
58 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
61 #ifndef OVERRIDE_64_sysinfo
62 SC_LTTNG_TRACEPOINT_EVENT(sysinfo
,
63 TP_PROTO(sc_exit(long ret
,) struct sysinfo
* info
),
64 TP_ARGS(sc_exit(ret
,) info
),
65 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct sysinfo
*, info
, info
)))
68 #ifndef OVERRIDE_64_times
69 SC_LTTNG_TRACEPOINT_EVENT(times
,
70 TP_PROTO(sc_exit(long ret
,) struct tms
* tbuf
),
71 TP_ARGS(sc_exit(ret
,) tbuf
),
72 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct tms
*, tbuf
, tbuf
)))
75 #ifndef OVERRIDE_64_adjtimex
76 SC_LTTNG_TRACEPOINT_EVENT(adjtimex
,
77 TP_PROTO(sc_exit(long ret
,) struct __kernel_timex
* txc_p
),
78 TP_ARGS(sc_exit(ret
,) txc_p
),
79 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct __kernel_timex
*, txc_p
, txc_p
)))
82 #ifndef OVERRIDE_64_chroot
83 SC_LTTNG_TRACEPOINT_EVENT(chroot
,
84 TP_PROTO(sc_exit(long ret
,) const char * filename
),
85 TP_ARGS(sc_exit(ret
,) filename
),
86 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
89 #ifndef OVERRIDE_64_acct
90 SC_LTTNG_TRACEPOINT_EVENT(acct
,
91 TP_PROTO(sc_exit(long ret
,) const char * name
),
92 TP_ARGS(sc_exit(ret
,) name
),
93 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)))
96 #ifndef OVERRIDE_64_swapoff
97 SC_LTTNG_TRACEPOINT_EVENT(swapoff
,
98 TP_PROTO(sc_exit(long ret
,) const char * specialfile
),
99 TP_ARGS(sc_exit(ret
,) specialfile
),
100 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(specialfile
, specialfile
)))
103 #ifndef OVERRIDE_64_time
104 SC_LTTNG_TRACEPOINT_EVENT(time
,
105 TP_PROTO(sc_exit(long ret
,) __kernel_old_time_t
* tloc
),
106 TP_ARGS(sc_exit(ret
,) tloc
),
107 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(__kernel_old_time_t
*, tloc
, tloc
)))
110 #ifndef OVERRIDE_64_set_tid_address
111 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address
,
112 TP_PROTO(sc_exit(long ret
,) int * tidptr
),
113 TP_ARGS(sc_exit(ret
,) tidptr
),
114 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int *, tidptr
, tidptr
)))
117 #ifndef OVERRIDE_64_mq_unlink
118 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink
,
119 TP_PROTO(sc_exit(long ret
,) const char * u_name
),
120 TP_ARGS(sc_exit(ret
,) u_name
),
121 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(u_name
, u_name
)))
124 #ifndef OVERRIDE_64_newstat
125 SC_LTTNG_TRACEPOINT_EVENT(newstat
,
126 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
127 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
128 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
131 #ifndef OVERRIDE_64_newfstat
132 SC_LTTNG_TRACEPOINT_EVENT(newfstat
,
133 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct stat
* statbuf
),
134 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
135 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
)))
138 #ifndef OVERRIDE_64_newlstat
139 SC_LTTNG_TRACEPOINT_EVENT(newlstat
,
140 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
141 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
142 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
145 #ifndef OVERRIDE_64_access
146 SC_LTTNG_TRACEPOINT_EVENT(access
,
147 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
),
148 TP_ARGS(sc_exit(ret
,) filename
, mode
),
149 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, mode
, mode
)))
152 #ifndef OVERRIDE_64_nanosleep
153 SC_LTTNG_TRACEPOINT_EVENT(nanosleep
,
154 TP_PROTO(sc_exit(long ret
,) struct __kernel_timespec
* rqtp
, struct __kernel_timespec
* rmtp
),
155 TP_ARGS(sc_exit(ret
,) rqtp
, rmtp
),
156 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
)))
159 #ifndef OVERRIDE_64_getitimer
160 SC_LTTNG_TRACEPOINT_EVENT(getitimer
,
161 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
),
162 TP_ARGS(sc_exit(ret
,) which
, value
),
163 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
)))
166 #ifndef OVERRIDE_64_truncate
167 SC_LTTNG_TRACEPOINT_EVENT(truncate
,
168 TP_PROTO(sc_exit(long ret
,) const char * path
, long length
),
169 TP_ARGS(sc_exit(ret
,) path
, length
),
170 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_in(ctf_integer(long, length
, length
)))
173 #ifndef OVERRIDE_64_getcwd
174 SC_LTTNG_TRACEPOINT_EVENT(getcwd
,
175 TP_PROTO(sc_exit(long ret
,) char * buf
, unsigned long size
),
176 TP_ARGS(sc_exit(ret
,) buf
, size
),
177 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(unsigned long, size
, size
)))
180 #ifndef OVERRIDE_64_rename
181 SC_LTTNG_TRACEPOINT_EVENT(rename
,
182 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
183 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
184 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
187 #ifndef OVERRIDE_64_mkdir
188 SC_LTTNG_TRACEPOINT_EVENT(mkdir
,
189 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
190 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
191 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
194 #ifndef OVERRIDE_64_creat
195 SC_LTTNG_TRACEPOINT_EVENT(creat
,
196 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
197 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
198 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
201 #ifndef OVERRIDE_64_link
202 SC_LTTNG_TRACEPOINT_EVENT(link
,
203 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
204 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
205 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
208 #ifndef OVERRIDE_64_symlink
209 SC_LTTNG_TRACEPOINT_EVENT(symlink
,
210 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
211 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
212 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
215 #ifndef OVERRIDE_64_chmod
216 SC_LTTNG_TRACEPOINT_EVENT(chmod
,
217 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
),
218 TP_ARGS(sc_exit(ret
,) filename
, mode
),
219 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
222 #ifndef OVERRIDE_64_gettimeofday
223 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday
,
224 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
225 TP_ARGS(sc_exit(ret
,) tv
, tz
),
226 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
)))
229 #ifndef OVERRIDE_64_getrlimit
230 SC_LTTNG_TRACEPOINT_EVENT(getrlimit
,
231 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
232 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
233 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
)))
236 #ifndef OVERRIDE_64_getrusage
237 SC_LTTNG_TRACEPOINT_EVENT(getrusage
,
238 TP_PROTO(sc_exit(long ret
,) int who
, struct rusage
* ru
),
239 TP_ARGS(sc_exit(ret
,) who
, ru
),
240 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, who
, who
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
243 #ifndef OVERRIDE_64_getgroups
244 SC_LTTNG_TRACEPOINT_EVENT(getgroups
,
245 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
246 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
247 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_out(ctf_integer(gid_t
*, grouplist
, grouplist
)))
250 #ifndef OVERRIDE_64_setgroups
251 SC_LTTNG_TRACEPOINT_EVENT(setgroups
,
252 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
253 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
254 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_in(ctf_integer(gid_t
*, grouplist
, grouplist
)))
257 #ifndef OVERRIDE_64_rt_sigpending
258 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending
,
259 TP_PROTO(sc_exit(long ret
,) sigset_t
* uset
, size_t sigsetsize
),
260 TP_ARGS(sc_exit(ret
,) uset
, sigsetsize
),
261 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
)))
264 #ifndef OVERRIDE_64_rt_sigsuspend
265 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend
,
266 TP_PROTO(sc_exit(long ret
,) sigset_t
* unewset
, size_t sigsetsize
),
267 TP_ARGS(sc_exit(ret
,) unewset
, sigsetsize
),
268 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
)))
271 #ifndef OVERRIDE_64_sigaltstack
272 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack
,
273 TP_PROTO(sc_exit(long ret
,) const stack_t
* uss
, stack_t
* uoss
),
274 TP_ARGS(sc_exit(ret
,) uss
, uoss
),
275 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
)))
278 #ifndef OVERRIDE_64_utime
279 SC_LTTNG_TRACEPOINT_EVENT(utime
,
280 TP_PROTO(sc_exit(long ret
,) char * filename
, struct utimbuf
* times
),
281 TP_ARGS(sc_exit(ret
,) filename
, times
),
282 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct utimbuf
*, times
, times
)))
285 #ifndef OVERRIDE_64_ustat
286 SC_LTTNG_TRACEPOINT_EVENT(ustat
,
287 TP_PROTO(sc_exit(long ret
,) unsigned dev
, struct ustat
* ubuf
),
288 TP_ARGS(sc_exit(ret
,) dev
, ubuf
),
289 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned, dev
, dev
)) sc_out(ctf_integer(struct ustat
*, ubuf
, ubuf
)))
292 #ifndef OVERRIDE_64_statfs
293 SC_LTTNG_TRACEPOINT_EVENT(statfs
,
294 TP_PROTO(sc_exit(long ret
,) const char * pathname
, struct statfs
* buf
),
295 TP_ARGS(sc_exit(ret
,) pathname
, buf
),
296 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(struct statfs
*, buf
, buf
)))
299 #ifndef OVERRIDE_64_fstatfs
300 SC_LTTNG_TRACEPOINT_EVENT(fstatfs
,
301 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct statfs
* buf
),
302 TP_ARGS(sc_exit(ret
,) fd
, buf
),
303 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
)))
306 #ifndef OVERRIDE_64_sched_setparam
307 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam
,
308 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
309 TP_ARGS(sc_exit(ret
,) pid
, param
),
310 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
)))
313 #ifndef OVERRIDE_64_sched_getparam
314 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam
,
315 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
316 TP_ARGS(sc_exit(ret
,) pid
, param
),
317 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
)))
320 #ifndef OVERRIDE_64_sched_rr_get_interval
321 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval
,
322 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct __kernel_timespec
* interval
),
323 TP_ARGS(sc_exit(ret
,) pid
, interval
),
324 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
)))
327 #ifndef OVERRIDE_64_pivot_root
328 SC_LTTNG_TRACEPOINT_EVENT(pivot_root
,
329 TP_PROTO(sc_exit(long ret
,) const char * new_root
, const char * put_old
),
330 TP_ARGS(sc_exit(ret
,) new_root
, put_old
),
331 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
)))
334 #ifndef OVERRIDE_64_setrlimit
335 SC_LTTNG_TRACEPOINT_EVENT(setrlimit
,
336 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
337 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
338 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
)))
341 #ifndef OVERRIDE_64_settimeofday
342 SC_LTTNG_TRACEPOINT_EVENT(settimeofday
,
343 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
344 TP_ARGS(sc_exit(ret
,) tv
, tz
),
345 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
)))
348 #ifndef OVERRIDE_64_umount
349 SC_LTTNG_TRACEPOINT_EVENT(umount
,
350 TP_PROTO(sc_exit(long ret
,) char * name
, int flags
),
351 TP_ARGS(sc_exit(ret
,) name
, flags
),
352 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, flags
, flags
)))
355 #ifndef OVERRIDE_64_swapon
356 SC_LTTNG_TRACEPOINT_EVENT(swapon
,
357 TP_PROTO(sc_exit(long ret
,) const char * specialfile
, int swap_flags
),
358 TP_ARGS(sc_exit(ret
,) specialfile
, swap_flags
),
359 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
)))
362 #ifndef OVERRIDE_64_sethostname
363 SC_LTTNG_TRACEPOINT_EVENT(sethostname
,
364 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
365 TP_ARGS(sc_exit(ret
,) name
, len
),
366 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
369 #ifndef OVERRIDE_64_setdomainname
370 SC_LTTNG_TRACEPOINT_EVENT(setdomainname
,
371 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
372 TP_ARGS(sc_exit(ret
,) name
, len
),
373 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
376 #ifndef OVERRIDE_64_delete_module
377 SC_LTTNG_TRACEPOINT_EVENT(delete_module
,
378 TP_PROTO(sc_exit(long ret
,) const char * name_user
, unsigned int flags
),
379 TP_ARGS(sc_exit(ret
,) name_user
, flags
),
380 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
)))
383 #ifndef OVERRIDE_64_removexattr
384 SC_LTTNG_TRACEPOINT_EVENT(removexattr
,
385 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
386 TP_ARGS(sc_exit(ret
,) pathname
, name
),
387 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
390 #ifndef OVERRIDE_64_lremovexattr
391 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr
,
392 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
393 TP_ARGS(sc_exit(ret
,) pathname
, name
),
394 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
397 #ifndef OVERRIDE_64_fremovexattr
398 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr
,
399 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
),
400 TP_ARGS(sc_exit(ret
,) fd
, name
),
401 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)))
404 #ifndef OVERRIDE_64_io_setup
405 SC_LTTNG_TRACEPOINT_EVENT(io_setup
,
406 TP_PROTO(sc_exit(long ret
,) unsigned nr_events
, aio_context_t
* ctxp
),
407 TP_ARGS(sc_exit(ret
,) nr_events
, ctxp
),
408 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
)))
411 #ifndef OVERRIDE_64_timer_gettime
412 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime
,
413 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct __kernel_itimerspec
* setting
),
414 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
415 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
)))
418 #ifndef OVERRIDE_64_clock_settime
419 SC_LTTNG_TRACEPOINT_EVENT(clock_settime
,
420 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, const struct __kernel_timespec
* tp
),
421 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
422 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
)))
425 #ifndef OVERRIDE_64_clock_gettime
426 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime
,
427 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
428 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
429 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
)))
432 #ifndef OVERRIDE_64_clock_getres
433 SC_LTTNG_TRACEPOINT_EVENT(clock_getres
,
434 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
435 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
436 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
)))
439 #ifndef OVERRIDE_64_utimes
440 SC_LTTNG_TRACEPOINT_EVENT(utimes
,
441 TP_PROTO(sc_exit(long ret
,) char * filename
, struct __kernel_old_timeval
* utimes
),
442 TP_ARGS(sc_exit(ret
,) filename
, utimes
),
443 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
)))
446 #ifndef OVERRIDE_64_mq_notify
447 SC_LTTNG_TRACEPOINT_EVENT(mq_notify
,
448 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct sigevent
* u_notification
),
449 TP_ARGS(sc_exit(ret
,) mqdes
, u_notification
),
450 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
)))
453 #ifndef OVERRIDE_64_set_robust_list
454 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list
,
455 TP_PROTO(sc_exit(long ret
,) struct robust_list_head
* head
, size_t len
),
456 TP_ARGS(sc_exit(ret
,) head
, len
),
457 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
)))
460 #ifndef OVERRIDE_64_timerfd_gettime
461 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime
,
462 TP_PROTO(sc_exit(long ret
,) int ufd
, struct __kernel_itimerspec
* otmr
),
463 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
464 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
)))
467 #ifndef OVERRIDE_64_pipe2
468 SC_LTTNG_TRACEPOINT_EVENT(pipe2
,
469 TP_PROTO(sc_exit(long ret
,) int * fildes
, int flags
),
470 TP_ARGS(sc_exit(ret
,) fildes
, flags
),
471 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)) sc_in(ctf_integer(int, flags
, flags
)))
474 #ifndef OVERRIDE_64_clock_adjtime
475 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime
,
476 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timex
* utx
),
477 TP_ARGS(sc_exit(ret
,) which_clock
, utx
),
478 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
)))
481 #ifndef OVERRIDE_64_memfd_create
482 SC_LTTNG_TRACEPOINT_EVENT(memfd_create
,
483 TP_PROTO(sc_exit(long ret
,) const char * uname
, unsigned int flags
),
484 TP_ARGS(sc_exit(ret
,) uname
, flags
),
485 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(uname
, uname
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
488 #ifndef OVERRIDE_64_io_uring_setup
489 SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup
,
490 TP_PROTO(sc_exit(long ret
,) u32 entries
, struct io_uring_params
* params
),
491 TP_ARGS(sc_exit(ret
,) entries
, params
),
492 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
)))
495 #ifndef OVERRIDE_64_fsopen
496 SC_LTTNG_TRACEPOINT_EVENT(fsopen
,
497 TP_PROTO(sc_exit(long ret
,) const char * _fs_name
, unsigned int flags
),
498 TP_ARGS(sc_exit(ret
,) _fs_name
, flags
),
499 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
)))
502 #ifndef OVERRIDE_64_clone3
503 SC_LTTNG_TRACEPOINT_EVENT(clone3
,
504 TP_PROTO(sc_exit(long ret
,) struct clone_args
* uargs
, size_t size
),
505 TP_ARGS(sc_exit(ret
,) uargs
, size
),
506 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
)))
509 #ifndef OVERRIDE_64_read
510 SC_LTTNG_TRACEPOINT_EVENT(read
,
511 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
),
512 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
513 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
)))
516 #ifndef OVERRIDE_64_write
517 SC_LTTNG_TRACEPOINT_EVENT(write
,
518 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
),
519 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
520 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
)))
523 #ifndef OVERRIDE_64_open
524 SC_LTTNG_TRACEPOINT_EVENT(open
,
525 TP_PROTO(sc_exit(long ret
,) const char * filename
, int flags
, umode_t mode
),
526 TP_ARGS(sc_exit(ret
,) filename
, flags
, mode
),
527 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
)))
530 #ifndef OVERRIDE_64_poll
531 SC_LTTNG_TRACEPOINT_EVENT(poll
,
532 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, int timeout_msecs
),
533 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, timeout_msecs
),
534 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
)))
537 #ifndef OVERRIDE_64_readv
538 SC_LTTNG_TRACEPOINT_EVENT(readv
,
539 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
540 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
541 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
)))
544 #ifndef OVERRIDE_64_writev
545 SC_LTTNG_TRACEPOINT_EVENT(writev
,
546 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
547 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
548 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
)))
551 #ifndef OVERRIDE_64_mincore
552 SC_LTTNG_TRACEPOINT_EVENT(mincore
,
553 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned char * vec
),
554 TP_ARGS(sc_exit(ret
,) start
, len
, vec
),
555 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
)))
558 #ifndef OVERRIDE_64_shmat
559 SC_LTTNG_TRACEPOINT_EVENT(shmat
,
560 TP_PROTO(sc_exit(long ret
,) int shmid
, char * shmaddr
, int shmflg
),
561 TP_ARGS(sc_exit(ret
,) shmid
, shmaddr
, shmflg
),
562 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
)))
565 #ifndef OVERRIDE_64_shmctl
566 SC_LTTNG_TRACEPOINT_EVENT(shmctl
,
567 TP_PROTO(sc_exit(long ret
,) int shmid
, int cmd
, struct shmid_ds
* buf
),
568 TP_ARGS(sc_exit(ret
,) shmid
, cmd
, buf
),
569 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
)))
572 #ifndef OVERRIDE_64_setitimer
573 SC_LTTNG_TRACEPOINT_EVENT(setitimer
,
574 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
, struct __kernel_old_itimerval
* ovalue
),
575 TP_ARGS(sc_exit(ret
,) which
, value
, ovalue
),
576 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
)))
579 #ifndef OVERRIDE_64_connect
580 SC_LTTNG_TRACEPOINT_EVENT(connect
,
581 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* uservaddr
, int addrlen
),
582 TP_ARGS(sc_exit(ret
,) fd
, uservaddr
, addrlen
),
583 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
)))
586 #ifndef OVERRIDE_64_accept
587 SC_LTTNG_TRACEPOINT_EVENT(accept
,
588 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
),
589 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
),
590 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
)))
593 #ifndef OVERRIDE_64_sendmsg
594 SC_LTTNG_TRACEPOINT_EVENT(sendmsg
,
595 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
596 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
597 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
)))
600 #ifndef OVERRIDE_64_recvmsg
601 SC_LTTNG_TRACEPOINT_EVENT(recvmsg
,
602 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
603 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
604 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
)))
607 #ifndef OVERRIDE_64_bind
608 SC_LTTNG_TRACEPOINT_EVENT(bind
,
609 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* umyaddr
, int addrlen
),
610 TP_ARGS(sc_exit(ret
,) fd
, umyaddr
, addrlen
),
611 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
)))
614 #ifndef OVERRIDE_64_getsockname
615 SC_LTTNG_TRACEPOINT_EVENT(getsockname
,
616 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
617 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
618 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
)))
621 #ifndef OVERRIDE_64_getpeername
622 SC_LTTNG_TRACEPOINT_EVENT(getpeername
,
623 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
624 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
625 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
)))
628 #ifndef OVERRIDE_64_execve
629 SC_LTTNG_TRACEPOINT_EVENT(execve
,
630 TP_PROTO(sc_exit(long ret
,) const char * filename
, const char *const * argv
, const char *const * envp
),
631 TP_ARGS(sc_exit(ret
,) filename
, argv
, envp
),
632 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
)))
635 #ifndef OVERRIDE_64_semop
636 SC_LTTNG_TRACEPOINT_EVENT(semop
,
637 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned nsops
),
638 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
),
639 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
)))
642 #ifndef OVERRIDE_64_msgctl
643 SC_LTTNG_TRACEPOINT_EVENT(msgctl
,
644 TP_PROTO(sc_exit(long ret
,) int msqid
, int cmd
, struct msqid_ds
* buf
),
645 TP_ARGS(sc_exit(ret
,) msqid
, cmd
, buf
),
646 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
)))
649 #ifndef OVERRIDE_64_getdents
650 SC_LTTNG_TRACEPOINT_EVENT(getdents
,
651 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent
* dirent
, unsigned int count
),
652 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
653 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
)))
656 #ifndef OVERRIDE_64_readlink
657 SC_LTTNG_TRACEPOINT_EVENT(readlink
,
658 TP_PROTO(sc_exit(long ret
,) const char * path
, char * buf
, int bufsiz
),
659 TP_ARGS(sc_exit(ret
,) path
, buf
, bufsiz
),
660 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
)))
663 #ifndef OVERRIDE_64_chown
664 SC_LTTNG_TRACEPOINT_EVENT(chown
,
665 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
666 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
667 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
)))
670 #ifndef OVERRIDE_64_lchown
671 SC_LTTNG_TRACEPOINT_EVENT(lchown
,
672 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
673 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
674 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
)))
677 #ifndef OVERRIDE_64_syslog
678 SC_LTTNG_TRACEPOINT_EVENT(syslog
,
679 TP_PROTO(sc_exit(long ret
,) int type
, char * buf
, int len
),
680 TP_ARGS(sc_exit(ret
,) type
, buf
, len
),
681 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
)))
684 #ifndef OVERRIDE_64_getresuid
685 SC_LTTNG_TRACEPOINT_EVENT(getresuid
,
686 TP_PROTO(sc_exit(long ret
,) uid_t
* ruidp
, uid_t
* euidp
, uid_t
* suidp
),
687 TP_ARGS(sc_exit(ret
,) ruidp
, euidp
, suidp
),
688 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
)))
691 #ifndef OVERRIDE_64_getresgid
692 SC_LTTNG_TRACEPOINT_EVENT(getresgid
,
693 TP_PROTO(sc_exit(long ret
,) gid_t
* rgidp
, gid_t
* egidp
, gid_t
* sgidp
),
694 TP_ARGS(sc_exit(ret
,) rgidp
, egidp
, sgidp
),
695 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
)))
698 #ifndef OVERRIDE_64_rt_sigqueueinfo
699 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo
,
700 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
, siginfo_t
* uinfo
),
701 TP_ARGS(sc_exit(ret
,) pid
, sig
, uinfo
),
702 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
)))
705 #ifndef OVERRIDE_64_mknod
706 SC_LTTNG_TRACEPOINT_EVENT(mknod
,
707 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
, unsigned dev
),
708 TP_ARGS(sc_exit(ret
,) filename
, mode
, dev
),
709 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
)))
712 #ifndef OVERRIDE_64_sched_setscheduler
713 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler
,
714 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int policy
, struct sched_param
* param
),
715 TP_ARGS(sc_exit(ret
,) pid
, policy
, param
),
716 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
)))
719 #ifndef OVERRIDE_64_modify_ldt
720 SC_LTTNG_TRACEPOINT_EVENT(modify_ldt
,
721 TP_PROTO(sc_exit(long ret
,) int func
, void * ptr
, unsigned long bytecount
),
722 TP_ARGS(sc_exit(ret
,) func
, ptr
, bytecount
),
723 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
)))
726 #ifndef OVERRIDE_64_init_module
727 SC_LTTNG_TRACEPOINT_EVENT(init_module
,
728 TP_PROTO(sc_exit(long ret
,) void * umod
, unsigned long len
, const char * uargs
),
729 TP_ARGS(sc_exit(ret
,) umod
, len
, uargs
),
730 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
)))
733 #ifndef OVERRIDE_64_listxattr
734 SC_LTTNG_TRACEPOINT_EVENT(listxattr
,
735 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
736 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
737 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
)))
740 #ifndef OVERRIDE_64_llistxattr
741 SC_LTTNG_TRACEPOINT_EVENT(llistxattr
,
742 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
743 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
744 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
)))
747 #ifndef OVERRIDE_64_flistxattr
748 SC_LTTNG_TRACEPOINT_EVENT(flistxattr
,
749 TP_PROTO(sc_exit(long ret
,) int fd
, char * list
, size_t size
),
750 TP_ARGS(sc_exit(ret
,) fd
, list
, size
),
751 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
)))
754 #ifndef OVERRIDE_64_sched_setaffinity
755 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
756 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
757 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
758 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
)))
761 #ifndef OVERRIDE_64_sched_getaffinity
762 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
763 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
764 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
765 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
)))
768 #ifndef OVERRIDE_64_io_submit
769 SC_LTTNG_TRACEPOINT_EVENT(io_submit
,
770 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long nr
, struct iocb
* * iocbpp
),
771 TP_ARGS(sc_exit(ret
,) ctx_id
, nr
, iocbpp
),
772 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
)))
775 #ifndef OVERRIDE_64_io_cancel
776 SC_LTTNG_TRACEPOINT_EVENT(io_cancel
,
777 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, struct iocb
* iocb
, struct io_event
* result
),
778 TP_ARGS(sc_exit(ret
,) ctx_id
, iocb
, result
),
779 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
)))
782 #ifndef OVERRIDE_64_getdents64
783 SC_LTTNG_TRACEPOINT_EVENT(getdents64
,
784 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent64
* dirent
, unsigned int count
),
785 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
786 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
)))
789 #ifndef OVERRIDE_64_timer_create
790 SC_LTTNG_TRACEPOINT_EVENT(timer_create
,
791 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct sigevent
* timer_event_spec
, timer_t
* created_timer_id
),
792 TP_ARGS(sc_exit(ret
,) which_clock
, timer_event_spec
, created_timer_id
),
793 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
)))
796 #ifndef OVERRIDE_64_set_mempolicy
797 SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy
,
798 TP_PROTO(sc_exit(long ret
,) int mode
, const unsigned long * nmask
, unsigned long maxnode
),
799 TP_ARGS(sc_exit(ret
,) mode
, nmask
, maxnode
),
800 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
)))
803 #ifndef OVERRIDE_64_mq_getsetattr
804 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr
,
805 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct mq_attr
* u_mqstat
, struct mq_attr
* u_omqstat
),
806 TP_ARGS(sc_exit(ret
,) mqdes
, u_mqstat
, u_omqstat
),
807 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
)))
810 #ifndef OVERRIDE_64_inotify_add_watch
811 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch
,
812 TP_PROTO(sc_exit(long ret
,) int fd
, const char * pathname
, u32 mask
),
813 TP_ARGS(sc_exit(ret
,) fd
, pathname
, mask
),
814 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
)))
817 #ifndef OVERRIDE_64_mkdirat
818 SC_LTTNG_TRACEPOINT_EVENT(mkdirat
,
819 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, umode_t mode
),
820 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, mode
),
821 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
)))
824 #ifndef OVERRIDE_64_futimesat
825 SC_LTTNG_TRACEPOINT_EVENT(futimesat
,
826 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct __kernel_old_timeval
* utimes
),
827 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
),
828 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
)))
831 #ifndef OVERRIDE_64_unlinkat
832 SC_LTTNG_TRACEPOINT_EVENT(unlinkat
,
833 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int flag
),
834 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, flag
),
835 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
)))
838 #ifndef OVERRIDE_64_symlinkat
839 SC_LTTNG_TRACEPOINT_EVENT(symlinkat
,
840 TP_PROTO(sc_exit(long ret
,) const char * oldname
, int newdfd
, const char * newname
),
841 TP_ARGS(sc_exit(ret
,) oldname
, newdfd
, newname
),
842 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
)))
845 #ifndef OVERRIDE_64_fchmodat
846 SC_LTTNG_TRACEPOINT_EVENT(fchmodat
,
847 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
),
848 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
849 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
)))
852 #ifndef OVERRIDE_64_faccessat
853 SC_LTTNG_TRACEPOINT_EVENT(faccessat
,
854 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
),
855 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
856 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
)))
859 #ifndef OVERRIDE_64_get_robust_list
860 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list
,
861 TP_PROTO(sc_exit(long ret
,) int pid
, struct robust_list_head
* * head_ptr
, size_t * len_ptr
),
862 TP_ARGS(sc_exit(ret
,) pid
, head_ptr
, len_ptr
),
863 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
)))
866 #ifndef OVERRIDE_64_signalfd
867 SC_LTTNG_TRACEPOINT_EVENT(signalfd
,
868 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
),
869 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
),
870 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
)))
873 #ifndef OVERRIDE_64_open_by_handle_at
874 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at
,
875 TP_PROTO(sc_exit(long ret
,) int mountdirfd
, struct file_handle
* handle
, int flags
),
876 TP_ARGS(sc_exit(ret
,) mountdirfd
, handle
, flags
),
877 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
)))
880 #ifndef OVERRIDE_64_getcpu
881 SC_LTTNG_TRACEPOINT_EVENT(getcpu
,
882 TP_PROTO(sc_exit(long ret
,) unsigned * cpup
, unsigned * nodep
, struct getcpu_cache
* unused
),
883 TP_ARGS(sc_exit(ret
,) cpup
, nodep
, unused
),
884 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
)))
887 #ifndef OVERRIDE_64_finit_module
888 SC_LTTNG_TRACEPOINT_EVENT(finit_module
,
889 TP_PROTO(sc_exit(long ret
,) int fd
, const char * uargs
, int flags
),
890 TP_ARGS(sc_exit(ret
,) fd
, uargs
, flags
),
891 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
)))
894 #ifndef OVERRIDE_64_sched_setattr
895 SC_LTTNG_TRACEPOINT_EVENT(sched_setattr
,
896 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int flags
),
897 TP_ARGS(sc_exit(ret
,) pid
, uattr
, flags
),
898 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
)))
901 #ifndef OVERRIDE_64_seccomp
902 SC_LTTNG_TRACEPOINT_EVENT(seccomp
,
903 TP_PROTO(sc_exit(long ret
,) unsigned int op
, unsigned int flags
, void * uargs
),
904 TP_ARGS(sc_exit(ret
,) op
, flags
, uargs
),
905 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
)))
908 #ifndef OVERRIDE_64_getrandom
909 SC_LTTNG_TRACEPOINT_EVENT(getrandom
,
910 TP_PROTO(sc_exit(long ret
,) char * ubuf
, size_t len
, unsigned int flags
),
911 TP_ARGS(sc_exit(ret
,) ubuf
, len
, flags
),
912 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
)))
915 #ifndef OVERRIDE_64_bpf
916 SC_LTTNG_TRACEPOINT_EVENT(bpf
,
917 TP_PROTO(sc_exit(long ret
,) int cmd
, union bpf_attr
* uattr
, unsigned int size
),
918 TP_ARGS(sc_exit(ret
,) cmd
, uattr
, size
),
919 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
)))
922 #ifndef OVERRIDE_64_open_tree
923 SC_LTTNG_TRACEPOINT_EVENT(open_tree
,
924 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
),
925 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
),
926 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
)))
929 #ifndef OVERRIDE_64_fspick
930 SC_LTTNG_TRACEPOINT_EVENT(fspick
,
931 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
),
932 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
),
933 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
)))
936 #ifndef OVERRIDE_64_rt_sigaction
937 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction
,
938 TP_PROTO(sc_exit(long ret
,) int sig
, const struct sigaction
* act
, struct sigaction
* oact
, size_t sigsetsize
),
939 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
, sigsetsize
),
940 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
)))
943 #ifndef OVERRIDE_64_rt_sigprocmask
944 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask
,
945 TP_PROTO(sc_exit(long ret
,) int how
, sigset_t
* nset
, sigset_t
* oset
, size_t sigsetsize
),
946 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
, sigsetsize
),
947 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
)))
950 #ifndef OVERRIDE_64_pread64
951 SC_LTTNG_TRACEPOINT_EVENT(pread64
,
952 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
, loff_t pos
),
953 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
954 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
)))
957 #ifndef OVERRIDE_64_pwrite64
958 SC_LTTNG_TRACEPOINT_EVENT(pwrite64
,
959 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
, loff_t pos
),
960 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
961 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
)))
964 #ifndef OVERRIDE_64_sendfile64
965 SC_LTTNG_TRACEPOINT_EVENT(sendfile64
,
966 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, loff_t
* offset
, size_t count
),
967 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
968 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
)))
971 #ifndef OVERRIDE_64_socketpair
972 SC_LTTNG_TRACEPOINT_EVENT(socketpair
,
973 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
, int * usockvec
),
974 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
, usockvec
),
975 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
)))
978 #ifndef OVERRIDE_64_wait4
979 SC_LTTNG_TRACEPOINT_EVENT(wait4
,
980 TP_PROTO(sc_exit(long ret
,) pid_t upid
, int * stat_addr
, int options
, struct rusage
* ru
),
981 TP_ARGS(sc_exit(ret
,) upid
, stat_addr
, options
, ru
),
982 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
)))
985 #ifndef OVERRIDE_64_msgsnd
986 SC_LTTNG_TRACEPOINT_EVENT(msgsnd
,
987 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, int msgflg
),
988 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgflg
),
989 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
)))
992 #ifndef OVERRIDE_64_rt_sigtimedwait
993 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait
,
994 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct __kernel_timespec
* uts
, size_t sigsetsize
),
995 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
996 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
)))
999 #ifndef OVERRIDE_64_reboot
1000 SC_LTTNG_TRACEPOINT_EVENT(reboot
,
1001 TP_PROTO(sc_exit(long ret
,) int magic1
, int magic2
, unsigned int cmd
, void * arg
),
1002 TP_ARGS(sc_exit(ret
,) magic1
, magic2
, cmd
, arg
),
1003 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
)))
1006 #ifndef OVERRIDE_64_quotactl
1007 SC_LTTNG_TRACEPOINT_EVENT(quotactl
,
1008 TP_PROTO(sc_exit(long ret
,) unsigned int cmd
, const char * special
, qid_t id
, void * addr
),
1009 TP_ARGS(sc_exit(ret
,) cmd
, special
, id
, addr
),
1010 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
)))
1013 #ifndef OVERRIDE_64_getxattr
1014 SC_LTTNG_TRACEPOINT_EVENT(getxattr
,
1015 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1016 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1017 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
)))
1020 #ifndef OVERRIDE_64_lgetxattr
1021 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr
,
1022 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1023 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1024 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
)))
1027 #ifndef OVERRIDE_64_fgetxattr
1028 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr
,
1029 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, void * value
, size_t size
),
1030 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
),
1031 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
)))
1034 #ifndef OVERRIDE_64_semtimedop
1035 SC_LTTNG_TRACEPOINT_EVENT(semtimedop
,
1036 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned int nsops
, const struct __kernel_timespec
* timeout
),
1037 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
, timeout
),
1038 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
)))
1041 #ifndef OVERRIDE_64_timer_settime
1042 SC_LTTNG_TRACEPOINT_EVENT(timer_settime
,
1043 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, const struct __kernel_itimerspec
* new_setting
, struct __kernel_itimerspec
* old_setting
),
1044 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new_setting
, old_setting
),
1045 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
)))
1048 #ifndef OVERRIDE_64_clock_nanosleep
1049 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep
,
1050 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, int flags
, const struct __kernel_timespec
* rqtp
, struct __kernel_timespec
* rmtp
),
1051 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1052 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
)))
1055 #ifndef OVERRIDE_64_epoll_wait
1056 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait
,
1057 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
),
1058 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
),
1059 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
)))
1062 #ifndef OVERRIDE_64_epoll_ctl
1063 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl
,
1064 TP_PROTO(sc_exit(long ret
,) int epfd
, int op
, int fd
, struct epoll_event
* event
),
1065 TP_ARGS(sc_exit(ret
,) epfd
, op
, fd
, event
),
1066 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
)))
1069 #ifndef OVERRIDE_64_mq_open
1070 SC_LTTNG_TRACEPOINT_EVENT(mq_open
,
1071 TP_PROTO(sc_exit(long ret
,) const char * u_name
, int oflag
, umode_t mode
, struct mq_attr
* u_attr
),
1072 TP_ARGS(sc_exit(ret
,) u_name
, oflag
, mode
, u_attr
),
1073 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
)))
1076 #ifndef OVERRIDE_64_kexec_load
1077 SC_LTTNG_TRACEPOINT_EVENT(kexec_load
,
1078 TP_PROTO(sc_exit(long ret
,) unsigned long entry
, unsigned long nr_segments
, struct kexec_segment
* segments
, unsigned long flags
),
1079 TP_ARGS(sc_exit(ret
,) entry
, nr_segments
, segments
, flags
),
1080 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
)))
1083 #ifndef OVERRIDE_64_request_key
1084 SC_LTTNG_TRACEPOINT_EVENT(request_key
,
1085 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const char * _callout_info
, key_serial_t destringid
),
1086 TP_ARGS(sc_exit(ret
,) _type
, _description
, _callout_info
, destringid
),
1087 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
)))
1090 #ifndef OVERRIDE_64_migrate_pages
1091 SC_LTTNG_TRACEPOINT_EVENT(migrate_pages
,
1092 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned long maxnode
, const unsigned long * old_nodes
, const unsigned long * new_nodes
),
1093 TP_ARGS(sc_exit(ret
,) pid
, maxnode
, old_nodes
, new_nodes
),
1094 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
)))
1097 #ifndef OVERRIDE_64_openat
1098 SC_LTTNG_TRACEPOINT_EVENT(openat
,
1099 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int flags
, umode_t mode
),
1100 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mode
),
1101 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
)))
1104 #ifndef OVERRIDE_64_mknodat
1105 SC_LTTNG_TRACEPOINT_EVENT(mknodat
,
1106 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
, unsigned int dev
),
1107 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, dev
),
1108 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
)))
1111 #ifndef OVERRIDE_64_newfstatat
1112 SC_LTTNG_TRACEPOINT_EVENT(newfstatat
,
1113 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct stat
* statbuf
, int flag
),
1114 TP_ARGS(sc_exit(ret
,) dfd
, filename
, statbuf
, flag
),
1115 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
)))
1118 #ifndef OVERRIDE_64_renameat
1119 SC_LTTNG_TRACEPOINT_EVENT(renameat
,
1120 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
),
1121 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
),
1122 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
)))
1125 #ifndef OVERRIDE_64_readlinkat
1126 SC_LTTNG_TRACEPOINT_EVENT(readlinkat
,
1127 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, char * buf
, int bufsiz
),
1128 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, buf
, bufsiz
),
1129 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
)))
1132 #ifndef OVERRIDE_64_vmsplice
1133 SC_LTTNG_TRACEPOINT_EVENT(vmsplice
,
1134 TP_PROTO(sc_exit(long ret
,) int fd
, const struct iovec
* uiov
, unsigned long nr_segs
, unsigned int flags
),
1135 TP_ARGS(sc_exit(ret
,) fd
, uiov
, nr_segs
, flags
),
1136 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
)))
1139 #ifndef OVERRIDE_64_utimensat
1140 SC_LTTNG_TRACEPOINT_EVENT(utimensat
,
1141 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct __kernel_timespec
* utimes
, int flags
),
1142 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
, flags
),
1143 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
)))
1146 #ifndef OVERRIDE_64_timerfd_settime
1147 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime
,
1148 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct __kernel_itimerspec
* utmr
, struct __kernel_itimerspec
* otmr
),
1149 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1150 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
)))
1153 #ifndef OVERRIDE_64_accept4
1154 SC_LTTNG_TRACEPOINT_EVENT(accept4
,
1155 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
, int flags
),
1156 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
, flags
),
1157 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
)))
1160 #ifndef OVERRIDE_64_signalfd4
1161 SC_LTTNG_TRACEPOINT_EVENT(signalfd4
,
1162 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
, int flags
),
1163 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
, flags
),
1164 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
)))
1167 #ifndef OVERRIDE_64_rt_tgsigqueueinfo
1168 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo
,
1169 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
, siginfo_t
* uinfo
),
1170 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
, uinfo
),
1171 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
)))
1174 #ifndef OVERRIDE_64_prlimit64
1175 SC_LTTNG_TRACEPOINT_EVENT(prlimit64
,
1176 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int resource
, const struct rlimit64
* new_rlim
, struct rlimit64
* old_rlim
),
1177 TP_ARGS(sc_exit(ret
,) pid
, resource
, new_rlim
, old_rlim
),
1178 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
)))
1181 #ifndef OVERRIDE_64_sendmmsg
1182 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg
,
1183 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
),
1184 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
),
1185 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
)))
1188 #ifndef OVERRIDE_64_sched_getattr
1189 SC_LTTNG_TRACEPOINT_EVENT(sched_getattr
,
1190 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int usize
, unsigned int flags
),
1191 TP_ARGS(sc_exit(ret
,) pid
, uattr
, usize
, flags
),
1192 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
)))
1195 #ifndef OVERRIDE_64_rseq
1196 SC_LTTNG_TRACEPOINT_EVENT(rseq
,
1197 TP_PROTO(sc_exit(long ret
,) struct rseq
* rseq
, u32 rseq_len
, int flags
, u32 sig
),
1198 TP_ARGS(sc_exit(ret
,) rseq
, rseq_len
, flags
, sig
),
1199 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
)))
1202 #ifndef OVERRIDE_64_pidfd_send_signal
1203 SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal
,
1204 TP_PROTO(sc_exit(long ret
,) int pidfd
, int sig
, siginfo_t
* info
, unsigned int flags
),
1205 TP_ARGS(sc_exit(ret
,) pidfd
, sig
, info
, flags
),
1206 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
)))
1209 #ifndef OVERRIDE_64_io_uring_register
1210 SC_LTTNG_TRACEPOINT_EVENT(io_uring_register
,
1211 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int opcode
, void * arg
, unsigned int nr_args
),
1212 TP_ARGS(sc_exit(ret
,) fd
, opcode
, arg
, nr_args
),
1213 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
)))
1216 #ifndef OVERRIDE_64_openat2
1217 SC_LTTNG_TRACEPOINT_EVENT(openat2
,
1218 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct open_how
* how
, size_t usize
),
1219 TP_ARGS(sc_exit(ret
,) dfd
, filename
, how
, usize
),
1220 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
)))
1223 #ifndef OVERRIDE_64_faccessat2
1224 SC_LTTNG_TRACEPOINT_EVENT(faccessat2
,
1225 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
, int flags
),
1226 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, flags
),
1227 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
)))
1230 #ifndef OVERRIDE_64_quotactl_fd
1231 SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd
,
1232 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, qid_t id
, void * addr
),
1233 TP_ARGS(sc_exit(ret
,) fd
, cmd
, id
, addr
),
1234 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
)))
1237 #ifndef OVERRIDE_64_select
1238 SC_LTTNG_TRACEPOINT_EVENT(select
,
1239 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_old_timeval
* tvp
),
1240 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tvp
),
1241 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
)))
1244 #ifndef OVERRIDE_64_setsockopt
1245 SC_LTTNG_TRACEPOINT_EVENT(setsockopt
,
1246 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int optlen
),
1247 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1248 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
)))
1251 #ifndef OVERRIDE_64_getsockopt
1252 SC_LTTNG_TRACEPOINT_EVENT(getsockopt
,
1253 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int * optlen
),
1254 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1255 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
)))
1258 #ifndef OVERRIDE_64_clone
1259 SC_LTTNG_TRACEPOINT_EVENT(clone
,
1260 TP_PROTO(sc_exit(long ret
,) unsigned long clone_flags
, unsigned long newsp
, int * parent_tidptr
, int * child_tidptr
, unsigned long tls
),
1261 TP_ARGS(sc_exit(ret
,) clone_flags
, newsp
, parent_tidptr
, child_tidptr
, tls
),
1262 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
)))
1265 #ifndef OVERRIDE_64_msgrcv
1266 SC_LTTNG_TRACEPOINT_EVENT(msgrcv
,
1267 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, long msgtyp
, int msgflg
),
1268 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgtyp
, msgflg
),
1269 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
)))
1272 #ifndef OVERRIDE_64_mount
1273 SC_LTTNG_TRACEPOINT_EVENT(mount
,
1274 TP_PROTO(sc_exit(long ret
,) char * dev_name
, char * dir_name
, char * type
, unsigned long flags
, void * data
),
1275 TP_ARGS(sc_exit(ret
,) dev_name
, dir_name
, type
, flags
, data
),
1276 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
)))
1279 #ifndef OVERRIDE_64_setxattr
1280 SC_LTTNG_TRACEPOINT_EVENT(setxattr
,
1281 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1282 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1283 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
)))
1286 #ifndef OVERRIDE_64_lsetxattr
1287 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr
,
1288 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1289 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1290 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
)))
1293 #ifndef OVERRIDE_64_fsetxattr
1294 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr
,
1295 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, const void * value
, size_t size
, int flags
),
1296 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
, flags
),
1297 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
)))
1300 #ifndef OVERRIDE_64_io_getevents
1301 SC_LTTNG_TRACEPOINT_EVENT(io_getevents
,
1302 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct __kernel_timespec
* timeout
),
1303 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
),
1304 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
)))
1307 #ifndef OVERRIDE_64_get_mempolicy
1308 SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy
,
1309 TP_PROTO(sc_exit(long ret
,) int * policy
, unsigned long * nmask
, unsigned long maxnode
, unsigned long addr
, unsigned long flags
),
1310 TP_ARGS(sc_exit(ret
,) policy
, nmask
, maxnode
, addr
, flags
),
1311 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
)))
1314 #ifndef OVERRIDE_64_mq_timedsend
1315 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend
,
1316 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
),
1317 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1318 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
)))
1321 #ifndef OVERRIDE_64_mq_timedreceive
1322 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive
,
1323 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
),
1324 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1325 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
)))
1328 #ifndef OVERRIDE_64_waitid
1329 SC_LTTNG_TRACEPOINT_EVENT(waitid
,
1330 TP_PROTO(sc_exit(long ret
,) int which
, pid_t upid
, struct siginfo
* infop
, int options
, struct rusage
* ru
),
1331 TP_ARGS(sc_exit(ret
,) which
, upid
, infop
, options
, ru
),
1332 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
)))
1335 #ifndef OVERRIDE_64_add_key
1336 SC_LTTNG_TRACEPOINT_EVENT(add_key
,
1337 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const void * _payload
, size_t plen
, key_serial_t ringid
),
1338 TP_ARGS(sc_exit(ret
,) _type
, _description
, _payload
, plen
, ringid
),
1339 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
)))
1342 #ifndef OVERRIDE_64_fchownat
1343 SC_LTTNG_TRACEPOINT_EVENT(fchownat
,
1344 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, uid_t user
, gid_t group
, int flag
),
1345 TP_ARGS(sc_exit(ret
,) dfd
, filename
, user
, group
, flag
),
1346 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
)))
1349 #ifndef OVERRIDE_64_linkat
1350 SC_LTTNG_TRACEPOINT_EVENT(linkat
,
1351 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, int flags
),
1352 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1353 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
)))
1356 #ifndef OVERRIDE_64_ppoll
1357 SC_LTTNG_TRACEPOINT_EVENT(ppoll
,
1358 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct __kernel_timespec
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1359 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1360 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
)))
1363 #ifndef OVERRIDE_64_preadv
1364 SC_LTTNG_TRACEPOINT_EVENT(preadv
,
1365 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1366 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1367 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
)))
1370 #ifndef OVERRIDE_64_pwritev
1371 SC_LTTNG_TRACEPOINT_EVENT(pwritev
,
1372 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1373 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1374 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
)))
1377 #ifndef OVERRIDE_64_perf_event_open
1378 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open
,
1379 TP_PROTO(sc_exit(long ret
,) struct perf_event_attr
* attr_uptr
, pid_t pid
, int cpu
, int group_fd
, unsigned long flags
),
1380 TP_ARGS(sc_exit(ret
,) attr_uptr
, pid
, cpu
, group_fd
, flags
),
1381 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
)))
1384 #ifndef OVERRIDE_64_recvmmsg
1385 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg
,
1386 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct __kernel_timespec
* timeout
),
1387 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1388 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
)))
1391 #ifndef OVERRIDE_64_fanotify_mark
1392 SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark
,
1393 TP_PROTO(sc_exit(long ret
,) int fanotify_fd
, unsigned int flags
, __u64 mask
, int dfd
, const char * pathname
),
1394 TP_ARGS(sc_exit(ret
,) fanotify_fd
, flags
, mask
, dfd
, pathname
),
1395 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
)))
1398 #ifndef OVERRIDE_64_name_to_handle_at
1399 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at
,
1400 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * name
, struct file_handle
* handle
, int * mnt_id
, int flag
),
1401 TP_ARGS(sc_exit(ret
,) dfd
, name
, handle
, mnt_id
, flag
),
1402 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
)))
1405 #ifndef OVERRIDE_64_renameat2
1406 SC_LTTNG_TRACEPOINT_EVENT(renameat2
,
1407 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, unsigned int flags
),
1408 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1409 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
)))
1412 #ifndef OVERRIDE_64_kexec_file_load
1413 SC_LTTNG_TRACEPOINT_EVENT(kexec_file_load
,
1414 TP_PROTO(sc_exit(long ret
,) int kernel_fd
, int initrd_fd
, unsigned long cmdline_len
, const char * cmdline_ptr
, unsigned long flags
),
1415 TP_ARGS(sc_exit(ret
,) kernel_fd
, initrd_fd
, cmdline_len
, cmdline_ptr
, flags
),
1416 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
)))
1419 #ifndef OVERRIDE_64_execveat
1420 SC_LTTNG_TRACEPOINT_EVENT(execveat
,
1421 TP_PROTO(sc_exit(long ret
,) int fd
, const char * filename
, const char *const * argv
, const char *const * envp
, int flags
),
1422 TP_ARGS(sc_exit(ret
,) fd
, filename
, argv
, envp
, flags
),
1423 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
)))
1426 #ifndef OVERRIDE_64_statx
1427 SC_LTTNG_TRACEPOINT_EVENT(statx
,
1428 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
, unsigned int mask
, struct statx
* buffer
),
1429 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mask
, buffer
),
1430 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
)))
1433 #ifndef OVERRIDE_64_move_mount
1434 SC_LTTNG_TRACEPOINT_EVENT(move_mount
,
1435 TP_PROTO(sc_exit(long ret
,) int from_dfd
, const char * from_pathname
, int to_dfd
, const char * to_pathname
, unsigned int flags
),
1436 TP_ARGS(sc_exit(ret
,) from_dfd
, from_pathname
, to_dfd
, to_pathname
, flags
),
1437 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
)))
1440 #ifndef OVERRIDE_64_fsconfig
1441 SC_LTTNG_TRACEPOINT_EVENT(fsconfig
,
1442 TP_PROTO(sc_exit(long ret
,) int fd
, unsigned int cmd
, const char * _key
, const void * _value
, int aux
),
1443 TP_ARGS(sc_exit(ret
,) fd
, cmd
, _key
, _value
, aux
),
1444 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
)))
1447 #ifndef OVERRIDE_64_process_madvise
1448 SC_LTTNG_TRACEPOINT_EVENT(process_madvise
,
1449 TP_PROTO(sc_exit(long ret
,) int pidfd
, const struct iovec
* vec
, size_t vlen
, int behavior
, unsigned int flags
),
1450 TP_ARGS(sc_exit(ret
,) pidfd
, vec
, vlen
, behavior
, flags
),
1451 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
)))
1454 #ifndef OVERRIDE_64_mount_setattr
1455 SC_LTTNG_TRACEPOINT_EVENT(mount_setattr
,
1456 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
, struct mount_attr
* uattr
, size_t usize
),
1457 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
, uattr
, usize
),
1458 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
)))
1461 #ifndef OVERRIDE_64_futex_waitv
1462 SC_LTTNG_TRACEPOINT_EVENT(futex_waitv
,
1463 TP_PROTO(sc_exit(long ret
,) struct futex_waitv
* waiters
, unsigned int nr_futexes
, unsigned int flags
, struct __kernel_timespec
* timeout
, clockid_t clockid
),
1464 TP_ARGS(sc_exit(ret
,) waiters
, nr_futexes
, flags
, timeout
, clockid
),
1465 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
)))
1468 #ifndef OVERRIDE_64_sendto
1469 SC_LTTNG_TRACEPOINT_EVENT(sendto
,
1470 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned int flags
, struct sockaddr
* addr
, int addr_len
),
1471 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
, addr
, addr_len
),
1472 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
)))
1475 #ifndef OVERRIDE_64_recvfrom
1476 SC_LTTNG_TRACEPOINT_EVENT(recvfrom
,
1477 TP_PROTO(sc_exit(long ret
,) int fd
, void * ubuf
, size_t size
, unsigned int flags
, struct sockaddr
* addr
, int * addr_len
),
1478 TP_ARGS(sc_exit(ret
,) fd
, ubuf
, size
, flags
, addr
, addr_len
),
1479 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
)))
1482 #ifndef OVERRIDE_64_futex
1483 SC_LTTNG_TRACEPOINT_EVENT(futex
,
1484 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, const struct __kernel_timespec
* utime
, u32
* uaddr2
, u32 val3
),
1485 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1486 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
)))
1489 #ifndef OVERRIDE_64_mbind
1490 SC_LTTNG_TRACEPOINT_EVENT(mbind
,
1491 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
),
1492 TP_ARGS(sc_exit(ret
,) start
, len
, mode
, nmask
, maxnode
, flags
),
1493 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
)))
1496 #ifndef OVERRIDE_64_pselect6
1497 SC_LTTNG_TRACEPOINT_EVENT(pselect6
,
1498 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_timespec
* tsp
, void * sig
),
1499 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1500 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
)))
1503 #ifndef OVERRIDE_64_splice
1504 SC_LTTNG_TRACEPOINT_EVENT(splice
,
1505 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
),
1506 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1507 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
)))
1510 #ifndef OVERRIDE_64_move_pages
1511 SC_LTTNG_TRACEPOINT_EVENT(move_pages
,
1512 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned long nr_pages
, const void * * pages
, const int * nodes
, int * status
, int flags
),
1513 TP_ARGS(sc_exit(ret
,) pid
, nr_pages
, pages
, nodes
, status
, flags
),
1514 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
)))
1517 #ifndef OVERRIDE_64_epoll_pwait
1518 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait
,
1519 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1520 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1521 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
)))
1524 #ifndef OVERRIDE_64_process_vm_readv
1525 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv
,
1526 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
),
1527 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1528 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
)))
1531 #ifndef OVERRIDE_64_process_vm_writev
1532 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev
,
1533 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
),
1534 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1535 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
)))
1538 #ifndef OVERRIDE_64_copy_file_range
1539 SC_LTTNG_TRACEPOINT_EVENT(copy_file_range
,
1540 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
),
1541 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1542 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
)))
1545 #ifndef OVERRIDE_64_preadv2
1546 SC_LTTNG_TRACEPOINT_EVENT(preadv2
,
1547 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
),
1548 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1549 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
)))
1552 #ifndef OVERRIDE_64_pwritev2
1553 SC_LTTNG_TRACEPOINT_EVENT(pwritev2
,
1554 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
),
1555 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1556 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
)))
1559 #ifndef OVERRIDE_64_io_pgetevents
1560 SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents
,
1561 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
),
1562 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
, usig
),
1563 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
)))
1566 #ifndef OVERRIDE_64_io_uring_enter
1567 SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter
,
1568 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, u32 to_submit
, u32 min_complete
, u32 flags
, const void * argp
, size_t argsz
),
1569 TP_ARGS(sc_exit(ret
,) fd
, to_submit
, min_complete
, flags
, argp
, argsz
),
1570 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
)))
1573 #ifndef OVERRIDE_64_epoll_pwait2
1574 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2
,
1575 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
),
1576 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1577 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
)))
1581 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1583 /* This part must be outside protection */
1584 #include <lttng/define_trace.h>
1586 #else /* CREATE_SYSCALL_TABLE */
1588 #include "x86-64-syscalls_pointers_override.h"
1589 #include "syscalls_pointers_override.h"
1591 #ifndef OVERRIDE_TABLE_64_read
1592 TRACE_SYSCALL_TABLE(read
, read
, 0, 3)
1594 #ifndef OVERRIDE_TABLE_64_write
1595 TRACE_SYSCALL_TABLE(write
, write
, 1, 3)
1597 #ifndef OVERRIDE_TABLE_64_open
1598 TRACE_SYSCALL_TABLE(open
, open
, 2, 3)
1600 #ifndef OVERRIDE_TABLE_64_newstat
1601 TRACE_SYSCALL_TABLE(newstat
, newstat
, 4, 2)
1603 #ifndef OVERRIDE_TABLE_64_newfstat
1604 TRACE_SYSCALL_TABLE(newfstat
, newfstat
, 5, 2)
1606 #ifndef OVERRIDE_TABLE_64_newlstat
1607 TRACE_SYSCALL_TABLE(newlstat
, newlstat
, 6, 2)
1609 #ifndef OVERRIDE_TABLE_64_poll
1610 TRACE_SYSCALL_TABLE(poll
, poll
, 7, 3)
1612 #ifndef OVERRIDE_TABLE_64_rt_sigaction
1613 TRACE_SYSCALL_TABLE(rt_sigaction
, rt_sigaction
, 13, 4)
1615 #ifndef OVERRIDE_TABLE_64_rt_sigprocmask
1616 TRACE_SYSCALL_TABLE(rt_sigprocmask
, rt_sigprocmask
, 14, 4)
1618 #ifndef OVERRIDE_TABLE_64_pread64
1619 TRACE_SYSCALL_TABLE(pread64
, pread64
, 17, 4)
1621 #ifndef OVERRIDE_TABLE_64_pwrite64
1622 TRACE_SYSCALL_TABLE(pwrite64
, pwrite64
, 18, 4)
1624 #ifndef OVERRIDE_TABLE_64_readv
1625 TRACE_SYSCALL_TABLE(readv
, readv
, 19, 3)
1627 #ifndef OVERRIDE_TABLE_64_writev
1628 TRACE_SYSCALL_TABLE(writev
, writev
, 20, 3)
1630 #ifndef OVERRIDE_TABLE_64_access
1631 TRACE_SYSCALL_TABLE(access
, access
, 21, 2)
1633 #ifndef OVERRIDE_TABLE_64_pipe
1634 TRACE_SYSCALL_TABLE(pipe
, pipe
, 22, 1)
1636 #ifndef OVERRIDE_TABLE_64_select
1637 TRACE_SYSCALL_TABLE(select
, select
, 23, 5)
1639 #ifndef OVERRIDE_TABLE_64_mincore
1640 TRACE_SYSCALL_TABLE(mincore
, mincore
, 27, 3)
1642 #ifndef OVERRIDE_TABLE_64_shmat
1643 TRACE_SYSCALL_TABLE(shmat
, shmat
, 30, 3)
1645 #ifndef OVERRIDE_TABLE_64_shmctl
1646 TRACE_SYSCALL_TABLE(shmctl
, shmctl
, 31, 3)
1648 #ifndef OVERRIDE_TABLE_64_nanosleep
1649 TRACE_SYSCALL_TABLE(nanosleep
, nanosleep
, 35, 2)
1651 #ifndef OVERRIDE_TABLE_64_getitimer
1652 TRACE_SYSCALL_TABLE(getitimer
, getitimer
, 36, 2)
1654 #ifndef OVERRIDE_TABLE_64_setitimer
1655 TRACE_SYSCALL_TABLE(setitimer
, setitimer
, 38, 3)
1657 #ifndef OVERRIDE_TABLE_64_sendfile64
1658 TRACE_SYSCALL_TABLE(sendfile64
, sendfile64
, 40, 4)
1660 #ifndef OVERRIDE_TABLE_64_connect
1661 TRACE_SYSCALL_TABLE(connect
, connect
, 42, 3)
1663 #ifndef OVERRIDE_TABLE_64_accept
1664 TRACE_SYSCALL_TABLE(accept
, accept
, 43, 3)
1666 #ifndef OVERRIDE_TABLE_64_sendto
1667 TRACE_SYSCALL_TABLE(sendto
, sendto
, 44, 6)
1669 #ifndef OVERRIDE_TABLE_64_recvfrom
1670 TRACE_SYSCALL_TABLE(recvfrom
, recvfrom
, 45, 6)
1672 #ifndef OVERRIDE_TABLE_64_sendmsg
1673 TRACE_SYSCALL_TABLE(sendmsg
, sendmsg
, 46, 3)
1675 #ifndef OVERRIDE_TABLE_64_recvmsg
1676 TRACE_SYSCALL_TABLE(recvmsg
, recvmsg
, 47, 3)
1678 #ifndef OVERRIDE_TABLE_64_bind
1679 TRACE_SYSCALL_TABLE(bind
, bind
, 49, 3)
1681 #ifndef OVERRIDE_TABLE_64_getsockname
1682 TRACE_SYSCALL_TABLE(getsockname
, getsockname
, 51, 3)
1684 #ifndef OVERRIDE_TABLE_64_getpeername
1685 TRACE_SYSCALL_TABLE(getpeername
, getpeername
, 52, 3)
1687 #ifndef OVERRIDE_TABLE_64_socketpair
1688 TRACE_SYSCALL_TABLE(socketpair
, socketpair
, 53, 4)
1690 #ifndef OVERRIDE_TABLE_64_setsockopt
1691 TRACE_SYSCALL_TABLE(setsockopt
, setsockopt
, 54, 5)
1693 #ifndef OVERRIDE_TABLE_64_getsockopt
1694 TRACE_SYSCALL_TABLE(getsockopt
, getsockopt
, 55, 5)
1696 #ifndef OVERRIDE_TABLE_64_clone
1697 TRACE_SYSCALL_TABLE(clone
, clone
, 56, 5)
1699 #ifndef OVERRIDE_TABLE_64_execve
1700 TRACE_SYSCALL_TABLE(execve
, execve
, 59, 3)
1702 #ifndef OVERRIDE_TABLE_64_wait4
1703 TRACE_SYSCALL_TABLE(wait4
, wait4
, 61, 4)
1705 #ifndef OVERRIDE_TABLE_64_newuname
1706 TRACE_SYSCALL_TABLE(newuname
, newuname
, 63, 1)
1708 #ifndef OVERRIDE_TABLE_64_semop
1709 TRACE_SYSCALL_TABLE(semop
, semop
, 65, 3)
1711 #ifndef OVERRIDE_TABLE_64_shmdt
1712 TRACE_SYSCALL_TABLE(shmdt
, shmdt
, 67, 1)
1714 #ifndef OVERRIDE_TABLE_64_msgsnd
1715 TRACE_SYSCALL_TABLE(msgsnd
, msgsnd
, 69, 4)
1717 #ifndef OVERRIDE_TABLE_64_msgrcv
1718 TRACE_SYSCALL_TABLE(msgrcv
, msgrcv
, 70, 5)
1720 #ifndef OVERRIDE_TABLE_64_msgctl
1721 TRACE_SYSCALL_TABLE(msgctl
, msgctl
, 71, 3)
1723 #ifndef OVERRIDE_TABLE_64_truncate
1724 TRACE_SYSCALL_TABLE(truncate
, truncate
, 76, 2)
1726 #ifndef OVERRIDE_TABLE_64_getdents
1727 TRACE_SYSCALL_TABLE(getdents
, getdents
, 78, 3)
1729 #ifndef OVERRIDE_TABLE_64_getcwd
1730 TRACE_SYSCALL_TABLE(getcwd
, getcwd
, 79, 2)
1732 #ifndef OVERRIDE_TABLE_64_chdir
1733 TRACE_SYSCALL_TABLE(chdir
, chdir
, 80, 1)
1735 #ifndef OVERRIDE_TABLE_64_rename
1736 TRACE_SYSCALL_TABLE(rename
, rename
, 82, 2)
1738 #ifndef OVERRIDE_TABLE_64_mkdir
1739 TRACE_SYSCALL_TABLE(mkdir
, mkdir
, 83, 2)
1741 #ifndef OVERRIDE_TABLE_64_rmdir
1742 TRACE_SYSCALL_TABLE(rmdir
, rmdir
, 84, 1)
1744 #ifndef OVERRIDE_TABLE_64_creat
1745 TRACE_SYSCALL_TABLE(creat
, creat
, 85, 2)
1747 #ifndef OVERRIDE_TABLE_64_link
1748 TRACE_SYSCALL_TABLE(link
, link
, 86, 2)
1750 #ifndef OVERRIDE_TABLE_64_unlink
1751 TRACE_SYSCALL_TABLE(unlink
, unlink
, 87, 1)
1753 #ifndef OVERRIDE_TABLE_64_symlink
1754 TRACE_SYSCALL_TABLE(symlink
, symlink
, 88, 2)
1756 #ifndef OVERRIDE_TABLE_64_readlink
1757 TRACE_SYSCALL_TABLE(readlink
, readlink
, 89, 3)
1759 #ifndef OVERRIDE_TABLE_64_chmod
1760 TRACE_SYSCALL_TABLE(chmod
, chmod
, 90, 2)
1762 #ifndef OVERRIDE_TABLE_64_chown
1763 TRACE_SYSCALL_TABLE(chown
, chown
, 92, 3)
1765 #ifndef OVERRIDE_TABLE_64_lchown
1766 TRACE_SYSCALL_TABLE(lchown
, lchown
, 94, 3)
1768 #ifndef OVERRIDE_TABLE_64_gettimeofday
1769 TRACE_SYSCALL_TABLE(gettimeofday
, gettimeofday
, 96, 2)
1771 #ifndef OVERRIDE_TABLE_64_getrlimit
1772 TRACE_SYSCALL_TABLE(getrlimit
, getrlimit
, 97, 2)
1774 #ifndef OVERRIDE_TABLE_64_getrusage
1775 TRACE_SYSCALL_TABLE(getrusage
, getrusage
, 98, 2)
1777 #ifndef OVERRIDE_TABLE_64_sysinfo
1778 TRACE_SYSCALL_TABLE(sysinfo
, sysinfo
, 99, 1)
1780 #ifndef OVERRIDE_TABLE_64_times
1781 TRACE_SYSCALL_TABLE(times
, times
, 100, 1)
1783 #ifndef OVERRIDE_TABLE_64_syslog
1784 TRACE_SYSCALL_TABLE(syslog
, syslog
, 103, 3)
1786 #ifndef OVERRIDE_TABLE_64_getgroups
1787 TRACE_SYSCALL_TABLE(getgroups
, getgroups
, 115, 2)
1789 #ifndef OVERRIDE_TABLE_64_setgroups
1790 TRACE_SYSCALL_TABLE(setgroups
, setgroups
, 116, 2)
1792 #ifndef OVERRIDE_TABLE_64_getresuid
1793 TRACE_SYSCALL_TABLE(getresuid
, getresuid
, 118, 3)
1795 #ifndef OVERRIDE_TABLE_64_getresgid
1796 TRACE_SYSCALL_TABLE(getresgid
, getresgid
, 120, 3)
1798 #ifndef OVERRIDE_TABLE_64_rt_sigpending
1799 TRACE_SYSCALL_TABLE(rt_sigpending
, rt_sigpending
, 127, 2)
1801 #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait
1802 TRACE_SYSCALL_TABLE(rt_sigtimedwait
, rt_sigtimedwait
, 128, 4)
1804 #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo
1805 TRACE_SYSCALL_TABLE(rt_sigqueueinfo
, rt_sigqueueinfo
, 129, 3)
1807 #ifndef OVERRIDE_TABLE_64_rt_sigsuspend
1808 TRACE_SYSCALL_TABLE(rt_sigsuspend
, rt_sigsuspend
, 130, 2)
1810 #ifndef OVERRIDE_TABLE_64_sigaltstack
1811 TRACE_SYSCALL_TABLE(sigaltstack
, sigaltstack
, 131, 2)
1813 #ifndef OVERRIDE_TABLE_64_utime
1814 TRACE_SYSCALL_TABLE(utime
, utime
, 132, 2)
1816 #ifndef OVERRIDE_TABLE_64_mknod
1817 TRACE_SYSCALL_TABLE(mknod
, mknod
, 133, 3)
1819 #ifndef OVERRIDE_TABLE_64_ustat
1820 TRACE_SYSCALL_TABLE(ustat
, ustat
, 136, 2)
1822 #ifndef OVERRIDE_TABLE_64_statfs
1823 TRACE_SYSCALL_TABLE(statfs
, statfs
, 137, 2)
1825 #ifndef OVERRIDE_TABLE_64_fstatfs
1826 TRACE_SYSCALL_TABLE(fstatfs
, fstatfs
, 138, 2)
1828 #ifndef OVERRIDE_TABLE_64_sched_setparam
1829 TRACE_SYSCALL_TABLE(sched_setparam
, sched_setparam
, 142, 2)
1831 #ifndef OVERRIDE_TABLE_64_sched_getparam
1832 TRACE_SYSCALL_TABLE(sched_getparam
, sched_getparam
, 143, 2)
1834 #ifndef OVERRIDE_TABLE_64_sched_setscheduler
1835 TRACE_SYSCALL_TABLE(sched_setscheduler
, sched_setscheduler
, 144, 3)
1837 #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval
1838 TRACE_SYSCALL_TABLE(sched_rr_get_interval
, sched_rr_get_interval
, 148, 2)
1840 #ifndef OVERRIDE_TABLE_64_modify_ldt
1841 TRACE_SYSCALL_TABLE(modify_ldt
, modify_ldt
, 154, 3)
1843 #ifndef OVERRIDE_TABLE_64_pivot_root
1844 TRACE_SYSCALL_TABLE(pivot_root
, pivot_root
, 155, 2)
1846 #ifndef OVERRIDE_TABLE_64_adjtimex
1847 TRACE_SYSCALL_TABLE(adjtimex
, adjtimex
, 159, 1)
1849 #ifndef OVERRIDE_TABLE_64_setrlimit
1850 TRACE_SYSCALL_TABLE(setrlimit
, setrlimit
, 160, 2)
1852 #ifndef OVERRIDE_TABLE_64_chroot
1853 TRACE_SYSCALL_TABLE(chroot
, chroot
, 161, 1)
1855 #ifndef OVERRIDE_TABLE_64_acct
1856 TRACE_SYSCALL_TABLE(acct
, acct
, 163, 1)
1858 #ifndef OVERRIDE_TABLE_64_settimeofday
1859 TRACE_SYSCALL_TABLE(settimeofday
, settimeofday
, 164, 2)
1861 #ifndef OVERRIDE_TABLE_64_mount
1862 TRACE_SYSCALL_TABLE(mount
, mount
, 165, 5)
1864 #ifndef OVERRIDE_TABLE_64_umount
1865 TRACE_SYSCALL_TABLE(umount
, umount
, 166, 2)
1867 #ifndef OVERRIDE_TABLE_64_swapon
1868 TRACE_SYSCALL_TABLE(swapon
, swapon
, 167, 2)
1870 #ifndef OVERRIDE_TABLE_64_swapoff
1871 TRACE_SYSCALL_TABLE(swapoff
, swapoff
, 168, 1)
1873 #ifndef OVERRIDE_TABLE_64_reboot
1874 TRACE_SYSCALL_TABLE(reboot
, reboot
, 169, 4)
1876 #ifndef OVERRIDE_TABLE_64_sethostname
1877 TRACE_SYSCALL_TABLE(sethostname
, sethostname
, 170, 2)
1879 #ifndef OVERRIDE_TABLE_64_setdomainname
1880 TRACE_SYSCALL_TABLE(setdomainname
, setdomainname
, 171, 2)
1882 #ifndef OVERRIDE_TABLE_64_init_module
1883 TRACE_SYSCALL_TABLE(init_module
, init_module
, 175, 3)
1885 #ifndef OVERRIDE_TABLE_64_delete_module
1886 TRACE_SYSCALL_TABLE(delete_module
, delete_module
, 176, 2)
1888 #ifndef OVERRIDE_TABLE_64_quotactl
1889 TRACE_SYSCALL_TABLE(quotactl
, quotactl
, 179, 4)
1891 #ifndef OVERRIDE_TABLE_64_setxattr
1892 TRACE_SYSCALL_TABLE(setxattr
, setxattr
, 188, 5)
1894 #ifndef OVERRIDE_TABLE_64_lsetxattr
1895 TRACE_SYSCALL_TABLE(lsetxattr
, lsetxattr
, 189, 5)
1897 #ifndef OVERRIDE_TABLE_64_fsetxattr
1898 TRACE_SYSCALL_TABLE(fsetxattr
, fsetxattr
, 190, 5)
1900 #ifndef OVERRIDE_TABLE_64_getxattr
1901 TRACE_SYSCALL_TABLE(getxattr
, getxattr
, 191, 4)
1903 #ifndef OVERRIDE_TABLE_64_lgetxattr
1904 TRACE_SYSCALL_TABLE(lgetxattr
, lgetxattr
, 192, 4)
1906 #ifndef OVERRIDE_TABLE_64_fgetxattr
1907 TRACE_SYSCALL_TABLE(fgetxattr
, fgetxattr
, 193, 4)
1909 #ifndef OVERRIDE_TABLE_64_listxattr
1910 TRACE_SYSCALL_TABLE(listxattr
, listxattr
, 194, 3)
1912 #ifndef OVERRIDE_TABLE_64_llistxattr
1913 TRACE_SYSCALL_TABLE(llistxattr
, llistxattr
, 195, 3)
1915 #ifndef OVERRIDE_TABLE_64_flistxattr
1916 TRACE_SYSCALL_TABLE(flistxattr
, flistxattr
, 196, 3)
1918 #ifndef OVERRIDE_TABLE_64_removexattr
1919 TRACE_SYSCALL_TABLE(removexattr
, removexattr
, 197, 2)
1921 #ifndef OVERRIDE_TABLE_64_lremovexattr
1922 TRACE_SYSCALL_TABLE(lremovexattr
, lremovexattr
, 198, 2)
1924 #ifndef OVERRIDE_TABLE_64_fremovexattr
1925 TRACE_SYSCALL_TABLE(fremovexattr
, fremovexattr
, 199, 2)
1927 #ifndef OVERRIDE_TABLE_64_time
1928 TRACE_SYSCALL_TABLE(time
, time
, 201, 1)
1930 #ifndef OVERRIDE_TABLE_64_futex
1931 TRACE_SYSCALL_TABLE(futex
, futex
, 202, 6)
1933 #ifndef OVERRIDE_TABLE_64_sched_setaffinity
1934 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 203, 3)
1936 #ifndef OVERRIDE_TABLE_64_sched_getaffinity
1937 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 204, 3)
1939 #ifndef OVERRIDE_TABLE_64_io_setup
1940 TRACE_SYSCALL_TABLE(io_setup
, io_setup
, 206, 2)
1942 #ifndef OVERRIDE_TABLE_64_io_getevents
1943 TRACE_SYSCALL_TABLE(io_getevents
, io_getevents
, 208, 5)
1945 #ifndef OVERRIDE_TABLE_64_io_submit
1946 TRACE_SYSCALL_TABLE(io_submit
, io_submit
, 209, 3)
1948 #ifndef OVERRIDE_TABLE_64_io_cancel
1949 TRACE_SYSCALL_TABLE(io_cancel
, io_cancel
, 210, 3)
1951 #ifndef OVERRIDE_TABLE_64_getdents64
1952 TRACE_SYSCALL_TABLE(getdents64
, getdents64
, 217, 3)
1954 #ifndef OVERRIDE_TABLE_64_set_tid_address
1955 TRACE_SYSCALL_TABLE(set_tid_address
, set_tid_address
, 218, 1)
1957 #ifndef OVERRIDE_TABLE_64_semtimedop
1958 TRACE_SYSCALL_TABLE(semtimedop
, semtimedop
, 220, 4)
1960 #ifndef OVERRIDE_TABLE_64_timer_create
1961 TRACE_SYSCALL_TABLE(timer_create
, timer_create
, 222, 3)
1963 #ifndef OVERRIDE_TABLE_64_timer_settime
1964 TRACE_SYSCALL_TABLE(timer_settime
, timer_settime
, 223, 4)
1966 #ifndef OVERRIDE_TABLE_64_timer_gettime
1967 TRACE_SYSCALL_TABLE(timer_gettime
, timer_gettime
, 224, 2)
1969 #ifndef OVERRIDE_TABLE_64_clock_settime
1970 TRACE_SYSCALL_TABLE(clock_settime
, clock_settime
, 227, 2)
1972 #ifndef OVERRIDE_TABLE_64_clock_gettime
1973 TRACE_SYSCALL_TABLE(clock_gettime
, clock_gettime
, 228, 2)
1975 #ifndef OVERRIDE_TABLE_64_clock_getres
1976 TRACE_SYSCALL_TABLE(clock_getres
, clock_getres
, 229, 2)
1978 #ifndef OVERRIDE_TABLE_64_clock_nanosleep
1979 TRACE_SYSCALL_TABLE(clock_nanosleep
, clock_nanosleep
, 230, 4)
1981 #ifndef OVERRIDE_TABLE_64_epoll_wait
1982 TRACE_SYSCALL_TABLE(epoll_wait
, epoll_wait
, 232, 4)
1984 #ifndef OVERRIDE_TABLE_64_epoll_ctl
1985 TRACE_SYSCALL_TABLE(epoll_ctl
, epoll_ctl
, 233, 4)
1987 #ifndef OVERRIDE_TABLE_64_utimes
1988 TRACE_SYSCALL_TABLE(utimes
, utimes
, 235, 2)
1990 #ifndef OVERRIDE_TABLE_64_mbind
1991 TRACE_SYSCALL_TABLE(mbind
, mbind
, 237, 6)
1993 #ifndef OVERRIDE_TABLE_64_set_mempolicy
1994 TRACE_SYSCALL_TABLE(set_mempolicy
, set_mempolicy
, 238, 3)
1996 #ifndef OVERRIDE_TABLE_64_get_mempolicy
1997 TRACE_SYSCALL_TABLE(get_mempolicy
, get_mempolicy
, 239, 5)
1999 #ifndef OVERRIDE_TABLE_64_mq_open
2000 TRACE_SYSCALL_TABLE(mq_open
, mq_open
, 240, 4)
2002 #ifndef OVERRIDE_TABLE_64_mq_unlink
2003 TRACE_SYSCALL_TABLE(mq_unlink
, mq_unlink
, 241, 1)
2005 #ifndef OVERRIDE_TABLE_64_mq_timedsend
2006 TRACE_SYSCALL_TABLE(mq_timedsend
, mq_timedsend
, 242, 5)
2008 #ifndef OVERRIDE_TABLE_64_mq_timedreceive
2009 TRACE_SYSCALL_TABLE(mq_timedreceive
, mq_timedreceive
, 243, 5)
2011 #ifndef OVERRIDE_TABLE_64_mq_notify
2012 TRACE_SYSCALL_TABLE(mq_notify
, mq_notify
, 244, 2)
2014 #ifndef OVERRIDE_TABLE_64_mq_getsetattr
2015 TRACE_SYSCALL_TABLE(mq_getsetattr
, mq_getsetattr
, 245, 3)
2017 #ifndef OVERRIDE_TABLE_64_kexec_load
2018 TRACE_SYSCALL_TABLE(kexec_load
, kexec_load
, 246, 4)
2020 #ifndef OVERRIDE_TABLE_64_waitid
2021 TRACE_SYSCALL_TABLE(waitid
, waitid
, 247, 5)
2023 #ifndef OVERRIDE_TABLE_64_add_key
2024 TRACE_SYSCALL_TABLE(add_key
, add_key
, 248, 5)
2026 #ifndef OVERRIDE_TABLE_64_request_key
2027 TRACE_SYSCALL_TABLE(request_key
, request_key
, 249, 4)
2029 #ifndef OVERRIDE_TABLE_64_inotify_add_watch
2030 TRACE_SYSCALL_TABLE(inotify_add_watch
, inotify_add_watch
, 254, 3)
2032 #ifndef OVERRIDE_TABLE_64_migrate_pages
2033 TRACE_SYSCALL_TABLE(migrate_pages
, migrate_pages
, 256, 4)
2035 #ifndef OVERRIDE_TABLE_64_openat
2036 TRACE_SYSCALL_TABLE(openat
, openat
, 257, 4)
2038 #ifndef OVERRIDE_TABLE_64_mkdirat
2039 TRACE_SYSCALL_TABLE(mkdirat
, mkdirat
, 258, 3)
2041 #ifndef OVERRIDE_TABLE_64_mknodat
2042 TRACE_SYSCALL_TABLE(mknodat
, mknodat
, 259, 4)
2044 #ifndef OVERRIDE_TABLE_64_fchownat
2045 TRACE_SYSCALL_TABLE(fchownat
, fchownat
, 260, 5)
2047 #ifndef OVERRIDE_TABLE_64_futimesat
2048 TRACE_SYSCALL_TABLE(futimesat
, futimesat
, 261, 3)
2050 #ifndef OVERRIDE_TABLE_64_newfstatat
2051 TRACE_SYSCALL_TABLE(newfstatat
, newfstatat
, 262, 4)
2053 #ifndef OVERRIDE_TABLE_64_unlinkat
2054 TRACE_SYSCALL_TABLE(unlinkat
, unlinkat
, 263, 3)
2056 #ifndef OVERRIDE_TABLE_64_renameat
2057 TRACE_SYSCALL_TABLE(renameat
, renameat
, 264, 4)
2059 #ifndef OVERRIDE_TABLE_64_linkat
2060 TRACE_SYSCALL_TABLE(linkat
, linkat
, 265, 5)
2062 #ifndef OVERRIDE_TABLE_64_symlinkat
2063 TRACE_SYSCALL_TABLE(symlinkat
, symlinkat
, 266, 3)
2065 #ifndef OVERRIDE_TABLE_64_readlinkat
2066 TRACE_SYSCALL_TABLE(readlinkat
, readlinkat
, 267, 4)
2068 #ifndef OVERRIDE_TABLE_64_fchmodat
2069 TRACE_SYSCALL_TABLE(fchmodat
, fchmodat
, 268, 3)
2071 #ifndef OVERRIDE_TABLE_64_faccessat
2072 TRACE_SYSCALL_TABLE(faccessat
, faccessat
, 269, 3)
2074 #ifndef OVERRIDE_TABLE_64_pselect6
2075 TRACE_SYSCALL_TABLE(pselect6
, pselect6
, 270, 6)
2077 #ifndef OVERRIDE_TABLE_64_ppoll
2078 TRACE_SYSCALL_TABLE(ppoll
, ppoll
, 271, 5)
2080 #ifndef OVERRIDE_TABLE_64_set_robust_list
2081 TRACE_SYSCALL_TABLE(set_robust_list
, set_robust_list
, 273, 2)
2083 #ifndef OVERRIDE_TABLE_64_get_robust_list
2084 TRACE_SYSCALL_TABLE(get_robust_list
, get_robust_list
, 274, 3)
2086 #ifndef OVERRIDE_TABLE_64_splice
2087 TRACE_SYSCALL_TABLE(splice
, splice
, 275, 6)
2089 #ifndef OVERRIDE_TABLE_64_vmsplice
2090 TRACE_SYSCALL_TABLE(vmsplice
, vmsplice
, 278, 4)
2092 #ifndef OVERRIDE_TABLE_64_move_pages
2093 TRACE_SYSCALL_TABLE(move_pages
, move_pages
, 279, 6)
2095 #ifndef OVERRIDE_TABLE_64_utimensat
2096 TRACE_SYSCALL_TABLE(utimensat
, utimensat
, 280, 4)
2098 #ifndef OVERRIDE_TABLE_64_epoll_pwait
2099 TRACE_SYSCALL_TABLE(epoll_pwait
, epoll_pwait
, 281, 6)
2101 #ifndef OVERRIDE_TABLE_64_signalfd
2102 TRACE_SYSCALL_TABLE(signalfd
, signalfd
, 282, 3)
2104 #ifndef OVERRIDE_TABLE_64_timerfd_settime
2105 TRACE_SYSCALL_TABLE(timerfd_settime
, timerfd_settime
, 286, 4)
2107 #ifndef OVERRIDE_TABLE_64_timerfd_gettime
2108 TRACE_SYSCALL_TABLE(timerfd_gettime
, timerfd_gettime
, 287, 2)
2110 #ifndef OVERRIDE_TABLE_64_accept4
2111 TRACE_SYSCALL_TABLE(accept4
, accept4
, 288, 4)
2113 #ifndef OVERRIDE_TABLE_64_signalfd4
2114 TRACE_SYSCALL_TABLE(signalfd4
, signalfd4
, 289, 4)
2116 #ifndef OVERRIDE_TABLE_64_pipe2
2117 TRACE_SYSCALL_TABLE(pipe2
, pipe2
, 293, 2)
2119 #ifndef OVERRIDE_TABLE_64_preadv
2120 TRACE_SYSCALL_TABLE(preadv
, preadv
, 295, 5)
2122 #ifndef OVERRIDE_TABLE_64_pwritev
2123 TRACE_SYSCALL_TABLE(pwritev
, pwritev
, 296, 5)
2125 #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo
2126 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo
, rt_tgsigqueueinfo
, 297, 4)
2128 #ifndef OVERRIDE_TABLE_64_perf_event_open
2129 TRACE_SYSCALL_TABLE(perf_event_open
, perf_event_open
, 298, 5)
2131 #ifndef OVERRIDE_TABLE_64_recvmmsg
2132 TRACE_SYSCALL_TABLE(recvmmsg
, recvmmsg
, 299, 5)
2134 #ifndef OVERRIDE_TABLE_64_fanotify_mark
2135 TRACE_SYSCALL_TABLE(fanotify_mark
, fanotify_mark
, 301, 5)
2137 #ifndef OVERRIDE_TABLE_64_prlimit64
2138 TRACE_SYSCALL_TABLE(prlimit64
, prlimit64
, 302, 4)
2140 #ifndef OVERRIDE_TABLE_64_name_to_handle_at
2141 TRACE_SYSCALL_TABLE(name_to_handle_at
, name_to_handle_at
, 303, 5)
2143 #ifndef OVERRIDE_TABLE_64_open_by_handle_at
2144 TRACE_SYSCALL_TABLE(open_by_handle_at
, open_by_handle_at
, 304, 3)
2146 #ifndef OVERRIDE_TABLE_64_clock_adjtime
2147 TRACE_SYSCALL_TABLE(clock_adjtime
, clock_adjtime
, 305, 2)
2149 #ifndef OVERRIDE_TABLE_64_sendmmsg
2150 TRACE_SYSCALL_TABLE(sendmmsg
, sendmmsg
, 307, 4)
2152 #ifndef OVERRIDE_TABLE_64_getcpu
2153 TRACE_SYSCALL_TABLE(getcpu
, getcpu
, 309, 3)
2155 #ifndef OVERRIDE_TABLE_64_process_vm_readv
2156 TRACE_SYSCALL_TABLE(process_vm_readv
, process_vm_readv
, 310, 6)
2158 #ifndef OVERRIDE_TABLE_64_process_vm_writev
2159 TRACE_SYSCALL_TABLE(process_vm_writev
, process_vm_writev
, 311, 6)
2161 #ifndef OVERRIDE_TABLE_64_finit_module
2162 TRACE_SYSCALL_TABLE(finit_module
, finit_module
, 313, 3)
2164 #ifndef OVERRIDE_TABLE_64_sched_setattr
2165 TRACE_SYSCALL_TABLE(sched_setattr
, sched_setattr
, 314, 3)
2167 #ifndef OVERRIDE_TABLE_64_sched_getattr
2168 TRACE_SYSCALL_TABLE(sched_getattr
, sched_getattr
, 315, 4)
2170 #ifndef OVERRIDE_TABLE_64_renameat2
2171 TRACE_SYSCALL_TABLE(renameat2
, renameat2
, 316, 5)
2173 #ifndef OVERRIDE_TABLE_64_seccomp
2174 TRACE_SYSCALL_TABLE(seccomp
, seccomp
, 317, 3)
2176 #ifndef OVERRIDE_TABLE_64_getrandom
2177 TRACE_SYSCALL_TABLE(getrandom
, getrandom
, 318, 3)
2179 #ifndef OVERRIDE_TABLE_64_memfd_create
2180 TRACE_SYSCALL_TABLE(memfd_create
, memfd_create
, 319, 2)
2182 #ifndef OVERRIDE_TABLE_64_kexec_file_load
2183 TRACE_SYSCALL_TABLE(kexec_file_load
, kexec_file_load
, 320, 5)
2185 #ifndef OVERRIDE_TABLE_64_bpf
2186 TRACE_SYSCALL_TABLE(bpf
, bpf
, 321, 3)
2188 #ifndef OVERRIDE_TABLE_64_execveat
2189 TRACE_SYSCALL_TABLE(execveat
, execveat
, 322, 5)
2191 #ifndef OVERRIDE_TABLE_64_copy_file_range
2192 TRACE_SYSCALL_TABLE(copy_file_range
, copy_file_range
, 326, 6)
2194 #ifndef OVERRIDE_TABLE_64_preadv2
2195 TRACE_SYSCALL_TABLE(preadv2
, preadv2
, 327, 6)
2197 #ifndef OVERRIDE_TABLE_64_pwritev2
2198 TRACE_SYSCALL_TABLE(pwritev2
, pwritev2
, 328, 6)
2200 #ifndef OVERRIDE_TABLE_64_statx
2201 TRACE_SYSCALL_TABLE(statx
, statx
, 332, 5)
2203 #ifndef OVERRIDE_TABLE_64_io_pgetevents
2204 TRACE_SYSCALL_TABLE(io_pgetevents
, io_pgetevents
, 333, 6)
2206 #ifndef OVERRIDE_TABLE_64_rseq
2207 TRACE_SYSCALL_TABLE(rseq
, rseq
, 334, 4)
2209 #ifndef OVERRIDE_TABLE_64_pidfd_send_signal
2210 TRACE_SYSCALL_TABLE(pidfd_send_signal
, pidfd_send_signal
, 424, 4)
2212 #ifndef OVERRIDE_TABLE_64_io_uring_setup
2213 TRACE_SYSCALL_TABLE(io_uring_setup
, io_uring_setup
, 425, 2)
2215 #ifndef OVERRIDE_TABLE_64_io_uring_enter
2216 TRACE_SYSCALL_TABLE(io_uring_enter
, io_uring_enter
, 426, 6)
2218 #ifndef OVERRIDE_TABLE_64_io_uring_register
2219 TRACE_SYSCALL_TABLE(io_uring_register
, io_uring_register
, 427, 4)
2221 #ifndef OVERRIDE_TABLE_64_open_tree
2222 TRACE_SYSCALL_TABLE(open_tree
, open_tree
, 428, 3)
2224 #ifndef OVERRIDE_TABLE_64_move_mount
2225 TRACE_SYSCALL_TABLE(move_mount
, move_mount
, 429, 5)
2227 #ifndef OVERRIDE_TABLE_64_fsopen
2228 TRACE_SYSCALL_TABLE(fsopen
, fsopen
, 430, 2)
2230 #ifndef OVERRIDE_TABLE_64_fsconfig
2231 TRACE_SYSCALL_TABLE(fsconfig
, fsconfig
, 431, 5)
2233 #ifndef OVERRIDE_TABLE_64_fspick
2234 TRACE_SYSCALL_TABLE(fspick
, fspick
, 433, 3)
2236 #ifndef OVERRIDE_TABLE_64_clone3
2237 TRACE_SYSCALL_TABLE(clone3
, clone3
, 435, 2)
2239 #ifndef OVERRIDE_TABLE_64_openat2
2240 TRACE_SYSCALL_TABLE(openat2
, openat2
, 437, 4)
2242 #ifndef OVERRIDE_TABLE_64_faccessat2
2243 TRACE_SYSCALL_TABLE(faccessat2
, faccessat2
, 439, 4)
2245 #ifndef OVERRIDE_TABLE_64_process_madvise
2246 TRACE_SYSCALL_TABLE(process_madvise
, process_madvise
, 440, 5)
2248 #ifndef OVERRIDE_TABLE_64_epoll_pwait2
2249 TRACE_SYSCALL_TABLE(epoll_pwait2
, epoll_pwait2
, 441, 6)
2251 #ifndef OVERRIDE_TABLE_64_mount_setattr
2252 TRACE_SYSCALL_TABLE(mount_setattr
, mount_setattr
, 442, 5)
2254 #ifndef OVERRIDE_TABLE_64_quotactl_fd
2255 TRACE_SYSCALL_TABLE(quotactl_fd
, quotactl_fd
, 443, 4)
2257 #ifndef OVERRIDE_TABLE_64_futex_waitv
2258 TRACE_SYSCALL_TABLE(futex_waitv
, futex_waitv
, 449, 5)
2261 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.105004 seconds and 5 git commands to generate.