summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-02 21:27:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-02 21:28:13 +0100
commitb47dd491dc487f542be4d332aba8bf4fb56980d8 (patch)
treeb2c1abb6da60d5fc7414ea819ea42805ad8f8b25
parent9790374d6d46f09aa6117563bc203985ad898265 (diff)
downloadpoky-b47dd491dc487f542be4d332aba8bf4fb56980d8.tar.gz
lttng-modules: fix 32 bit?
(From OE-Core rev: 511788f4a0526f239232708a92a04f42d3763311) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/86040c9e2ff8a79633db34220e32bdda536b00e6.patch2468
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/92dd6990b635d31390e073507ec51c19128a562f.patch170
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.13.17.bb2
3 files changed, 2640 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/86040c9e2ff8a79633db34220e32bdda536b00e6.patch b/meta/recipes-kernel/lttng/lttng-modules/86040c9e2ff8a79633db34220e32bdda536b00e6.patch
new file mode 100644
index 0000000000..c68e828df8
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-modules/86040c9e2ff8a79633db34220e32bdda536b00e6.patch
@@ -0,0 +1,2468 @@
1From 86040c9e2ff8a79633db34220e32bdda536b00e6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Galarneau?=
3 <jeremie.galarneau@efficios.com>
4Date: Tue, 8 Nov 2022 17:49:51 -0500
5Subject: [PATCH] Add generated x86-32 syscall instrumentation for kernel 6.0.7
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Generated by running:
11 ./lttng-syscalls-generate-headers.sh pointers 6.0.7 x86-32-syscalls x86-32 32 && ./lttng-syscalls-generate-headers.sh integers 6.0.7 x86-32-syscalls x86-32 32
12
13Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
14Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
15Change-Id: Ia6513b25b4556a774317f89210c6f8ad8cbc8723
16
17Upstream-Status: Backport
18
19---
20 .../headers/x86-32-syscalls_integers.h | 362 ++++-
21 .../headers/x86-32-syscalls_pointers.h | 1286 ++++++++++++++---
22 2 files changed, 1406 insertions(+), 242 deletions(-)
23
24diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h
25index ddc8b21e..b053db67 100644
26--- a/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h
27+++ b/include/instrumentation/syscalls/headers/x86-32-syscalls_integers.h
28@@ -2,7 +2,7 @@
29
30 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
31
32-/* Generated from x86-32-syscalls 3.1.0-rc6 */
33+/* Generated from x86-32-syscalls 6.0.7 */
34
35 #ifndef CREATE_SYSCALL_TABLE
36
37@@ -21,6 +21,9 @@ SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
38 #ifndef OVERRIDE_32_restart_syscall
39 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
40 #endif
41+#ifndef OVERRIDE_32_fork
42+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork)
43+#endif
44 #ifndef OVERRIDE_32_getpid
45 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
46 #endif
47@@ -57,12 +60,21 @@ SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask)
48 #ifndef OVERRIDE_32_vhangup
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
50 #endif
51+#ifndef OVERRIDE_32_sigreturn
52+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sigreturn)
53+#endif
54 #ifndef OVERRIDE_32_munlockall
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
56 #endif
57 #ifndef OVERRIDE_32_sched_yield
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
59 #endif
60+#ifndef OVERRIDE_32_rt_sigreturn
61+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn)
62+#endif
63+#ifndef OVERRIDE_32_vfork
64+SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork)
65+#endif
66 #ifndef OVERRIDE_32_getuid
67 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
68 #endif
69@@ -89,6 +101,13 @@ SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
70 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
71 )
72 #endif
73+#ifndef OVERRIDE_32_fork
74+SC_LTTNG_TRACEPOINT_EVENT(fork,
75+ TP_PROTO(sc_exit(long ret)),
76+ TP_ARGS(sc_exit(ret)),
77+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
78+)
79+#endif
80 #ifndef OVERRIDE_32_getpid
81 SC_LTTNG_TRACEPOINT_EVENT(getpid,
82 TP_PROTO(sc_exit(long ret)),
83@@ -173,6 +192,13 @@ SC_LTTNG_TRACEPOINT_EVENT(vhangup,
84 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
85 )
86 #endif
87+#ifndef OVERRIDE_32_sigreturn
88+SC_LTTNG_TRACEPOINT_EVENT(sigreturn,
89+ TP_PROTO(sc_exit(long ret)),
90+ TP_ARGS(sc_exit(ret)),
91+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
92+)
93+#endif
94 #ifndef OVERRIDE_32_munlockall
95 SC_LTTNG_TRACEPOINT_EVENT(munlockall,
96 TP_PROTO(sc_exit(long ret)),
97@@ -187,6 +213,20 @@ SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
98 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
99 )
100 #endif
101+#ifndef OVERRIDE_32_rt_sigreturn
102+SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn,
103+ TP_PROTO(sc_exit(long ret)),
104+ TP_ARGS(sc_exit(ret)),
105+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
106+)
107+#endif
108+#ifndef OVERRIDE_32_vfork
109+SC_LTTNG_TRACEPOINT_EVENT(vfork,
110+ TP_PROTO(sc_exit(long ret)),
111+ TP_ARGS(sc_exit(ret)),
112+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
113+)
114+#endif
115 #ifndef OVERRIDE_32_getuid
116 SC_LTTNG_TRACEPOINT_EVENT(getuid,
117 TP_PROTO(sc_exit(long ret)),
118@@ -300,6 +340,13 @@ SC_LTTNG_TRACEPOINT_EVENT(ssetmask,
119 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask)))
120 )
121 #endif
122+#ifndef OVERRIDE_32_iopl
123+SC_LTTNG_TRACEPOINT_EVENT(iopl,
124+ TP_PROTO(sc_exit(long ret,) unsigned int level),
125+ TP_ARGS(sc_exit(ret,) level),
126+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level)))
127+)
128+#endif
129 #ifndef OVERRIDE_32_fsync
130 SC_LTTNG_TRACEPOINT_EVENT(fsync,
131 TP_PROTO(sc_exit(long ret,) unsigned int fd),
132@@ -482,6 +529,20 @@ SC_LTTNG_TRACEPOINT_EVENT(syncfs,
133 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)))
134 )
135 #endif
136+#ifndef OVERRIDE_32_userfaultfd
137+SC_LTTNG_TRACEPOINT_EVENT(userfaultfd,
138+ TP_PROTO(sc_exit(long ret,) int flags),
139+ TP_ARGS(sc_exit(ret,) flags),
140+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags)))
141+)
142+#endif
143+#ifndef OVERRIDE_32_memfd_secret
144+SC_LTTNG_TRACEPOINT_EVENT(memfd_secret,
145+ TP_PROTO(sc_exit(long ret,) unsigned int flags),
146+ TP_ARGS(sc_exit(ret,) flags),
147+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags)))
148+)
149+#endif
150 #ifndef OVERRIDE_32_kill
151 SC_LTTNG_TRACEPOINT_EVENT(kill,
152 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
153@@ -540,9 +601,9 @@ SC_LTTNG_TRACEPOINT_EVENT(ftruncate,
154 #endif
155 #ifndef OVERRIDE_32_fchmod
156 SC_LTTNG_TRACEPOINT_EVENT(fchmod,
157- TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode),
158+ TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode),
159 TP_ARGS(sc_exit(ret,) fd, mode),
160- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode)))
161+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode)))
162 )
163 #endif
164 #ifndef OVERRIDE_32_getpriority
165@@ -552,13 +613,6 @@ SC_LTTNG_TRACEPOINT_EVENT(getpriority,
166 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
167 )
168 #endif
169-#ifndef OVERRIDE_32_bdflush
170-SC_LTTNG_TRACEPOINT_EVENT(bdflush,
171- TP_PROTO(sc_exit(long ret,) int func, long data),
172- TP_ARGS(sc_exit(ret,) func, data),
173- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data)))
174-)
175-#endif
176 #ifndef OVERRIDE_32_flock
177 SC_LTTNG_TRACEPOINT_EVENT(flock,
178 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd),
179@@ -638,16 +692,58 @@ SC_LTTNG_TRACEPOINT_EVENT(fanotify_init,
180 #endif
181 #ifndef OVERRIDE_32_setns
182 SC_LTTNG_TRACEPOINT_EVENT(setns,
183- TP_PROTO(sc_exit(long ret,) int fd, int nstype),
184- TP_ARGS(sc_exit(ret,) fd, nstype),
185- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype)))
186+ TP_PROTO(sc_exit(long ret,) int fd, int flags),
187+ TP_ARGS(sc_exit(ret,) fd, flags),
188+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags)))
189+)
190+#endif
191+#ifndef OVERRIDE_32_listen
192+SC_LTTNG_TRACEPOINT_EVENT(listen,
193+ TP_PROTO(sc_exit(long ret,) int fd, int backlog),
194+ TP_ARGS(sc_exit(ret,) fd, backlog),
195+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
196+)
197+#endif
198+#ifndef OVERRIDE_32_shutdown
199+SC_LTTNG_TRACEPOINT_EVENT(shutdown,
200+ TP_PROTO(sc_exit(long ret,) int fd, int how),
201+ TP_ARGS(sc_exit(ret,) fd, how),
202+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
203+)
204+#endif
205+#ifndef OVERRIDE_32_arch_prctl
206+SC_LTTNG_TRACEPOINT_EVENT(arch_prctl,
207+ TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2),
208+ TP_ARGS(sc_exit(ret,) option, arg2),
209+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)))
210+)
211+#endif
212+#ifndef OVERRIDE_32_msgget
213+SC_LTTNG_TRACEPOINT_EVENT(msgget,
214+ TP_PROTO(sc_exit(long ret,) key_t key, int msgflg),
215+ TP_ARGS(sc_exit(ret,) key, msgflg),
216+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg)))
217+)
218+#endif
219+#ifndef OVERRIDE_32_pidfd_open
220+SC_LTTNG_TRACEPOINT_EVENT(pidfd_open,
221+ TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags),
222+ TP_ARGS(sc_exit(ret,) pid, flags),
223+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags)))
224+)
225+#endif
226+#ifndef OVERRIDE_32_process_mrelease
227+SC_LTTNG_TRACEPOINT_EVENT(process_mrelease,
228+ TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags),
229+ TP_ARGS(sc_exit(ret,) pidfd, flags),
230+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
231 )
232 #endif
233 #ifndef OVERRIDE_32_lseek
234 SC_LTTNG_TRACEPOINT_EVENT(lseek,
235- TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin),
236- TP_ARGS(sc_exit(ret,) fd, offset, origin),
237- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin)))
238+ TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence),
239+ TP_ARGS(sc_exit(ret,) fd, offset, whence),
240+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence)))
241 )
242 #endif
243 #ifndef OVERRIDE_32_ioctl
244@@ -664,6 +760,13 @@ SC_LTTNG_TRACEPOINT_EVENT(fcntl,
245 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
246 )
247 #endif
248+#ifndef OVERRIDE_32_sigsuspend
249+SC_LTTNG_TRACEPOINT_EVENT(sigsuspend,
250+ TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask),
251+ TP_ARGS(sc_exit(ret,) unused1, unused2, mask),
252+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask)))
253+)
254+#endif
255 #ifndef OVERRIDE_32_fchown16
256 SC_LTTNG_TRACEPOINT_EVENT(fchown16,
257 TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group),
258@@ -678,6 +781,13 @@ SC_LTTNG_TRACEPOINT_EVENT(setpriority,
259 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval)))
260 )
261 #endif
262+#ifndef OVERRIDE_32_ioperm
263+SC_LTTNG_TRACEPOINT_EVENT(ioperm,
264+ TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on),
265+ TP_ARGS(sc_exit(ret,) from, num, turn_on),
266+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on)))
267+)
268+#endif
269 #ifndef OVERRIDE_32_mprotect
270 SC_LTTNG_TRACEPOINT_EVENT(mprotect,
271 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot),
272@@ -713,6 +823,13 @@ SC_LTTNG_TRACEPOINT_EVENT(setresgid16,
273 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid)))
274 )
275 #endif
276+#ifndef OVERRIDE_32_ia32_ftruncate64
277+SC_LTTNG_TRACEPOINT_EVENT(ia32_ftruncate64,
278+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_low, unsigned long offset_high),
279+ TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high),
280+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)))
281+)
282+#endif
283 #ifndef OVERRIDE_32_fchown
284 SC_LTTNG_TRACEPOINT_EVENT(fchown,
285 TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
286@@ -769,6 +886,62 @@ SC_LTTNG_TRACEPOINT_EVENT(dup3,
287 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags)))
288 )
289 #endif
290+#ifndef OVERRIDE_32_socket
291+SC_LTTNG_TRACEPOINT_EVENT(socket,
292+ TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
293+ TP_ARGS(sc_exit(ret,) family, type, protocol),
294+ 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)))
295+)
296+#endif
297+#ifndef OVERRIDE_32_membarrier
298+SC_LTTNG_TRACEPOINT_EVENT(membarrier,
299+ TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id),
300+ TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id),
301+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id)))
302+)
303+#endif
304+#ifndef OVERRIDE_32_mlock2
305+SC_LTTNG_TRACEPOINT_EVENT(mlock2,
306+ TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
307+ TP_ARGS(sc_exit(ret,) start, len, flags),
308+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags)))
309+)
310+#endif
311+#ifndef OVERRIDE_32_semget
312+SC_LTTNG_TRACEPOINT_EVENT(semget,
313+ TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg),
314+ TP_ARGS(sc_exit(ret,) key, nsems, semflg),
315+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg)))
316+)
317+#endif
318+#ifndef OVERRIDE_32_shmget
319+SC_LTTNG_TRACEPOINT_EVENT(shmget,
320+ TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg),
321+ TP_ARGS(sc_exit(ret,) key, size, shmflg),
322+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg)))
323+)
324+#endif
325+#ifndef OVERRIDE_32_fsmount
326+SC_LTTNG_TRACEPOINT_EVENT(fsmount,
327+ TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags),
328+ TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags),
329+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags)))
330+)
331+#endif
332+#ifndef OVERRIDE_32_close_range
333+SC_LTTNG_TRACEPOINT_EVENT(close_range,
334+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags),
335+ TP_ARGS(sc_exit(ret,) fd, max_fd, flags),
336+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
337+)
338+#endif
339+#ifndef OVERRIDE_32_pidfd_getfd
340+SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd,
341+ TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags),
342+ TP_ARGS(sc_exit(ret,) pidfd, fd, flags),
343+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
344+)
345+#endif
346 #ifndef OVERRIDE_32_ptrace
347 SC_LTTNG_TRACEPOINT_EVENT(ptrace,
348 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
349@@ -776,6 +949,13 @@ SC_LTTNG_TRACEPOINT_EVENT(ptrace,
350 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data)))
351 )
352 #endif
353+#ifndef OVERRIDE_32_ia32_readahead
354+SC_LTTNG_TRACEPOINT_EVENT(ia32_readahead,
355+ TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_lo, unsigned int off_hi, size_t count),
356+ TP_ARGS(sc_exit(ret,) fd, off_lo, off_hi, count),
357+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_lo, off_lo)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(size_t, count, count)))
358+)
359+#endif
360 #ifndef OVERRIDE_32_tee
361 SC_LTTNG_TRACEPOINT_EVENT(tee,
362 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
363@@ -783,6 +963,13 @@ SC_LTTNG_TRACEPOINT_EVENT(tee,
364 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)))
365 )
366 #endif
367+#ifndef OVERRIDE_32_semctl
368+SC_LTTNG_TRACEPOINT_EVENT(semctl,
369+ TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg),
370+ TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg),
371+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
372+)
373+#endif
374 #ifndef OVERRIDE_32_mremap
375 SC_LTTNG_TRACEPOINT_EVENT(mremap,
376 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
377@@ -797,6 +984,13 @@ SC_LTTNG_TRACEPOINT_EVENT(prctl,
378 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5)))
379 )
380 #endif
381+#ifndef OVERRIDE_32_ia32_fadvise64
382+SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64,
383+ TP_PROTO(sc_exit(long ret,) int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice),
384+ TP_ARGS(sc_exit(ret,) fd, offset_lo, offset_hi, len, advice),
385+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, advice, advice)))
386+)
387+#endif
388 #ifndef OVERRIDE_32_remap_file_pages
389 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
390 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
391@@ -811,6 +1005,13 @@ SC_LTTNG_TRACEPOINT_EVENT(keyctl,
392 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5)))
393 )
394 #endif
395+#ifndef OVERRIDE_32_kcmp
396+SC_LTTNG_TRACEPOINT_EVENT(kcmp,
397+ TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2),
398+ TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2),
399+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2)))
400+)
401+#endif
402 #ifndef OVERRIDE_32_mmap_pgoff
403 SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff,
404 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff),
405@@ -818,6 +1019,27 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff,
406 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff)))
407 )
408 #endif
409+#ifndef OVERRIDE_32_ia32_fadvise64_64
410+SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64_64,
411+ TP_PROTO(sc_exit(long ret,) int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice),
412+ TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, len_low, len_high, advice),
413+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(__u32, offset_low, offset_low)) sc_inout(ctf_integer(__u32, offset_high, offset_high)) sc_inout(ctf_integer(__u32, len_low, len_low)) sc_inout(ctf_integer(__u32, len_high, len_high)) sc_inout(ctf_integer(int, advice, advice)))
414+)
415+#endif
416+#ifndef OVERRIDE_32_ia32_sync_file_range
417+SC_LTTNG_TRACEPOINT_EVENT(ia32_sync_file_range,
418+ TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags),
419+ TP_ARGS(sc_exit(ret,) fd, off_low, off_hi, n_low, n_hi, flags),
420+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_low, off_low)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(unsigned int, n_low, n_low)) sc_inout(ctf_integer(unsigned int, n_hi, n_hi)) sc_inout(ctf_integer(int, flags, flags)))
421+)
422+#endif
423+#ifndef OVERRIDE_32_ia32_fallocate
424+SC_LTTNG_TRACEPOINT_EVENT(ia32_fallocate,
425+ TP_PROTO(sc_exit(long ret,) int fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi),
426+ TP_ARGS(sc_exit(ret,) fd, mode, offset_lo, offset_hi, len_lo, len_hi),
427+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(int, mode, mode)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(unsigned int, len_lo, len_lo)) sc_inout(ctf_integer(unsigned int, len_hi, len_hi)))
428+)
429+#endif
430
431 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
432
433@@ -833,6 +1055,9 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff,
434 #ifndef OVERRIDE_TABLE_32_restart_syscall
435 TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0)
436 #endif
437+#ifndef OVERRIDE_TABLE_32_fork
438+TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 0)
439+#endif
440 #ifndef OVERRIDE_TABLE_32_getpid
441 TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0)
442 #endif
443@@ -869,12 +1094,21 @@ TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0)
444 #ifndef OVERRIDE_TABLE_32_vhangup
445 TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0)
446 #endif
447+#ifndef OVERRIDE_TABLE_32_sigreturn
448+TRACE_SYSCALL_TABLE(syscalls_noargs, sigreturn, 119, 0)
449+#endif
450 #ifndef OVERRIDE_TABLE_32_munlockall
451 TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0)
452 #endif
453 #ifndef OVERRIDE_TABLE_32_sched_yield
454 TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0)
455 #endif
456+#ifndef OVERRIDE_TABLE_32_rt_sigreturn
457+TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 173, 0)
458+#endif
459+#ifndef OVERRIDE_TABLE_32_vfork
460+TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 0)
461+#endif
462 #ifndef OVERRIDE_TABLE_32_getuid
463 TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0)
464 #endif
465@@ -897,6 +1131,9 @@ TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0)
466 #ifndef OVERRIDE_TABLE_32_restart_syscall
467 TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0)
468 #endif
469+#ifndef OVERRIDE_TABLE_32_fork
470+TRACE_SYSCALL_TABLE(fork, fork, 2, 0)
471+#endif
472 #ifndef OVERRIDE_TABLE_32_getpid
473 TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0)
474 #endif
475@@ -933,12 +1170,21 @@ TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0)
476 #ifndef OVERRIDE_TABLE_32_vhangup
477 TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0)
478 #endif
479+#ifndef OVERRIDE_TABLE_32_sigreturn
480+TRACE_SYSCALL_TABLE(sigreturn, sigreturn, 119, 0)
481+#endif
482 #ifndef OVERRIDE_TABLE_32_munlockall
483 TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0)
484 #endif
485 #ifndef OVERRIDE_TABLE_32_sched_yield
486 TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0)
487 #endif
488+#ifndef OVERRIDE_TABLE_32_rt_sigreturn
489+TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 173, 0)
490+#endif
491+#ifndef OVERRIDE_TABLE_32_vfork
492+TRACE_SYSCALL_TABLE(vfork, vfork, 190, 0)
493+#endif
494 #ifndef OVERRIDE_TABLE_32_getuid
495 TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0)
496 #endif
497@@ -1018,6 +1264,9 @@ TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2)
498 #ifndef OVERRIDE_TABLE_32_setregid16
499 TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2)
500 #endif
501+#ifndef OVERRIDE_TABLE_32_sigsuspend
502+TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3)
503+#endif
504 #ifndef OVERRIDE_TABLE_32_munmap
505 TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2)
506 #endif
507@@ -1036,6 +1285,12 @@ TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2)
508 #ifndef OVERRIDE_TABLE_32_setpriority
509 TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3)
510 #endif
511+#ifndef OVERRIDE_TABLE_32_ioperm
512+TRACE_SYSCALL_TABLE(ioperm, ioperm, 101, 3)
513+#endif
514+#ifndef OVERRIDE_TABLE_32_iopl
515+TRACE_SYSCALL_TABLE(iopl, iopl, 110, 1)
516+#endif
517 #ifndef OVERRIDE_TABLE_32_fsync
518 TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1)
519 #endif
520@@ -1048,9 +1303,6 @@ TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1)
521 #ifndef OVERRIDE_TABLE_32_fchdir
522 TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1)
523 #endif
524-#ifndef OVERRIDE_TABLE_32_bdflush
525-TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2)
526-#endif
527 #ifndef OVERRIDE_TABLE_32_sysfs
528 TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3)
529 #endif
530@@ -1108,6 +1360,9 @@ TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5)
531 #ifndef OVERRIDE_TABLE_32_mmap_pgoff
532 TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6)
533 #endif
534+#ifndef OVERRIDE_TABLE_32_ia32_ftruncate64
535+TRACE_SYSCALL_TABLE(ia32_ftruncate64, ia32_ftruncate64, 194, 3)
536+#endif
537 #ifndef OVERRIDE_TABLE_32_setreuid
538 TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2)
539 #endif
540@@ -1141,12 +1396,18 @@ TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3)
541 #ifndef OVERRIDE_TABLE_32_fcntl64
542 TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3)
543 #endif
544+#ifndef OVERRIDE_TABLE_32_ia32_readahead
545+TRACE_SYSCALL_TABLE(ia32_readahead, ia32_readahead, 225, 4)
546+#endif
547 #ifndef OVERRIDE_TABLE_32_tkill
548 TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2)
549 #endif
550 #ifndef OVERRIDE_TABLE_32_io_destroy
551 TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1)
552 #endif
553+#ifndef OVERRIDE_TABLE_32_ia32_fadvise64
554+TRACE_SYSCALL_TABLE(ia32_fadvise64, ia32_fadvise64, 250, 5)
555+#endif
556 #ifndef OVERRIDE_TABLE_32_exit_group
557 TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1)
558 #endif
559@@ -1165,6 +1426,9 @@ TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1)
560 #ifndef OVERRIDE_TABLE_32_tgkill
561 TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3)
562 #endif
563+#ifndef OVERRIDE_TABLE_32_ia32_fadvise64_64
564+TRACE_SYSCALL_TABLE(ia32_fadvise64_64, ia32_fadvise64_64, 272, 6)
565+#endif
566 #ifndef OVERRIDE_TABLE_32_keyctl
567 TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5)
568 #endif
569@@ -1180,6 +1444,9 @@ TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2)
570 #ifndef OVERRIDE_TABLE_32_unshare
571 TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1)
572 #endif
573+#ifndef OVERRIDE_TABLE_32_ia32_sync_file_range
574+TRACE_SYSCALL_TABLE(ia32_sync_file_range, ia32_sync_file_range, 314, 6)
575+#endif
576 #ifndef OVERRIDE_TABLE_32_tee
577 TRACE_SYSCALL_TABLE(tee, tee, 315, 4)
578 #endif
579@@ -1189,6 +1456,9 @@ TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2)
580 #ifndef OVERRIDE_TABLE_32_eventfd
581 TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1)
582 #endif
583+#ifndef OVERRIDE_TABLE_32_ia32_fallocate
584+TRACE_SYSCALL_TABLE(ia32_fallocate, ia32_fallocate, 324, 6)
585+#endif
586 #ifndef OVERRIDE_TABLE_32_eventfd2
587 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2)
588 #endif
589@@ -1210,5 +1480,59 @@ TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1)
590 #ifndef OVERRIDE_TABLE_32_setns
591 TRACE_SYSCALL_TABLE(setns, setns, 346, 2)
592 #endif
593+#ifndef OVERRIDE_TABLE_32_kcmp
594+TRACE_SYSCALL_TABLE(kcmp, kcmp, 349, 5)
595+#endif
596+#ifndef OVERRIDE_TABLE_32_socket
597+TRACE_SYSCALL_TABLE(socket, socket, 359, 3)
598+#endif
599+#ifndef OVERRIDE_TABLE_32_listen
600+TRACE_SYSCALL_TABLE(listen, listen, 363, 2)
601+#endif
602+#ifndef OVERRIDE_TABLE_32_shutdown
603+TRACE_SYSCALL_TABLE(shutdown, shutdown, 373, 2)
604+#endif
605+#ifndef OVERRIDE_TABLE_32_userfaultfd
606+TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 374, 1)
607+#endif
608+#ifndef OVERRIDE_TABLE_32_membarrier
609+TRACE_SYSCALL_TABLE(membarrier, membarrier, 375, 3)
610+#endif
611+#ifndef OVERRIDE_TABLE_32_mlock2
612+TRACE_SYSCALL_TABLE(mlock2, mlock2, 376, 3)
613+#endif
614+#ifndef OVERRIDE_TABLE_32_arch_prctl
615+TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 384, 2)
616+#endif
617+#ifndef OVERRIDE_TABLE_32_semget
618+TRACE_SYSCALL_TABLE(semget, semget, 393, 3)
619+#endif
620+#ifndef OVERRIDE_TABLE_32_semctl
621+TRACE_SYSCALL_TABLE(semctl, semctl, 394, 4)
622+#endif
623+#ifndef OVERRIDE_TABLE_32_shmget
624+TRACE_SYSCALL_TABLE(shmget, shmget, 395, 3)
625+#endif
626+#ifndef OVERRIDE_TABLE_32_msgget
627+TRACE_SYSCALL_TABLE(msgget, msgget, 399, 2)
628+#endif
629+#ifndef OVERRIDE_TABLE_32_fsmount
630+TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3)
631+#endif
632+#ifndef OVERRIDE_TABLE_32_pidfd_open
633+TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2)
634+#endif
635+#ifndef OVERRIDE_TABLE_32_close_range
636+TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3)
637+#endif
638+#ifndef OVERRIDE_TABLE_32_pidfd_getfd
639+TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3)
640+#endif
641+#ifndef OVERRIDE_TABLE_32_memfd_secret
642+TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1)
643+#endif
644+#ifndef OVERRIDE_TABLE_32_process_mrelease
645+TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2)
646+#endif
647
648 #endif /* CREATE_SYSCALL_TABLE */
649diff --git a/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h
650index 40ad713e..2d833197 100644
651--- a/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h
652+++ b/include/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h
653@@ -2,7 +2,7 @@
654
655 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
656
657-/* Generated from x86-32-syscalls 3.1.0-rc6 */
658+/* Generated from x86-32-syscalls 6.0.7 */
659
660 #ifndef CREATE_SYSCALL_TABLE
661
662@@ -28,11 +28,11 @@ SC_LTTNG_TRACEPOINT_EVENT(chdir,
663 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
664 )
665 #endif
666-#ifndef OVERRIDE_32_time
667-SC_LTTNG_TRACEPOINT_EVENT(time,
668- TP_PROTO(sc_exit(long ret,) time_t * tloc),
669+#ifndef OVERRIDE_32_time32
670+SC_LTTNG_TRACEPOINT_EVENT(time32,
671+ TP_PROTO(sc_exit(long ret,) old_time32_t * tloc),
672 TP_ARGS(sc_exit(ret,) tloc),
673- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc)))
674+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(old_time32_t *, tloc, tloc)))
675 )
676 #endif
677 #ifndef OVERRIDE_32_oldumount
678@@ -42,11 +42,11 @@ SC_LTTNG_TRACEPOINT_EVENT(oldumount,
679 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name)))
680 )
681 #endif
682-#ifndef OVERRIDE_32_stime
683-SC_LTTNG_TRACEPOINT_EVENT(stime,
684- TP_PROTO(sc_exit(long ret,) time_t * tptr),
685+#ifndef OVERRIDE_32_stime32
686+SC_LTTNG_TRACEPOINT_EVENT(stime32,
687+ TP_PROTO(sc_exit(long ret,) old_time32_t * tptr),
688 TP_ARGS(sc_exit(ret,) tptr),
689- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr)))
690+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_time32_t *, tptr, tptr)))
691 )
692 #endif
693 #ifndef OVERRIDE_32_rmdir
694@@ -93,9 +93,9 @@ SC_LTTNG_TRACEPOINT_EVENT(chroot,
695 #endif
696 #ifndef OVERRIDE_32_sigpending
697 SC_LTTNG_TRACEPOINT_EVENT(sigpending,
698- TP_PROTO(sc_exit(long ret,) old_sigset_t * set),
699- TP_ARGS(sc_exit(ret,) set),
700- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set)))
701+ TP_PROTO(sc_exit(long ret,) old_sigset_t * uset),
702+ TP_ARGS(sc_exit(ret,) uset),
703+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, uset, uset)))
704 )
705 #endif
706 #ifndef OVERRIDE_32_old_select
707@@ -147,18 +147,25 @@ SC_LTTNG_TRACEPOINT_EVENT(newuname,
708 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name)))
709 )
710 #endif
711-#ifndef OVERRIDE_32_adjtimex
712-SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
713- TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
714- TP_ARGS(sc_exit(ret,) txc_p),
715- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p)))
716+#ifndef OVERRIDE_32_adjtimex_time32
717+SC_LTTNG_TRACEPOINT_EVENT(adjtimex_time32,
718+ TP_PROTO(sc_exit(long ret,) struct old_timex32 * utp),
719+ TP_ARGS(sc_exit(ret,) utp),
720+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_timex32 *, utp, utp)))
721 )
722 #endif
723-#ifndef OVERRIDE_32_sysctl
724-SC_LTTNG_TRACEPOINT_EVENT(sysctl,
725- TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args),
726- TP_ARGS(sc_exit(ret,) args),
727- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args)))
728+#ifndef OVERRIDE_32_set_thread_area
729+SC_LTTNG_TRACEPOINT_EVENT(set_thread_area,
730+ TP_PROTO(sc_exit(long ret,) struct user_desc * u_info),
731+ TP_ARGS(sc_exit(ret,) u_info),
732+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info)))
733+)
734+#endif
735+#ifndef OVERRIDE_32_get_thread_area
736+SC_LTTNG_TRACEPOINT_EVENT(get_thread_area,
737+ TP_PROTO(sc_exit(long ret,) struct user_desc * u_info),
738+ TP_ARGS(sc_exit(ret,) u_info),
739+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct user_desc *, u_info, u_info)))
740 )
741 #endif
742 #ifndef OVERRIDE_32_set_tid_address
743@@ -175,11 +182,18 @@ SC_LTTNG_TRACEPOINT_EVENT(mq_unlink,
744 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)))
745 )
746 #endif
747+#ifndef OVERRIDE_32_shmdt
748+SC_LTTNG_TRACEPOINT_EVENT(shmdt,
749+ TP_PROTO(sc_exit(long ret,) char * shmaddr),
750+ TP_ARGS(sc_exit(ret,) shmaddr),
751+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr)))
752+)
753+#endif
754 #ifndef OVERRIDE_32_creat
755 SC_LTTNG_TRACEPOINT_EVENT(creat,
756- TP_PROTO(sc_exit(long ret,) const char * pathname, int mode),
757+ TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
758 TP_ARGS(sc_exit(ret,) pathname, mode),
759- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode)))
760+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
761 )
762 #endif
763 #ifndef OVERRIDE_32_link
764@@ -191,9 +205,9 @@ SC_LTTNG_TRACEPOINT_EVENT(link,
765 #endif
766 #ifndef OVERRIDE_32_chmod
767 SC_LTTNG_TRACEPOINT_EVENT(chmod,
768- TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode),
769+ TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode),
770 TP_ARGS(sc_exit(ret,) filename, mode),
771- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode)))
772+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
773 )
774 #endif
775 #ifndef OVERRIDE_32_stat
776@@ -210,11 +224,11 @@ SC_LTTNG_TRACEPOINT_EVENT(fstat,
777 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct __old_kernel_stat *, statbuf, statbuf)))
778 )
779 #endif
780-#ifndef OVERRIDE_32_utime
781-SC_LTTNG_TRACEPOINT_EVENT(utime,
782- TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times),
783- TP_ARGS(sc_exit(ret,) filename, times),
784- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times)))
785+#ifndef OVERRIDE_32_utime32
786+SC_LTTNG_TRACEPOINT_EVENT(utime32,
787+ TP_PROTO(sc_exit(long ret,) const char * filename, struct old_utimbuf32 * t),
788+ TP_ARGS(sc_exit(ret,) filename, t),
789+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct old_utimbuf32 *, t, t)))
790 )
791 #endif
792 #ifndef OVERRIDE_32_access
793@@ -233,9 +247,9 @@ SC_LTTNG_TRACEPOINT_EVENT(rename,
794 #endif
795 #ifndef OVERRIDE_32_mkdir
796 SC_LTTNG_TRACEPOINT_EVENT(mkdir,
797- TP_PROTO(sc_exit(long ret,) const char * pathname, int mode),
798+ TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
799 TP_ARGS(sc_exit(ret,) pathname, mode),
800- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode)))
801+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
802 )
803 #endif
804 #ifndef OVERRIDE_32_umount
805@@ -282,16 +296,16 @@ SC_LTTNG_TRACEPOINT_EVENT(getrusage,
806 #endif
807 #ifndef OVERRIDE_32_gettimeofday
808 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
809- TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
810+ TP_PROTO(sc_exit(long ret,) struct __kernel_old_timeval * tv, struct timezone * tz),
811 TP_ARGS(sc_exit(ret,) tv, tz),
812- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz)))
813+ 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)))
814 )
815 #endif
816 #ifndef OVERRIDE_32_settimeofday
817 SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
818- TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
819+ TP_PROTO(sc_exit(long ret,) struct __kernel_old_timeval * tv, struct timezone * tz),
820 TP_ARGS(sc_exit(ret,) tv, tz),
821- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz)))
822+ 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)))
823 )
824 #endif
825 #ifndef OVERRIDE_32_getgroups16
826@@ -359,9 +373,9 @@ SC_LTTNG_TRACEPOINT_EVENT(socketcall,
827 #endif
828 #ifndef OVERRIDE_32_getitimer
829 SC_LTTNG_TRACEPOINT_EVENT(getitimer,
830- TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
831+ TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_itimerval * value),
832 TP_ARGS(sc_exit(ret,) which, value),
833- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value)))
834+ 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)))
835 )
836 #endif
837 #ifndef OVERRIDE_32_newstat
838@@ -413,25 +427,25 @@ SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
839 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)))
840 )
841 #endif
842-#ifndef OVERRIDE_32_sched_rr_get_interval
843-SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
844- TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
845+#ifndef OVERRIDE_32_sched_rr_get_interval_time32
846+SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval_time32,
847+ TP_PROTO(sc_exit(long ret,) pid_t pid, struct old_timespec32 * interval),
848 TP_ARGS(sc_exit(ret,) pid, interval),
849- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval)))
850+ 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)))
851 )
852 #endif
853-#ifndef OVERRIDE_32_nanosleep
854-SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
855- TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
856+#ifndef OVERRIDE_32_nanosleep_time32
857+SC_LTTNG_TRACEPOINT_EVENT(nanosleep_time32,
858+ TP_PROTO(sc_exit(long ret,) struct old_timespec32 * rqtp, struct old_timespec32 * rmtp),
859 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
860- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
861+ 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)))
862 )
863 #endif
864 #ifndef OVERRIDE_32_rt_sigpending
865 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
866- TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize),
867- TP_ARGS(sc_exit(ret,) set, sigsetsize),
868- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, set, set)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
869+ TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize),
870+ TP_ARGS(sc_exit(ret,) uset, sigsetsize),
871+ 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)))
872 )
873 #endif
874 #ifndef OVERRIDE_32_rt_sigsuspend
875@@ -448,6 +462,13 @@ SC_LTTNG_TRACEPOINT_EVENT(getcwd,
876 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size)))
877 )
878 #endif
879+#ifndef OVERRIDE_32_sigaltstack
880+SC_LTTNG_TRACEPOINT_EVENT(sigaltstack,
881+ TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss),
882+ TP_ARGS(sc_exit(ret,) uss, uoss),
883+ 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)))
884+)
885+#endif
886 #ifndef OVERRIDE_32_getrlimit
887 SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
888 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
889@@ -525,39 +546,39 @@ SC_LTTNG_TRACEPOINT_EVENT(io_setup,
890 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)))
891 )
892 #endif
893-#ifndef OVERRIDE_32_timer_gettime
894-SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
895- TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
896+#ifndef OVERRIDE_32_timer_gettime32
897+SC_LTTNG_TRACEPOINT_EVENT(timer_gettime32,
898+ TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct old_itimerspec32 * setting),
899 TP_ARGS(sc_exit(ret,) timer_id, setting),
900- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting)))
901+ 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)))
902 )
903 #endif
904-#ifndef OVERRIDE_32_clock_settime
905-SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
906- TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp),
907+#ifndef OVERRIDE_32_clock_settime32
908+SC_LTTNG_TRACEPOINT_EVENT(clock_settime32,
909+ TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp),
910 TP_ARGS(sc_exit(ret,) which_clock, tp),
911- 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 timespec *, tp, tp)))
912+ 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)))
913 )
914 #endif
915-#ifndef OVERRIDE_32_clock_gettime
916-SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
917- TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
918+#ifndef OVERRIDE_32_clock_gettime32
919+SC_LTTNG_TRACEPOINT_EVENT(clock_gettime32,
920+ TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp),
921 TP_ARGS(sc_exit(ret,) which_clock, tp),
922- 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 timespec *, tp, tp)))
923+ 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)))
924 )
925 #endif
926-#ifndef OVERRIDE_32_clock_getres
927-SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
928- TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
929+#ifndef OVERRIDE_32_clock_getres_time32
930+SC_LTTNG_TRACEPOINT_EVENT(clock_getres_time32,
931+ TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timespec32 * tp),
932 TP_ARGS(sc_exit(ret,) which_clock, tp),
933- 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 timespec *, tp, tp)))
934+ 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)))
935 )
936 #endif
937-#ifndef OVERRIDE_32_utimes
938-SC_LTTNG_TRACEPOINT_EVENT(utimes,
939- TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes),
940- TP_ARGS(sc_exit(ret,) filename, utimes),
941- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
942+#ifndef OVERRIDE_32_utimes_time32
943+SC_LTTNG_TRACEPOINT_EVENT(utimes_time32,
944+ TP_PROTO(sc_exit(long ret,) const char * filename, struct old_timeval32 * t),
945+ TP_ARGS(sc_exit(ret,) filename, t),
946+ 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)))
947 )
948 #endif
949 #ifndef OVERRIDE_32_mq_notify
950@@ -574,11 +595,11 @@ SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
951 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)))
952 )
953 #endif
954-#ifndef OVERRIDE_32_timerfd_gettime
955-SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
956- TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
957+#ifndef OVERRIDE_32_timerfd_gettime32
958+SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime32,
959+ TP_PROTO(sc_exit(long ret,) int ufd, struct old_itimerspec32 * otmr),
960 TP_ARGS(sc_exit(ret,) ufd, otmr),
961- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
962+ 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)))
963 )
964 #endif
965 #ifndef OVERRIDE_32_pipe2
966@@ -588,11 +609,88 @@ SC_LTTNG_TRACEPOINT_EVENT(pipe2,
967 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags)))
968 )
969 #endif
970+#ifndef OVERRIDE_32_clock_adjtime32
971+SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime32,
972+ TP_PROTO(sc_exit(long ret,) clockid_t which_clock, struct old_timex32 * utp),
973+ TP_ARGS(sc_exit(ret,) which_clock, utp),
974+ 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)))
975+)
976+#endif
977+#ifndef OVERRIDE_32_memfd_create
978+SC_LTTNG_TRACEPOINT_EVENT(memfd_create,
979+ TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags),
980+ TP_ARGS(sc_exit(ret,) uname, flags),
981+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags)))
982+)
983+#endif
984+#ifndef OVERRIDE_32_clock_gettime
985+SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
986+ TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_timespec * tp),
987+ TP_ARGS(sc_exit(ret,) which_clock, tp),
988+ 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)))
989+)
990+#endif
991+#ifndef OVERRIDE_32_clock_settime
992+SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
993+ TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct __kernel_timespec * tp),
994+ TP_ARGS(sc_exit(ret,) which_clock, tp),
995+ 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)))
996+)
997+#endif
998 #ifndef OVERRIDE_32_clock_adjtime
999 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
1000- TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
1001+ TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_timex * utx),
1002 TP_ARGS(sc_exit(ret,) which_clock, utx),
1003- 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 timex *, utx, utx)))
1004+ 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)))
1005+)
1006+#endif
1007+#ifndef OVERRIDE_32_clock_getres
1008+SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
1009+ TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct __kernel_timespec * tp),
1010+ TP_ARGS(sc_exit(ret,) which_clock, tp),
1011+ 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)))
1012+)
1013+#endif
1014+#ifndef OVERRIDE_32_timer_gettime
1015+SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
1016+ TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct __kernel_itimerspec * setting),
1017+ TP_ARGS(sc_exit(ret,) timer_id, setting),
1018+ 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)))
1019+)
1020+#endif
1021+#ifndef OVERRIDE_32_timerfd_gettime
1022+SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
1023+ TP_PROTO(sc_exit(long ret,) int ufd, struct __kernel_itimerspec * otmr),
1024+ TP_ARGS(sc_exit(ret,) ufd, otmr),
1025+ 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)))
1026+)
1027+#endif
1028+#ifndef OVERRIDE_32_sched_rr_get_interval
1029+SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
1030+ TP_PROTO(sc_exit(long ret,) pid_t pid, struct __kernel_timespec * interval),
1031+ TP_ARGS(sc_exit(ret,) pid, interval),
1032+ 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)))
1033+)
1034+#endif
1035+#ifndef OVERRIDE_32_io_uring_setup
1036+SC_LTTNG_TRACEPOINT_EVENT(io_uring_setup,
1037+ TP_PROTO(sc_exit(long ret,) u32 entries, struct io_uring_params * params),
1038+ TP_ARGS(sc_exit(ret,) entries, params),
1039+ 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)))
1040+)
1041+#endif
1042+#ifndef OVERRIDE_32_fsopen
1043+SC_LTTNG_TRACEPOINT_EVENT(fsopen,
1044+ TP_PROTO(sc_exit(long ret,) const char * _fs_name, unsigned int flags),
1045+ TP_ARGS(sc_exit(ret,) _fs_name, flags),
1046+ 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)))
1047+)
1048+#endif
1049+#ifndef OVERRIDE_32_clone3
1050+SC_LTTNG_TRACEPOINT_EVENT(clone3,
1051+ TP_PROTO(sc_exit(long ret,) struct clone_args * uargs, size_t size),
1052+ TP_ARGS(sc_exit(ret,) uargs, size),
1053+ 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)))
1054 )
1055 #endif
1056 #ifndef OVERRIDE_32_read
1057@@ -611,9 +709,9 @@ SC_LTTNG_TRACEPOINT_EVENT(write,
1058 #endif
1059 #ifndef OVERRIDE_32_open
1060 SC_LTTNG_TRACEPOINT_EVENT(open,
1061- TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode),
1062+ TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode),
1063 TP_ARGS(sc_exit(ret,) filename, flags, mode),
1064- 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(int, mode, mode)))
1065+ 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)))
1066 )
1067 #endif
1068 #ifndef OVERRIDE_32_waitpid
1069@@ -623,11 +721,18 @@ SC_LTTNG_TRACEPOINT_EVENT(waitpid,
1070 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options)))
1071 )
1072 #endif
1073+#ifndef OVERRIDE_32_execve
1074+SC_LTTNG_TRACEPOINT_EVENT(execve,
1075+ TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp),
1076+ TP_ARGS(sc_exit(ret,) filename, argv, envp),
1077+ 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)))
1078+)
1079+#endif
1080 #ifndef OVERRIDE_32_mknod
1081 SC_LTTNG_TRACEPOINT_EVENT(mknod,
1082- TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev),
1083+ TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev),
1084 TP_ARGS(sc_exit(ret,) filename, mode, dev),
1085- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev)))
1086+ 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)))
1087 )
1088 #endif
1089 #ifndef OVERRIDE_32_lchown16
1090@@ -637,6 +742,13 @@ SC_LTTNG_TRACEPOINT_EVENT(lchown16,
1091 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)))
1092 )
1093 #endif
1094+#ifndef OVERRIDE_32_sigaction
1095+SC_LTTNG_TRACEPOINT_EVENT(sigaction,
1096+ TP_PROTO(sc_exit(long ret,) int sig, const struct old_sigaction * act, struct old_sigaction * oact),
1097+ TP_ARGS(sc_exit(ret,) sig, act, oact),
1098+ 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)))
1099+)
1100+#endif
1101 #ifndef OVERRIDE_32_readlink
1102 SC_LTTNG_TRACEPOINT_EVENT(readlink,
1103 TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz),
1104@@ -660,9 +772,16 @@ SC_LTTNG_TRACEPOINT_EVENT(syslog,
1105 #endif
1106 #ifndef OVERRIDE_32_setitimer
1107 SC_LTTNG_TRACEPOINT_EVENT(setitimer,
1108- TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue),
1109+ TP_PROTO(sc_exit(long ret,) int which, struct __kernel_old_itimerval * value, struct __kernel_old_itimerval * ovalue),
1110 TP_ARGS(sc_exit(ret,) which, value, ovalue),
1111- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue)))
1112+ 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)))
1113+)
1114+#endif
1115+#ifndef OVERRIDE_32_modify_ldt
1116+SC_LTTNG_TRACEPOINT_EVENT(modify_ldt,
1117+ TP_PROTO(sc_exit(long ret,) int func, void * ptr, unsigned long bytecount),
1118+ TP_ARGS(sc_exit(ret,) func, ptr, bytecount),
1119+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(unsigned long, bytecount, bytecount)))
1120 )
1121 #endif
1122 #ifndef OVERRIDE_32_sigprocmask
1123@@ -709,23 +828,23 @@ SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler,
1124 #endif
1125 #ifndef OVERRIDE_32_getresuid16
1126 SC_LTTNG_TRACEPOINT_EVENT(getresuid16,
1127- TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid),
1128- TP_ARGS(sc_exit(ret,) ruid, euid, suid),
1129- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid)))
1130+ TP_PROTO(sc_exit(long ret,) old_uid_t * ruidp, old_uid_t * euidp, old_uid_t * suidp),
1131+ TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp),
1132+ 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)))
1133 )
1134 #endif
1135 #ifndef OVERRIDE_32_poll
1136 SC_LTTNG_TRACEPOINT_EVENT(poll,
1137- TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs),
1138+ TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs),
1139 TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs),
1140- 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(long, timeout_msecs, timeout_msecs)))
1141+ 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)))
1142 )
1143 #endif
1144 #ifndef OVERRIDE_32_getresgid16
1145 SC_LTTNG_TRACEPOINT_EVENT(getresgid16,
1146- TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid),
1147- TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
1148- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid)))
1149+ TP_PROTO(sc_exit(long ret,) old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp),
1150+ TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp),
1151+ 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)))
1152 )
1153 #endif
1154 #ifndef OVERRIDE_32_rt_sigqueueinfo
1155@@ -742,6 +861,13 @@ SC_LTTNG_TRACEPOINT_EVENT(chown16,
1156 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)))
1157 )
1158 #endif
1159+#ifndef OVERRIDE_32_ia32_truncate64
1160+SC_LTTNG_TRACEPOINT_EVENT(ia32_truncate64,
1161+ TP_PROTO(sc_exit(long ret,) const char * filename, unsigned long offset_low, unsigned long offset_high),
1162+ TP_ARGS(sc_exit(ret,) filename, offset_low, offset_high),
1163+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)))
1164+)
1165+#endif
1166 #ifndef OVERRIDE_32_lchown
1167 SC_LTTNG_TRACEPOINT_EVENT(lchown,
1168 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
1169@@ -751,16 +877,16 @@ SC_LTTNG_TRACEPOINT_EVENT(lchown,
1170 #endif
1171 #ifndef OVERRIDE_32_getresuid
1172 SC_LTTNG_TRACEPOINT_EVENT(getresuid,
1173- TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid),
1174- TP_ARGS(sc_exit(ret,) ruid, euid, suid),
1175- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruid, ruid)) sc_out(ctf_integer(uid_t *, euid, euid)) sc_out(ctf_integer(uid_t *, suid, suid)))
1176+ TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp),
1177+ TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp),
1178+ 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)))
1179 )
1180 #endif
1181 #ifndef OVERRIDE_32_getresgid
1182 SC_LTTNG_TRACEPOINT_EVENT(getresgid,
1183- TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid),
1184- TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
1185- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgid, rgid)) sc_out(ctf_integer(gid_t *, egid, egid)) sc_out(ctf_integer(gid_t *, sgid, sgid)))
1186+ TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp),
1187+ TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp),
1188+ 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)))
1189 )
1190 #endif
1191 #ifndef OVERRIDE_32_chown
1192@@ -870,16 +996,16 @@ SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch,
1193 #endif
1194 #ifndef OVERRIDE_32_mkdirat
1195 SC_LTTNG_TRACEPOINT_EVENT(mkdirat,
1196- TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode),
1197+ TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode),
1198 TP_ARGS(sc_exit(ret,) dfd, pathname, mode),
1199- 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, mode, mode)))
1200+ 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)))
1201 )
1202 #endif
1203-#ifndef OVERRIDE_32_futimesat
1204-SC_LTTNG_TRACEPOINT_EVENT(futimesat,
1205- TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes),
1206- TP_ARGS(sc_exit(ret,) dfd, filename, utimes),
1207- 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 timeval *, utimes, utimes)))
1208+#ifndef OVERRIDE_32_futimesat_time32
1209+SC_LTTNG_TRACEPOINT_EVENT(futimesat_time32,
1210+ TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timeval32 * t),
1211+ TP_ARGS(sc_exit(ret,) dfd, filename, t),
1212+ 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)))
1213 )
1214 #endif
1215 #ifndef OVERRIDE_32_unlinkat
1216@@ -898,9 +1024,9 @@ SC_LTTNG_TRACEPOINT_EVENT(symlinkat,
1217 #endif
1218 #ifndef OVERRIDE_32_fchmodat
1219 SC_LTTNG_TRACEPOINT_EVENT(fchmodat,
1220- TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode),
1221+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode),
1222 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
1223- 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(mode_t, mode, mode)))
1224+ 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)))
1225 )
1226 #endif
1227 #ifndef OVERRIDE_32_faccessat
1228@@ -931,6 +1057,125 @@ SC_LTTNG_TRACEPOINT_EVENT(signalfd,
1229 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)))
1230 )
1231 #endif
1232+#ifndef OVERRIDE_32_open_by_handle_at
1233+SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at,
1234+ TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags),
1235+ TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags),
1236+ 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)))
1237+)
1238+#endif
1239+#ifndef OVERRIDE_32_finit_module
1240+SC_LTTNG_TRACEPOINT_EVENT(finit_module,
1241+ TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags),
1242+ TP_ARGS(sc_exit(ret,) fd, uargs, flags),
1243+ 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)))
1244+)
1245+#endif
1246+#ifndef OVERRIDE_32_sched_setattr
1247+SC_LTTNG_TRACEPOINT_EVENT(sched_setattr,
1248+ TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags),
1249+ TP_ARGS(sc_exit(ret,) pid, uattr, flags),
1250+ 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)))
1251+)
1252+#endif
1253+#ifndef OVERRIDE_32_seccomp
1254+SC_LTTNG_TRACEPOINT_EVENT(seccomp,
1255+ TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, void * uargs),
1256+ TP_ARGS(sc_exit(ret,) op, flags, uargs),
1257+ 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)))
1258+)
1259+#endif
1260+#ifndef OVERRIDE_32_getrandom
1261+SC_LTTNG_TRACEPOINT_EVENT(getrandom,
1262+ TP_PROTO(sc_exit(long ret,) char * ubuf, size_t len, unsigned int flags),
1263+ TP_ARGS(sc_exit(ret,) ubuf, len, flags),
1264+ 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)))
1265+)
1266+#endif
1267+#ifndef OVERRIDE_32_bpf
1268+SC_LTTNG_TRACEPOINT_EVENT(bpf,
1269+ TP_PROTO(sc_exit(long ret,) int cmd, union bpf_attr * uattr, unsigned int size),
1270+ TP_ARGS(sc_exit(ret,) cmd, uattr, size),
1271+ 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)))
1272+)
1273+#endif
1274+#ifndef OVERRIDE_32_bind
1275+SC_LTTNG_TRACEPOINT_EVENT(bind,
1276+ TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen),
1277+ TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen),
1278+ 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)))
1279+)
1280+#endif
1281+#ifndef OVERRIDE_32_connect
1282+SC_LTTNG_TRACEPOINT_EVENT(connect,
1283+ TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen),
1284+ TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen),
1285+ 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)))
1286+)
1287+#endif
1288+#ifndef OVERRIDE_32_getsockname
1289+SC_LTTNG_TRACEPOINT_EVENT(getsockname,
1290+ TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
1291+ TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
1292+ 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)))
1293+)
1294+#endif
1295+#ifndef OVERRIDE_32_getpeername
1296+SC_LTTNG_TRACEPOINT_EVENT(getpeername,
1297+ TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
1298+ TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
1299+ 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)))
1300+)
1301+#endif
1302+#ifndef OVERRIDE_32_sendmsg
1303+SC_LTTNG_TRACEPOINT_EVENT(sendmsg,
1304+ TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags),
1305+ TP_ARGS(sc_exit(ret,) fd, msg, flags),
1306+ 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)))
1307+)
1308+#endif
1309+#ifndef OVERRIDE_32_recvmsg
1310+SC_LTTNG_TRACEPOINT_EVENT(recvmsg,
1311+ TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags),
1312+ TP_ARGS(sc_exit(ret,) fd, msg, flags),
1313+ 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)))
1314+)
1315+#endif
1316+#ifndef OVERRIDE_32_shmctl
1317+SC_LTTNG_TRACEPOINT_EVENT(shmctl,
1318+ TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf),
1319+ TP_ARGS(sc_exit(ret,) shmid, cmd, buf),
1320+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf)))
1321+)
1322+#endif
1323+#ifndef OVERRIDE_32_shmat
1324+SC_LTTNG_TRACEPOINT_EVENT(shmat,
1325+ TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg),
1326+ TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg),
1327+ 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)))
1328+)
1329+#endif
1330+#ifndef OVERRIDE_32_msgctl
1331+SC_LTTNG_TRACEPOINT_EVENT(msgctl,
1332+ TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf),
1333+ TP_ARGS(sc_exit(ret,) msqid, cmd, buf),
1334+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf)))
1335+)
1336+#endif
1337+#ifndef OVERRIDE_32_open_tree
1338+SC_LTTNG_TRACEPOINT_EVENT(open_tree,
1339+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags),
1340+ TP_ARGS(sc_exit(ret,) dfd, filename, flags),
1341+ 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)))
1342+)
1343+#endif
1344+#ifndef OVERRIDE_32_fspick
1345+SC_LTTNG_TRACEPOINT_EVENT(fspick,
1346+ TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags),
1347+ TP_ARGS(sc_exit(ret,) dfd, path, flags),
1348+ 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)))
1349+)
1350+#endif
1351 #ifndef OVERRIDE_32_reboot
1352 SC_LTTNG_TRACEPOINT_EVENT(reboot,
1353 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
1354@@ -966,11 +1211,11 @@ SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
1355 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)))
1356 )
1357 #endif
1358-#ifndef OVERRIDE_32_rt_sigtimedwait
1359-SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
1360- TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
1361+#ifndef OVERRIDE_32_rt_sigtimedwait_time32
1362+SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait_time32,
1363+ TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct old_timespec32 * uts, size_t sigsetsize),
1364 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
1365- 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 timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
1366+ 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)))
1367 )
1368 #endif
1369 #ifndef OVERRIDE_32_sendfile
1370@@ -1022,25 +1267,25 @@ SC_LTTNG_TRACEPOINT_EVENT(epoll_wait,
1371 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)))
1372 )
1373 #endif
1374-#ifndef OVERRIDE_32_timer_settime
1375-SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
1376- TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
1377- TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
1378- 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 itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting)))
1379+#ifndef OVERRIDE_32_timer_settime32
1380+SC_LTTNG_TRACEPOINT_EVENT(timer_settime32,
1381+ TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, struct old_itimerspec32 * new, struct old_itimerspec32 * old),
1382+ TP_ARGS(sc_exit(ret,) timer_id, flags, new, old),
1383+ 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)))
1384 )
1385 #endif
1386-#ifndef OVERRIDE_32_clock_nanosleep
1387-SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
1388- TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
1389+#ifndef OVERRIDE_32_clock_nanosleep_time32
1390+SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep_time32,
1391+ TP_PROTO(sc_exit(long ret,) clockid_t which_clock, int flags, struct old_timespec32 * rqtp, struct old_timespec32 * rmtp),
1392 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
1393- 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 timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
1394+ 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)))
1395 )
1396 #endif
1397 #ifndef OVERRIDE_32_mq_open
1398 SC_LTTNG_TRACEPOINT_EVENT(mq_open,
1399- TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr),
1400+ TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr),
1401 TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr),
1402- 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(mode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr)))
1403+ 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)))
1404 )
1405 #endif
1406 #ifndef OVERRIDE_32_kexec_load
1407@@ -1059,16 +1304,16 @@ SC_LTTNG_TRACEPOINT_EVENT(request_key,
1408 #endif
1409 #ifndef OVERRIDE_32_openat
1410 SC_LTTNG_TRACEPOINT_EVENT(openat,
1411- TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode),
1412+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
1413 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
1414- 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(int, mode, mode)))
1415+ 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)))
1416 )
1417 #endif
1418 #ifndef OVERRIDE_32_mknodat
1419 SC_LTTNG_TRACEPOINT_EVENT(mknodat,
1420- TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev),
1421+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned int dev),
1422 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
1423- 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)) sc_in(ctf_integer(unsigned, dev, dev)))
1424+ 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)))
1425 )
1426 #endif
1427 #ifndef OVERRIDE_32_fstatat64
1428@@ -1094,23 +1339,23 @@ SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
1429 #endif
1430 #ifndef OVERRIDE_32_vmsplice
1431 SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
1432- TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
1433- TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
1434- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags)))
1435+ TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * uiov, unsigned long nr_segs, unsigned int flags),
1436+ TP_ARGS(sc_exit(ret,) fd, uiov, nr_segs, flags),
1437+ 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)))
1438 )
1439 #endif
1440-#ifndef OVERRIDE_32_utimensat
1441-SC_LTTNG_TRACEPOINT_EVENT(utimensat,
1442- TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
1443- TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
1444- 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 timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags)))
1445+#ifndef OVERRIDE_32_utimensat_time32
1446+SC_LTTNG_TRACEPOINT_EVENT(utimensat_time32,
1447+ TP_PROTO(sc_exit(long ret,) unsigned int dfd, const char * filename, struct old_timespec32 * t, int flags),
1448+ TP_ARGS(sc_exit(ret,) dfd, filename, t, flags),
1449+ 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)))
1450 )
1451 #endif
1452-#ifndef OVERRIDE_32_timerfd_settime
1453-SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
1454- TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
1455+#ifndef OVERRIDE_32_timerfd_settime32
1456+SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime32,
1457+ TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct old_itimerspec32 * utmr, struct old_itimerspec32 * otmr),
1458 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
1459- 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 itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
1460+ 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)))
1461 )
1462 #endif
1463 #ifndef OVERRIDE_32_signalfd4
1464@@ -1141,6 +1386,118 @@ SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
1465 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)))
1466 )
1467 #endif
1468+#ifndef OVERRIDE_32_sched_getattr
1469+SC_LTTNG_TRACEPOINT_EVENT(sched_getattr,
1470+ TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int usize, unsigned int flags),
1471+ TP_ARGS(sc_exit(ret,) pid, uattr, usize, flags),
1472+ 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)))
1473+)
1474+#endif
1475+#ifndef OVERRIDE_32_socketpair
1476+SC_LTTNG_TRACEPOINT_EVENT(socketpair,
1477+ TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
1478+ TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
1479+ 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)))
1480+)
1481+#endif
1482+#ifndef OVERRIDE_32_accept4
1483+SC_LTTNG_TRACEPOINT_EVENT(accept4,
1484+ TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
1485+ TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
1486+ 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)))
1487+)
1488+#endif
1489+#ifndef OVERRIDE_32_rseq
1490+SC_LTTNG_TRACEPOINT_EVENT(rseq,
1491+ TP_PROTO(sc_exit(long ret,) struct rseq * rseq, u32 rseq_len, int flags, u32 sig),
1492+ TP_ARGS(sc_exit(ret,) rseq, rseq_len, flags, sig),
1493+ 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)))
1494+)
1495+#endif
1496+#ifndef OVERRIDE_32_msgsnd
1497+SC_LTTNG_TRACEPOINT_EVENT(msgsnd,
1498+ TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg),
1499+ TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg),
1500+ 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)))
1501+)
1502+#endif
1503+#ifndef OVERRIDE_32_clock_nanosleep
1504+SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
1505+ TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct __kernel_timespec * rqtp, struct __kernel_timespec * rmtp),
1506+ TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
1507+ 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)))
1508+)
1509+#endif
1510+#ifndef OVERRIDE_32_timer_settime
1511+SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
1512+ TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct __kernel_itimerspec * new_setting, struct __kernel_itimerspec * old_setting),
1513+ TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
1514+ 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)))
1515+)
1516+#endif
1517+#ifndef OVERRIDE_32_timerfd_settime
1518+SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
1519+ TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct __kernel_itimerspec * utmr, struct __kernel_itimerspec * otmr),
1520+ TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
1521+ 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)))
1522+)
1523+#endif
1524+#ifndef OVERRIDE_32_utimensat
1525+SC_LTTNG_TRACEPOINT_EVENT(utimensat,
1526+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct __kernel_timespec * utimes, int flags),
1527+ TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
1528+ 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)))
1529+)
1530+#endif
1531+#ifndef OVERRIDE_32_semtimedop
1532+SC_LTTNG_TRACEPOINT_EVENT(semtimedop,
1533+ TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned int nsops, const struct __kernel_timespec * timeout),
1534+ TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout),
1535+ 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)))
1536+)
1537+#endif
1538+#ifndef OVERRIDE_32_rt_sigtimedwait
1539+SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
1540+ TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct __kernel_timespec * uts, size_t sigsetsize),
1541+ TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
1542+ 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)))
1543+)
1544+#endif
1545+#ifndef OVERRIDE_32_pidfd_send_signal
1546+SC_LTTNG_TRACEPOINT_EVENT(pidfd_send_signal,
1547+ TP_PROTO(sc_exit(long ret,) int pidfd, int sig, siginfo_t * info, unsigned int flags),
1548+ TP_ARGS(sc_exit(ret,) pidfd, sig, info, flags),
1549+ 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)))
1550+)
1551+#endif
1552+#ifndef OVERRIDE_32_io_uring_register
1553+SC_LTTNG_TRACEPOINT_EVENT(io_uring_register,
1554+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args),
1555+ TP_ARGS(sc_exit(ret,) fd, opcode, arg, nr_args),
1556+ 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)))
1557+)
1558+#endif
1559+#ifndef OVERRIDE_32_openat2
1560+SC_LTTNG_TRACEPOINT_EVENT(openat2,
1561+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct open_how * how, size_t usize),
1562+ TP_ARGS(sc_exit(ret,) dfd, filename, how, usize),
1563+ 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)))
1564+)
1565+#endif
1566+#ifndef OVERRIDE_32_faccessat2
1567+SC_LTTNG_TRACEPOINT_EVENT(faccessat2,
1568+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, int flags),
1569+ TP_ARGS(sc_exit(ret,) dfd, filename, mode, flags),
1570+ 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)))
1571+)
1572+#endif
1573+#ifndef OVERRIDE_32_quotactl_fd
1574+SC_LTTNG_TRACEPOINT_EVENT(quotactl_fd,
1575+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, qid_t id, void * addr),
1576+ TP_ARGS(sc_exit(ret,) fd, cmd, id, addr),
1577+ 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)))
1578+)
1579+#endif
1580 #ifndef OVERRIDE_32_mount
1581 SC_LTTNG_TRACEPOINT_EVENT(mount,
1582 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
1583@@ -1148,18 +1505,39 @@ SC_LTTNG_TRACEPOINT_EVENT(mount,
1584 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)))
1585 )
1586 #endif
1587+#ifndef OVERRIDE_32_clone
1588+SC_LTTNG_TRACEPOINT_EVENT(clone,
1589+ TP_PROTO(sc_exit(long ret,) unsigned long clone_flags, unsigned long newsp, int * parent_tidptr, unsigned long tls, int * child_tidptr),
1590+ TP_ARGS(sc_exit(ret,) clone_flags, newsp, parent_tidptr, tls, child_tidptr),
1591+ 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)))
1592+)
1593+#endif
1594 #ifndef OVERRIDE_32_llseek
1595 SC_LTTNG_TRACEPOINT_EVENT(llseek,
1596- TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin),
1597- TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin),
1598- 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, origin, origin)))
1599+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence),
1600+ TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence),
1601+ 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)))
1602 )
1603 #endif
1604 #ifndef OVERRIDE_32_select
1605 SC_LTTNG_TRACEPOINT_EVENT(select,
1606- TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp),
1607+ TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct __kernel_old_timeval * tvp),
1608 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp),
1609- 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 timeval *, tvp, tvp)))
1610+ 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)))
1611+)
1612+#endif
1613+#ifndef OVERRIDE_32_ia32_pread64
1614+SC_LTTNG_TRACEPOINT_EVENT(ia32_pread64,
1615+ TP_PROTO(sc_exit(long ret,) unsigned int fd, char * ubuf, u32 count, u32 poslo, u32 poshi),
1616+ TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi),
1617+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi)))
1618+)
1619+#endif
1620+#ifndef OVERRIDE_32_ia32_pwrite64
1621+SC_LTTNG_TRACEPOINT_EVENT(ia32_pwrite64,
1622+ TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * ubuf, u32 count, u32 poslo, u32 poshi),
1623+ TP_ARGS(sc_exit(ret,) fd, ubuf, count, poslo, poshi),
1624+ TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, ubuf, ubuf)) sc_inout(ctf_integer(u32, count, count)) sc_inout(ctf_integer(u32, poslo, poslo)) sc_inout(ctf_integer(u32, poshi, poshi)))
1625 )
1626 #endif
1627 #ifndef OVERRIDE_32_setxattr
1628@@ -1183,25 +1561,25 @@ SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
1629 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)))
1630 )
1631 #endif
1632-#ifndef OVERRIDE_32_io_getevents
1633-SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
1634- TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
1635+#ifndef OVERRIDE_32_io_getevents_time32
1636+SC_LTTNG_TRACEPOINT_EVENT(io_getevents_time32,
1637+ TP_PROTO(sc_exit(long ret,) __u32 ctx_id, __s32 min_nr, __s32 nr, struct io_event * events, struct old_timespec32 * timeout),
1638 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
1639- TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout)))
1640+ 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)))
1641 )
1642 #endif
1643-#ifndef OVERRIDE_32_mq_timedsend
1644-SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend,
1645- TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout),
1646+#ifndef OVERRIDE_32_mq_timedsend_time32
1647+SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend_time32,
1648+ 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),
1649 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout),
1650- 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 timespec *, u_abs_timeout, u_abs_timeout)))
1651+ 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)))
1652 )
1653 #endif
1654-#ifndef OVERRIDE_32_mq_timedreceive
1655-SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive,
1656- TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout),
1657+#ifndef OVERRIDE_32_mq_timedreceive_time32
1658+SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive_time32,
1659+ 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),
1660 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout),
1661- 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 timespec *, u_abs_timeout, u_abs_timeout)))
1662+ 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)))
1663 )
1664 #endif
1665 #ifndef OVERRIDE_32_waitid
1666@@ -1232,11 +1610,11 @@ SC_LTTNG_TRACEPOINT_EVENT(linkat,
1667 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)))
1668 )
1669 #endif
1670-#ifndef OVERRIDE_32_ppoll
1671-SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1672- TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1673+#ifndef OVERRIDE_32_ppoll_time32
1674+SC_LTTNG_TRACEPOINT_EVENT(ppoll_time32,
1675+ TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct old_timespec32 * tsp, const sigset_t * sigmask, size_t sigsetsize),
1676 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1677- 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 timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
1678+ 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)))
1679 )
1680 #endif
1681 #ifndef OVERRIDE_32_preadv
1682@@ -1260,11 +1638,123 @@ SC_LTTNG_TRACEPOINT_EVENT(perf_event_open,
1683 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)))
1684 )
1685 #endif
1686+#ifndef OVERRIDE_32_recvmmsg_time32
1687+SC_LTTNG_TRACEPOINT_EVENT(recvmmsg_time32,
1688+ TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 * timeout),
1689+ TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1690+ 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)))
1691+)
1692+#endif
1693+#ifndef OVERRIDE_32_name_to_handle_at
1694+SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at,
1695+ TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag),
1696+ TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag),
1697+ 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)))
1698+)
1699+#endif
1700+#ifndef OVERRIDE_32_renameat2
1701+SC_LTTNG_TRACEPOINT_EVENT(renameat2,
1702+ TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags),
1703+ TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
1704+ 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)))
1705+)
1706+#endif
1707+#ifndef OVERRIDE_32_execveat
1708+SC_LTTNG_TRACEPOINT_EVENT(execveat,
1709+ TP_PROTO(sc_exit(long ret,) int fd, const char * filename, const char *const * argv, const char *const * envp, int flags),
1710+ TP_ARGS(sc_exit(ret,) fd, filename, argv, envp, flags),
1711+ 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)))
1712+)
1713+#endif
1714+#ifndef OVERRIDE_32_getsockopt
1715+SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1716+ TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1717+ TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1718+ 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)))
1719+)
1720+#endif
1721+#ifndef OVERRIDE_32_setsockopt
1722+SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1723+ TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1724+ TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1725+ 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)))
1726+)
1727+#endif
1728+#ifndef OVERRIDE_32_statx
1729+SC_LTTNG_TRACEPOINT_EVENT(statx,
1730+ TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, unsigned flags, unsigned int mask, struct statx * buffer),
1731+ TP_ARGS(sc_exit(ret,) dfd, filename, flags, mask, buffer),
1732+ 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)))
1733+)
1734+#endif
1735+#ifndef OVERRIDE_32_msgrcv
1736+SC_LTTNG_TRACEPOINT_EVENT(msgrcv,
1737+ TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg),
1738+ TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg),
1739+ 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)))
1740+)
1741+#endif
1742+#ifndef OVERRIDE_32_ppoll
1743+SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1744+ TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct __kernel_timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1745+ TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1746+ 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)))
1747+)
1748+#endif
1749 #ifndef OVERRIDE_32_recvmmsg
1750 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1751- TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1752+ TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct __kernel_timespec * timeout),
1753 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1754- 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 timespec *, timeout, timeout)))
1755+ 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)))
1756+)
1757+#endif
1758+#ifndef OVERRIDE_32_mq_timedsend
1759+SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend,
1760+ 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),
1761+ TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout),
1762+ 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)))
1763+)
1764+#endif
1765+#ifndef OVERRIDE_32_mq_timedreceive
1766+SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive,
1767+ 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),
1768+ TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout),
1769+ 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)))
1770+)
1771+#endif
1772+#ifndef OVERRIDE_32_move_mount
1773+SC_LTTNG_TRACEPOINT_EVENT(move_mount,
1774+ TP_PROTO(sc_exit(long ret,) int from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags),
1775+ TP_ARGS(sc_exit(ret,) from_dfd, from_pathname, to_dfd, to_pathname, flags),
1776+ 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)))
1777+)
1778+#endif
1779+#ifndef OVERRIDE_32_fsconfig
1780+SC_LTTNG_TRACEPOINT_EVENT(fsconfig,
1781+ TP_PROTO(sc_exit(long ret,) int fd, unsigned int cmd, const char * _key, const void * _value, int aux),
1782+ TP_ARGS(sc_exit(ret,) fd, cmd, _key, _value, aux),
1783+ 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)))
1784+)
1785+#endif
1786+#ifndef OVERRIDE_32_process_madvise
1787+SC_LTTNG_TRACEPOINT_EVENT(process_madvise,
1788+ TP_PROTO(sc_exit(long ret,) int pidfd, const struct iovec * vec, size_t vlen, int behavior, unsigned int flags),
1789+ TP_ARGS(sc_exit(ret,) pidfd, vec, vlen, behavior, flags),
1790+ 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)))
1791+)
1792+#endif
1793+#ifndef OVERRIDE_32_mount_setattr
1794+SC_LTTNG_TRACEPOINT_EVENT(mount_setattr,
1795+ TP_PROTO(sc_exit(long ret,) int dfd, const char * path, unsigned int flags, struct mount_attr * uattr, size_t usize),
1796+ TP_ARGS(sc_exit(ret,) dfd, path, flags, uattr, usize),
1797+ 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)))
1798+)
1799+#endif
1800+#ifndef OVERRIDE_32_futex_waitv
1801+SC_LTTNG_TRACEPOINT_EVENT(futex_waitv,
1802+ TP_PROTO(sc_exit(long ret,) struct futex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec * timeout, clockid_t clockid),
1803+ TP_ARGS(sc_exit(ret,) waiters, nr_futexes, flags, timeout, clockid),
1804+ 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)))
1805 )
1806 #endif
1807 #ifndef OVERRIDE_32_ipc
1808@@ -1274,18 +1764,18 @@ SC_LTTNG_TRACEPOINT_EVENT(ipc,
1809 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, call, call)) sc_inout(ctf_integer(int, first, first)) sc_inout(ctf_integer(unsigned long, second, second)) sc_inout(ctf_integer(unsigned long, third, third)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(long, fifth, fifth)))
1810 )
1811 #endif
1812-#ifndef OVERRIDE_32_futex
1813-SC_LTTNG_TRACEPOINT_EVENT(futex,
1814- TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1815+#ifndef OVERRIDE_32_futex_time32
1816+SC_LTTNG_TRACEPOINT_EVENT(futex_time32,
1817+ TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct old_timespec32 * utime, u32 * uaddr2, u32 val3),
1818 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1819- 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(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3)))
1820+ 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)))
1821 )
1822 #endif
1823-#ifndef OVERRIDE_32_pselect6
1824-SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1825- TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1826+#ifndef OVERRIDE_32_pselect6_time32
1827+SC_LTTNG_TRACEPOINT_EVENT(pselect6_time32,
1828+ TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct old_timespec32 * tsp, void * sig),
1829 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1830- 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 timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig)))
1831+ 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)))
1832 )
1833 #endif
1834 #ifndef OVERRIDE_32_splice
1835@@ -1302,6 +1792,104 @@ SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1836 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)))
1837 )
1838 #endif
1839+#ifndef OVERRIDE_32_fanotify_mark
1840+SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark,
1841+ TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u32 mask_lo, u32 mask_hi, int dfd, const char * pathname),
1842+ TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask_lo, mask_hi, dfd, pathname),
1843+ 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(u32, mask_lo, mask_lo)) sc_in(ctf_integer(u32, mask_hi, mask_hi)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)))
1844+)
1845+#endif
1846+#ifndef OVERRIDE_32_process_vm_readv
1847+SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv,
1848+ 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),
1849+ TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1850+ 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)))
1851+)
1852+#endif
1853+#ifndef OVERRIDE_32_process_vm_writev
1854+SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev,
1855+ 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),
1856+ TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1857+ 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)))
1858+)
1859+#endif
1860+#ifndef OVERRIDE_32_sendto
1861+SC_LTTNG_TRACEPOINT_EVENT(sendto,
1862+ TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len),
1863+ TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
1864+ 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)))
1865+)
1866+#endif
1867+#ifndef OVERRIDE_32_recvfrom
1868+SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1869+ TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len),
1870+ TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
1871+ 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)))
1872+)
1873+#endif
1874+#ifndef OVERRIDE_32_copy_file_range
1875+SC_LTTNG_TRACEPOINT_EVENT(copy_file_range,
1876+ 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),
1877+ TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
1878+ 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)))
1879+)
1880+#endif
1881+#ifndef OVERRIDE_32_preadv2
1882+SC_LTTNG_TRACEPOINT_EVENT(preadv2,
1883+ 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),
1884+ TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags),
1885+ 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)))
1886+)
1887+#endif
1888+#ifndef OVERRIDE_32_pwritev2
1889+SC_LTTNG_TRACEPOINT_EVENT(pwritev2,
1890+ 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),
1891+ TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h, flags),
1892+ 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)))
1893+)
1894+#endif
1895+#ifndef OVERRIDE_32_io_pgetevents_time32
1896+SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents_time32,
1897+ 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),
1898+ TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig),
1899+ 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)))
1900+)
1901+#endif
1902+#ifndef OVERRIDE_32_pselect6
1903+SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1904+ TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct __kernel_timespec * tsp, void * sig),
1905+ TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1906+ 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)))
1907+)
1908+#endif
1909+#ifndef OVERRIDE_32_io_pgetevents
1910+SC_LTTNG_TRACEPOINT_EVENT(io_pgetevents,
1911+ 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),
1912+ TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout, usig),
1913+ 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)))
1914+)
1915+#endif
1916+#ifndef OVERRIDE_32_futex
1917+SC_LTTNG_TRACEPOINT_EVENT(futex,
1918+ TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, const struct __kernel_timespec * utime, u32 * uaddr2, u32 val3),
1919+ TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1920+ 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)))
1921+)
1922+#endif
1923+#ifndef OVERRIDE_32_io_uring_enter
1924+SC_LTTNG_TRACEPOINT_EVENT(io_uring_enter,
1925+ TP_PROTO(sc_exit(long ret,) unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz),
1926+ TP_ARGS(sc_exit(ret,) fd, to_submit, min_complete, flags, argp, argsz),
1927+ 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)))
1928+)
1929+#endif
1930+#ifndef OVERRIDE_32_epoll_pwait2
1931+SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait2,
1932+ 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),
1933+ TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
1934+ 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)))
1935+)
1936+#endif
1937
1938 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1939
1940@@ -1334,11 +1922,14 @@ TRACE_SYSCALL_TABLE(link, link, 9, 2)
1941 #ifndef OVERRIDE_TABLE_32_unlink
1942 TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1)
1943 #endif
1944+#ifndef OVERRIDE_TABLE_32_execve
1945+TRACE_SYSCALL_TABLE(execve, execve, 11, 3)
1946+#endif
1947 #ifndef OVERRIDE_TABLE_32_chdir
1948 TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1)
1949 #endif
1950-#ifndef OVERRIDE_TABLE_32_time
1951-TRACE_SYSCALL_TABLE(time, time, 13, 1)
1952+#ifndef OVERRIDE_TABLE_32_time32
1953+TRACE_SYSCALL_TABLE(time32, time32, 13, 1)
1954 #endif
1955 #ifndef OVERRIDE_TABLE_32_mknod
1956 TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3)
1957@@ -1358,14 +1949,14 @@ TRACE_SYSCALL_TABLE(mount, mount, 21, 5)
1958 #ifndef OVERRIDE_TABLE_32_oldumount
1959 TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1)
1960 #endif
1961-#ifndef OVERRIDE_TABLE_32_stime
1962-TRACE_SYSCALL_TABLE(stime, stime, 25, 1)
1963+#ifndef OVERRIDE_TABLE_32_stime32
1964+TRACE_SYSCALL_TABLE(stime32, stime32, 25, 1)
1965 #endif
1966 #ifndef OVERRIDE_TABLE_32_fstat
1967 TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2)
1968 #endif
1969-#ifndef OVERRIDE_TABLE_32_utime
1970-TRACE_SYSCALL_TABLE(utime, utime, 30, 2)
1971+#ifndef OVERRIDE_TABLE_32_utime32
1972+TRACE_SYSCALL_TABLE(utime32, utime32, 30, 2)
1973 #endif
1974 #ifndef OVERRIDE_TABLE_32_access
1975 TRACE_SYSCALL_TABLE(access, access, 33, 2)
1976@@ -1400,6 +1991,9 @@ TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1)
1977 #ifndef OVERRIDE_TABLE_32_ustat
1978 TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2)
1979 #endif
1980+#ifndef OVERRIDE_TABLE_32_sigaction
1981+TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3)
1982+#endif
1983 #ifndef OVERRIDE_TABLE_32_sigpending
1984 TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1)
1985 #endif
1986@@ -1499,14 +2093,20 @@ TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1)
1987 #ifndef OVERRIDE_TABLE_32_ipc
1988 TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6)
1989 #endif
1990+#ifndef OVERRIDE_TABLE_32_clone
1991+TRACE_SYSCALL_TABLE(clone, clone, 120, 5)
1992+#endif
1993 #ifndef OVERRIDE_TABLE_32_setdomainname
1994 TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2)
1995 #endif
1996 #ifndef OVERRIDE_TABLE_32_newuname
1997 TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1)
1998 #endif
1999-#ifndef OVERRIDE_TABLE_32_adjtimex
2000-TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1)
2001+#ifndef OVERRIDE_TABLE_32_modify_ldt
2002+TRACE_SYSCALL_TABLE(modify_ldt, modify_ldt, 123, 3)
2003+#endif
2004+#ifndef OVERRIDE_TABLE_32_adjtimex_time32
2005+TRACE_SYSCALL_TABLE(adjtimex_time32, adjtimex_time32, 124, 1)
2006 #endif
2007 #ifndef OVERRIDE_TABLE_32_sigprocmask
2008 TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3)
2009@@ -1535,9 +2135,6 @@ TRACE_SYSCALL_TABLE(readv, readv, 145, 3)
2010 #ifndef OVERRIDE_TABLE_32_writev
2011 TRACE_SYSCALL_TABLE(writev, writev, 146, 3)
2012 #endif
2013-#ifndef OVERRIDE_TABLE_32_sysctl
2014-TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1)
2015-#endif
2016 #ifndef OVERRIDE_TABLE_32_sched_setparam
2017 TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2)
2018 #endif
2019@@ -1547,11 +2144,11 @@ TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2)
2020 #ifndef OVERRIDE_TABLE_32_sched_setscheduler
2021 TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3)
2022 #endif
2023-#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
2024-TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2)
2025+#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval_time32
2026+TRACE_SYSCALL_TABLE(sched_rr_get_interval_time32, sched_rr_get_interval_time32, 161, 2)
2027 #endif
2028-#ifndef OVERRIDE_TABLE_32_nanosleep
2029-TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2)
2030+#ifndef OVERRIDE_TABLE_32_nanosleep_time32
2031+TRACE_SYSCALL_TABLE(nanosleep_time32, nanosleep_time32, 162, 2)
2032 #endif
2033 #ifndef OVERRIDE_TABLE_32_getresuid16
2034 TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3)
2035@@ -1571,8 +2168,8 @@ TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4)
2036 #ifndef OVERRIDE_TABLE_32_rt_sigpending
2037 TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2)
2038 #endif
2039-#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
2040-TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4)
2041+#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait_time32
2042+TRACE_SYSCALL_TABLE(rt_sigtimedwait_time32, rt_sigtimedwait_time32, 177, 4)
2043 #endif
2044 #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
2045 TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3)
2046@@ -1580,18 +2177,30 @@ TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3)
2047 #ifndef OVERRIDE_TABLE_32_rt_sigsuspend
2048 TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2)
2049 #endif
2050+#ifndef OVERRIDE_TABLE_32_ia32_pread64
2051+TRACE_SYSCALL_TABLE(ia32_pread64, ia32_pread64, 180, 5)
2052+#endif
2053+#ifndef OVERRIDE_TABLE_32_ia32_pwrite64
2054+TRACE_SYSCALL_TABLE(ia32_pwrite64, ia32_pwrite64, 181, 5)
2055+#endif
2056 #ifndef OVERRIDE_TABLE_32_chown16
2057 TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3)
2058 #endif
2059 #ifndef OVERRIDE_TABLE_32_getcwd
2060 TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2)
2061 #endif
2062+#ifndef OVERRIDE_TABLE_32_sigaltstack
2063+TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 186, 2)
2064+#endif
2065 #ifndef OVERRIDE_TABLE_32_sendfile
2066 TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4)
2067 #endif
2068 #ifndef OVERRIDE_TABLE_32_getrlimit
2069 TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2)
2070 #endif
2071+#ifndef OVERRIDE_TABLE_32_ia32_truncate64
2072+TRACE_SYSCALL_TABLE(ia32_truncate64, ia32_truncate64, 193, 3)
2073+#endif
2074 #ifndef OVERRIDE_TABLE_32_stat64
2075 TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2)
2076 #endif
2077@@ -1667,8 +2276,8 @@ TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2)
2078 #ifndef OVERRIDE_TABLE_32_sendfile64
2079 TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4)
2080 #endif
2081-#ifndef OVERRIDE_TABLE_32_futex
2082-TRACE_SYSCALL_TABLE(futex, futex, 240, 6)
2083+#ifndef OVERRIDE_TABLE_32_futex_time32
2084+TRACE_SYSCALL_TABLE(futex_time32, futex_time32, 240, 6)
2085 #endif
2086 #ifndef OVERRIDE_TABLE_32_sched_setaffinity
2087 TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3)
2088@@ -1676,11 +2285,17 @@ TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3)
2089 #ifndef OVERRIDE_TABLE_32_sched_getaffinity
2090 TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3)
2091 #endif
2092+#ifndef OVERRIDE_TABLE_32_set_thread_area
2093+TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 243, 1)
2094+#endif
2095+#ifndef OVERRIDE_TABLE_32_get_thread_area
2096+TRACE_SYSCALL_TABLE(get_thread_area, get_thread_area, 244, 1)
2097+#endif
2098 #ifndef OVERRIDE_TABLE_32_io_setup
2099 TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2)
2100 #endif
2101-#ifndef OVERRIDE_TABLE_32_io_getevents
2102-TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 247, 5)
2103+#ifndef OVERRIDE_TABLE_32_io_getevents_time32
2104+TRACE_SYSCALL_TABLE(io_getevents_time32, io_getevents_time32, 247, 5)
2105 #endif
2106 #ifndef OVERRIDE_TABLE_32_io_submit
2107 TRACE_SYSCALL_TABLE(io_submit, io_submit, 248, 3)
2108@@ -1700,23 +2315,23 @@ TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 258, 1)
2109 #ifndef OVERRIDE_TABLE_32_timer_create
2110 TRACE_SYSCALL_TABLE(timer_create, timer_create, 259, 3)
2111 #endif
2112-#ifndef OVERRIDE_TABLE_32_timer_settime
2113-TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 260, 4)
2114+#ifndef OVERRIDE_TABLE_32_timer_settime32
2115+TRACE_SYSCALL_TABLE(timer_settime32, timer_settime32, 260, 4)
2116 #endif
2117-#ifndef OVERRIDE_TABLE_32_timer_gettime
2118-TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 261, 2)
2119+#ifndef OVERRIDE_TABLE_32_timer_gettime32
2120+TRACE_SYSCALL_TABLE(timer_gettime32, timer_gettime32, 261, 2)
2121 #endif
2122-#ifndef OVERRIDE_TABLE_32_clock_settime
2123-TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 264, 2)
2124+#ifndef OVERRIDE_TABLE_32_clock_settime32
2125+TRACE_SYSCALL_TABLE(clock_settime32, clock_settime32, 264, 2)
2126 #endif
2127-#ifndef OVERRIDE_TABLE_32_clock_gettime
2128-TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 265, 2)
2129+#ifndef OVERRIDE_TABLE_32_clock_gettime32
2130+TRACE_SYSCALL_TABLE(clock_gettime32, clock_gettime32, 265, 2)
2131 #endif
2132-#ifndef OVERRIDE_TABLE_32_clock_getres
2133-TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 266, 2)
2134+#ifndef OVERRIDE_TABLE_32_clock_getres_time32
2135+TRACE_SYSCALL_TABLE(clock_getres_time32, clock_getres_time32, 266, 2)
2136 #endif
2137-#ifndef OVERRIDE_TABLE_32_clock_nanosleep
2138-TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 267, 4)
2139+#ifndef OVERRIDE_TABLE_32_clock_nanosleep_time32
2140+TRACE_SYSCALL_TABLE(clock_nanosleep_time32, clock_nanosleep_time32, 267, 4)
2141 #endif
2142 #ifndef OVERRIDE_TABLE_32_statfs64
2143 TRACE_SYSCALL_TABLE(statfs64, statfs64, 268, 3)
2144@@ -1724,8 +2339,8 @@ TRACE_SYSCALL_TABLE(statfs64, statfs64, 268, 3)
2145 #ifndef OVERRIDE_TABLE_32_fstatfs64
2146 TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 269, 3)
2147 #endif
2148-#ifndef OVERRIDE_TABLE_32_utimes
2149-TRACE_SYSCALL_TABLE(utimes, utimes, 271, 2)
2150+#ifndef OVERRIDE_TABLE_32_utimes_time32
2151+TRACE_SYSCALL_TABLE(utimes_time32, utimes_time32, 271, 2)
2152 #endif
2153 #ifndef OVERRIDE_TABLE_32_mq_open
2154 TRACE_SYSCALL_TABLE(mq_open, mq_open, 277, 4)
2155@@ -1733,11 +2348,11 @@ TRACE_SYSCALL_TABLE(mq_open, mq_open, 277, 4)
2156 #ifndef OVERRIDE_TABLE_32_mq_unlink
2157 TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 278, 1)
2158 #endif
2159-#ifndef OVERRIDE_TABLE_32_mq_timedsend
2160-TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 279, 5)
2161+#ifndef OVERRIDE_TABLE_32_mq_timedsend_time32
2162+TRACE_SYSCALL_TABLE(mq_timedsend_time32, mq_timedsend_time32, 279, 5)
2163 #endif
2164-#ifndef OVERRIDE_TABLE_32_mq_timedreceive
2165-TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 280, 5)
2166+#ifndef OVERRIDE_TABLE_32_mq_timedreceive_time32
2167+TRACE_SYSCALL_TABLE(mq_timedreceive_time32, mq_timedreceive_time32, 280, 5)
2168 #endif
2169 #ifndef OVERRIDE_TABLE_32_mq_notify
2170 TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 281, 2)
2171@@ -1772,8 +2387,8 @@ TRACE_SYSCALL_TABLE(mknodat, mknodat, 297, 4)
2172 #ifndef OVERRIDE_TABLE_32_fchownat
2173 TRACE_SYSCALL_TABLE(fchownat, fchownat, 298, 5)
2174 #endif
2175-#ifndef OVERRIDE_TABLE_32_futimesat
2176-TRACE_SYSCALL_TABLE(futimesat, futimesat, 299, 3)
2177+#ifndef OVERRIDE_TABLE_32_futimesat_time32
2178+TRACE_SYSCALL_TABLE(futimesat_time32, futimesat_time32, 299, 3)
2179 #endif
2180 #ifndef OVERRIDE_TABLE_32_fstatat64
2181 TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 300, 4)
2182@@ -1799,11 +2414,11 @@ TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 306, 3)
2183 #ifndef OVERRIDE_TABLE_32_faccessat
2184 TRACE_SYSCALL_TABLE(faccessat, faccessat, 307, 3)
2185 #endif
2186-#ifndef OVERRIDE_TABLE_32_pselect6
2187-TRACE_SYSCALL_TABLE(pselect6, pselect6, 308, 6)
2188+#ifndef OVERRIDE_TABLE_32_pselect6_time32
2189+TRACE_SYSCALL_TABLE(pselect6_time32, pselect6_time32, 308, 6)
2190 #endif
2191-#ifndef OVERRIDE_TABLE_32_ppoll
2192-TRACE_SYSCALL_TABLE(ppoll, ppoll, 309, 5)
2193+#ifndef OVERRIDE_TABLE_32_ppoll_time32
2194+TRACE_SYSCALL_TABLE(ppoll_time32, ppoll_time32, 309, 5)
2195 #endif
2196 #ifndef OVERRIDE_TABLE_32_set_robust_list
2197 TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 311, 2)
2198@@ -1823,17 +2438,17 @@ TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3)
2199 #ifndef OVERRIDE_TABLE_32_epoll_pwait
2200 TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 319, 6)
2201 #endif
2202-#ifndef OVERRIDE_TABLE_32_utimensat
2203-TRACE_SYSCALL_TABLE(utimensat, utimensat, 320, 4)
2204+#ifndef OVERRIDE_TABLE_32_utimensat_time32
2205+TRACE_SYSCALL_TABLE(utimensat_time32, utimensat_time32, 320, 4)
2206 #endif
2207 #ifndef OVERRIDE_TABLE_32_signalfd
2208 TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3)
2209 #endif
2210-#ifndef OVERRIDE_TABLE_32_timerfd_settime
2211-TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 325, 4)
2212+#ifndef OVERRIDE_TABLE_32_timerfd_settime32
2213+TRACE_SYSCALL_TABLE(timerfd_settime32, timerfd_settime32, 325, 4)
2214 #endif
2215-#ifndef OVERRIDE_TABLE_32_timerfd_gettime
2216-TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 326, 2)
2217+#ifndef OVERRIDE_TABLE_32_timerfd_gettime32
2218+TRACE_SYSCALL_TABLE(timerfd_gettime32, timerfd_gettime32, 326, 2)
2219 #endif
2220 #ifndef OVERRIDE_TABLE_32_signalfd4
2221 TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 327, 4)
2222@@ -1853,17 +2468,242 @@ TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 335, 4)
2223 #ifndef OVERRIDE_TABLE_32_perf_event_open
2224 TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 336, 5)
2225 #endif
2226-#ifndef OVERRIDE_TABLE_32_recvmmsg
2227-TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 337, 5)
2228+#ifndef OVERRIDE_TABLE_32_recvmmsg_time32
2229+TRACE_SYSCALL_TABLE(recvmmsg_time32, recvmmsg_time32, 337, 5)
2230+#endif
2231+#ifndef OVERRIDE_TABLE_32_fanotify_mark
2232+TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 339, 6)
2233 #endif
2234 #ifndef OVERRIDE_TABLE_32_prlimit64
2235 TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4)
2236 #endif
2237-#ifndef OVERRIDE_TABLE_32_clock_adjtime
2238-TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 343, 2)
2239+#ifndef OVERRIDE_TABLE_32_name_to_handle_at
2240+TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 341, 5)
2241+#endif
2242+#ifndef OVERRIDE_TABLE_32_open_by_handle_at
2243+TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 342, 3)
2244+#endif
2245+#ifndef OVERRIDE_TABLE_32_clock_adjtime32
2246+TRACE_SYSCALL_TABLE(clock_adjtime32, clock_adjtime32, 343, 2)
2247 #endif
2248 #ifndef OVERRIDE_TABLE_32_sendmmsg
2249 TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4)
2250 #endif
2251+#ifndef OVERRIDE_TABLE_32_process_vm_readv
2252+TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 347, 6)
2253+#endif
2254+#ifndef OVERRIDE_TABLE_32_process_vm_writev
2255+TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 348, 6)
2256+#endif
2257+#ifndef OVERRIDE_TABLE_32_finit_module
2258+TRACE_SYSCALL_TABLE(finit_module, finit_module, 350, 3)
2259+#endif
2260+#ifndef OVERRIDE_TABLE_32_sched_setattr
2261+TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 351, 3)
2262+#endif
2263+#ifndef OVERRIDE_TABLE_32_sched_getattr
2264+TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 352, 4)
2265+#endif
2266+#ifndef OVERRIDE_TABLE_32_renameat2
2267+TRACE_SYSCALL_TABLE(renameat2, renameat2, 353, 5)
2268+#endif
2269+#ifndef OVERRIDE_TABLE_32_seccomp
2270+TRACE_SYSCALL_TABLE(seccomp, seccomp, 354, 3)
2271+#endif
2272+#ifndef OVERRIDE_TABLE_32_getrandom
2273+TRACE_SYSCALL_TABLE(getrandom, getrandom, 355, 3)
2274+#endif
2275+#ifndef OVERRIDE_TABLE_32_memfd_create
2276+TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 356, 2)
2277+#endif
2278+#ifndef OVERRIDE_TABLE_32_bpf
2279+TRACE_SYSCALL_TABLE(bpf, bpf, 357, 3)
2280+#endif
2281+#ifndef OVERRIDE_TABLE_32_execveat
2282+TRACE_SYSCALL_TABLE(execveat, execveat, 358, 5)
2283+#endif
2284+#ifndef OVERRIDE_TABLE_32_socketpair
2285+TRACE_SYSCALL_TABLE(socketpair, socketpair, 360, 4)
2286+#endif
2287+#ifndef OVERRIDE_TABLE_32_bind
2288+TRACE_SYSCALL_TABLE(bind, bind, 361, 3)
2289+#endif
2290+#ifndef OVERRIDE_TABLE_32_connect
2291+TRACE_SYSCALL_TABLE(connect, connect, 362, 3)
2292+#endif
2293+#ifndef OVERRIDE_TABLE_32_accept4
2294+TRACE_SYSCALL_TABLE(accept4, accept4, 364, 4)
2295+#endif
2296+#ifndef OVERRIDE_TABLE_32_getsockopt
2297+TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 365, 5)
2298+#endif
2299+#ifndef OVERRIDE_TABLE_32_setsockopt
2300+TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 366, 5)
2301+#endif
2302+#ifndef OVERRIDE_TABLE_32_getsockname
2303+TRACE_SYSCALL_TABLE(getsockname, getsockname, 367, 3)
2304+#endif
2305+#ifndef OVERRIDE_TABLE_32_getpeername
2306+TRACE_SYSCALL_TABLE(getpeername, getpeername, 368, 3)
2307+#endif
2308+#ifndef OVERRIDE_TABLE_32_sendto
2309+TRACE_SYSCALL_TABLE(sendto, sendto, 369, 6)
2310+#endif
2311+#ifndef OVERRIDE_TABLE_32_sendmsg
2312+TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 370, 3)
2313+#endif
2314+#ifndef OVERRIDE_TABLE_32_recvfrom
2315+TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 371, 6)
2316+#endif
2317+#ifndef OVERRIDE_TABLE_32_recvmsg
2318+TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 372, 3)
2319+#endif
2320+#ifndef OVERRIDE_TABLE_32_copy_file_range
2321+TRACE_SYSCALL_TABLE(copy_file_range, copy_file_range, 377, 6)
2322+#endif
2323+#ifndef OVERRIDE_TABLE_32_preadv2
2324+TRACE_SYSCALL_TABLE(preadv2, preadv2, 378, 6)
2325+#endif
2326+#ifndef OVERRIDE_TABLE_32_pwritev2
2327+TRACE_SYSCALL_TABLE(pwritev2, pwritev2, 379, 6)
2328+#endif
2329+#ifndef OVERRIDE_TABLE_32_statx
2330+TRACE_SYSCALL_TABLE(statx, statx, 383, 5)
2331+#endif
2332+#ifndef OVERRIDE_TABLE_32_io_pgetevents_time32
2333+TRACE_SYSCALL_TABLE(io_pgetevents_time32, io_pgetevents_time32, 385, 6)
2334+#endif
2335+#ifndef OVERRIDE_TABLE_32_rseq
2336+TRACE_SYSCALL_TABLE(rseq, rseq, 386, 4)
2337+#endif
2338+#ifndef OVERRIDE_TABLE_32_shmctl
2339+TRACE_SYSCALL_TABLE(shmctl, shmctl, 396, 3)
2340+#endif
2341+#ifndef OVERRIDE_TABLE_32_shmat
2342+TRACE_SYSCALL_TABLE(shmat, shmat, 397, 3)
2343+#endif
2344+#ifndef OVERRIDE_TABLE_32_shmdt
2345+TRACE_SYSCALL_TABLE(shmdt, shmdt, 398, 1)
2346+#endif
2347+#ifndef OVERRIDE_TABLE_32_msgsnd
2348+TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 400, 4)
2349+#endif
2350+#ifndef OVERRIDE_TABLE_32_msgrcv
2351+TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 401, 5)
2352+#endif
2353+#ifndef OVERRIDE_TABLE_32_msgctl
2354+TRACE_SYSCALL_TABLE(msgctl, msgctl, 402, 3)
2355+#endif
2356+#ifndef OVERRIDE_TABLE_32_clock_gettime
2357+TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 403, 2)
2358+#endif
2359+#ifndef OVERRIDE_TABLE_32_clock_settime
2360+TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 404, 2)
2361+#endif
2362+#ifndef OVERRIDE_TABLE_32_clock_adjtime
2363+TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 405, 2)
2364+#endif
2365+#ifndef OVERRIDE_TABLE_32_clock_getres
2366+TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 406, 2)
2367+#endif
2368+#ifndef OVERRIDE_TABLE_32_clock_nanosleep
2369+TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 407, 4)
2370+#endif
2371+#ifndef OVERRIDE_TABLE_32_timer_gettime
2372+TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 408, 2)
2373+#endif
2374+#ifndef OVERRIDE_TABLE_32_timer_settime
2375+TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 409, 4)
2376+#endif
2377+#ifndef OVERRIDE_TABLE_32_timerfd_gettime
2378+TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 410, 2)
2379+#endif
2380+#ifndef OVERRIDE_TABLE_32_timerfd_settime
2381+TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 411, 4)
2382+#endif
2383+#ifndef OVERRIDE_TABLE_32_utimensat
2384+TRACE_SYSCALL_TABLE(utimensat, utimensat, 412, 4)
2385+#endif
2386+#ifndef OVERRIDE_TABLE_32_pselect6
2387+TRACE_SYSCALL_TABLE(pselect6, pselect6, 413, 6)
2388+#endif
2389+#ifndef OVERRIDE_TABLE_32_ppoll
2390+TRACE_SYSCALL_TABLE(ppoll, ppoll, 414, 5)
2391+#endif
2392+#ifndef OVERRIDE_TABLE_32_io_pgetevents
2393+TRACE_SYSCALL_TABLE(io_pgetevents, io_pgetevents, 416, 6)
2394+#endif
2395+#ifndef OVERRIDE_TABLE_32_recvmmsg
2396+TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 417, 5)
2397+#endif
2398+#ifndef OVERRIDE_TABLE_32_mq_timedsend
2399+TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 418, 5)
2400+#endif
2401+#ifndef OVERRIDE_TABLE_32_mq_timedreceive
2402+TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 419, 5)
2403+#endif
2404+#ifndef OVERRIDE_TABLE_32_semtimedop
2405+TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 420, 4)
2406+#endif
2407+#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
2408+TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 421, 4)
2409+#endif
2410+#ifndef OVERRIDE_TABLE_32_futex
2411+TRACE_SYSCALL_TABLE(futex, futex, 422, 6)
2412+#endif
2413+#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
2414+TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 423, 2)
2415+#endif
2416+#ifndef OVERRIDE_TABLE_32_pidfd_send_signal
2417+TRACE_SYSCALL_TABLE(pidfd_send_signal, pidfd_send_signal, 424, 4)
2418+#endif
2419+#ifndef OVERRIDE_TABLE_32_io_uring_setup
2420+TRACE_SYSCALL_TABLE(io_uring_setup, io_uring_setup, 425, 2)
2421+#endif
2422+#ifndef OVERRIDE_TABLE_32_io_uring_enter
2423+TRACE_SYSCALL_TABLE(io_uring_enter, io_uring_enter, 426, 6)
2424+#endif
2425+#ifndef OVERRIDE_TABLE_32_io_uring_register
2426+TRACE_SYSCALL_TABLE(io_uring_register, io_uring_register, 427, 4)
2427+#endif
2428+#ifndef OVERRIDE_TABLE_32_open_tree
2429+TRACE_SYSCALL_TABLE(open_tree, open_tree, 428, 3)
2430+#endif
2431+#ifndef OVERRIDE_TABLE_32_move_mount
2432+TRACE_SYSCALL_TABLE(move_mount, move_mount, 429, 5)
2433+#endif
2434+#ifndef OVERRIDE_TABLE_32_fsopen
2435+TRACE_SYSCALL_TABLE(fsopen, fsopen, 430, 2)
2436+#endif
2437+#ifndef OVERRIDE_TABLE_32_fsconfig
2438+TRACE_SYSCALL_TABLE(fsconfig, fsconfig, 431, 5)
2439+#endif
2440+#ifndef OVERRIDE_TABLE_32_fspick
2441+TRACE_SYSCALL_TABLE(fspick, fspick, 433, 3)
2442+#endif
2443+#ifndef OVERRIDE_TABLE_32_clone3
2444+TRACE_SYSCALL_TABLE(clone3, clone3, 435, 2)
2445+#endif
2446+#ifndef OVERRIDE_TABLE_32_openat2
2447+TRACE_SYSCALL_TABLE(openat2, openat2, 437, 4)
2448+#endif
2449+#ifndef OVERRIDE_TABLE_32_faccessat2
2450+TRACE_SYSCALL_TABLE(faccessat2, faccessat2, 439, 4)
2451+#endif
2452+#ifndef OVERRIDE_TABLE_32_process_madvise
2453+TRACE_SYSCALL_TABLE(process_madvise, process_madvise, 440, 5)
2454+#endif
2455+#ifndef OVERRIDE_TABLE_32_epoll_pwait2
2456+TRACE_SYSCALL_TABLE(epoll_pwait2, epoll_pwait2, 441, 6)
2457+#endif
2458+#ifndef OVERRIDE_TABLE_32_mount_setattr
2459+TRACE_SYSCALL_TABLE(mount_setattr, mount_setattr, 442, 5)
2460+#endif
2461+#ifndef OVERRIDE_TABLE_32_quotactl_fd
2462+TRACE_SYSCALL_TABLE(quotactl_fd, quotactl_fd, 443, 4)
2463+#endif
2464+#ifndef OVERRIDE_TABLE_32_futex_waitv
2465+TRACE_SYSCALL_TABLE(futex_waitv, futex_waitv, 449, 5)
2466+#endif
2467
2468 #endif /* CREATE_SYSCALL_TABLE */
diff --git a/meta/recipes-kernel/lttng/lttng-modules/92dd6990b635d31390e073507ec51c19128a562f.patch b/meta/recipes-kernel/lttng/lttng-modules/92dd6990b635d31390e073507ec51c19128a562f.patch
new file mode 100644
index 0000000000..21c72c23de
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-modules/92dd6990b635d31390e073507ec51c19128a562f.patch
@@ -0,0 +1,170 @@
1From 92dd6990b635d31390e073507ec51c19128a562f Mon Sep 17 00:00:00 2001
2From: Michael Jeanson <mjeanson@efficios.com>
3Date: Wed, 8 May 2024 14:20:30 -0400
4Subject: [PATCH] fix: Add missing 'pselect6_time32' and 'ppoll_time32' syscall
5 overrides
6
7The instrumentation currently has overrides to the generated syscall
8tracepoints of 'ppoll' and 'pselect6' to extract additional information
9from the parameters.
10
11On arm-32 and x86-32 these 2 syscalls were renamed to 'ppoll_time32' and
12'pselect6_time32' and new syscalls using 64-bit time_t were introduced
13with the old names. This results in missing overrides on these
14architectures for the 32-bit variants that were renamed.
15
16Add the '_time32' overrides to restore the previous behavior.
17
18Change-Id: I81e3a3ddc3f3cea58d86edcdf4a1fc9b600637c2
19Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
20Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
21
22Upstream-Status: Backport
23
24diff --git a/include/instrumentation/syscalls/headers/syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/syscalls_pointers_override.h
25index cd084f9..cb17b5b 100644
26--- a/include/instrumentation/syscalls/headers/syscalls_pointers_override.h
27+++ b/include/instrumentation/syscalls/headers/syscalls_pointers_override.h
28@@ -390,6 +390,11 @@
29 lttng_tp_mempool_free(tp_locvar->fds_ex);
30
31 #if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM)
32+/*
33+ * Instead of extracting the user-space pointers of the 3 fd_set,
34+ * extract the bitmask of the FDs in the sets (in, out, ex) in the form
35+ * of an array of uint8_t (1024 FDs is the limit in the kernel).
36+ */
37 #define OVERRIDE_32_select
38 #define OVERRIDE_64_select
39 SC_LTTNG_TRACEPOINT_EVENT_CODE(select,
40@@ -427,6 +432,11 @@
41 #endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */
42
43 #if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM)
44+/*
45+ * Instead of extracting the user-space pointers of the 3 fd_set,
46+ * extract the bitmask of the FDs in the sets (in, out, ex) in the form
47+ * of an array of uint8_t (1024 FDs is the limit in the kernel).
48+ */
49 #define OVERRIDE_32_pselect6
50 #define OVERRIDE_64_pselect6
51 SC_LTTNG_TRACEPOINT_EVENT_CODE(pselect6,
52@@ -464,6 +474,48 @@
53 )
54 #endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */
55
56+#if defined(CONFIG_X86_32) || defined(CONFIG_ARM)
57+/*
58+ * Instead of extracting the user-space pointers of the 3 fd_set,
59+ * extract the bitmask of the FDs in the sets (in, out, ex) in the form
60+ * of an array of uint8_t (1024 FDs is the limit in the kernel).
61+ */
62+#define OVERRIDE_32_pselect6_time32
63+SC_LTTNG_TRACEPOINT_EVENT_CODE(pselect6_time32,
64+ TP_PROTO(sc_exit(long ret,) int n, fd_set __user * inp, fd_set __user * outp,
65+ fd_set __user * exp, struct old_timespec32 __user * tvp, void __user * sig),
66+ TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp, sig),
67+ TP_locvar(
68+ LTTNG_SYSCALL_SELECT_locvar
69+ ),
70+ TP_code_pre(
71+ LTTNG_SYSCALL_SELECT_code_pre
72+ ),
73+ TP_FIELDS(
74+ sc_exit(ctf_integer(long, ret, ret))
75+ sc_in(ctf_integer(int, n, n))
76+ sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow))
77+ sc_inout(ctf_integer(struct old_timespec32 *, tvp, tvp))
78+ sc_in(ctf_integer_hex(void *, sig, sig))
79+
80+ sc_inout(
81+#if (__BYTE_ORDER == __LITTLE_ENDIAN)
82+ LTTNG_SYSCALL_SELECT_fds_field_LE(readfds, inp)
83+ LTTNG_SYSCALL_SELECT_fds_field_LE(writefds, outp)
84+ LTTNG_SYSCALL_SELECT_fds_field_LE(exceptfds, exp)
85+#else
86+ LTTNG_SYSCALL_SELECT_fds_field_BE(readfds, inp)
87+ LTTNG_SYSCALL_SELECT_fds_field_BE(writefds, outp)
88+ LTTNG_SYSCALL_SELECT_fds_field_BE(exceptfds, exp)
89+#endif
90+ )
91+ ),
92+ TP_code_post(
93+ LTTNG_SYSCALL_SELECT_code_post
94+ )
95+)
96+#endif /* defined(CONFIG_X86_32) || defined(CONFIG_ARM) */
97+
98 #ifdef LTTNG_CREATE_FIELD_METADATA
99 #ifndef ONCE_LTTNG_TRACE_POLL_H
100 #define ONCE_LTTNG_TRACE_POLL_H
101@@ -652,6 +704,13 @@
102 lttng_tp_mempool_free(tp_locvar->fds);
103
104 #if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM)
105+/*
106+ * Instead of printing the pointer address of the poll set, extract all the FDs
107+ * and flags from the poll set. For now, only output the standardized
108+ * set of events to limit the verbosity of the output, and also extract
109+ * the raw value. In the future, moving to CTF2 will allow hiding unset
110+ * fields and then allow extracting all the fields.
111+ */
112 #define OVERRIDE_32_poll
113 #define OVERRIDE_64_poll
114 SC_LTTNG_TRACEPOINT_EVENT_CODE(poll,
115@@ -679,6 +738,13 @@
116 #endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) */
117
118 #if defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM)
119+/*
120+ * Instead of printing the pointer address of the poll set, extract all the FDs
121+ * and flags from the poll set. For now, only output the standardized
122+ * set of events to limit the verbosity of the output, and also extract
123+ * the raw value. In the future, moving to CTF2 will allow hiding unset
124+ * fields and then allow extracting all the fields.
125+ */
126 #define OVERRIDE_32_ppoll
127 #define OVERRIDE_64_ppoll
128 SC_LTTNG_TRACEPOINT_EVENT_CODE(ppoll,
129@@ -707,6 +773,41 @@
130 )
131 #endif /* defined(CONFIG_X86_32) || defined(CONFIG_X86_64) || defined(CONFIG_ARM64) || defined(CONFIG_ARM) */
132
133+#if defined(CONFIG_X86_32) || defined(CONFIG_ARM)
134+/*
135+ * Instead of printing the pointer address of the poll set, extract all the FDs
136+ * and flags from the poll set. For now, only output the standardized
137+ * set of events to limit the verbosity of the output, and also extract
138+ * the raw value. In the future, moving to CTF2 will allow hiding unset
139+ * fields and then allow extracting all the fields.
140+ */
141+#define OVERRIDE_32_ppoll_time32
142+SC_LTTNG_TRACEPOINT_EVENT_CODE(ppoll_time32,
143+ TP_PROTO(sc_exit(long ret,) struct pollfd __user * ufds,
144+ unsigned int nfds, struct old_timespec32 * tsp, const sigset_t * sigmask, size_t sigsetsize),
145+ TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
146+ TP_locvar(
147+ LTTNG_SYSCALL_POLL_locvar
148+ ),
149+ TP_code_pre(
150+ LTTNG_SYSCALL_POLL_code_pre
151+ ),
152+ TP_FIELDS(
153+ sc_exit(ctf_integer(long, ret, ret))
154+ sc_in(ctf_integer(struct old_timespec32 *, tsp, tsp))
155+ sc_in(ctf_integer(const sigset_t *, sigmask, sigmask))
156+ sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))
157+ sc_inout(ctf_integer(unsigned int, nfds, nfds))
158+ sc_inout(ctf_integer(unsigned int, fds_length, tp_locvar->fds_length))
159+ sc_inout(ctf_integer(uint8_t, overflow, tp_locvar->overflow))
160+ LTTNG_SYSCALL_POLL_fds_field
161+ ),
162+ TP_code_post(
163+ LTTNG_SYSCALL_POLL_code_post
164+ )
165+)
166+#endif /* defined(CONFIG_X86_32) || defined(CONFIG_ARM) */
167+
168 #include <linux/eventpoll.h>
169
170 SC_LTTNG_TRACEPOINT_ENUM(lttng_epoll_op,
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.13.17.bb b/meta/recipes-kernel/lttng/lttng-modules_2.13.17.bb
index 0657112c14..33da99dc1e 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.13.17.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.13.17.bb
@@ -14,6 +14,8 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
14 14
15# Use :append here so that the patch is applied also when using devupstream 15# Use :append here so that the patch is applied also when using devupstream
16SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \ 16SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \
17 file://92dd6990b635d31390e073507ec51c19128a562f.patch \
18 file://86040c9e2ff8a79633db34220e32bdda536b00e6.patch \
17 " 19 "
18 20
19SRC_URI[sha256sum] = "b0b23504150ae5c1fc6ee14e28d029518f61fe2ec5f17bb61c7941aa52bb6e65" 21SRC_URI[sha256sum] = "b0b23504150ae5c1fc6ee14e28d029518f61fe2ec5f17bb61c7941aa52bb6e65"