1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
5 /* Generated from arm-32-syscalls 6.0.7 */
7 #ifndef CREATE_SYSCALL_TABLE
9 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_POINTERS_H
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "arm-32-syscalls_pointers_override.h"
15 #include "syscalls_pointers_override.h"
17 #ifndef OVERRIDE_32_unlink
18 SC_LTTNG_TRACEPOINT_EVENT(unlink
,
19 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
20 TP_ARGS(sc_exit(ret
,) pathname
),
21 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
24 #ifndef OVERRIDE_32_chdir
25 SC_LTTNG_TRACEPOINT_EVENT(chdir
,
26 TP_PROTO(sc_exit(long ret
,) const char * filename
),
27 TP_ARGS(sc_exit(ret
,) filename
),
28 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
31 #ifndef OVERRIDE_32_rmdir
32 SC_LTTNG_TRACEPOINT_EVENT(rmdir
,
33 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
34 TP_ARGS(sc_exit(ret
,) pathname
),
35 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
38 #ifndef OVERRIDE_32_pipe
39 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
40 TP_PROTO(sc_exit(long ret
,) int * fildes
),
41 TP_ARGS(sc_exit(ret
,) fildes
),
42 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)))
45 #ifndef OVERRIDE_32_times
46 SC_LTTNG_TRACEPOINT_EVENT(times
,
47 TP_PROTO(sc_exit(long ret
,) struct tms
* tbuf
),
48 TP_ARGS(sc_exit(ret
,) tbuf
),
49 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct tms
*, tbuf
, tbuf
)))
52 #ifndef OVERRIDE_32_acct
53 SC_LTTNG_TRACEPOINT_EVENT(acct
,
54 TP_PROTO(sc_exit(long ret
,) const char * name
),
55 TP_ARGS(sc_exit(ret
,) name
),
56 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)))
59 #ifndef OVERRIDE_32_chroot
60 SC_LTTNG_TRACEPOINT_EVENT(chroot
,
61 TP_PROTO(sc_exit(long ret
,) const char * filename
),
62 TP_ARGS(sc_exit(ret
,) filename
),
63 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
66 #ifndef OVERRIDE_32_sigpending
67 SC_LTTNG_TRACEPOINT_EVENT(sigpending
,
68 TP_PROTO(sc_exit(long ret
,) old_sigset_t
* uset
),
69 TP_ARGS(sc_exit(ret
,) uset
),
70 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(old_sigset_t
*, uset
, uset
)))
73 #ifndef OVERRIDE_32_swapoff
74 SC_LTTNG_TRACEPOINT_EVENT(swapoff
,
75 TP_PROTO(sc_exit(long ret
,) const char * specialfile
),
76 TP_ARGS(sc_exit(ret
,) specialfile
),
77 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(specialfile
, specialfile
)))
80 #ifndef OVERRIDE_32_sysinfo
81 SC_LTTNG_TRACEPOINT_EVENT(sysinfo
,
82 TP_PROTO(sc_exit(long ret
,) struct sysinfo
* info
),
83 TP_ARGS(sc_exit(ret
,) info
),
84 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct sysinfo
*, info
, info
)))
87 #ifndef OVERRIDE_32_newuname
88 SC_LTTNG_TRACEPOINT_EVENT(newuname
,
89 TP_PROTO(sc_exit(long ret
,) struct new_utsname
* name
),
90 TP_ARGS(sc_exit(ret
,) name
),
91 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct new_utsname
*, name
, name
)))
94 #ifndef OVERRIDE_32_adjtimex_time32
95 SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32
,
96 TP_PROTO(sc_exit(long ret
,) struct old_timex32
* utp
),
97 TP_ARGS(sc_exit(ret
,) utp
),
98 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct old_timex32
*, utp
, utp
)))
101 #ifndef OVERRIDE_32_set_tid_address
102 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address
,
103 TP_PROTO(sc_exit(long ret
,) int * tidptr
),
104 TP_ARGS(sc_exit(ret
,) tidptr
),
105 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int *, tidptr
, tidptr
)))
108 #ifndef OVERRIDE_32_mq_unlink
109 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink
,
110 TP_PROTO(sc_exit(long ret
,) const char * u_name
),
111 TP_ARGS(sc_exit(ret
,) u_name
),
112 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(u_name
, u_name
)))
115 #ifndef OVERRIDE_32_shmdt
116 SC_LTTNG_TRACEPOINT_EVENT(shmdt
,
117 TP_PROTO(sc_exit(long ret
,) char * shmaddr
),
118 TP_ARGS(sc_exit(ret
,) shmaddr
),
119 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(char *, shmaddr
, shmaddr
)))
122 #ifndef OVERRIDE_32_creat
123 SC_LTTNG_TRACEPOINT_EVENT(creat
,
124 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
125 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
126 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
129 #ifndef OVERRIDE_32_link
130 SC_LTTNG_TRACEPOINT_EVENT(link
,
131 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
132 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
133 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
136 #ifndef OVERRIDE_32_chmod
137 SC_LTTNG_TRACEPOINT_EVENT(chmod
,
138 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
),
139 TP_ARGS(sc_exit(ret
,) filename
, mode
),
140 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
143 #ifndef OVERRIDE_32_access
144 SC_LTTNG_TRACEPOINT_EVENT(access
,
145 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
),
146 TP_ARGS(sc_exit(ret
,) filename
, mode
),
147 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, mode
, mode
)))
150 #ifndef OVERRIDE_32_rename
151 SC_LTTNG_TRACEPOINT_EVENT(rename
,
152 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
153 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
154 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
157 #ifndef OVERRIDE_32_mkdir
158 SC_LTTNG_TRACEPOINT_EVENT(mkdir
,
159 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
160 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
161 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(umode_t
, mode
, mode
)))
164 #ifndef OVERRIDE_32_umount
165 SC_LTTNG_TRACEPOINT_EVENT(umount
,
166 TP_PROTO(sc_exit(long ret
,) char * name
, int flags
),
167 TP_ARGS(sc_exit(ret
,) name
, flags
),
168 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, flags
, flags
)))
171 #ifndef OVERRIDE_32_ustat
172 SC_LTTNG_TRACEPOINT_EVENT(ustat
,
173 TP_PROTO(sc_exit(long ret
,) unsigned dev
, struct ustat
* ubuf
),
174 TP_ARGS(sc_exit(ret
,) dev
, ubuf
),
175 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned, dev
, dev
)) sc_out(ctf_integer(struct ustat
*, ubuf
, ubuf
)))
178 #ifndef OVERRIDE_32_sethostname
179 SC_LTTNG_TRACEPOINT_EVENT(sethostname
,
180 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
181 TP_ARGS(sc_exit(ret
,) name
, len
),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
185 #ifndef OVERRIDE_32_setrlimit
186 SC_LTTNG_TRACEPOINT_EVENT(setrlimit
,
187 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
188 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
189 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
)))
192 #ifndef OVERRIDE_32_getrusage
193 SC_LTTNG_TRACEPOINT_EVENT(getrusage
,
194 TP_PROTO(sc_exit(long ret
,) int who
, struct rusage
* ru
),
195 TP_ARGS(sc_exit(ret
,) who
, ru
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, who
, who
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
199 #ifndef OVERRIDE_32_gettimeofday
200 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday
,
201 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
202 TP_ARGS(sc_exit(ret
,) tv
, tz
),
203 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
)))
206 #ifndef OVERRIDE_32_settimeofday
207 SC_LTTNG_TRACEPOINT_EVENT(settimeofday
,
208 TP_PROTO(sc_exit(long ret
,) struct __kernel_old_timeval
* tv
, struct timezone
* tz
),
209 TP_ARGS(sc_exit(ret
,) tv
, tz
),
210 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
)))
213 #ifndef OVERRIDE_32_getgroups16
214 SC_LTTNG_TRACEPOINT_EVENT(getgroups16
,
215 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
216 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_inout(ctf_integer(old_gid_t
*, grouplist
, grouplist
)))
220 #ifndef OVERRIDE_32_setgroups16
221 SC_LTTNG_TRACEPOINT_EVENT(setgroups16
,
222 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
223 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_inout(ctf_integer(old_gid_t
*, grouplist
, grouplist
)))
227 #ifndef OVERRIDE_32_symlink
228 SC_LTTNG_TRACEPOINT_EVENT(symlink
,
229 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
230 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
234 #ifndef OVERRIDE_32_swapon
235 SC_LTTNG_TRACEPOINT_EVENT(swapon
,
236 TP_PROTO(sc_exit(long ret
,) const char * specialfile
, int swap_flags
),
237 TP_ARGS(sc_exit(ret
,) specialfile
, swap_flags
),
238 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
)))
241 #ifndef OVERRIDE_32_truncate
242 SC_LTTNG_TRACEPOINT_EVENT(truncate
,
243 TP_PROTO(sc_exit(long ret
,) const char * path
, long length
),
244 TP_ARGS(sc_exit(ret
,) path
, length
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_in(ctf_integer(long, length
, length
)))
248 #ifndef OVERRIDE_32_statfs
249 SC_LTTNG_TRACEPOINT_EVENT(statfs
,
250 TP_PROTO(sc_exit(long ret
,) const char * pathname
, struct statfs
* buf
),
251 TP_ARGS(sc_exit(ret
,) pathname
, buf
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(struct statfs
*, buf
, buf
)))
255 #ifndef OVERRIDE_32_fstatfs
256 SC_LTTNG_TRACEPOINT_EVENT(fstatfs
,
257 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct statfs
* buf
),
258 TP_ARGS(sc_exit(ret
,) fd
, buf
),
259 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
)))
262 #ifndef OVERRIDE_32_getitimer
263 SC_LTTNG_TRACEPOINT_EVENT(getitimer
,
264 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
),
265 TP_ARGS(sc_exit(ret
,) which
, value
),
266 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
)))
269 #ifndef OVERRIDE_32_newstat
270 SC_LTTNG_TRACEPOINT_EVENT(newstat
,
271 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
272 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
276 #ifndef OVERRIDE_32_newlstat
277 SC_LTTNG_TRACEPOINT_EVENT(newlstat
,
278 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
279 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
283 #ifndef OVERRIDE_32_newfstat
284 SC_LTTNG_TRACEPOINT_EVENT(newfstat
,
285 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct stat
* statbuf
),
286 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
287 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
)))
290 #ifndef OVERRIDE_32_setdomainname
291 SC_LTTNG_TRACEPOINT_EVENT(setdomainname
,
292 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
293 TP_ARGS(sc_exit(ret
,) name
, len
),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
297 #ifndef OVERRIDE_32_delete_module
298 SC_LTTNG_TRACEPOINT_EVENT(delete_module
,
299 TP_PROTO(sc_exit(long ret
,) const char * name_user
, unsigned int flags
),
300 TP_ARGS(sc_exit(ret
,) name_user
, flags
),
301 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
)))
304 #ifndef OVERRIDE_32_sched_setparam
305 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam
,
306 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
307 TP_ARGS(sc_exit(ret
,) pid
, param
),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(struct sched_param
*, param
, param
)))
311 #ifndef OVERRIDE_32_sched_getparam
312 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam
,
313 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
314 TP_ARGS(sc_exit(ret
,) pid
, param
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_out(ctf_integer(struct sched_param
*, param
, param
)))
318 #ifndef OVERRIDE_32_sched_rr_get_interval_time32
319 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32
,
320 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct old_timespec32
* interval
),
321 TP_ARGS(sc_exit(ret
,) pid
, interval
),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_out(ctf_integer(struct old_timespec32
*, interval
, interval
)))
325 #ifndef OVERRIDE_32_nanosleep_time32
326 SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32
,
327 TP_PROTO(sc_exit(long ret
,) struct old_timespec32
* rqtp
, struct old_timespec32
* rmtp
),
328 TP_ARGS(sc_exit(ret
,) rqtp
, rmtp
),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(struct old_timespec32
*, rqtp
, rqtp
)) sc_out(ctf_integer(struct old_timespec32
*, rmtp
, rmtp
)))
332 #ifndef OVERRIDE_32_rt_sigpending
333 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending
,
334 TP_PROTO(sc_exit(long ret
,) sigset_t
* uset
, size_t sigsetsize
),
335 TP_ARGS(sc_exit(ret
,) uset
, sigsetsize
),
336 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
)))
339 #ifndef OVERRIDE_32_rt_sigsuspend
340 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend
,
341 TP_PROTO(sc_exit(long ret
,) sigset_t
* unewset
, size_t sigsetsize
),
342 TP_ARGS(sc_exit(ret
,) unewset
, sigsetsize
),
343 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
)))
346 #ifndef OVERRIDE_32_getcwd
347 SC_LTTNG_TRACEPOINT_EVENT(getcwd
,
348 TP_PROTO(sc_exit(long ret
,) char * buf
, unsigned long size
),
349 TP_ARGS(sc_exit(ret
,) buf
, size
),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(unsigned long, size
, size
)))
353 #ifndef OVERRIDE_32_sigaltstack
354 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack
,
355 TP_PROTO(sc_exit(long ret
,) const stack_t
* uss
, stack_t
* uoss
),
356 TP_ARGS(sc_exit(ret
,) uss
, uoss
),
357 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
)))
360 #ifndef OVERRIDE_32_getrlimit
361 SC_LTTNG_TRACEPOINT_EVENT(getrlimit
,
362 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
363 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
364 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
)))
367 #ifndef OVERRIDE_32_truncate64
368 SC_LTTNG_TRACEPOINT_EVENT(truncate64
,
369 TP_PROTO(sc_exit(long ret
,) const char * path
, loff_t length
),
370 TP_ARGS(sc_exit(ret
,) path
, length
),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_in(ctf_integer(loff_t
, length
, length
)))
374 #ifndef OVERRIDE_32_stat64
375 SC_LTTNG_TRACEPOINT_EVENT(stat64
,
376 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
377 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(struct stat64
*, statbuf
, statbuf
)))
381 #ifndef OVERRIDE_32_lstat64
382 SC_LTTNG_TRACEPOINT_EVENT(lstat64
,
383 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
384 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(struct stat64
*, statbuf
, statbuf
)))
388 #ifndef OVERRIDE_32_fstat64
389 SC_LTTNG_TRACEPOINT_EVENT(fstat64
,
390 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, struct stat64
* statbuf
),
391 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, fd
, fd
)) sc_inout(ctf_integer(struct stat64
*, statbuf
, statbuf
)))
395 #ifndef OVERRIDE_32_getgroups
396 SC_LTTNG_TRACEPOINT_EVENT(getgroups
,
397 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
398 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_out(ctf_integer(gid_t
*, grouplist
, grouplist
)))
402 #ifndef OVERRIDE_32_setgroups
403 SC_LTTNG_TRACEPOINT_EVENT(setgroups
,
404 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
405 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_in(ctf_integer(gid_t
*, grouplist
, grouplist
)))
409 #ifndef OVERRIDE_32_pivot_root
410 SC_LTTNG_TRACEPOINT_EVENT(pivot_root
,
411 TP_PROTO(sc_exit(long ret
,) const char * new_root
, const char * put_old
),
412 TP_ARGS(sc_exit(ret
,) new_root
, put_old
),
413 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
)))
416 #ifndef OVERRIDE_32_removexattr
417 SC_LTTNG_TRACEPOINT_EVENT(removexattr
,
418 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
419 TP_ARGS(sc_exit(ret
,) pathname
, name
),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
423 #ifndef OVERRIDE_32_lremovexattr
424 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr
,
425 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
426 TP_ARGS(sc_exit(ret
,) pathname
, name
),
427 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
430 #ifndef OVERRIDE_32_fremovexattr
431 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr
,
432 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
),
433 TP_ARGS(sc_exit(ret
,) fd
, name
),
434 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)))
437 #ifndef OVERRIDE_32_io_setup
438 SC_LTTNG_TRACEPOINT_EVENT(io_setup
,
439 TP_PROTO(sc_exit(long ret
,) unsigned nr_events
, aio_context_t
* ctxp
),
440 TP_ARGS(sc_exit(ret
,) nr_events
, ctxp
),
441 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
)))
444 #ifndef OVERRIDE_32_timer_gettime32
445 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32
,
446 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct old_itimerspec32
* setting
),
447 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
448 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)) sc_out(ctf_integer(struct old_itimerspec32
*, setting
, setting
)))
451 #ifndef OVERRIDE_32_clock_settime32
452 SC_LTTNG_TRACEPOINT_EVENT(clock_settime32
,
453 TP_PROTO(sc_exit(long ret
,) clockid_t which_clock
, struct old_timespec32
* tp
),
454 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
455 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(struct old_timespec32
*, tp
, tp
)))
458 #ifndef OVERRIDE_32_clock_gettime32
459 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32
,
460 TP_PROTO(sc_exit(long ret
,) clockid_t which_clock
, struct old_timespec32
* tp
),
461 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
462 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(clockid_t
, which_clock
, which_clock
)) sc_out(ctf_integer(struct old_timespec32
*, tp
, tp
)))
465 #ifndef OVERRIDE_32_clock_getres_time32
466 SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32
,
467 TP_PROTO(sc_exit(long ret
,) clockid_t which_clock
, struct old_timespec32
* tp
),
468 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(clockid_t
, which_clock
, which_clock
)) sc_out(ctf_integer(struct old_timespec32
*, tp
, tp
)))
472 #ifndef OVERRIDE_32_utimes_time32
473 SC_LTTNG_TRACEPOINT_EVENT(utimes_time32
,
474 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct old_timeval32
* t
),
475 TP_ARGS(sc_exit(ret
,) filename
, t
),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct old_timeval32
*, t
, t
)))
479 #ifndef OVERRIDE_32_mq_notify
480 SC_LTTNG_TRACEPOINT_EVENT(mq_notify
,
481 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct sigevent
* u_notification
),
482 TP_ARGS(sc_exit(ret
,) mqdes
, u_notification
),
483 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
)))
486 #ifndef OVERRIDE_32_set_robust_list
487 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list
,
488 TP_PROTO(sc_exit(long ret
,) struct robust_list_head
* head
, size_t len
),
489 TP_ARGS(sc_exit(ret
,) head
, len
),
490 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
)))
493 #ifndef OVERRIDE_32_timerfd_gettime32
494 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32
,
495 TP_PROTO(sc_exit(long ret
,) int ufd
, struct old_itimerspec32
* otmr
),
496 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
497 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_out(ctf_integer(struct old_itimerspec32
*, otmr
, otmr
)))
500 #ifndef OVERRIDE_32_pipe2
501 SC_LTTNG_TRACEPOINT_EVENT(pipe2
,
502 TP_PROTO(sc_exit(long ret
,) int * fildes
, int flags
),
503 TP_ARGS(sc_exit(ret
,) fildes
, flags
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)) sc_in(ctf_integer(int, flags
, flags
)))
507 #ifndef OVERRIDE_32_clock_adjtime32
508 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32
,
509 TP_PROTO(sc_exit(long ret
,) clockid_t which_clock
, struct old_timex32
* utp
),
510 TP_ARGS(sc_exit(ret
,) which_clock
, utp
),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(clockid_t
, which_clock
, which_clock
)) sc_inout(ctf_integer(struct old_timex32
*, utp
, utp
)))
514 #ifndef OVERRIDE_32_memfd_create
515 SC_LTTNG_TRACEPOINT_EVENT(memfd_create
,
516 TP_PROTO(sc_exit(long ret
,) const char * uname
, unsigned int flags
),
517 TP_ARGS(sc_exit(ret
,) uname
, flags
),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(uname
, uname
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
521 #ifndef OVERRIDE_32_clock_gettime
522 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime
,
523 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
524 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
525 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
)))
528 #ifndef OVERRIDE_32_clock_settime
529 SC_LTTNG_TRACEPOINT_EVENT(clock_settime
,
530 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, const struct __kernel_timespec
* tp
),
531 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
532 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
)))
535 #ifndef OVERRIDE_32_clock_adjtime
536 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime
,
537 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timex
* utx
),
538 TP_ARGS(sc_exit(ret
,) which_clock
, utx
),
539 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
)))
542 #ifndef OVERRIDE_32_clock_getres
543 SC_LTTNG_TRACEPOINT_EVENT(clock_getres
,
544 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct __kernel_timespec
* tp
),
545 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
546 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
)))
549 #ifndef OVERRIDE_32_timer_gettime
550 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime
,
551 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct __kernel_itimerspec
* setting
),
552 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
553 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
)))
556 #ifndef OVERRIDE_32_timerfd_gettime
557 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime
,
558 TP_PROTO(sc_exit(long ret
,) int ufd
, struct __kernel_itimerspec
* otmr
),
559 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
560 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
)))
563 #ifndef OVERRIDE_32_sched_rr_get_interval
564 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval
,
565 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct __kernel_timespec
* interval
),
566 TP_ARGS(sc_exit(ret
,) pid
, interval
),
567 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
)))
570 #ifndef OVERRIDE_32_io_uring_setup
571 SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup
,
572 TP_PROTO(sc_exit(long ret
,) u32 entries
, struct io_uring_params
* params
),
573 TP_ARGS(sc_exit(ret
,) entries
, params
),
574 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
)))
577 #ifndef OVERRIDE_32_fsopen
578 SC_LTTNG_TRACEPOINT_EVENT(fsopen
,
579 TP_PROTO(sc_exit(long ret
,) const char * _fs_name
, unsigned int flags
),
580 TP_ARGS(sc_exit(ret
,) _fs_name
, flags
),
581 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
)))
584 #ifndef OVERRIDE_32_clone3
585 SC_LTTNG_TRACEPOINT_EVENT(clone3
,
586 TP_PROTO(sc_exit(long ret
,) struct clone_args
* uargs
, size_t size
),
587 TP_ARGS(sc_exit(ret
,) uargs
, size
),
588 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
)))
591 #ifndef OVERRIDE_32_read
592 SC_LTTNG_TRACEPOINT_EVENT(read
,
593 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
),
594 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
595 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
)))
598 #ifndef OVERRIDE_32_write
599 SC_LTTNG_TRACEPOINT_EVENT(write
,
600 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
),
601 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
602 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
)))
605 #ifndef OVERRIDE_32_open
606 SC_LTTNG_TRACEPOINT_EVENT(open
,
607 TP_PROTO(sc_exit(long ret
,) const char * filename
, int flags
, umode_t mode
),
608 TP_ARGS(sc_exit(ret
,) filename
, flags
, mode
),
609 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
)))
612 #ifndef OVERRIDE_32_execve
613 SC_LTTNG_TRACEPOINT_EVENT(execve
,
614 TP_PROTO(sc_exit(long ret
,) const char * filename
, const char *const * argv
, const char *const * envp
),
615 TP_ARGS(sc_exit(ret
,) filename
, argv
, envp
),
616 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
)))
619 #ifndef OVERRIDE_32_mknod
620 SC_LTTNG_TRACEPOINT_EVENT(mknod
,
621 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
, unsigned dev
),
622 TP_ARGS(sc_exit(ret
,) filename
, mode
, dev
),
623 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
)))
626 #ifndef OVERRIDE_32_lchown16
627 SC_LTTNG_TRACEPOINT_EVENT(lchown16
,
628 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
629 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
630 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(old_uid_t
, user
, user
)) sc_inout(ctf_integer(old_gid_t
, group
, group
)))
633 #ifndef OVERRIDE_32_sigaction
634 SC_LTTNG_TRACEPOINT_EVENT(sigaction
,
635 TP_PROTO(sc_exit(long ret
,) int sig
, const struct old_sigaction
* act
, struct old_sigaction
* oact
),
636 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
),
637 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, sig
, sig
)) sc_inout(ctf_integer(const struct old_sigaction
*, act
, act
)) sc_inout(ctf_integer(struct old_sigaction
*, oact
, oact
)))
640 #ifndef OVERRIDE_32_readlink
641 SC_LTTNG_TRACEPOINT_EVENT(readlink
,
642 TP_PROTO(sc_exit(long ret
,) const char * path
, char * buf
, int bufsiz
),
643 TP_ARGS(sc_exit(ret
,) path
, buf
, bufsiz
),
644 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
)))
647 #ifndef OVERRIDE_32_syslog
648 SC_LTTNG_TRACEPOINT_EVENT(syslog
,
649 TP_PROTO(sc_exit(long ret
,) int type
, char * buf
, int len
),
650 TP_ARGS(sc_exit(ret
,) type
, buf
, len
),
651 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
)))
654 #ifndef OVERRIDE_32_setitimer
655 SC_LTTNG_TRACEPOINT_EVENT(setitimer
,
656 TP_PROTO(sc_exit(long ret
,) int which
, struct __kernel_old_itimerval
* value
, struct __kernel_old_itimerval
* ovalue
),
657 TP_ARGS(sc_exit(ret
,) which
, value
, ovalue
),
658 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
)))
661 #ifndef OVERRIDE_32_sigprocmask
662 SC_LTTNG_TRACEPOINT_EVENT(sigprocmask
,
663 TP_PROTO(sc_exit(long ret
,) int how
, old_sigset_t
* nset
, old_sigset_t
* oset
),
664 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
),
665 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, how
, how
)) sc_inout(ctf_integer(old_sigset_t
*, nset
, nset
)) sc_inout(ctf_integer(old_sigset_t
*, oset
, oset
)))
668 #ifndef OVERRIDE_32_init_module
669 SC_LTTNG_TRACEPOINT_EVENT(init_module
,
670 TP_PROTO(sc_exit(long ret
,) void * umod
, unsigned long len
, const char * uargs
),
671 TP_ARGS(sc_exit(ret
,) umod
, len
, uargs
),
672 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
)))
675 #ifndef OVERRIDE_32_getdents
676 SC_LTTNG_TRACEPOINT_EVENT(getdents
,
677 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent
* dirent
, unsigned int count
),
678 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
679 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
)))
682 #ifndef OVERRIDE_32_readv
683 SC_LTTNG_TRACEPOINT_EVENT(readv
,
684 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
685 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
686 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
)))
689 #ifndef OVERRIDE_32_writev
690 SC_LTTNG_TRACEPOINT_EVENT(writev
,
691 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
692 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
693 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
)))
696 #ifndef OVERRIDE_32_sched_setscheduler
697 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler
,
698 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int policy
, struct sched_param
* param
),
699 TP_ARGS(sc_exit(ret
,) pid
, policy
, param
),
700 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
)))
703 #ifndef OVERRIDE_32_getresuid16
704 SC_LTTNG_TRACEPOINT_EVENT(getresuid16
,
705 TP_PROTO(sc_exit(long ret
,) old_uid_t
* ruidp
, old_uid_t
* euidp
, old_uid_t
* suidp
),
706 TP_ARGS(sc_exit(ret
,) ruidp
, euidp
, suidp
),
707 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(old_uid_t
*, ruidp
, ruidp
)) sc_inout(ctf_integer(old_uid_t
*, euidp
, euidp
)) sc_inout(ctf_integer(old_uid_t
*, suidp
, suidp
)))
710 #ifndef OVERRIDE_32_poll
711 SC_LTTNG_TRACEPOINT_EVENT(poll
,
712 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, int timeout_msecs
),
713 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, timeout_msecs
),
714 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
)))
717 #ifndef OVERRIDE_32_getresgid16
718 SC_LTTNG_TRACEPOINT_EVENT(getresgid16
,
719 TP_PROTO(sc_exit(long ret
,) old_gid_t
* rgidp
, old_gid_t
* egidp
, old_gid_t
* sgidp
),
720 TP_ARGS(sc_exit(ret
,) rgidp
, egidp
, sgidp
),
721 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(old_gid_t
*, rgidp
, rgidp
)) sc_inout(ctf_integer(old_gid_t
*, egidp
, egidp
)) sc_inout(ctf_integer(old_gid_t
*, sgidp
, sgidp
)))
724 #ifndef OVERRIDE_32_rt_sigqueueinfo
725 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo
,
726 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
, siginfo_t
* uinfo
),
727 TP_ARGS(sc_exit(ret
,) pid
, sig
, uinfo
),
728 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
)))
731 #ifndef OVERRIDE_32_chown16
732 SC_LTTNG_TRACEPOINT_EVENT(chown16
,
733 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
734 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
735 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(old_uid_t
, user
, user
)) sc_inout(ctf_integer(old_gid_t
, group
, group
)))
738 #ifndef OVERRIDE_32_lchown
739 SC_LTTNG_TRACEPOINT_EVENT(lchown
,
740 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
741 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
742 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
)))
745 #ifndef OVERRIDE_32_getresuid
746 SC_LTTNG_TRACEPOINT_EVENT(getresuid
,
747 TP_PROTO(sc_exit(long ret
,) uid_t
* ruidp
, uid_t
* euidp
, uid_t
* suidp
),
748 TP_ARGS(sc_exit(ret
,) ruidp
, euidp
, suidp
),
749 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
)))
752 #ifndef OVERRIDE_32_getresgid
753 SC_LTTNG_TRACEPOINT_EVENT(getresgid
,
754 TP_PROTO(sc_exit(long ret
,) gid_t
* rgidp
, gid_t
* egidp
, gid_t
* sgidp
),
755 TP_ARGS(sc_exit(ret
,) rgidp
, egidp
, sgidp
),
756 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
)))
759 #ifndef OVERRIDE_32_chown
760 SC_LTTNG_TRACEPOINT_EVENT(chown
,
761 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
762 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
763 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
)))
766 #ifndef OVERRIDE_32_getdents64
767 SC_LTTNG_TRACEPOINT_EVENT(getdents64
,
768 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent64
* dirent
, unsigned int count
),
769 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
770 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
)))
773 #ifndef OVERRIDE_32_mincore
774 SC_LTTNG_TRACEPOINT_EVENT(mincore
,
775 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned char * vec
),
776 TP_ARGS(sc_exit(ret
,) start
, len
, vec
),
777 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
)))
780 #ifndef OVERRIDE_32_listxattr
781 SC_LTTNG_TRACEPOINT_EVENT(listxattr
,
782 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
783 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
784 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
)))
787 #ifndef OVERRIDE_32_llistxattr
788 SC_LTTNG_TRACEPOINT_EVENT(llistxattr
,
789 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
790 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
791 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
)))
794 #ifndef OVERRIDE_32_flistxattr
795 SC_LTTNG_TRACEPOINT_EVENT(flistxattr
,
796 TP_PROTO(sc_exit(long ret
,) int fd
, char * list
, size_t size
),
797 TP_ARGS(sc_exit(ret
,) fd
, list
, size
),
798 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
)))
801 #ifndef OVERRIDE_32_sched_setaffinity
802 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
803 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
804 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
805 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
)))
808 #ifndef OVERRIDE_32_sched_getaffinity
809 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
810 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
811 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
812 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
)))
815 #ifndef OVERRIDE_32_io_submit
816 SC_LTTNG_TRACEPOINT_EVENT(io_submit
,
817 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long nr
, struct iocb
* * iocbpp
),
818 TP_ARGS(sc_exit(ret
,) ctx_id
, nr
, iocbpp
),
819 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
)))
822 #ifndef OVERRIDE_32_io_cancel
823 SC_LTTNG_TRACEPOINT_EVENT(io_cancel
,
824 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, struct iocb
* iocb
, struct io_event
* result
),
825 TP_ARGS(sc_exit(ret
,) ctx_id
, iocb
, result
),
826 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
)))
829 #ifndef OVERRIDE_32_timer_create
830 SC_LTTNG_TRACEPOINT_EVENT(timer_create
,
831 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct sigevent
* timer_event_spec
, timer_t
* created_timer_id
),
832 TP_ARGS(sc_exit(ret
,) which_clock
, timer_event_spec
, created_timer_id
),
833 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
)))
836 #ifndef OVERRIDE_32_statfs64
837 SC_LTTNG_TRACEPOINT_EVENT(statfs64
,
838 TP_PROTO(sc_exit(long ret
,) const char * pathname
, size_t sz
, struct statfs64
* buf
),
839 TP_ARGS(sc_exit(ret
,) pathname
, sz
, buf
),
840 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(pathname
, pathname
)) sc_inout(ctf_integer(size_t, sz
, sz
)) sc_inout(ctf_integer(struct statfs64
*, buf
, buf
)))
843 #ifndef OVERRIDE_32_fstatfs64
844 SC_LTTNG_TRACEPOINT_EVENT(fstatfs64
,
845 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, size_t sz
, struct statfs64
* buf
),
846 TP_ARGS(sc_exit(ret
,) fd
, sz
, buf
),
847 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(size_t, sz
, sz
)) sc_inout(ctf_integer(struct statfs64
*, buf
, buf
)))
850 #ifndef OVERRIDE_32_mq_getsetattr
851 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr
,
852 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct mq_attr
* u_mqstat
, struct mq_attr
* u_omqstat
),
853 TP_ARGS(sc_exit(ret
,) mqdes
, u_mqstat
, u_omqstat
),
854 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
)))
857 #ifndef OVERRIDE_32_bind
858 SC_LTTNG_TRACEPOINT_EVENT(bind
,
859 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* umyaddr
, int addrlen
),
860 TP_ARGS(sc_exit(ret
,) fd
, umyaddr
, addrlen
),
861 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
)))
864 #ifndef OVERRIDE_32_connect
865 SC_LTTNG_TRACEPOINT_EVENT(connect
,
866 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* uservaddr
, int addrlen
),
867 TP_ARGS(sc_exit(ret
,) fd
, uservaddr
, addrlen
),
868 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
)))
871 #ifndef OVERRIDE_32_accept
872 SC_LTTNG_TRACEPOINT_EVENT(accept
,
873 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
),
874 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
),
875 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
)))
878 #ifndef OVERRIDE_32_getsockname
879 SC_LTTNG_TRACEPOINT_EVENT(getsockname
,
880 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
881 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
882 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
)))
885 #ifndef OVERRIDE_32_getpeername
886 SC_LTTNG_TRACEPOINT_EVENT(getpeername
,
887 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
888 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
889 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
)))
892 #ifndef OVERRIDE_32_sendmsg
893 SC_LTTNG_TRACEPOINT_EVENT(sendmsg
,
894 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
895 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
896 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
)))
899 #ifndef OVERRIDE_32_recvmsg
900 SC_LTTNG_TRACEPOINT_EVENT(recvmsg
,
901 TP_PROTO(sc_exit(long ret
,) int fd
, struct user_msghdr
* msg
, unsigned int flags
),
902 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
903 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
)))
906 #ifndef OVERRIDE_32_semop
907 SC_LTTNG_TRACEPOINT_EVENT(semop
,
908 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned nsops
),
909 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
),
910 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
)))
913 #ifndef OVERRIDE_32_old_msgctl
914 SC_LTTNG_TRACEPOINT_EVENT(old_msgctl
,
915 TP_PROTO(sc_exit(long ret
,) int msqid
, int cmd
, struct msqid_ds
* buf
),
916 TP_ARGS(sc_exit(ret
,) msqid
, cmd
, buf
),
917 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, msqid
, msqid
)) sc_inout(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(struct msqid_ds
*, buf
, buf
)))
920 #ifndef OVERRIDE_32_shmat
921 SC_LTTNG_TRACEPOINT_EVENT(shmat
,
922 TP_PROTO(sc_exit(long ret
,) int shmid
, char * shmaddr
, int shmflg
),
923 TP_ARGS(sc_exit(ret
,) shmid
, shmaddr
, shmflg
),
924 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
)))
927 #ifndef OVERRIDE_32_old_shmctl
928 SC_LTTNG_TRACEPOINT_EVENT(old_shmctl
,
929 TP_PROTO(sc_exit(long ret
,) int shmid
, int cmd
, struct shmid_ds
* buf
),
930 TP_ARGS(sc_exit(ret
,) shmid
, cmd
, buf
),
931 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, shmid
, shmid
)) sc_inout(ctf_integer(int, cmd
, cmd
)) sc_inout(ctf_integer(struct shmid_ds
*, buf
, buf
)))
934 #ifndef OVERRIDE_32_inotify_add_watch
935 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch
,
936 TP_PROTO(sc_exit(long ret
,) int fd
, const char * pathname
, u32 mask
),
937 TP_ARGS(sc_exit(ret
,) fd
, pathname
, mask
),
938 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
)))
941 #ifndef OVERRIDE_32_mkdirat
942 SC_LTTNG_TRACEPOINT_EVENT(mkdirat
,
943 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, umode_t mode
),
944 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, mode
),
945 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
)))
948 #ifndef OVERRIDE_32_futimesat_time32
949 SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32
,
950 TP_PROTO(sc_exit(long ret
,) unsigned int dfd
, const char * filename
, struct old_timeval32
* t
),
951 TP_ARGS(sc_exit(ret
,) dfd
, filename
, t
),
952 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct old_timeval32
*, t
, t
)))
955 #ifndef OVERRIDE_32_unlinkat
956 SC_LTTNG_TRACEPOINT_EVENT(unlinkat
,
957 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int flag
),
958 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, flag
),
959 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
)))
962 #ifndef OVERRIDE_32_symlinkat
963 SC_LTTNG_TRACEPOINT_EVENT(symlinkat
,
964 TP_PROTO(sc_exit(long ret
,) const char * oldname
, int newdfd
, const char * newname
),
965 TP_ARGS(sc_exit(ret
,) oldname
, newdfd
, newname
),
966 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
)))
969 #ifndef OVERRIDE_32_fchmodat
970 SC_LTTNG_TRACEPOINT_EVENT(fchmodat
,
971 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
),
972 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
973 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
)))
976 #ifndef OVERRIDE_32_faccessat
977 SC_LTTNG_TRACEPOINT_EVENT(faccessat
,
978 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
),
979 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
980 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
)))
983 #ifndef OVERRIDE_32_get_robust_list
984 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list
,
985 TP_PROTO(sc_exit(long ret
,) int pid
, struct robust_list_head
* * head_ptr
, size_t * len_ptr
),
986 TP_ARGS(sc_exit(ret
,) pid
, head_ptr
, len_ptr
),
987 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
)))
990 #ifndef OVERRIDE_32_getcpu
991 SC_LTTNG_TRACEPOINT_EVENT(getcpu
,
992 TP_PROTO(sc_exit(long ret
,) unsigned * cpup
, unsigned * nodep
, struct getcpu_cache
* unused
),
993 TP_ARGS(sc_exit(ret
,) cpup
, nodep
, unused
),
994 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
)))
997 #ifndef OVERRIDE_32_signalfd
998 SC_LTTNG_TRACEPOINT_EVENT(signalfd
,
999 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
),
1000 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
),
1001 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
)))
1004 #ifndef OVERRIDE_32_open_by_handle_at
1005 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at
,
1006 TP_PROTO(sc_exit(long ret
,) int mountdirfd
, struct file_handle
* handle
, int flags
),
1007 TP_ARGS(sc_exit(ret
,) mountdirfd
, handle
, flags
),
1008 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
)))
1011 #ifndef OVERRIDE_32_finit_module
1012 SC_LTTNG_TRACEPOINT_EVENT(finit_module
,
1013 TP_PROTO(sc_exit(long ret
,) int fd
, const char * uargs
, int flags
),
1014 TP_ARGS(sc_exit(ret
,) fd
, uargs
, flags
),
1015 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
)))
1018 #ifndef OVERRIDE_32_sched_setattr
1019 SC_LTTNG_TRACEPOINT_EVENT(sched_setattr
,
1020 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int flags
),
1021 TP_ARGS(sc_exit(ret
,) pid
, uattr
, flags
),
1022 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
)))
1025 #ifndef OVERRIDE_32_seccomp
1026 SC_LTTNG_TRACEPOINT_EVENT(seccomp
,
1027 TP_PROTO(sc_exit(long ret
,) unsigned int op
, unsigned int flags
, void * uargs
),
1028 TP_ARGS(sc_exit(ret
,) op
, flags
, uargs
),
1029 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
)))
1032 #ifndef OVERRIDE_32_getrandom
1033 SC_LTTNG_TRACEPOINT_EVENT(getrandom
,
1034 TP_PROTO(sc_exit(long ret
,) char * ubuf
, size_t len
, unsigned int flags
),
1035 TP_ARGS(sc_exit(ret
,) ubuf
, len
, flags
),
1036 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
)))
1039 #ifndef OVERRIDE_32_bpf
1040 SC_LTTNG_TRACEPOINT_EVENT(bpf
,
1041 TP_PROTO(sc_exit(long ret
,) int cmd
, union bpf_attr
* uattr
, unsigned int size
),
1042 TP_ARGS(sc_exit(ret
,) cmd
, uattr
, size
),
1043 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
)))
1046 #ifndef OVERRIDE_32_open_tree
1047 SC_LTTNG_TRACEPOINT_EVENT(open_tree
,
1048 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
),
1049 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
),
1050 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
)))
1053 #ifndef OVERRIDE_32_fspick
1054 SC_LTTNG_TRACEPOINT_EVENT(fspick
,
1055 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
),
1056 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
),
1057 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
)))
1060 #ifndef OVERRIDE_32_landlock_create_ruleset
1061 SC_LTTNG_TRACEPOINT_EVENT(landlock_create_ruleset
,
1062 TP_PROTO(sc_exit(long ret
,) const struct landlock_ruleset_attr
*const attr
, const size_t size
, const __u32 flags
),
1063 TP_ARGS(sc_exit(ret
,) attr
, size
, flags
),
1064 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(const struct landlock_ruleset_attr
*const, attr
, attr
)) sc_inout(ctf_integer(const size_t, size
, size
)) sc_inout(ctf_integer(const __u32
, flags
, flags
)))
1067 #ifndef OVERRIDE_32_reboot
1068 SC_LTTNG_TRACEPOINT_EVENT(reboot
,
1069 TP_PROTO(sc_exit(long ret
,) int magic1
, int magic2
, unsigned int cmd
, void * arg
),
1070 TP_ARGS(sc_exit(ret
,) magic1
, magic2
, cmd
, arg
),
1071 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
)))
1074 #ifndef OVERRIDE_32_wait4
1075 SC_LTTNG_TRACEPOINT_EVENT(wait4
,
1076 TP_PROTO(sc_exit(long ret
,) pid_t upid
, int * stat_addr
, int options
, struct rusage
* ru
),
1077 TP_ARGS(sc_exit(ret
,) upid
, stat_addr
, options
, ru
),
1078 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
)))
1081 #ifndef OVERRIDE_32_quotactl
1082 SC_LTTNG_TRACEPOINT_EVENT(quotactl
,
1083 TP_PROTO(sc_exit(long ret
,) unsigned int cmd
, const char * special
, qid_t id
, void * addr
),
1084 TP_ARGS(sc_exit(ret
,) cmd
, special
, id
, addr
),
1085 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
)))
1088 #ifndef OVERRIDE_32_rt_sigaction
1089 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction
,
1090 TP_PROTO(sc_exit(long ret
,) int sig
, const struct sigaction
* act
, struct sigaction
* oact
, size_t sigsetsize
),
1091 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
, sigsetsize
),
1092 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
)))
1095 #ifndef OVERRIDE_32_rt_sigprocmask
1096 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask
,
1097 TP_PROTO(sc_exit(long ret
,) int how
, sigset_t
* nset
, sigset_t
* oset
, size_t sigsetsize
),
1098 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
, sigsetsize
),
1099 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
)))
1102 #ifndef OVERRIDE_32_rt_sigtimedwait_time32
1103 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32
,
1104 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct old_timespec32
* uts
, size_t sigsetsize
),
1105 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
1106 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 old_timespec32
*, uts
, uts
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
1109 #ifndef OVERRIDE_32_pread64
1110 SC_LTTNG_TRACEPOINT_EVENT(pread64
,
1111 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
, loff_t pos
),
1112 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
1113 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
)))
1116 #ifndef OVERRIDE_32_pwrite64
1117 SC_LTTNG_TRACEPOINT_EVENT(pwrite64
,
1118 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
, loff_t pos
),
1119 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
, pos
),
1120 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
)))
1123 #ifndef OVERRIDE_32_sendfile
1124 SC_LTTNG_TRACEPOINT_EVENT(sendfile
,
1125 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, off_t
* offset
, size_t count
),
1126 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
1127 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, out_fd
, out_fd
)) sc_inout(ctf_integer(int, in_fd
, in_fd
)) sc_inout(ctf_integer(off_t
*, offset
, offset
)) sc_inout(ctf_integer(size_t, count
, count
)))
1130 #ifndef OVERRIDE_32_getxattr
1131 SC_LTTNG_TRACEPOINT_EVENT(getxattr
,
1132 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1133 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1134 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
)))
1137 #ifndef OVERRIDE_32_lgetxattr
1138 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr
,
1139 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1140 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1141 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
)))
1144 #ifndef OVERRIDE_32_fgetxattr
1145 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr
,
1146 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, void * value
, size_t size
),
1147 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
),
1148 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
)))
1151 #ifndef OVERRIDE_32_sendfile64
1152 SC_LTTNG_TRACEPOINT_EVENT(sendfile64
,
1153 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, loff_t
* offset
, size_t count
),
1154 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
1155 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
)))
1158 #ifndef OVERRIDE_32_epoll_ctl
1159 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl
,
1160 TP_PROTO(sc_exit(long ret
,) int epfd
, int op
, int fd
, struct epoll_event
* event
),
1161 TP_ARGS(sc_exit(ret
,) epfd
, op
, fd
, event
),
1162 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
)))
1165 #ifndef OVERRIDE_32_epoll_wait
1166 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait
,
1167 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
),
1168 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
),
1169 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
)))
1172 #ifndef OVERRIDE_32_timer_settime32
1173 SC_LTTNG_TRACEPOINT_EVENT(timer_settime32
,
1174 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, struct old_itimerspec32
* new, struct old_itimerspec32
* old
),
1175 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new, old
),
1176 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(struct old_itimerspec32
*, new, new)) sc_out(ctf_integer(struct old_itimerspec32
*, old
, old
)))
1179 #ifndef OVERRIDE_32_clock_nanosleep_time32
1180 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32
,
1181 TP_PROTO(sc_exit(long ret
,) clockid_t which_clock
, int flags
, struct old_timespec32
* rqtp
, struct old_timespec32
* rmtp
),
1182 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1183 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(struct old_timespec32
*, rqtp
, rqtp
)) sc_out(ctf_integer(struct old_timespec32
*, rmtp
, rmtp
)))
1186 #ifndef OVERRIDE_32_mq_open
1187 SC_LTTNG_TRACEPOINT_EVENT(mq_open
,
1188 TP_PROTO(sc_exit(long ret
,) const char * u_name
, int oflag
, umode_t mode
, struct mq_attr
* u_attr
),
1189 TP_ARGS(sc_exit(ret
,) u_name
, oflag
, mode
, u_attr
),
1190 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
)))
1193 #ifndef OVERRIDE_32_socketpair
1194 SC_LTTNG_TRACEPOINT_EVENT(socketpair
,
1195 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
, int * usockvec
),
1196 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
, usockvec
),
1197 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
)))
1200 #ifndef OVERRIDE_32_send
1201 SC_LTTNG_TRACEPOINT_EVENT(send
,
1202 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned int flags
),
1203 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
),
1204 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd
, fd
)) sc_inout(ctf_integer(void *, buff
, buff
)) sc_inout(ctf_integer(size_t, len
, len
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1207 #ifndef OVERRIDE_32_recv
1208 SC_LTTNG_TRACEPOINT_EVENT(recv
,
1209 TP_PROTO(sc_exit(long ret
,) int fd
, void * ubuf
, size_t size
, unsigned int flags
),
1210 TP_ARGS(sc_exit(ret
,) fd
, ubuf
, size
, flags
),
1211 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd
, fd
)) sc_inout(ctf_integer(void *, ubuf
, ubuf
)) sc_inout(ctf_integer(size_t, size
, size
)) sc_inout(ctf_integer(unsigned int, flags
, flags
)))
1214 #ifndef OVERRIDE_32_msgsnd
1215 SC_LTTNG_TRACEPOINT_EVENT(msgsnd
,
1216 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, int msgflg
),
1217 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgflg
),
1218 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
)))
1221 #ifndef OVERRIDE_32_request_key
1222 SC_LTTNG_TRACEPOINT_EVENT(request_key
,
1223 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const char * _callout_info
, key_serial_t destringid
),
1224 TP_ARGS(sc_exit(ret
,) _type
, _description
, _callout_info
, destringid
),
1225 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
)))
1228 #ifndef OVERRIDE_32_semtimedop_time32
1229 SC_LTTNG_TRACEPOINT_EVENT(semtimedop_time32
,
1230 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsems
, unsigned int nsops
, const struct old_timespec32
* timeout
),
1231 TP_ARGS(sc_exit(ret
,) semid
, tsems
, nsops
, timeout
),
1232 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, semid
, semid
)) sc_inout(ctf_integer(struct sembuf
*, tsems
, tsems
)) sc_inout(ctf_integer(unsigned int, nsops
, nsops
)) sc_inout(ctf_integer(const struct old_timespec32
*, timeout
, timeout
)))
1235 #ifndef OVERRIDE_32_openat
1236 SC_LTTNG_TRACEPOINT_EVENT(openat
,
1237 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int flags
, umode_t mode
),
1238 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mode
),
1239 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
)))
1242 #ifndef OVERRIDE_32_mknodat
1243 SC_LTTNG_TRACEPOINT_EVENT(mknodat
,
1244 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
, unsigned int dev
),
1245 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, dev
),
1246 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
)))
1249 #ifndef OVERRIDE_32_fstatat64
1250 SC_LTTNG_TRACEPOINT_EVENT(fstatat64
,
1251 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct stat64
* statbuf
, int flag
),
1252 TP_ARGS(sc_exit(ret
,) dfd
, filename
, statbuf
, flag
),
1253 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 stat64
*, statbuf
, statbuf
)) sc_inout(ctf_integer(int, flag
, flag
)))
1256 #ifndef OVERRIDE_32_renameat
1257 SC_LTTNG_TRACEPOINT_EVENT(renameat
,
1258 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
),
1259 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
),
1260 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
)))
1263 #ifndef OVERRIDE_32_readlinkat
1264 SC_LTTNG_TRACEPOINT_EVENT(readlinkat
,
1265 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, char * buf
, int bufsiz
),
1266 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, buf
, bufsiz
),
1267 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
)))
1270 #ifndef OVERRIDE_32_vmsplice
1271 SC_LTTNG_TRACEPOINT_EVENT(vmsplice
,
1272 TP_PROTO(sc_exit(long ret
,) int fd
, const struct iovec
* uiov
, unsigned long nr_segs
, unsigned int flags
),
1273 TP_ARGS(sc_exit(ret
,) fd
, uiov
, nr_segs
, flags
),
1274 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
)))
1277 #ifndef OVERRIDE_32_kexec_load
1278 SC_LTTNG_TRACEPOINT_EVENT(kexec_load
,
1279 TP_PROTO(sc_exit(long ret
,) unsigned long entry
, unsigned long nr_segments
, struct kexec_segment
* segments
, unsigned long flags
),
1280 TP_ARGS(sc_exit(ret
,) entry
, nr_segments
, segments
, flags
),
1281 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
)))
1284 #ifndef OVERRIDE_32_utimensat_time32
1285 SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32
,
1286 TP_PROTO(sc_exit(long ret
,) unsigned int dfd
, const char * filename
, struct old_timespec32
* t
, int flags
),
1287 TP_ARGS(sc_exit(ret
,) dfd
, filename
, t
, flags
),
1288 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, dfd
, dfd
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct old_timespec32
*, t
, t
)) sc_in(ctf_integer(int, flags
, flags
)))
1291 #ifndef OVERRIDE_32_timerfd_settime32
1292 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32
,
1293 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct old_itimerspec32
* utmr
, struct old_itimerspec32
* otmr
),
1294 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1295 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 old_itimerspec32
*, utmr
, utmr
)) sc_out(ctf_integer(struct old_itimerspec32
*, otmr
, otmr
)))
1298 #ifndef OVERRIDE_32_signalfd4
1299 SC_LTTNG_TRACEPOINT_EVENT(signalfd4
,
1300 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
, int flags
),
1301 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
, flags
),
1302 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
)))
1305 #ifndef OVERRIDE_32_rt_tgsigqueueinfo
1306 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo
,
1307 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
, siginfo_t
* uinfo
),
1308 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
, uinfo
),
1309 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
)))
1312 #ifndef OVERRIDE_32_accept4
1313 SC_LTTNG_TRACEPOINT_EVENT(accept4
,
1314 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
, int flags
),
1315 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
, flags
),
1316 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
)))
1319 #ifndef OVERRIDE_32_prlimit64
1320 SC_LTTNG_TRACEPOINT_EVENT(prlimit64
,
1321 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int resource
, const struct rlimit64
* new_rlim
, struct rlimit64
* old_rlim
),
1322 TP_ARGS(sc_exit(ret
,) pid
, resource
, new_rlim
, old_rlim
),
1323 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
)))
1326 #ifndef OVERRIDE_32_sendmmsg
1327 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg
,
1328 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
),
1329 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
),
1330 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
)))
1333 #ifndef OVERRIDE_32_sched_getattr
1334 SC_LTTNG_TRACEPOINT_EVENT(sched_getattr
,
1335 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_attr
* uattr
, unsigned int usize
, unsigned int flags
),
1336 TP_ARGS(sc_exit(ret
,) pid
, uattr
, usize
, flags
),
1337 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
)))
1340 #ifndef OVERRIDE_32_rseq
1341 SC_LTTNG_TRACEPOINT_EVENT(rseq
,
1342 TP_PROTO(sc_exit(long ret
,) struct rseq
* rseq
, u32 rseq_len
, int flags
, u32 sig
),
1343 TP_ARGS(sc_exit(ret
,) rseq
, rseq_len
, flags
, sig
),
1344 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
)))
1347 #ifndef OVERRIDE_32_clock_nanosleep
1348 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep
,
1349 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, int flags
, const struct __kernel_timespec
* rqtp
, struct __kernel_timespec
* rmtp
),
1350 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1351 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
)))
1354 #ifndef OVERRIDE_32_timer_settime
1355 SC_LTTNG_TRACEPOINT_EVENT(timer_settime
,
1356 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, const struct __kernel_itimerspec
* new_setting
, struct __kernel_itimerspec
* old_setting
),
1357 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new_setting
, old_setting
),
1358 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
)))
1361 #ifndef OVERRIDE_32_timerfd_settime
1362 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime
,
1363 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct __kernel_itimerspec
* utmr
, struct __kernel_itimerspec
* otmr
),
1364 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1365 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
)))
1368 #ifndef OVERRIDE_32_utimensat
1369 SC_LTTNG_TRACEPOINT_EVENT(utimensat
,
1370 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct __kernel_timespec
* utimes
, int flags
),
1371 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
, flags
),
1372 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
)))
1375 #ifndef OVERRIDE_32_semtimedop
1376 SC_LTTNG_TRACEPOINT_EVENT(semtimedop
,
1377 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned int nsops
, const struct __kernel_timespec
* timeout
),
1378 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
, timeout
),
1379 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
)))
1382 #ifndef OVERRIDE_32_rt_sigtimedwait
1383 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait
,
1384 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct __kernel_timespec
* uts
, size_t sigsetsize
),
1385 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
1386 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
)))
1389 #ifndef OVERRIDE_32_pidfd_send_signal
1390 SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal
,
1391 TP_PROTO(sc_exit(long ret
,) int pidfd
, int sig
, siginfo_t
* info
, unsigned int flags
),
1392 TP_ARGS(sc_exit(ret
,) pidfd
, sig
, info
, flags
),
1393 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
)))
1396 #ifndef OVERRIDE_32_io_uring_register
1397 SC_LTTNG_TRACEPOINT_EVENT(io_uring_register
,
1398 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int opcode
, void * arg
, unsigned int nr_args
),
1399 TP_ARGS(sc_exit(ret
,) fd
, opcode
, arg
, nr_args
),
1400 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
)))
1403 #ifndef OVERRIDE_32_openat2
1404 SC_LTTNG_TRACEPOINT_EVENT(openat2
,
1405 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct open_how
* how
, size_t usize
),
1406 TP_ARGS(sc_exit(ret
,) dfd
, filename
, how
, usize
),
1407 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
)))
1410 #ifndef OVERRIDE_32_faccessat2
1411 SC_LTTNG_TRACEPOINT_EVENT(faccessat2
,
1412 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
, int flags
),
1413 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, flags
),
1414 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
)))
1417 #ifndef OVERRIDE_32_quotactl_fd
1418 SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd
,
1419 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, qid_t id
, void * addr
),
1420 TP_ARGS(sc_exit(ret
,) fd
, cmd
, id
, addr
),
1421 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
)))
1424 #ifndef OVERRIDE_32_landlock_add_rule
1425 SC_LTTNG_TRACEPOINT_EVENT(landlock_add_rule
,
1426 TP_PROTO(sc_exit(long ret
,) const int ruleset_fd
, const enum landlock_rule_type rule_type
, const void *const rule_attr
, const __u32 flags
),
1427 TP_ARGS(sc_exit(ret
,) ruleset_fd
, rule_type
, rule_attr
, flags
),
1428 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(const int, ruleset_fd
, ruleset_fd
)) sc_inout(ctf_integer(const enum landlock_rule_type
, rule_type
, rule_type
)) sc_inout(ctf_integer(const void *const, rule_attr
, rule_attr
)) sc_inout(ctf_integer(const __u32
, flags
, flags
)))
1431 #ifndef OVERRIDE_32_mount
1432 SC_LTTNG_TRACEPOINT_EVENT(mount
,
1433 TP_PROTO(sc_exit(long ret
,) char * dev_name
, char * dir_name
, char * type
, unsigned long flags
, void * data
),
1434 TP_ARGS(sc_exit(ret
,) dev_name
, dir_name
, type
, flags
, data
),
1435 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
)))
1438 #ifndef OVERRIDE_32_clone
1439 SC_LTTNG_TRACEPOINT_EVENT(clone
,
1440 TP_PROTO(sc_exit(long ret
,) unsigned long clone_flags
, unsigned long newsp
, int * parent_tidptr
, unsigned long tls
, int * child_tidptr
),
1441 TP_ARGS(sc_exit(ret
,) clone_flags
, newsp
, parent_tidptr
, tls
, child_tidptr
),
1442 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(unsigned long, tls
, tls
)) sc_inout(ctf_integer(int *, child_tidptr
, child_tidptr
)))
1445 #ifndef OVERRIDE_32_llseek
1446 SC_LTTNG_TRACEPOINT_EVENT(llseek
,
1447 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long offset_high
, unsigned long offset_low
, loff_t
* result
, unsigned int whence
),
1448 TP_ARGS(sc_exit(ret
,) fd
, offset_high
, offset_low
, result
, whence
),
1449 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(unsigned long, offset_high
, offset_high
)) sc_inout(ctf_integer(unsigned long, offset_low
, offset_low
)) sc_inout(ctf_integer(loff_t
*, result
, result
)) sc_inout(ctf_integer(unsigned int, whence
, whence
)))
1452 #ifndef OVERRIDE_32_select
1453 SC_LTTNG_TRACEPOINT_EVENT(select
,
1454 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_old_timeval
* tvp
),
1455 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tvp
),
1456 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
)))
1459 #ifndef OVERRIDE_32_setxattr
1460 SC_LTTNG_TRACEPOINT_EVENT(setxattr
,
1461 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1462 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1463 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
)))
1466 #ifndef OVERRIDE_32_lsetxattr
1467 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr
,
1468 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1469 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1470 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
)))
1473 #ifndef OVERRIDE_32_fsetxattr
1474 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr
,
1475 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, const void * value
, size_t size
, int flags
),
1476 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
, flags
),
1477 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
)))
1480 #ifndef OVERRIDE_32_io_getevents_time32
1481 SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32
,
1482 TP_PROTO(sc_exit(long ret
,) __u32 ctx_id
, __s32 min_nr
, __s32 nr
, struct io_event
* events
, struct old_timespec32
* timeout
),
1483 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
),
1484 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(__u32
, ctx_id
, ctx_id
)) sc_in(ctf_integer(__s32
, min_nr
, min_nr
)) sc_in(ctf_integer(__s32
, nr
, nr
)) sc_out(ctf_integer(struct io_event
*, events
, events
)) sc_inout(ctf_integer(struct old_timespec32
*, timeout
, timeout
)))
1487 #ifndef OVERRIDE_32_pciconfig_read
1488 SC_LTTNG_TRACEPOINT_EVENT(pciconfig_read
,
1489 TP_PROTO(sc_exit(long ret
,) unsigned long bus
, unsigned long dfn
, unsigned long off
, unsigned long len
, void * buf
),
1490 TP_ARGS(sc_exit(ret
,) bus
, dfn
, off
, len
, buf
),
1491 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, bus
, bus
)) sc_inout(ctf_integer(unsigned long, dfn
, dfn
)) sc_inout(ctf_integer(unsigned long, off
, off
)) sc_inout(ctf_integer(unsigned long, len
, len
)) sc_inout(ctf_integer(void *, buf
, buf
)))
1494 #ifndef OVERRIDE_32_pciconfig_write
1495 SC_LTTNG_TRACEPOINT_EVENT(pciconfig_write
,
1496 TP_PROTO(sc_exit(long ret
,) unsigned long bus
, unsigned long dfn
, unsigned long off
, unsigned long len
, void * buf
),
1497 TP_ARGS(sc_exit(ret
,) bus
, dfn
, off
, len
, buf
),
1498 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, bus
, bus
)) sc_inout(ctf_integer(unsigned long, dfn
, dfn
)) sc_inout(ctf_integer(unsigned long, off
, off
)) sc_inout(ctf_integer(unsigned long, len
, len
)) sc_inout(ctf_integer(void *, buf
, buf
)))
1501 #ifndef OVERRIDE_32_mq_timedsend_time32
1502 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32
,
1503 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const char * u_msg_ptr
, unsigned int msg_len
, unsigned int msg_prio
, const struct old_timespec32
* u_abs_timeout
),
1504 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1505 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(unsigned int, msg_len
, msg_len
)) sc_in(ctf_integer(unsigned int, msg_prio
, msg_prio
)) sc_in(ctf_integer(const struct old_timespec32
*, u_abs_timeout
, u_abs_timeout
)))
1508 #ifndef OVERRIDE_32_mq_timedreceive_time32
1509 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32
,
1510 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, char * u_msg_ptr
, unsigned int msg_len
, unsigned int * u_msg_prio
, const struct old_timespec32
* u_abs_timeout
),
1511 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1512 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(unsigned int, msg_len
, msg_len
)) sc_out(ctf_integer(unsigned int *, u_msg_prio
, u_msg_prio
)) sc_in(ctf_integer(const struct old_timespec32
*, u_abs_timeout
, u_abs_timeout
)))
1515 #ifndef OVERRIDE_32_waitid
1516 SC_LTTNG_TRACEPOINT_EVENT(waitid
,
1517 TP_PROTO(sc_exit(long ret
,) int which
, pid_t upid
, struct siginfo
* infop
, int options
, struct rusage
* ru
),
1518 TP_ARGS(sc_exit(ret
,) which
, upid
, infop
, options
, ru
),
1519 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
)))
1522 #ifndef OVERRIDE_32_setsockopt
1523 SC_LTTNG_TRACEPOINT_EVENT(setsockopt
,
1524 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int optlen
),
1525 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1526 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
)))
1529 #ifndef OVERRIDE_32_getsockopt
1530 SC_LTTNG_TRACEPOINT_EVENT(getsockopt
,
1531 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int * optlen
),
1532 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1533 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
)))
1536 #ifndef OVERRIDE_32_msgrcv
1537 SC_LTTNG_TRACEPOINT_EVENT(msgrcv
,
1538 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, long msgtyp
, int msgflg
),
1539 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgtyp
, msgflg
),
1540 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
)))
1543 #ifndef OVERRIDE_32_add_key
1544 SC_LTTNG_TRACEPOINT_EVENT(add_key
,
1545 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const void * _payload
, size_t plen
, key_serial_t ringid
),
1546 TP_ARGS(sc_exit(ret
,) _type
, _description
, _payload
, plen
, ringid
),
1547 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
)))
1550 #ifndef OVERRIDE_32_fchownat
1551 SC_LTTNG_TRACEPOINT_EVENT(fchownat
,
1552 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, uid_t user
, gid_t group
, int flag
),
1553 TP_ARGS(sc_exit(ret
,) dfd
, filename
, user
, group
, flag
),
1554 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
)))
1557 #ifndef OVERRIDE_32_linkat
1558 SC_LTTNG_TRACEPOINT_EVENT(linkat
,
1559 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, int flags
),
1560 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1561 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
)))
1564 #ifndef OVERRIDE_32_ppoll_time32
1565 SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32
,
1566 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct old_timespec32
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1567 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1568 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 old_timespec32
*, tsp
, tsp
)) sc_in(ctf_integer(const sigset_t
*, sigmask
, sigmask
)) sc_in(ctf_integer(size_t, sigsetsize
, sigsetsize
)))
1571 #ifndef OVERRIDE_32_preadv
1572 SC_LTTNG_TRACEPOINT_EVENT(preadv
,
1573 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1574 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1575 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
)))
1578 #ifndef OVERRIDE_32_pwritev
1579 SC_LTTNG_TRACEPOINT_EVENT(pwritev
,
1580 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1581 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1582 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
)))
1585 #ifndef OVERRIDE_32_perf_event_open
1586 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open
,
1587 TP_PROTO(sc_exit(long ret
,) struct perf_event_attr
* attr_uptr
, pid_t pid
, int cpu
, int group_fd
, unsigned long flags
),
1588 TP_ARGS(sc_exit(ret
,) attr_uptr
, pid
, cpu
, group_fd
, flags
),
1589 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
)))
1592 #ifndef OVERRIDE_32_recvmmsg_time32
1593 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32
,
1594 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct old_timespec32
* timeout
),
1595 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1596 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 old_timespec32
*, timeout
, timeout
)))
1599 #ifndef OVERRIDE_32_fanotify_mark
1600 SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark
,
1601 TP_PROTO(sc_exit(long ret
,) int fanotify_fd
, unsigned int flags
, __u64 mask
, int dfd
, const char * pathname
),
1602 TP_ARGS(sc_exit(ret
,) fanotify_fd
, flags
, mask
, dfd
, pathname
),
1603 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
)))
1606 #ifndef OVERRIDE_32_name_to_handle_at
1607 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at
,
1608 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * name
, struct file_handle
* handle
, int * mnt_id
, int flag
),
1609 TP_ARGS(sc_exit(ret
,) dfd
, name
, handle
, mnt_id
, flag
),
1610 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
)))
1613 #ifndef OVERRIDE_32_renameat2
1614 SC_LTTNG_TRACEPOINT_EVENT(renameat2
,
1615 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, unsigned int flags
),
1616 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1617 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
)))
1620 #ifndef OVERRIDE_32_execveat
1621 SC_LTTNG_TRACEPOINT_EVENT(execveat
,
1622 TP_PROTO(sc_exit(long ret
,) int fd
, const char * filename
, const char *const * argv
, const char *const * envp
, int flags
),
1623 TP_ARGS(sc_exit(ret
,) fd
, filename
, argv
, envp
, flags
),
1624 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
)))
1627 #ifndef OVERRIDE_32_statx
1628 SC_LTTNG_TRACEPOINT_EVENT(statx
,
1629 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, unsigned flags
, unsigned int mask
, struct statx
* buffer
),
1630 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mask
, buffer
),
1631 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
)))
1634 #ifndef OVERRIDE_32_ppoll
1635 SC_LTTNG_TRACEPOINT_EVENT(ppoll
,
1636 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct __kernel_timespec
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1637 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1638 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
)))
1641 #ifndef OVERRIDE_32_recvmmsg
1642 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg
,
1643 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct __kernel_timespec
* timeout
),
1644 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1645 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
)))
1648 #ifndef OVERRIDE_32_mq_timedsend
1649 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend
,
1650 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
),
1651 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1652 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
)))
1655 #ifndef OVERRIDE_32_mq_timedreceive
1656 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive
,
1657 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
),
1658 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1659 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
)))
1662 #ifndef OVERRIDE_32_move_mount
1663 SC_LTTNG_TRACEPOINT_EVENT(move_mount
,
1664 TP_PROTO(sc_exit(long ret
,) int from_dfd
, const char * from_pathname
, int to_dfd
, const char * to_pathname
, unsigned int flags
),
1665 TP_ARGS(sc_exit(ret
,) from_dfd
, from_pathname
, to_dfd
, to_pathname
, flags
),
1666 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
)))
1669 #ifndef OVERRIDE_32_fsconfig
1670 SC_LTTNG_TRACEPOINT_EVENT(fsconfig
,
1671 TP_PROTO(sc_exit(long ret
,) int fd
, unsigned int cmd
, const char * _key
, const void * _value
, int aux
),
1672 TP_ARGS(sc_exit(ret
,) fd
, cmd
, _key
, _value
, aux
),
1673 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
)))
1676 #ifndef OVERRIDE_32_process_madvise
1677 SC_LTTNG_TRACEPOINT_EVENT(process_madvise
,
1678 TP_PROTO(sc_exit(long ret
,) int pidfd
, const struct iovec
* vec
, size_t vlen
, int behavior
, unsigned int flags
),
1679 TP_ARGS(sc_exit(ret
,) pidfd
, vec
, vlen
, behavior
, flags
),
1680 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
)))
1683 #ifndef OVERRIDE_32_mount_setattr
1684 SC_LTTNG_TRACEPOINT_EVENT(mount_setattr
,
1685 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * path
, unsigned int flags
, struct mount_attr
* uattr
, size_t usize
),
1686 TP_ARGS(sc_exit(ret
,) dfd
, path
, flags
, uattr
, usize
),
1687 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
)))
1690 #ifndef OVERRIDE_32_futex_waitv
1691 SC_LTTNG_TRACEPOINT_EVENT(futex_waitv
,
1692 TP_PROTO(sc_exit(long ret
,) struct futex_waitv
* waiters
, unsigned int nr_futexes
, unsigned int flags
, struct __kernel_timespec
* timeout
, clockid_t clockid
),
1693 TP_ARGS(sc_exit(ret
,) waiters
, nr_futexes
, flags
, timeout
, clockid
),
1694 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
)))
1697 #ifndef OVERRIDE_32_futex_time32
1698 SC_LTTNG_TRACEPOINT_EVENT(futex_time32
,
1699 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, const struct old_timespec32
* utime
, u32
* uaddr2
, u32 val3
),
1700 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1701 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 old_timespec32
*, utime
, utime
)) sc_inout(ctf_integer(u32
*, uaddr2
, uaddr2
)) sc_in(ctf_integer(u32
, val3
, val3
)))
1704 #ifndef OVERRIDE_32_sendto
1705 SC_LTTNG_TRACEPOINT_EVENT(sendto
,
1706 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned int flags
, struct sockaddr
* addr
, int addr_len
),
1707 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
, addr
, addr_len
),
1708 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
)))
1711 #ifndef OVERRIDE_32_recvfrom
1712 SC_LTTNG_TRACEPOINT_EVENT(recvfrom
,
1713 TP_PROTO(sc_exit(long ret
,) int fd
, void * ubuf
, size_t size
, unsigned int flags
, struct sockaddr
* addr
, int * addr_len
),
1714 TP_ARGS(sc_exit(ret
,) fd
, ubuf
, size
, flags
, addr
, addr_len
),
1715 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
)))
1718 #ifndef OVERRIDE_32_pselect6_time32
1719 SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32
,
1720 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct old_timespec32
* tsp
, void * sig
),
1721 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1722 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 old_timespec32
*, tsp
, tsp
)) sc_in(ctf_integer(void *, sig
, sig
)))
1725 #ifndef OVERRIDE_32_splice
1726 SC_LTTNG_TRACEPOINT_EVENT(splice
,
1727 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
),
1728 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1729 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
)))
1732 #ifndef OVERRIDE_32_epoll_pwait
1733 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait
,
1734 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1735 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1736 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
)))
1739 #ifndef OVERRIDE_32_process_vm_readv
1740 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv
,
1741 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
),
1742 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1743 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
)))
1746 #ifndef OVERRIDE_32_process_vm_writev
1747 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev
,
1748 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
),
1749 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1750 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
)))
1753 #ifndef OVERRIDE_32_copy_file_range
1754 SC_LTTNG_TRACEPOINT_EVENT(copy_file_range
,
1755 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
),
1756 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1757 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
)))
1760 #ifndef OVERRIDE_32_preadv2
1761 SC_LTTNG_TRACEPOINT_EVENT(preadv2
,
1762 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
),
1763 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1764 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
)))
1767 #ifndef OVERRIDE_32_pwritev2
1768 SC_LTTNG_TRACEPOINT_EVENT(pwritev2
,
1769 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
),
1770 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
, flags
),
1771 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
)))
1774 #ifndef OVERRIDE_32_io_pgetevents_time32
1775 SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32
,
1776 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct old_timespec32
* timeout
, const struct __aio_sigset
* usig
),
1777 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
, usig
),
1778 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 old_timespec32
*, timeout
, timeout
)) sc_inout(ctf_integer(const struct __aio_sigset
*, usig
, usig
)))
1781 #ifndef OVERRIDE_32_pselect6
1782 SC_LTTNG_TRACEPOINT_EVENT(pselect6
,
1783 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct __kernel_timespec
* tsp
, void * sig
),
1784 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1785 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
)))
1788 #ifndef OVERRIDE_32_io_pgetevents
1789 SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents
,
1790 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
),
1791 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
, usig
),
1792 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
)))
1795 #ifndef OVERRIDE_32_futex
1796 SC_LTTNG_TRACEPOINT_EVENT(futex
,
1797 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, const struct __kernel_timespec
* utime
, u32
* uaddr2
, u32 val3
),
1798 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1799 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
)))
1802 #ifndef OVERRIDE_32_io_uring_enter
1803 SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter
,
1804 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, u32 to_submit
, u32 min_complete
, u32 flags
, const void * argp
, size_t argsz
),
1805 TP_ARGS(sc_exit(ret
,) fd
, to_submit
, min_complete
, flags
, argp
, argsz
),
1806 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
)))
1809 #ifndef OVERRIDE_32_epoll_pwait2
1810 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2
,
1811 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
),
1812 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1813 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
)))
1817 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1819 /* This part must be outside protection */
1820 #include <lttng/define_trace.h>
1822 #else /* CREATE_SYSCALL_TABLE */
1824 #include "arm-32-syscalls_pointers_override.h"
1825 #include "syscalls_pointers_override.h"
1827 #ifndef OVERRIDE_TABLE_32_read
1828 TRACE_SYSCALL_TABLE(read
, read
, 3, 3)
1830 #ifndef OVERRIDE_TABLE_32_write
1831 TRACE_SYSCALL_TABLE(write
, write
, 4, 3)
1833 #ifndef OVERRIDE_TABLE_32_open
1834 TRACE_SYSCALL_TABLE(open
, open
, 5, 3)
1836 #ifndef OVERRIDE_TABLE_32_creat
1837 TRACE_SYSCALL_TABLE(creat
, creat
, 8, 2)
1839 #ifndef OVERRIDE_TABLE_32_link
1840 TRACE_SYSCALL_TABLE(link
, link
, 9, 2)
1842 #ifndef OVERRIDE_TABLE_32_unlink
1843 TRACE_SYSCALL_TABLE(unlink
, unlink
, 10, 1)
1845 #ifndef OVERRIDE_TABLE_32_execve
1846 TRACE_SYSCALL_TABLE(execve
, execve
, 11, 3)
1848 #ifndef OVERRIDE_TABLE_32_chdir
1849 TRACE_SYSCALL_TABLE(chdir
, chdir
, 12, 1)
1851 #ifndef OVERRIDE_TABLE_32_mknod
1852 TRACE_SYSCALL_TABLE(mknod
, mknod
, 14, 3)
1854 #ifndef OVERRIDE_TABLE_32_chmod
1855 TRACE_SYSCALL_TABLE(chmod
, chmod
, 15, 2)
1857 #ifndef OVERRIDE_TABLE_32_lchown16
1858 TRACE_SYSCALL_TABLE(lchown16
, lchown16
, 16, 3)
1860 #ifndef OVERRIDE_TABLE_32_mount
1861 TRACE_SYSCALL_TABLE(mount
, mount
, 21, 5)
1863 #ifndef OVERRIDE_TABLE_32_access
1864 TRACE_SYSCALL_TABLE(access
, access
, 33, 2)
1866 #ifndef OVERRIDE_TABLE_32_rename
1867 TRACE_SYSCALL_TABLE(rename
, rename
, 38, 2)
1869 #ifndef OVERRIDE_TABLE_32_mkdir
1870 TRACE_SYSCALL_TABLE(mkdir
, mkdir
, 39, 2)
1872 #ifndef OVERRIDE_TABLE_32_rmdir
1873 TRACE_SYSCALL_TABLE(rmdir
, rmdir
, 40, 1)
1875 #ifndef OVERRIDE_TABLE_32_pipe
1876 TRACE_SYSCALL_TABLE(pipe
, pipe
, 42, 1)
1878 #ifndef OVERRIDE_TABLE_32_times
1879 TRACE_SYSCALL_TABLE(times
, times
, 43, 1)
1881 #ifndef OVERRIDE_TABLE_32_acct
1882 TRACE_SYSCALL_TABLE(acct
, acct
, 51, 1)
1884 #ifndef OVERRIDE_TABLE_32_umount
1885 TRACE_SYSCALL_TABLE(umount
, umount
, 52, 2)
1887 #ifndef OVERRIDE_TABLE_32_chroot
1888 TRACE_SYSCALL_TABLE(chroot
, chroot
, 61, 1)
1890 #ifndef OVERRIDE_TABLE_32_ustat
1891 TRACE_SYSCALL_TABLE(ustat
, ustat
, 62, 2)
1893 #ifndef OVERRIDE_TABLE_32_sigaction
1894 TRACE_SYSCALL_TABLE(sigaction
, sigaction
, 67, 3)
1896 #ifndef OVERRIDE_TABLE_32_sigpending
1897 TRACE_SYSCALL_TABLE(sigpending
, sigpending
, 73, 1)
1899 #ifndef OVERRIDE_TABLE_32_sethostname
1900 TRACE_SYSCALL_TABLE(sethostname
, sethostname
, 74, 2)
1902 #ifndef OVERRIDE_TABLE_32_setrlimit
1903 TRACE_SYSCALL_TABLE(setrlimit
, setrlimit
, 75, 2)
1905 #ifndef OVERRIDE_TABLE_32_getrusage
1906 TRACE_SYSCALL_TABLE(getrusage
, getrusage
, 77, 2)
1908 #ifndef OVERRIDE_TABLE_32_gettimeofday
1909 TRACE_SYSCALL_TABLE(gettimeofday
, gettimeofday
, 78, 2)
1911 #ifndef OVERRIDE_TABLE_32_settimeofday
1912 TRACE_SYSCALL_TABLE(settimeofday
, settimeofday
, 79, 2)
1914 #ifndef OVERRIDE_TABLE_32_getgroups16
1915 TRACE_SYSCALL_TABLE(getgroups16
, getgroups16
, 80, 2)
1917 #ifndef OVERRIDE_TABLE_32_setgroups16
1918 TRACE_SYSCALL_TABLE(setgroups16
, setgroups16
, 81, 2)
1920 #ifndef OVERRIDE_TABLE_32_symlink
1921 TRACE_SYSCALL_TABLE(symlink
, symlink
, 83, 2)
1923 #ifndef OVERRIDE_TABLE_32_readlink
1924 TRACE_SYSCALL_TABLE(readlink
, readlink
, 85, 3)
1926 #ifndef OVERRIDE_TABLE_32_swapon
1927 TRACE_SYSCALL_TABLE(swapon
, swapon
, 87, 2)
1929 #ifndef OVERRIDE_TABLE_32_reboot
1930 TRACE_SYSCALL_TABLE(reboot
, reboot
, 88, 4)
1932 #ifndef OVERRIDE_TABLE_32_truncate
1933 TRACE_SYSCALL_TABLE(truncate
, truncate
, 92, 2)
1935 #ifndef OVERRIDE_TABLE_32_statfs
1936 TRACE_SYSCALL_TABLE(statfs
, statfs
, 99, 2)
1938 #ifndef OVERRIDE_TABLE_32_fstatfs
1939 TRACE_SYSCALL_TABLE(fstatfs
, fstatfs
, 100, 2)
1941 #ifndef OVERRIDE_TABLE_32_syslog
1942 TRACE_SYSCALL_TABLE(syslog
, syslog
, 103, 3)
1944 #ifndef OVERRIDE_TABLE_32_setitimer
1945 TRACE_SYSCALL_TABLE(setitimer
, setitimer
, 104, 3)
1947 #ifndef OVERRIDE_TABLE_32_getitimer
1948 TRACE_SYSCALL_TABLE(getitimer
, getitimer
, 105, 2)
1950 #ifndef OVERRIDE_TABLE_32_newstat
1951 TRACE_SYSCALL_TABLE(newstat
, newstat
, 106, 2)
1953 #ifndef OVERRIDE_TABLE_32_newlstat
1954 TRACE_SYSCALL_TABLE(newlstat
, newlstat
, 107, 2)
1956 #ifndef OVERRIDE_TABLE_32_newfstat
1957 TRACE_SYSCALL_TABLE(newfstat
, newfstat
, 108, 2)
1959 #ifndef OVERRIDE_TABLE_32_wait4
1960 TRACE_SYSCALL_TABLE(wait4
, wait4
, 114, 4)
1962 #ifndef OVERRIDE_TABLE_32_swapoff
1963 TRACE_SYSCALL_TABLE(swapoff
, swapoff
, 115, 1)
1965 #ifndef OVERRIDE_TABLE_32_sysinfo
1966 TRACE_SYSCALL_TABLE(sysinfo
, sysinfo
, 116, 1)
1968 #ifndef OVERRIDE_TABLE_32_clone
1969 TRACE_SYSCALL_TABLE(clone
, clone
, 120, 5)
1971 #ifndef OVERRIDE_TABLE_32_setdomainname
1972 TRACE_SYSCALL_TABLE(setdomainname
, setdomainname
, 121, 2)
1974 #ifndef OVERRIDE_TABLE_32_newuname
1975 TRACE_SYSCALL_TABLE(newuname
, newuname
, 122, 1)
1977 #ifndef OVERRIDE_TABLE_32_adjtimex_time32
1978 TRACE_SYSCALL_TABLE(adjtimex_time32
, adjtimex_time32
, 124, 1)
1980 #ifndef OVERRIDE_TABLE_32_sigprocmask
1981 TRACE_SYSCALL_TABLE(sigprocmask
, sigprocmask
, 126, 3)
1983 #ifndef OVERRIDE_TABLE_32_init_module
1984 TRACE_SYSCALL_TABLE(init_module
, init_module
, 128, 3)
1986 #ifndef OVERRIDE_TABLE_32_delete_module
1987 TRACE_SYSCALL_TABLE(delete_module
, delete_module
, 129, 2)
1989 #ifndef OVERRIDE_TABLE_32_quotactl
1990 TRACE_SYSCALL_TABLE(quotactl
, quotactl
, 131, 4)
1992 #ifndef OVERRIDE_TABLE_32_llseek
1993 TRACE_SYSCALL_TABLE(llseek
, llseek
, 140, 5)
1995 #ifndef OVERRIDE_TABLE_32_getdents
1996 TRACE_SYSCALL_TABLE(getdents
, getdents
, 141, 3)
1998 #ifndef OVERRIDE_TABLE_32_select
1999 TRACE_SYSCALL_TABLE(select
, select
, 142, 5)
2001 #ifndef OVERRIDE_TABLE_32_readv
2002 TRACE_SYSCALL_TABLE(readv
, readv
, 145, 3)
2004 #ifndef OVERRIDE_TABLE_32_writev
2005 TRACE_SYSCALL_TABLE(writev
, writev
, 146, 3)
2007 #ifndef OVERRIDE_TABLE_32_sched_setparam
2008 TRACE_SYSCALL_TABLE(sched_setparam
, sched_setparam
, 154, 2)
2010 #ifndef OVERRIDE_TABLE_32_sched_getparam
2011 TRACE_SYSCALL_TABLE(sched_getparam
, sched_getparam
, 155, 2)
2013 #ifndef OVERRIDE_TABLE_32_sched_setscheduler
2014 TRACE_SYSCALL_TABLE(sched_setscheduler
, sched_setscheduler
, 156, 3)
2016 #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval_time32
2017 TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32
, sched_rr_get_interval_time32
, 161, 2)
2019 #ifndef OVERRIDE_TABLE_32_nanosleep_time32
2020 TRACE_SYSCALL_TABLE(nanosleep_time32
, nanosleep_time32
, 162, 2)
2022 #ifndef OVERRIDE_TABLE_32_getresuid16
2023 TRACE_SYSCALL_TABLE(getresuid16
, getresuid16
, 165, 3)
2025 #ifndef OVERRIDE_TABLE_32_poll
2026 TRACE_SYSCALL_TABLE(poll
, poll
, 168, 3)
2028 #ifndef OVERRIDE_TABLE_32_getresgid16
2029 TRACE_SYSCALL_TABLE(getresgid16
, getresgid16
, 171, 3)
2031 #ifndef OVERRIDE_TABLE_32_rt_sigaction
2032 TRACE_SYSCALL_TABLE(rt_sigaction
, rt_sigaction
, 174, 4)
2034 #ifndef OVERRIDE_TABLE_32_rt_sigprocmask
2035 TRACE_SYSCALL_TABLE(rt_sigprocmask
, rt_sigprocmask
, 175, 4)
2037 #ifndef OVERRIDE_TABLE_32_rt_sigpending
2038 TRACE_SYSCALL_TABLE(rt_sigpending
, rt_sigpending
, 176, 2)
2040 #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait_time32
2041 TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32
, rt_sigtimedwait_time32
, 177, 4)
2043 #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
2044 TRACE_SYSCALL_TABLE(rt_sigqueueinfo
, rt_sigqueueinfo
, 178, 3)
2046 #ifndef OVERRIDE_TABLE_32_rt_sigsuspend
2047 TRACE_SYSCALL_TABLE(rt_sigsuspend
, rt_sigsuspend
, 179, 2)
2049 #ifndef OVERRIDE_TABLE_32_pread64
2050 TRACE_SYSCALL_TABLE(pread64
, pread64
, 180, 4)
2052 #ifndef OVERRIDE_TABLE_32_pwrite64
2053 TRACE_SYSCALL_TABLE(pwrite64
, pwrite64
, 181, 4)
2055 #ifndef OVERRIDE_TABLE_32_chown16
2056 TRACE_SYSCALL_TABLE(chown16
, chown16
, 182, 3)
2058 #ifndef OVERRIDE_TABLE_32_getcwd
2059 TRACE_SYSCALL_TABLE(getcwd
, getcwd
, 183, 2)
2061 #ifndef OVERRIDE_TABLE_32_sigaltstack
2062 TRACE_SYSCALL_TABLE(sigaltstack
, sigaltstack
, 186, 2)
2064 #ifndef OVERRIDE_TABLE_32_sendfile
2065 TRACE_SYSCALL_TABLE(sendfile
, sendfile
, 187, 4)
2067 #ifndef OVERRIDE_TABLE_32_getrlimit
2068 TRACE_SYSCALL_TABLE(getrlimit
, getrlimit
, 191, 2)
2070 #ifndef OVERRIDE_TABLE_32_truncate64
2071 TRACE_SYSCALL_TABLE(truncate64
, truncate64
, 193, 2)
2073 #ifndef OVERRIDE_TABLE_32_stat64
2074 TRACE_SYSCALL_TABLE(stat64
, stat64
, 195, 2)
2076 #ifndef OVERRIDE_TABLE_32_lstat64
2077 TRACE_SYSCALL_TABLE(lstat64
, lstat64
, 196, 2)
2079 #ifndef OVERRIDE_TABLE_32_fstat64
2080 TRACE_SYSCALL_TABLE(fstat64
, fstat64
, 197, 2)
2082 #ifndef OVERRIDE_TABLE_32_lchown
2083 TRACE_SYSCALL_TABLE(lchown
, lchown
, 198, 3)
2085 #ifndef OVERRIDE_TABLE_32_getgroups
2086 TRACE_SYSCALL_TABLE(getgroups
, getgroups
, 205, 2)
2088 #ifndef OVERRIDE_TABLE_32_setgroups
2089 TRACE_SYSCALL_TABLE(setgroups
, setgroups
, 206, 2)
2091 #ifndef OVERRIDE_TABLE_32_getresuid
2092 TRACE_SYSCALL_TABLE(getresuid
, getresuid
, 209, 3)
2094 #ifndef OVERRIDE_TABLE_32_getresgid
2095 TRACE_SYSCALL_TABLE(getresgid
, getresgid
, 211, 3)
2097 #ifndef OVERRIDE_TABLE_32_chown
2098 TRACE_SYSCALL_TABLE(chown
, chown
, 212, 3)
2100 #ifndef OVERRIDE_TABLE_32_getdents64
2101 TRACE_SYSCALL_TABLE(getdents64
, getdents64
, 217, 3)
2103 #ifndef OVERRIDE_TABLE_32_pivot_root
2104 TRACE_SYSCALL_TABLE(pivot_root
, pivot_root
, 218, 2)
2106 #ifndef OVERRIDE_TABLE_32_mincore
2107 TRACE_SYSCALL_TABLE(mincore
, mincore
, 219, 3)
2109 #ifndef OVERRIDE_TABLE_32_setxattr
2110 TRACE_SYSCALL_TABLE(setxattr
, setxattr
, 226, 5)
2112 #ifndef OVERRIDE_TABLE_32_lsetxattr
2113 TRACE_SYSCALL_TABLE(lsetxattr
, lsetxattr
, 227, 5)
2115 #ifndef OVERRIDE_TABLE_32_fsetxattr
2116 TRACE_SYSCALL_TABLE(fsetxattr
, fsetxattr
, 228, 5)
2118 #ifndef OVERRIDE_TABLE_32_getxattr
2119 TRACE_SYSCALL_TABLE(getxattr
, getxattr
, 229, 4)
2121 #ifndef OVERRIDE_TABLE_32_lgetxattr
2122 TRACE_SYSCALL_TABLE(lgetxattr
, lgetxattr
, 230, 4)
2124 #ifndef OVERRIDE_TABLE_32_fgetxattr
2125 TRACE_SYSCALL_TABLE(fgetxattr
, fgetxattr
, 231, 4)
2127 #ifndef OVERRIDE_TABLE_32_listxattr
2128 TRACE_SYSCALL_TABLE(listxattr
, listxattr
, 232, 3)
2130 #ifndef OVERRIDE_TABLE_32_llistxattr
2131 TRACE_SYSCALL_TABLE(llistxattr
, llistxattr
, 233, 3)
2133 #ifndef OVERRIDE_TABLE_32_flistxattr
2134 TRACE_SYSCALL_TABLE(flistxattr
, flistxattr
, 234, 3)
2136 #ifndef OVERRIDE_TABLE_32_removexattr
2137 TRACE_SYSCALL_TABLE(removexattr
, removexattr
, 235, 2)
2139 #ifndef OVERRIDE_TABLE_32_lremovexattr
2140 TRACE_SYSCALL_TABLE(lremovexattr
, lremovexattr
, 236, 2)
2142 #ifndef OVERRIDE_TABLE_32_fremovexattr
2143 TRACE_SYSCALL_TABLE(fremovexattr
, fremovexattr
, 237, 2)
2145 #ifndef OVERRIDE_TABLE_32_sendfile64
2146 TRACE_SYSCALL_TABLE(sendfile64
, sendfile64
, 239, 4)
2148 #ifndef OVERRIDE_TABLE_32_futex_time32
2149 TRACE_SYSCALL_TABLE(futex_time32
, futex_time32
, 240, 6)
2151 #ifndef OVERRIDE_TABLE_32_sched_setaffinity
2152 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 241, 3)
2154 #ifndef OVERRIDE_TABLE_32_sched_getaffinity
2155 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 242, 3)
2157 #ifndef OVERRIDE_TABLE_32_io_setup
2158 TRACE_SYSCALL_TABLE(io_setup
, io_setup
, 243, 2)
2160 #ifndef OVERRIDE_TABLE_32_io_getevents_time32
2161 TRACE_SYSCALL_TABLE(io_getevents_time32
, io_getevents_time32
, 245, 5)
2163 #ifndef OVERRIDE_TABLE_32_io_submit
2164 TRACE_SYSCALL_TABLE(io_submit
, io_submit
, 246, 3)
2166 #ifndef OVERRIDE_TABLE_32_io_cancel
2167 TRACE_SYSCALL_TABLE(io_cancel
, io_cancel
, 247, 3)
2169 #ifndef OVERRIDE_TABLE_32_epoll_ctl
2170 TRACE_SYSCALL_TABLE(epoll_ctl
, epoll_ctl
, 251, 4)
2172 #ifndef OVERRIDE_TABLE_32_epoll_wait
2173 TRACE_SYSCALL_TABLE(epoll_wait
, epoll_wait
, 252, 4)
2175 #ifndef OVERRIDE_TABLE_32_set_tid_address
2176 TRACE_SYSCALL_TABLE(set_tid_address
, set_tid_address
, 256, 1)
2178 #ifndef OVERRIDE_TABLE_32_timer_create
2179 TRACE_SYSCALL_TABLE(timer_create
, timer_create
, 257, 3)
2181 #ifndef OVERRIDE_TABLE_32_timer_settime32
2182 TRACE_SYSCALL_TABLE(timer_settime32
, timer_settime32
, 258, 4)
2184 #ifndef OVERRIDE_TABLE_32_timer_gettime32
2185 TRACE_SYSCALL_TABLE(timer_gettime32
, timer_gettime32
, 259, 2)
2187 #ifndef OVERRIDE_TABLE_32_clock_settime32
2188 TRACE_SYSCALL_TABLE(clock_settime32
, clock_settime32
, 262, 2)
2190 #ifndef OVERRIDE_TABLE_32_clock_gettime32
2191 TRACE_SYSCALL_TABLE(clock_gettime32
, clock_gettime32
, 263, 2)
2193 #ifndef OVERRIDE_TABLE_32_clock_getres_time32
2194 TRACE_SYSCALL_TABLE(clock_getres_time32
, clock_getres_time32
, 264, 2)
2196 #ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32
2197 TRACE_SYSCALL_TABLE(clock_nanosleep_time32
, clock_nanosleep_time32
, 265, 4)
2199 #ifndef OVERRIDE_TABLE_32_statfs64
2200 TRACE_SYSCALL_TABLE(statfs64
, statfs64
, 266, 3)
2202 #ifndef OVERRIDE_TABLE_32_fstatfs64
2203 TRACE_SYSCALL_TABLE(fstatfs64
, fstatfs64
, 267, 3)
2205 #ifndef OVERRIDE_TABLE_32_utimes_time32
2206 TRACE_SYSCALL_TABLE(utimes_time32
, utimes_time32
, 269, 2)
2208 #ifndef OVERRIDE_TABLE_32_pciconfig_read
2209 TRACE_SYSCALL_TABLE(pciconfig_read
, pciconfig_read
, 272, 5)
2211 #ifndef OVERRIDE_TABLE_32_pciconfig_write
2212 TRACE_SYSCALL_TABLE(pciconfig_write
, pciconfig_write
, 273, 5)
2214 #ifndef OVERRIDE_TABLE_32_mq_open
2215 TRACE_SYSCALL_TABLE(mq_open
, mq_open
, 274, 4)
2217 #ifndef OVERRIDE_TABLE_32_mq_unlink
2218 TRACE_SYSCALL_TABLE(mq_unlink
, mq_unlink
, 275, 1)
2220 #ifndef OVERRIDE_TABLE_32_mq_timedsend_time32
2221 TRACE_SYSCALL_TABLE(mq_timedsend_time32
, mq_timedsend_time32
, 276, 5)
2223 #ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32
2224 TRACE_SYSCALL_TABLE(mq_timedreceive_time32
, mq_timedreceive_time32
, 277, 5)
2226 #ifndef OVERRIDE_TABLE_32_mq_notify
2227 TRACE_SYSCALL_TABLE(mq_notify
, mq_notify
, 278, 2)
2229 #ifndef OVERRIDE_TABLE_32_mq_getsetattr
2230 TRACE_SYSCALL_TABLE(mq_getsetattr
, mq_getsetattr
, 279, 3)
2232 #ifndef OVERRIDE_TABLE_32_waitid
2233 TRACE_SYSCALL_TABLE(waitid
, waitid
, 280, 5)
2235 #ifndef OVERRIDE_TABLE_32_bind
2236 TRACE_SYSCALL_TABLE(bind
, bind
, 282, 3)
2238 #ifndef OVERRIDE_TABLE_32_connect
2239 TRACE_SYSCALL_TABLE(connect
, connect
, 283, 3)
2241 #ifndef OVERRIDE_TABLE_32_accept
2242 TRACE_SYSCALL_TABLE(accept
, accept
, 285, 3)
2244 #ifndef OVERRIDE_TABLE_32_getsockname
2245 TRACE_SYSCALL_TABLE(getsockname
, getsockname
, 286, 3)
2247 #ifndef OVERRIDE_TABLE_32_getpeername
2248 TRACE_SYSCALL_TABLE(getpeername
, getpeername
, 287, 3)
2250 #ifndef OVERRIDE_TABLE_32_socketpair
2251 TRACE_SYSCALL_TABLE(socketpair
, socketpair
, 288, 4)
2253 #ifndef OVERRIDE_TABLE_32_send
2254 TRACE_SYSCALL_TABLE(send
, send
, 289, 4)
2256 #ifndef OVERRIDE_TABLE_32_sendto
2257 TRACE_SYSCALL_TABLE(sendto
, sendto
, 290, 6)
2259 #ifndef OVERRIDE_TABLE_32_recv
2260 TRACE_SYSCALL_TABLE(recv
, recv
, 291, 4)
2262 #ifndef OVERRIDE_TABLE_32_recvfrom
2263 TRACE_SYSCALL_TABLE(recvfrom
, recvfrom
, 292, 6)
2265 #ifndef OVERRIDE_TABLE_32_setsockopt
2266 TRACE_SYSCALL_TABLE(setsockopt
, setsockopt
, 294, 5)
2268 #ifndef OVERRIDE_TABLE_32_getsockopt
2269 TRACE_SYSCALL_TABLE(getsockopt
, getsockopt
, 295, 5)
2271 #ifndef OVERRIDE_TABLE_32_sendmsg
2272 TRACE_SYSCALL_TABLE(sendmsg
, sendmsg
, 296, 3)
2274 #ifndef OVERRIDE_TABLE_32_recvmsg
2275 TRACE_SYSCALL_TABLE(recvmsg
, recvmsg
, 297, 3)
2277 #ifndef OVERRIDE_TABLE_32_semop
2278 TRACE_SYSCALL_TABLE(semop
, semop
, 298, 3)
2280 #ifndef OVERRIDE_TABLE_32_msgsnd
2281 TRACE_SYSCALL_TABLE(msgsnd
, msgsnd
, 301, 4)
2283 #ifndef OVERRIDE_TABLE_32_msgrcv
2284 TRACE_SYSCALL_TABLE(msgrcv
, msgrcv
, 302, 5)
2286 #ifndef OVERRIDE_TABLE_32_old_msgctl
2287 TRACE_SYSCALL_TABLE(old_msgctl
, old_msgctl
, 304, 3)
2289 #ifndef OVERRIDE_TABLE_32_shmat
2290 TRACE_SYSCALL_TABLE(shmat
, shmat
, 305, 3)
2292 #ifndef OVERRIDE_TABLE_32_shmdt
2293 TRACE_SYSCALL_TABLE(shmdt
, shmdt
, 306, 1)
2295 #ifndef OVERRIDE_TABLE_32_old_shmctl
2296 TRACE_SYSCALL_TABLE(old_shmctl
, old_shmctl
, 308, 3)
2298 #ifndef OVERRIDE_TABLE_32_add_key
2299 TRACE_SYSCALL_TABLE(add_key
, add_key
, 309, 5)
2301 #ifndef OVERRIDE_TABLE_32_request_key
2302 TRACE_SYSCALL_TABLE(request_key
, request_key
, 310, 4)
2304 #ifndef OVERRIDE_TABLE_32_semtimedop_time32
2305 TRACE_SYSCALL_TABLE(semtimedop_time32
, semtimedop_time32
, 312, 4)
2307 #ifndef OVERRIDE_TABLE_32_inotify_add_watch
2308 TRACE_SYSCALL_TABLE(inotify_add_watch
, inotify_add_watch
, 317, 3)
2310 #ifndef OVERRIDE_TABLE_32_openat
2311 TRACE_SYSCALL_TABLE(openat
, openat
, 322, 4)
2313 #ifndef OVERRIDE_TABLE_32_mkdirat
2314 TRACE_SYSCALL_TABLE(mkdirat
, mkdirat
, 323, 3)
2316 #ifndef OVERRIDE_TABLE_32_mknodat
2317 TRACE_SYSCALL_TABLE(mknodat
, mknodat
, 324, 4)
2319 #ifndef OVERRIDE_TABLE_32_fchownat
2320 TRACE_SYSCALL_TABLE(fchownat
, fchownat
, 325, 5)
2322 #ifndef OVERRIDE_TABLE_32_futimesat_time32
2323 TRACE_SYSCALL_TABLE(futimesat_time32
, futimesat_time32
, 326, 3)
2325 #ifndef OVERRIDE_TABLE_32_fstatat64
2326 TRACE_SYSCALL_TABLE(fstatat64
, fstatat64
, 327, 4)
2328 #ifndef OVERRIDE_TABLE_32_unlinkat
2329 TRACE_SYSCALL_TABLE(unlinkat
, unlinkat
, 328, 3)
2331 #ifndef OVERRIDE_TABLE_32_renameat
2332 TRACE_SYSCALL_TABLE(renameat
, renameat
, 329, 4)
2334 #ifndef OVERRIDE_TABLE_32_linkat
2335 TRACE_SYSCALL_TABLE(linkat
, linkat
, 330, 5)
2337 #ifndef OVERRIDE_TABLE_32_symlinkat
2338 TRACE_SYSCALL_TABLE(symlinkat
, symlinkat
, 331, 3)
2340 #ifndef OVERRIDE_TABLE_32_readlinkat
2341 TRACE_SYSCALL_TABLE(readlinkat
, readlinkat
, 332, 4)
2343 #ifndef OVERRIDE_TABLE_32_fchmodat
2344 TRACE_SYSCALL_TABLE(fchmodat
, fchmodat
, 333, 3)
2346 #ifndef OVERRIDE_TABLE_32_faccessat
2347 TRACE_SYSCALL_TABLE(faccessat
, faccessat
, 334, 3)
2349 #ifndef OVERRIDE_TABLE_32_pselect6_time32
2350 TRACE_SYSCALL_TABLE(pselect6_time32
, pselect6_time32
, 335, 6)
2352 #ifndef OVERRIDE_TABLE_32_ppoll_time32
2353 TRACE_SYSCALL_TABLE(ppoll_time32
, ppoll_time32
, 336, 5)
2355 #ifndef OVERRIDE_TABLE_32_set_robust_list
2356 TRACE_SYSCALL_TABLE(set_robust_list
, set_robust_list
, 338, 2)
2358 #ifndef OVERRIDE_TABLE_32_get_robust_list
2359 TRACE_SYSCALL_TABLE(get_robust_list
, get_robust_list
, 339, 3)
2361 #ifndef OVERRIDE_TABLE_32_splice
2362 TRACE_SYSCALL_TABLE(splice
, splice
, 340, 6)
2364 #ifndef OVERRIDE_TABLE_32_vmsplice
2365 TRACE_SYSCALL_TABLE(vmsplice
, vmsplice
, 343, 4)
2367 #ifndef OVERRIDE_TABLE_32_getcpu
2368 TRACE_SYSCALL_TABLE(getcpu
, getcpu
, 345, 3)
2370 #ifndef OVERRIDE_TABLE_32_epoll_pwait
2371 TRACE_SYSCALL_TABLE(epoll_pwait
, epoll_pwait
, 346, 6)
2373 #ifndef OVERRIDE_TABLE_32_kexec_load
2374 TRACE_SYSCALL_TABLE(kexec_load
, kexec_load
, 347, 4)
2376 #ifndef OVERRIDE_TABLE_32_utimensat_time32
2377 TRACE_SYSCALL_TABLE(utimensat_time32
, utimensat_time32
, 348, 4)
2379 #ifndef OVERRIDE_TABLE_32_signalfd
2380 TRACE_SYSCALL_TABLE(signalfd
, signalfd
, 349, 3)
2382 #ifndef OVERRIDE_TABLE_32_timerfd_settime32
2383 TRACE_SYSCALL_TABLE(timerfd_settime32
, timerfd_settime32
, 353, 4)
2385 #ifndef OVERRIDE_TABLE_32_timerfd_gettime32
2386 TRACE_SYSCALL_TABLE(timerfd_gettime32
, timerfd_gettime32
, 354, 2)
2388 #ifndef OVERRIDE_TABLE_32_signalfd4
2389 TRACE_SYSCALL_TABLE(signalfd4
, signalfd4
, 355, 4)
2391 #ifndef OVERRIDE_TABLE_32_pipe2
2392 TRACE_SYSCALL_TABLE(pipe2
, pipe2
, 359, 2)
2394 #ifndef OVERRIDE_TABLE_32_preadv
2395 TRACE_SYSCALL_TABLE(preadv
, preadv
, 361, 5)
2397 #ifndef OVERRIDE_TABLE_32_pwritev
2398 TRACE_SYSCALL_TABLE(pwritev
, pwritev
, 362, 5)
2400 #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo
2401 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo
, rt_tgsigqueueinfo
, 363, 4)
2403 #ifndef OVERRIDE_TABLE_32_perf_event_open
2404 TRACE_SYSCALL_TABLE(perf_event_open
, perf_event_open
, 364, 5)
2406 #ifndef OVERRIDE_TABLE_32_recvmmsg_time32
2407 TRACE_SYSCALL_TABLE(recvmmsg_time32
, recvmmsg_time32
, 365, 5)
2409 #ifndef OVERRIDE_TABLE_32_accept4
2410 TRACE_SYSCALL_TABLE(accept4
, accept4
, 366, 4)
2412 #ifndef OVERRIDE_TABLE_32_fanotify_mark
2413 TRACE_SYSCALL_TABLE(fanotify_mark
, fanotify_mark
, 368, 5)
2415 #ifndef OVERRIDE_TABLE_32_prlimit64
2416 TRACE_SYSCALL_TABLE(prlimit64
, prlimit64
, 369, 4)
2418 #ifndef OVERRIDE_TABLE_32_name_to_handle_at
2419 TRACE_SYSCALL_TABLE(name_to_handle_at
, name_to_handle_at
, 370, 5)
2421 #ifndef OVERRIDE_TABLE_32_open_by_handle_at
2422 TRACE_SYSCALL_TABLE(open_by_handle_at
, open_by_handle_at
, 371, 3)
2424 #ifndef OVERRIDE_TABLE_32_clock_adjtime32
2425 TRACE_SYSCALL_TABLE(clock_adjtime32
, clock_adjtime32
, 372, 2)
2427 #ifndef OVERRIDE_TABLE_32_sendmmsg
2428 TRACE_SYSCALL_TABLE(sendmmsg
, sendmmsg
, 374, 4)
2430 #ifndef OVERRIDE_TABLE_32_process_vm_readv
2431 TRACE_SYSCALL_TABLE(process_vm_readv
, process_vm_readv
, 376, 6)
2433 #ifndef OVERRIDE_TABLE_32_process_vm_writev
2434 TRACE_SYSCALL_TABLE(process_vm_writev
, process_vm_writev
, 377, 6)
2436 #ifndef OVERRIDE_TABLE_32_finit_module
2437 TRACE_SYSCALL_TABLE(finit_module
, finit_module
, 379, 3)
2439 #ifndef OVERRIDE_TABLE_32_sched_setattr
2440 TRACE_SYSCALL_TABLE(sched_setattr
, sched_setattr
, 380, 3)
2442 #ifndef OVERRIDE_TABLE_32_sched_getattr
2443 TRACE_SYSCALL_TABLE(sched_getattr
, sched_getattr
, 381, 4)
2445 #ifndef OVERRIDE_TABLE_32_renameat2
2446 TRACE_SYSCALL_TABLE(renameat2
, renameat2
, 382, 5)
2448 #ifndef OVERRIDE_TABLE_32_seccomp
2449 TRACE_SYSCALL_TABLE(seccomp
, seccomp
, 383, 3)
2451 #ifndef OVERRIDE_TABLE_32_getrandom
2452 TRACE_SYSCALL_TABLE(getrandom
, getrandom
, 384, 3)
2454 #ifndef OVERRIDE_TABLE_32_memfd_create
2455 TRACE_SYSCALL_TABLE(memfd_create
, memfd_create
, 385, 2)
2457 #ifndef OVERRIDE_TABLE_32_bpf
2458 TRACE_SYSCALL_TABLE(bpf
, bpf
, 386, 3)
2460 #ifndef OVERRIDE_TABLE_32_execveat
2461 TRACE_SYSCALL_TABLE(execveat
, execveat
, 387, 5)
2463 #ifndef OVERRIDE_TABLE_32_copy_file_range
2464 TRACE_SYSCALL_TABLE(copy_file_range
, copy_file_range
, 391, 6)
2466 #ifndef OVERRIDE_TABLE_32_preadv2
2467 TRACE_SYSCALL_TABLE(preadv2
, preadv2
, 392, 6)
2469 #ifndef OVERRIDE_TABLE_32_pwritev2
2470 TRACE_SYSCALL_TABLE(pwritev2
, pwritev2
, 393, 6)
2472 #ifndef OVERRIDE_TABLE_32_statx
2473 TRACE_SYSCALL_TABLE(statx
, statx
, 397, 5)
2475 #ifndef OVERRIDE_TABLE_32_rseq
2476 TRACE_SYSCALL_TABLE(rseq
, rseq
, 398, 4)
2478 #ifndef OVERRIDE_TABLE_32_io_pgetevents_time32
2479 TRACE_SYSCALL_TABLE(io_pgetevents_time32
, io_pgetevents_time32
, 399, 6)
2481 #ifndef OVERRIDE_TABLE_32_clock_gettime
2482 TRACE_SYSCALL_TABLE(clock_gettime
, clock_gettime
, 403, 2)
2484 #ifndef OVERRIDE_TABLE_32_clock_settime
2485 TRACE_SYSCALL_TABLE(clock_settime
, clock_settime
, 404, 2)
2487 #ifndef OVERRIDE_TABLE_32_clock_adjtime
2488 TRACE_SYSCALL_TABLE(clock_adjtime
, clock_adjtime
, 405, 2)
2490 #ifndef OVERRIDE_TABLE_32_clock_getres
2491 TRACE_SYSCALL_TABLE(clock_getres
, clock_getres
, 406, 2)
2493 #ifndef OVERRIDE_TABLE_32_clock_nanosleep
2494 TRACE_SYSCALL_TABLE(clock_nanosleep
, clock_nanosleep
, 407, 4)
2496 #ifndef OVERRIDE_TABLE_32_timer_gettime
2497 TRACE_SYSCALL_TABLE(timer_gettime
, timer_gettime
, 408, 2)
2499 #ifndef OVERRIDE_TABLE_32_timer_settime
2500 TRACE_SYSCALL_TABLE(timer_settime
, timer_settime
, 409, 4)
2502 #ifndef OVERRIDE_TABLE_32_timerfd_gettime
2503 TRACE_SYSCALL_TABLE(timerfd_gettime
, timerfd_gettime
, 410, 2)
2505 #ifndef OVERRIDE_TABLE_32_timerfd_settime
2506 TRACE_SYSCALL_TABLE(timerfd_settime
, timerfd_settime
, 411, 4)
2508 #ifndef OVERRIDE_TABLE_32_utimensat
2509 TRACE_SYSCALL_TABLE(utimensat
, utimensat
, 412, 4)
2511 #ifndef OVERRIDE_TABLE_32_pselect6
2512 TRACE_SYSCALL_TABLE(pselect6
, pselect6
, 413, 6)
2514 #ifndef OVERRIDE_TABLE_32_ppoll
2515 TRACE_SYSCALL_TABLE(ppoll
, ppoll
, 414, 5)
2517 #ifndef OVERRIDE_TABLE_32_io_pgetevents
2518 TRACE_SYSCALL_TABLE(io_pgetevents
, io_pgetevents
, 416, 6)
2520 #ifndef OVERRIDE_TABLE_32_recvmmsg
2521 TRACE_SYSCALL_TABLE(recvmmsg
, recvmmsg
, 417, 5)
2523 #ifndef OVERRIDE_TABLE_32_mq_timedsend
2524 TRACE_SYSCALL_TABLE(mq_timedsend
, mq_timedsend
, 418, 5)
2526 #ifndef OVERRIDE_TABLE_32_mq_timedreceive
2527 TRACE_SYSCALL_TABLE(mq_timedreceive
, mq_timedreceive
, 419, 5)
2529 #ifndef OVERRIDE_TABLE_32_semtimedop
2530 TRACE_SYSCALL_TABLE(semtimedop
, semtimedop
, 420, 4)
2532 #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
2533 TRACE_SYSCALL_TABLE(rt_sigtimedwait
, rt_sigtimedwait
, 421, 4)
2535 #ifndef OVERRIDE_TABLE_32_futex
2536 TRACE_SYSCALL_TABLE(futex
, futex
, 422, 6)
2538 #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
2539 TRACE_SYSCALL_TABLE(sched_rr_get_interval
, sched_rr_get_interval
, 423, 2)
2541 #ifndef OVERRIDE_TABLE_32_pidfd_send_signal
2542 TRACE_SYSCALL_TABLE(pidfd_send_signal
, pidfd_send_signal
, 424, 4)
2544 #ifndef OVERRIDE_TABLE_32_io_uring_setup
2545 TRACE_SYSCALL_TABLE(io_uring_setup
, io_uring_setup
, 425, 2)
2547 #ifndef OVERRIDE_TABLE_32_io_uring_enter
2548 TRACE_SYSCALL_TABLE(io_uring_enter
, io_uring_enter
, 426, 6)
2550 #ifndef OVERRIDE_TABLE_32_io_uring_register
2551 TRACE_SYSCALL_TABLE(io_uring_register
, io_uring_register
, 427, 4)
2553 #ifndef OVERRIDE_TABLE_32_open_tree
2554 TRACE_SYSCALL_TABLE(open_tree
, open_tree
, 428, 3)
2556 #ifndef OVERRIDE_TABLE_32_move_mount
2557 TRACE_SYSCALL_TABLE(move_mount
, move_mount
, 429, 5)
2559 #ifndef OVERRIDE_TABLE_32_fsopen
2560 TRACE_SYSCALL_TABLE(fsopen
, fsopen
, 430, 2)
2562 #ifndef OVERRIDE_TABLE_32_fsconfig
2563 TRACE_SYSCALL_TABLE(fsconfig
, fsconfig
, 431, 5)
2565 #ifndef OVERRIDE_TABLE_32_fspick
2566 TRACE_SYSCALL_TABLE(fspick
, fspick
, 433, 3)
2568 #ifndef OVERRIDE_TABLE_32_clone3
2569 TRACE_SYSCALL_TABLE(clone3
, clone3
, 435, 2)
2571 #ifndef OVERRIDE_TABLE_32_openat2
2572 TRACE_SYSCALL_TABLE(openat2
, openat2
, 437, 4)
2574 #ifndef OVERRIDE_TABLE_32_faccessat2
2575 TRACE_SYSCALL_TABLE(faccessat2
, faccessat2
, 439, 4)
2577 #ifndef OVERRIDE_TABLE_32_process_madvise
2578 TRACE_SYSCALL_TABLE(process_madvise
, process_madvise
, 440, 5)
2580 #ifndef OVERRIDE_TABLE_32_epoll_pwait2
2581 TRACE_SYSCALL_TABLE(epoll_pwait2
, epoll_pwait2
, 441, 6)
2583 #ifndef OVERRIDE_TABLE_32_mount_setattr
2584 TRACE_SYSCALL_TABLE(mount_setattr
, mount_setattr
, 442, 5)
2586 #ifndef OVERRIDE_TABLE_32_quotactl_fd
2587 TRACE_SYSCALL_TABLE(quotactl_fd
, quotactl_fd
, 443, 4)
2589 #ifndef OVERRIDE_TABLE_32_landlock_create_ruleset
2590 TRACE_SYSCALL_TABLE(landlock_create_ruleset
, landlock_create_ruleset
, 444, 3)
2592 #ifndef OVERRIDE_TABLE_32_landlock_add_rule
2593 TRACE_SYSCALL_TABLE(landlock_add_rule
, landlock_add_rule
, 445, 4)
2595 #ifndef OVERRIDE_TABLE_32_futex_waitv
2596 TRACE_SYSCALL_TABLE(futex_waitv
, futex_waitv
, 449, 5)
2599 #endif /* CREATE_SYSCALL_TABLE */