Commit | Line | Data |
---|---|---|
b7cdc182 | 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ |
6314c2d3 | 2 | |
8f4f80e0 | 3 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
6314c2d3 | 4 | |
87b2af7b | 5 | /* Generated from arm-32-syscalls 6.0.7 */ |
6314c2d3 | 6 | |
8f4f80e0 RK |
7 | #ifndef CREATE_SYSCALL_TABLE |
8 | ||
9 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
10 | #define _TRACE_SYSCALLS_INTEGERS_H | |
11 | ||
3b4aafcb | 12 | #include <lttng/tracepoint-event.h> |
8f4f80e0 | 13 | #include <linux/syscalls.h> |
6314c2d3 | 14 | #include "arm-32-syscalls_integers_override.h" |
8f4f80e0 RK |
15 | #include "syscalls_integers_override.h" |
16 | ||
f1e7d826 | 17 | #ifdef SC_ENTER |
cb3ef14c | 18 | SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, |
e0976e2b | 19 | TP_FIELDS() |
8f4f80e0 | 20 | ) |
f1e7d826 MD |
21 | #ifndef OVERRIDE_32_restart_syscall |
22 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) | |
8f4f80e0 | 23 | #endif |
87b2af7b JG |
24 | #ifndef OVERRIDE_32_fork |
25 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) | |
26 | #endif | |
f1e7d826 MD |
27 | #ifndef OVERRIDE_32_getpid |
28 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) | |
8f4f80e0 | 29 | #endif |
f1e7d826 MD |
30 | #ifndef OVERRIDE_32_getuid16 |
31 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) | |
8f4f80e0 | 32 | #endif |
f1e7d826 MD |
33 | #ifndef OVERRIDE_32_pause |
34 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) | |
8f4f80e0 | 35 | #endif |
f1e7d826 MD |
36 | #ifndef OVERRIDE_32_sync |
37 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) | |
8f4f80e0 | 38 | #endif |
f1e7d826 MD |
39 | #ifndef OVERRIDE_32_getgid16 |
40 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) | |
8f4f80e0 | 41 | #endif |
f1e7d826 MD |
42 | #ifndef OVERRIDE_32_geteuid16 |
43 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) | |
8f4f80e0 | 44 | #endif |
f1e7d826 MD |
45 | #ifndef OVERRIDE_32_getegid16 |
46 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) | |
8f4f80e0 | 47 | #endif |
f1e7d826 MD |
48 | #ifndef OVERRIDE_32_getppid |
49 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) | |
8f4f80e0 | 50 | #endif |
f1e7d826 MD |
51 | #ifndef OVERRIDE_32_getpgrp |
52 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) | |
8f4f80e0 | 53 | #endif |
f1e7d826 MD |
54 | #ifndef OVERRIDE_32_setsid |
55 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) | |
8f4f80e0 | 56 | #endif |
f1e7d826 MD |
57 | #ifndef OVERRIDE_32_vhangup |
58 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) | |
8f4f80e0 | 59 | #endif |
f1e7d826 MD |
60 | #ifndef OVERRIDE_32_munlockall |
61 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) | |
8f4f80e0 | 62 | #endif |
f1e7d826 MD |
63 | #ifndef OVERRIDE_32_sched_yield |
64 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) | |
8f4f80e0 | 65 | #endif |
87b2af7b JG |
66 | #ifndef OVERRIDE_32_vfork |
67 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) | |
68 | #endif | |
f1e7d826 MD |
69 | #ifndef OVERRIDE_32_getuid |
70 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) | |
8f4f80e0 | 71 | #endif |
f1e7d826 MD |
72 | #ifndef OVERRIDE_32_getgid |
73 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) | |
8f4f80e0 | 74 | #endif |
f1e7d826 MD |
75 | #ifndef OVERRIDE_32_geteuid |
76 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) | |
8f4f80e0 | 77 | #endif |
f1e7d826 MD |
78 | #ifndef OVERRIDE_32_getegid |
79 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) | |
8f4f80e0 | 80 | #endif |
f1e7d826 MD |
81 | #ifndef OVERRIDE_32_gettid |
82 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) | |
8f4f80e0 | 83 | #endif |
f1e7d826 MD |
84 | #ifndef OVERRIDE_32_inotify_init |
85 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) | |
8f4f80e0 | 86 | #endif |
f1e7d826 MD |
87 | #else /* #ifdef SC_ENTER */ |
88 | #ifndef OVERRIDE_32_restart_syscall | |
89 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, | |
90 | TP_PROTO(sc_exit(long ret)), | |
91 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 92 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
93 | ) |
94 | #endif | |
87b2af7b JG |
95 | #ifndef OVERRIDE_32_fork |
96 | SC_LTTNG_TRACEPOINT_EVENT(fork, | |
97 | TP_PROTO(sc_exit(long ret)), | |
98 | TP_ARGS(sc_exit(ret)), | |
99 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
100 | ) | |
101 | #endif | |
f1e7d826 MD |
102 | #ifndef OVERRIDE_32_getpid |
103 | SC_LTTNG_TRACEPOINT_EVENT(getpid, | |
104 | TP_PROTO(sc_exit(long ret)), | |
105 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 106 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
107 | ) |
108 | #endif | |
f1e7d826 MD |
109 | #ifndef OVERRIDE_32_getuid16 |
110 | SC_LTTNG_TRACEPOINT_EVENT(getuid16, | |
111 | TP_PROTO(sc_exit(long ret)), | |
112 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 113 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
114 | ) |
115 | #endif | |
f1e7d826 MD |
116 | #ifndef OVERRIDE_32_pause |
117 | SC_LTTNG_TRACEPOINT_EVENT(pause, | |
118 | TP_PROTO(sc_exit(long ret)), | |
119 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 120 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
121 | ) |
122 | #endif | |
f1e7d826 MD |
123 | #ifndef OVERRIDE_32_sync |
124 | SC_LTTNG_TRACEPOINT_EVENT(sync, | |
125 | TP_PROTO(sc_exit(long ret)), | |
126 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 127 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
128 | ) |
129 | #endif | |
f1e7d826 MD |
130 | #ifndef OVERRIDE_32_getgid16 |
131 | SC_LTTNG_TRACEPOINT_EVENT(getgid16, | |
132 | TP_PROTO(sc_exit(long ret)), | |
133 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 134 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
135 | ) |
136 | #endif | |
f1e7d826 MD |
137 | #ifndef OVERRIDE_32_geteuid16 |
138 | SC_LTTNG_TRACEPOINT_EVENT(geteuid16, | |
139 | TP_PROTO(sc_exit(long ret)), | |
140 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 141 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
142 | ) |
143 | #endif | |
f1e7d826 MD |
144 | #ifndef OVERRIDE_32_getegid16 |
145 | SC_LTTNG_TRACEPOINT_EVENT(getegid16, | |
146 | TP_PROTO(sc_exit(long ret)), | |
147 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 148 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
149 | ) |
150 | #endif | |
f1e7d826 MD |
151 | #ifndef OVERRIDE_32_getppid |
152 | SC_LTTNG_TRACEPOINT_EVENT(getppid, | |
153 | TP_PROTO(sc_exit(long ret)), | |
154 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 155 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
156 | ) |
157 | #endif | |
f1e7d826 MD |
158 | #ifndef OVERRIDE_32_getpgrp |
159 | SC_LTTNG_TRACEPOINT_EVENT(getpgrp, | |
160 | TP_PROTO(sc_exit(long ret)), | |
161 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 162 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
163 | ) |
164 | #endif | |
f1e7d826 MD |
165 | #ifndef OVERRIDE_32_setsid |
166 | SC_LTTNG_TRACEPOINT_EVENT(setsid, | |
167 | TP_PROTO(sc_exit(long ret)), | |
168 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 169 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
170 | ) |
171 | #endif | |
f1e7d826 MD |
172 | #ifndef OVERRIDE_32_vhangup |
173 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, | |
174 | TP_PROTO(sc_exit(long ret)), | |
175 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 176 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
177 | ) |
178 | #endif | |
f1e7d826 MD |
179 | #ifndef OVERRIDE_32_munlockall |
180 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, | |
181 | TP_PROTO(sc_exit(long ret)), | |
182 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 183 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
184 | ) |
185 | #endif | |
f1e7d826 MD |
186 | #ifndef OVERRIDE_32_sched_yield |
187 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, | |
188 | TP_PROTO(sc_exit(long ret)), | |
189 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 190 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
191 | ) |
192 | #endif | |
87b2af7b JG |
193 | #ifndef OVERRIDE_32_vfork |
194 | SC_LTTNG_TRACEPOINT_EVENT(vfork, | |
195 | TP_PROTO(sc_exit(long ret)), | |
196 | TP_ARGS(sc_exit(ret)), | |
197 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
198 | ) | |
199 | #endif | |
f1e7d826 MD |
200 | #ifndef OVERRIDE_32_getuid |
201 | SC_LTTNG_TRACEPOINT_EVENT(getuid, | |
202 | TP_PROTO(sc_exit(long ret)), | |
203 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 204 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
205 | ) |
206 | #endif | |
f1e7d826 MD |
207 | #ifndef OVERRIDE_32_getgid |
208 | SC_LTTNG_TRACEPOINT_EVENT(getgid, | |
209 | TP_PROTO(sc_exit(long ret)), | |
210 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 211 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
212 | ) |
213 | #endif | |
f1e7d826 MD |
214 | #ifndef OVERRIDE_32_geteuid |
215 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, | |
216 | TP_PROTO(sc_exit(long ret)), | |
217 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 218 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
219 | ) |
220 | #endif | |
f1e7d826 MD |
221 | #ifndef OVERRIDE_32_getegid |
222 | SC_LTTNG_TRACEPOINT_EVENT(getegid, | |
223 | TP_PROTO(sc_exit(long ret)), | |
224 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 225 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
226 | ) |
227 | #endif | |
f1e7d826 MD |
228 | #ifndef OVERRIDE_32_gettid |
229 | SC_LTTNG_TRACEPOINT_EVENT(gettid, | |
230 | TP_PROTO(sc_exit(long ret)), | |
231 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 232 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
233 | ) |
234 | #endif | |
f1e7d826 MD |
235 | #ifndef OVERRIDE_32_inotify_init |
236 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init, | |
237 | TP_PROTO(sc_exit(long ret)), | |
238 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 239 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
8f4f80e0 RK |
240 | ) |
241 | #endif | |
f1e7d826 MD |
242 | #endif /* else #ifdef SC_ENTER */ |
243 | #ifndef OVERRIDE_32_exit | |
244 | SC_LTTNG_TRACEPOINT_EVENT(exit, | |
245 | TP_PROTO(sc_exit(long ret,) int error_code), | |
246 | TP_ARGS(sc_exit(ret,) error_code), | |
e0976e2b | 247 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
8f4f80e0 RK |
248 | ) |
249 | #endif | |
f1e7d826 MD |
250 | #ifndef OVERRIDE_32_close |
251 | SC_LTTNG_TRACEPOINT_EVENT(close, | |
252 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
253 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 254 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
8f4f80e0 RK |
255 | ) |
256 | #endif | |
f1e7d826 MD |
257 | #ifndef OVERRIDE_32_setuid16 |
258 | SC_LTTNG_TRACEPOINT_EVENT(setuid16, | |
259 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), | |
260 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 261 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
8f4f80e0 RK |
262 | ) |
263 | #endif | |
f1e7d826 MD |
264 | #ifndef OVERRIDE_32_nice |
265 | SC_LTTNG_TRACEPOINT_EVENT(nice, | |
266 | TP_PROTO(sc_exit(long ret,) int increment), | |
267 | TP_ARGS(sc_exit(ret,) increment), | |
e0976e2b | 268 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) |
8f4f80e0 RK |
269 | ) |
270 | #endif | |
f1e7d826 MD |
271 | #ifndef OVERRIDE_32_dup |
272 | SC_LTTNG_TRACEPOINT_EVENT(dup, | |
273 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), | |
274 | TP_ARGS(sc_exit(ret,) fildes), | |
e0976e2b | 275 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) |
8f4f80e0 RK |
276 | ) |
277 | #endif | |
f1e7d826 MD |
278 | #ifndef OVERRIDE_32_brk |
279 | SC_LTTNG_TRACEPOINT_EVENT(brk, | |
280 | TP_PROTO(sc_exit(long ret,) unsigned long brk), | |
281 | TP_ARGS(sc_exit(ret,) brk), | |
e0976e2b | 282 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) |
8f4f80e0 RK |
283 | ) |
284 | #endif | |
f1e7d826 MD |
285 | #ifndef OVERRIDE_32_setgid16 |
286 | SC_LTTNG_TRACEPOINT_EVENT(setgid16, | |
287 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), | |
288 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 289 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
8f4f80e0 RK |
290 | ) |
291 | #endif | |
f1e7d826 MD |
292 | #ifndef OVERRIDE_32_umask |
293 | SC_LTTNG_TRACEPOINT_EVENT(umask, | |
294 | TP_PROTO(sc_exit(long ret,) int mask), | |
295 | TP_ARGS(sc_exit(ret,) mask), | |
e0976e2b | 296 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) |
8f4f80e0 RK |
297 | ) |
298 | #endif | |
f1e7d826 MD |
299 | #ifndef OVERRIDE_32_fsync |
300 | SC_LTTNG_TRACEPOINT_EVENT(fsync, | |
301 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
302 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 303 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
8f4f80e0 RK |
304 | ) |
305 | #endif | |
f1e7d826 MD |
306 | #ifndef OVERRIDE_32_getpgid |
307 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, | |
308 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
309 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 310 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
8f4f80e0 RK |
311 | ) |
312 | #endif | |
f1e7d826 MD |
313 | #ifndef OVERRIDE_32_fchdir |
314 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, | |
315 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
316 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 317 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
8f4f80e0 RK |
318 | ) |
319 | #endif | |
f1e7d826 MD |
320 | #ifndef OVERRIDE_32_personality |
321 | SC_LTTNG_TRACEPOINT_EVENT(personality, | |
322 | TP_PROTO(sc_exit(long ret,) unsigned int personality), | |
323 | TP_ARGS(sc_exit(ret,) personality), | |
e0976e2b | 324 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) |
8f4f80e0 RK |
325 | ) |
326 | #endif | |
f1e7d826 MD |
327 | #ifndef OVERRIDE_32_setfsuid16 |
328 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, | |
329 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), | |
330 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 331 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
8f4f80e0 RK |
332 | ) |
333 | #endif | |
f1e7d826 MD |
334 | #ifndef OVERRIDE_32_setfsgid16 |
335 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, | |
336 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), | |
337 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 338 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
c974cc6e JG |
339 | ) |
340 | #endif | |
f1e7d826 MD |
341 | #ifndef OVERRIDE_32_getsid |
342 | SC_LTTNG_TRACEPOINT_EVENT(getsid, | |
343 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
344 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 345 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
8f4f80e0 RK |
346 | ) |
347 | #endif | |
f1e7d826 MD |
348 | #ifndef OVERRIDE_32_fdatasync |
349 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, | |
350 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
351 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 352 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
8f4f80e0 RK |
353 | ) |
354 | #endif | |
f1e7d826 MD |
355 | #ifndef OVERRIDE_32_mlockall |
356 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, | |
357 | TP_PROTO(sc_exit(long ret,) int flags), | |
358 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 359 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
8f4f80e0 RK |
360 | ) |
361 | #endif | |
f1e7d826 MD |
362 | #ifndef OVERRIDE_32_sched_getscheduler |
363 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, | |
364 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
365 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 366 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
8f4f80e0 RK |
367 | ) |
368 | #endif | |
f1e7d826 MD |
369 | #ifndef OVERRIDE_32_sched_get_priority_max |
370 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, | |
371 | TP_PROTO(sc_exit(long ret,) int policy), | |
372 | TP_ARGS(sc_exit(ret,) policy), | |
e0976e2b | 373 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
8f4f80e0 RK |
374 | ) |
375 | #endif | |
f1e7d826 MD |
376 | #ifndef OVERRIDE_32_sched_get_priority_min |
377 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, | |
378 | TP_PROTO(sc_exit(long ret,) int policy), | |
379 | TP_ARGS(sc_exit(ret,) policy), | |
e0976e2b | 380 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
8f4f80e0 RK |
381 | ) |
382 | #endif | |
f1e7d826 MD |
383 | #ifndef OVERRIDE_32_setuid |
384 | SC_LTTNG_TRACEPOINT_EVENT(setuid, | |
385 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
386 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 387 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
8f4f80e0 RK |
388 | ) |
389 | #endif | |
f1e7d826 MD |
390 | #ifndef OVERRIDE_32_setgid |
391 | SC_LTTNG_TRACEPOINT_EVENT(setgid, | |
392 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
393 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 394 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
8f4f80e0 RK |
395 | ) |
396 | #endif | |
f1e7d826 MD |
397 | #ifndef OVERRIDE_32_setfsuid |
398 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, | |
399 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
400 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 401 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
8f4f80e0 RK |
402 | ) |
403 | #endif | |
f1e7d826 MD |
404 | #ifndef OVERRIDE_32_setfsgid |
405 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, | |
406 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
407 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 408 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
8f4f80e0 RK |
409 | ) |
410 | #endif | |
f1e7d826 MD |
411 | #ifndef OVERRIDE_32_io_destroy |
412 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, | |
413 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), | |
414 | TP_ARGS(sc_exit(ret,) ctx), | |
e0976e2b | 415 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) |
8f4f80e0 RK |
416 | ) |
417 | #endif | |
f1e7d826 MD |
418 | #ifndef OVERRIDE_32_exit_group |
419 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, | |
420 | TP_PROTO(sc_exit(long ret,) int error_code), | |
421 | TP_ARGS(sc_exit(ret,) error_code), | |
e0976e2b | 422 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
8f4f80e0 RK |
423 | ) |
424 | #endif | |
f1e7d826 MD |
425 | #ifndef OVERRIDE_32_epoll_create |
426 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create, | |
427 | TP_PROTO(sc_exit(long ret,) int size), | |
428 | TP_ARGS(sc_exit(ret,) size), | |
e0976e2b | 429 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) |
8f4f80e0 RK |
430 | ) |
431 | #endif | |
f1e7d826 MD |
432 | #ifndef OVERRIDE_32_timer_getoverrun |
433 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, | |
434 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
435 | TP_ARGS(sc_exit(ret,) timer_id), | |
e0976e2b | 436 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
8f4f80e0 RK |
437 | ) |
438 | #endif | |
f1e7d826 MD |
439 | #ifndef OVERRIDE_32_timer_delete |
440 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, | |
441 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
442 | TP_ARGS(sc_exit(ret,) timer_id), | |
e0976e2b | 443 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
8f4f80e0 RK |
444 | ) |
445 | #endif | |
f1e7d826 MD |
446 | #ifndef OVERRIDE_32_unshare |
447 | SC_LTTNG_TRACEPOINT_EVENT(unshare, | |
448 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), | |
449 | TP_ARGS(sc_exit(ret,) unshare_flags), | |
e0976e2b | 450 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) |
8f4f80e0 RK |
451 | ) |
452 | #endif | |
f1e7d826 MD |
453 | #ifndef OVERRIDE_32_eventfd |
454 | SC_LTTNG_TRACEPOINT_EVENT(eventfd, | |
455 | TP_PROTO(sc_exit(long ret,) unsigned int count), | |
456 | TP_ARGS(sc_exit(ret,) count), | |
e0976e2b | 457 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) |
8f4f80e0 RK |
458 | ) |
459 | #endif | |
f1e7d826 MD |
460 | #ifndef OVERRIDE_32_epoll_create1 |
461 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, | |
462 | TP_PROTO(sc_exit(long ret,) int flags), | |
463 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 464 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
8f4f80e0 RK |
465 | ) |
466 | #endif | |
f1e7d826 MD |
467 | #ifndef OVERRIDE_32_inotify_init1 |
468 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, | |
469 | TP_PROTO(sc_exit(long ret,) int flags), | |
470 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 471 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
8f4f80e0 RK |
472 | ) |
473 | #endif | |
f1e7d826 MD |
474 | #ifndef OVERRIDE_32_syncfs |
475 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, | |
476 | TP_PROTO(sc_exit(long ret,) int fd), | |
477 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 478 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) |
8f4f80e0 RK |
479 | ) |
480 | #endif | |
87b2af7b JG |
481 | #ifndef OVERRIDE_32_userfaultfd |
482 | SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, | |
483 | TP_PROTO(sc_exit(long ret,) int flags), | |
484 | TP_ARGS(sc_exit(ret,) flags), | |
485 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) | |
486 | ) | |
487 | #endif | |
f1e7d826 MD |
488 | #ifndef OVERRIDE_32_kill |
489 | SC_LTTNG_TRACEPOINT_EVENT(kill, | |
490 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
491 | TP_ARGS(sc_exit(ret,) pid, sig), | |
e0976e2b | 492 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
8f4f80e0 RK |
493 | ) |
494 | #endif | |
f1e7d826 MD |
495 | #ifndef OVERRIDE_32_setpgid |
496 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, | |
497 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), | |
498 | TP_ARGS(sc_exit(ret,) pid, pgid), | |
e0976e2b | 499 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) |
8f4f80e0 RK |
500 | ) |
501 | #endif | |
f1e7d826 MD |
502 | #ifndef OVERRIDE_32_dup2 |
503 | SC_LTTNG_TRACEPOINT_EVENT(dup2, | |
504 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), | |
505 | TP_ARGS(sc_exit(ret,) oldfd, newfd), | |
e0976e2b | 506 | 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))) |
8f4f80e0 RK |
507 | ) |
508 | #endif | |
f1e7d826 MD |
509 | #ifndef OVERRIDE_32_setreuid16 |
510 | SC_LTTNG_TRACEPOINT_EVENT(setreuid16, | |
511 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), | |
512 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
e0976e2b | 513 | 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))) |
c974cc6e JG |
514 | ) |
515 | #endif | |
f1e7d826 MD |
516 | #ifndef OVERRIDE_32_setregid16 |
517 | SC_LTTNG_TRACEPOINT_EVENT(setregid16, | |
518 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), | |
519 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
e0976e2b | 520 | 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))) |
c974cc6e JG |
521 | ) |
522 | #endif | |
f1e7d826 MD |
523 | #ifndef OVERRIDE_32_munmap |
524 | SC_LTTNG_TRACEPOINT_EVENT(munmap, | |
525 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), | |
526 | TP_ARGS(sc_exit(ret,) addr, len), | |
e0976e2b | 527 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) |
8f4f80e0 RK |
528 | ) |
529 | #endif | |
f1e7d826 MD |
530 | #ifndef OVERRIDE_32_ftruncate |
531 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, | |
532 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), | |
533 | TP_ARGS(sc_exit(ret,) fd, length), | |
e0976e2b | 534 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) |
8f4f80e0 RK |
535 | ) |
536 | #endif | |
f1e7d826 MD |
537 | #ifndef OVERRIDE_32_fchmod |
538 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, | |
539 | TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), | |
540 | TP_ARGS(sc_exit(ret,) fd, mode), | |
e0976e2b | 541 | 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))) |
8f4f80e0 RK |
542 | ) |
543 | #endif | |
f1e7d826 MD |
544 | #ifndef OVERRIDE_32_getpriority |
545 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, | |
546 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
547 | TP_ARGS(sc_exit(ret,) which, who), | |
e0976e2b | 548 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
8f4f80e0 RK |
549 | ) |
550 | #endif | |
f1e7d826 MD |
551 | #ifndef OVERRIDE_32_flock |
552 | SC_LTTNG_TRACEPOINT_EVENT(flock, | |
553 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), | |
554 | TP_ARGS(sc_exit(ret,) fd, cmd), | |
e0976e2b | 555 | 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))) |
8f4f80e0 RK |
556 | ) |
557 | #endif | |
f1e7d826 MD |
558 | #ifndef OVERRIDE_32_mlock |
559 | SC_LTTNG_TRACEPOINT_EVENT(mlock, | |
560 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
561 | TP_ARGS(sc_exit(ret,) start, len), | |
e0976e2b | 562 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) |
8f4f80e0 RK |
563 | ) |
564 | #endif | |
f1e7d826 MD |
565 | #ifndef OVERRIDE_32_munlock |
566 | SC_LTTNG_TRACEPOINT_EVENT(munlock, | |
567 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
568 | TP_ARGS(sc_exit(ret,) start, len), | |
e0976e2b | 569 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) |
8f4f80e0 RK |
570 | ) |
571 | #endif | |
87b2af7b JG |
572 | #ifndef OVERRIDE_32_ftruncate64 |
573 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, | |
574 | TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), | |
575 | TP_ARGS(sc_exit(ret,) fd, length), | |
576 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(loff_t, length, length))) | |
577 | ) | |
578 | #endif | |
f1e7d826 MD |
579 | #ifndef OVERRIDE_32_setreuid |
580 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, | |
581 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), | |
582 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
e0976e2b | 583 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) |
8f4f80e0 RK |
584 | ) |
585 | #endif | |
f1e7d826 MD |
586 | #ifndef OVERRIDE_32_setregid |
587 | SC_LTTNG_TRACEPOINT_EVENT(setregid, | |
588 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), | |
589 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
e0976e2b | 590 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) |
8f4f80e0 RK |
591 | ) |
592 | #endif | |
f1e7d826 MD |
593 | #ifndef OVERRIDE_32_tkill |
594 | SC_LTTNG_TRACEPOINT_EVENT(tkill, | |
595 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
596 | TP_ARGS(sc_exit(ret,) pid, sig), | |
e0976e2b | 597 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
8f4f80e0 RK |
598 | ) |
599 | #endif | |
f1e7d826 MD |
600 | #ifndef OVERRIDE_32_listen |
601 | SC_LTTNG_TRACEPOINT_EVENT(listen, | |
602 | TP_PROTO(sc_exit(long ret,) int fd, int backlog), | |
603 | TP_ARGS(sc_exit(ret,) fd, backlog), | |
e0976e2b | 604 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) |
8f4f80e0 RK |
605 | ) |
606 | #endif | |
f1e7d826 MD |
607 | #ifndef OVERRIDE_32_shutdown |
608 | SC_LTTNG_TRACEPOINT_EVENT(shutdown, | |
609 | TP_PROTO(sc_exit(long ret,) int fd, int how), | |
610 | TP_ARGS(sc_exit(ret,) fd, how), | |
e0976e2b | 611 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) |
8f4f80e0 RK |
612 | ) |
613 | #endif | |
f1e7d826 MD |
614 | #ifndef OVERRIDE_32_msgget |
615 | SC_LTTNG_TRACEPOINT_EVENT(msgget, | |
616 | TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), | |
617 | TP_ARGS(sc_exit(ret,) key, msgflg), | |
e0976e2b | 618 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) |
8f4f80e0 RK |
619 | ) |
620 | #endif | |
f1e7d826 MD |
621 | #ifndef OVERRIDE_32_ioprio_get |
622 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, | |
623 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
624 | TP_ARGS(sc_exit(ret,) which, who), | |
e0976e2b | 625 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
8f4f80e0 RK |
626 | ) |
627 | #endif | |
f1e7d826 MD |
628 | #ifndef OVERRIDE_32_inotify_rm_watch |
629 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, | |
630 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), | |
631 | TP_ARGS(sc_exit(ret,) fd, wd), | |
e0976e2b | 632 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) |
8f4f80e0 RK |
633 | ) |
634 | #endif | |
f1e7d826 MD |
635 | #ifndef OVERRIDE_32_timerfd_create |
636 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, | |
637 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), | |
638 | TP_ARGS(sc_exit(ret,) clockid, flags), | |
e0976e2b | 639 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) |
8f4f80e0 RK |
640 | ) |
641 | #endif | |
f1e7d826 MD |
642 | #ifndef OVERRIDE_32_eventfd2 |
643 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, | |
644 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), | |
645 | TP_ARGS(sc_exit(ret,) count, flags), | |
e0976e2b | 646 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) |
8f4f80e0 RK |
647 | ) |
648 | #endif | |
f1e7d826 MD |
649 | #ifndef OVERRIDE_32_fanotify_init |
650 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, | |
651 | TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), | |
652 | TP_ARGS(sc_exit(ret,) flags, event_f_flags), | |
e0976e2b | 653 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) |
8f4f80e0 RK |
654 | ) |
655 | #endif | |
f1e7d826 MD |
656 | #ifndef OVERRIDE_32_setns |
657 | SC_LTTNG_TRACEPOINT_EVENT(setns, | |
87b2af7b JG |
658 | TP_PROTO(sc_exit(long ret,) int fd, int flags), |
659 | TP_ARGS(sc_exit(ret,) fd, flags), | |
660 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) | |
661 | ) | |
662 | #endif | |
663 | #ifndef OVERRIDE_32_pidfd_open | |
664 | SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, | |
665 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), | |
666 | TP_ARGS(sc_exit(ret,) pid, flags), | |
667 | 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))) | |
668 | ) | |
669 | #endif | |
670 | #ifndef OVERRIDE_32_landlock_restrict_self | |
671 | SC_LTTNG_TRACEPOINT_EVENT(landlock_restrict_self, | |
672 | TP_PROTO(sc_exit(long ret,) const int ruleset_fd, const __u32 flags), | |
673 | TP_ARGS(sc_exit(ret,) ruleset_fd, flags), | |
674 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const __u32, flags, flags))) | |
675 | ) | |
676 | #endif | |
677 | #ifndef OVERRIDE_32_process_mrelease | |
678 | SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, | |
679 | TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), | |
680 | TP_ARGS(sc_exit(ret,) pidfd, flags), | |
681 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
8f4f80e0 RK |
682 | ) |
683 | #endif | |
f1e7d826 MD |
684 | #ifndef OVERRIDE_32_lseek |
685 | SC_LTTNG_TRACEPOINT_EVENT(lseek, | |
87b2af7b JG |
686 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), |
687 | TP_ARGS(sc_exit(ret,) fd, offset, whence), | |
688 | 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))) | |
8f4f80e0 RK |
689 | ) |
690 | #endif | |
f1e7d826 MD |
691 | #ifndef OVERRIDE_32_ioctl |
692 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, | |
693 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
694 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 695 | 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))) |
8f4f80e0 RK |
696 | ) |
697 | #endif | |
f1e7d826 MD |
698 | #ifndef OVERRIDE_32_fcntl |
699 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, | |
700 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
701 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 702 | 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))) |
8f4f80e0 RK |
703 | ) |
704 | #endif | |
87b2af7b JG |
705 | #ifndef OVERRIDE_32_sigsuspend |
706 | SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, | |
707 | TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), | |
708 | TP_ARGS(sc_exit(ret,) unused1, unused2, mask), | |
709 | 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))) | |
710 | ) | |
711 | #endif | |
f1e7d826 MD |
712 | #ifndef OVERRIDE_32_fchown16 |
713 | SC_LTTNG_TRACEPOINT_EVENT(fchown16, | |
714 | TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), | |
715 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
e0976e2b | 716 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) |
8f4f80e0 RK |
717 | ) |
718 | #endif | |
f1e7d826 MD |
719 | #ifndef OVERRIDE_32_setpriority |
720 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, | |
721 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), | |
722 | TP_ARGS(sc_exit(ret,) which, who, niceval), | |
e0976e2b | 723 | 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))) |
8f4f80e0 RK |
724 | ) |
725 | #endif | |
f1e7d826 MD |
726 | #ifndef OVERRIDE_32_mprotect |
727 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, | |
728 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), | |
729 | TP_ARGS(sc_exit(ret,) start, len, prot), | |
e0976e2b | 730 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned long, prot, prot))) |
8f4f80e0 RK |
731 | ) |
732 | #endif | |
f1e7d826 MD |
733 | #ifndef OVERRIDE_32_msync |
734 | SC_LTTNG_TRACEPOINT_EVENT(msync, | |
735 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), | |
736 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
e0976e2b | 737 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, flags, flags))) |
f1e7d826 MD |
738 | ) |
739 | #endif | |
740 | #ifndef OVERRIDE_32_setresuid16 | |
741 | SC_LTTNG_TRACEPOINT_EVENT(setresuid16, | |
742 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), | |
743 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
e0976e2b | 744 | 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))) |
f1e7d826 MD |
745 | ) |
746 | #endif | |
747 | #ifndef OVERRIDE_32_setresgid16 | |
748 | SC_LTTNG_TRACEPOINT_EVENT(setresgid16, | |
749 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), | |
750 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
e0976e2b | 751 | 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))) |
f1e7d826 MD |
752 | ) |
753 | #endif | |
754 | #ifndef OVERRIDE_32_fchown | |
755 | SC_LTTNG_TRACEPOINT_EVENT(fchown, | |
756 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), | |
757 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
e0976e2b | 758 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) |
f1e7d826 MD |
759 | ) |
760 | #endif | |
761 | #ifndef OVERRIDE_32_setresuid | |
762 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, | |
763 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), | |
764 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
e0976e2b | 765 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) |
f1e7d826 MD |
766 | ) |
767 | #endif | |
768 | #ifndef OVERRIDE_32_setresgid | |
769 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, | |
770 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), | |
771 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
e0976e2b | 772 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) |
f1e7d826 MD |
773 | ) |
774 | #endif | |
775 | #ifndef OVERRIDE_32_madvise | |
776 | SC_LTTNG_TRACEPOINT_EVENT(madvise, | |
777 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), | |
778 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), | |
e0976e2b | 779 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) |
f1e7d826 MD |
780 | ) |
781 | #endif | |
782 | #ifndef OVERRIDE_32_fcntl64 | |
783 | SC_LTTNG_TRACEPOINT_EVENT(fcntl64, | |
784 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
785 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 786 | 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(unsigned long, arg, arg))) |
f1e7d826 MD |
787 | ) |
788 | #endif | |
87b2af7b JG |
789 | #ifndef OVERRIDE_32_readahead |
790 | SC_LTTNG_TRACEPOINT_EVENT(readahead, | |
791 | TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), | |
792 | TP_ARGS(sc_exit(ret,) fd, offset, count), | |
793 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) | |
794 | ) | |
795 | #endif | |
f1e7d826 MD |
796 | #ifndef OVERRIDE_32_tgkill |
797 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, | |
798 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), | |
799 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), | |
e0976e2b | 800 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
f1e7d826 MD |
801 | ) |
802 | #endif | |
803 | #ifndef OVERRIDE_32_socket | |
804 | SC_LTTNG_TRACEPOINT_EVENT(socket, | |
805 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), | |
806 | TP_ARGS(sc_exit(ret,) family, type, protocol), | |
e0976e2b | 807 | 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))) |
f1e7d826 MD |
808 | ) |
809 | #endif | |
810 | #ifndef OVERRIDE_32_semget | |
811 | SC_LTTNG_TRACEPOINT_EVENT(semget, | |
812 | TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), | |
813 | TP_ARGS(sc_exit(ret,) key, nsems, semflg), | |
e0976e2b | 814 | 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))) |
f1e7d826 MD |
815 | ) |
816 | #endif | |
817 | #ifndef OVERRIDE_32_shmget | |
818 | SC_LTTNG_TRACEPOINT_EVENT(shmget, | |
819 | TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), | |
820 | TP_ARGS(sc_exit(ret,) key, size, shmflg), | |
e0976e2b | 821 | 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))) |
f1e7d826 MD |
822 | ) |
823 | #endif | |
824 | #ifndef OVERRIDE_32_ioprio_set | |
825 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, | |
826 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), | |
827 | TP_ARGS(sc_exit(ret,) which, who, ioprio), | |
e0976e2b | 828 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) |
f1e7d826 MD |
829 | ) |
830 | #endif | |
831 | #ifndef OVERRIDE_32_dup3 | |
832 | SC_LTTNG_TRACEPOINT_EVENT(dup3, | |
833 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), | |
834 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), | |
e0976e2b | 835 | 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))) |
f1e7d826 MD |
836 | ) |
837 | #endif | |
87b2af7b JG |
838 | #ifndef OVERRIDE_32_membarrier |
839 | SC_LTTNG_TRACEPOINT_EVENT(membarrier, | |
840 | TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), | |
841 | TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), | |
842 | 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))) | |
843 | ) | |
844 | #endif | |
845 | #ifndef OVERRIDE_32_mlock2 | |
846 | SC_LTTNG_TRACEPOINT_EVENT(mlock2, | |
847 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), | |
848 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
849 | 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))) | |
850 | ) | |
851 | #endif | |
852 | #ifndef OVERRIDE_32_fsmount | |
853 | SC_LTTNG_TRACEPOINT_EVENT(fsmount, | |
854 | TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), | |
855 | TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), | |
856 | 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))) | |
857 | ) | |
858 | #endif | |
859 | #ifndef OVERRIDE_32_close_range | |
860 | SC_LTTNG_TRACEPOINT_EVENT(close_range, | |
861 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), | |
862 | TP_ARGS(sc_exit(ret,) fd, max_fd, flags), | |
863 | 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))) | |
864 | ) | |
865 | #endif | |
866 | #ifndef OVERRIDE_32_pidfd_getfd | |
867 | SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, | |
868 | TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), | |
869 | TP_ARGS(sc_exit(ret,) pidfd, fd, flags), | |
870 | 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))) | |
871 | ) | |
872 | #endif | |
f1e7d826 MD |
873 | #ifndef OVERRIDE_32_ptrace |
874 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, | |
875 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), | |
876 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), | |
e0976e2b | 877 | 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))) |
f1e7d826 MD |
878 | ) |
879 | #endif | |
87b2af7b JG |
880 | #ifndef OVERRIDE_32_fadvise64_64 |
881 | SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, | |
882 | TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), | |
883 | TP_ARGS(sc_exit(ret,) fd, offset, len, advice), | |
884 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)) sc_in(ctf_integer(int, advice, advice))) | |
885 | ) | |
886 | #endif | |
887 | #ifndef OVERRIDE_32_old_semctl | |
888 | SC_LTTNG_TRACEPOINT_EVENT(old_semctl, | |
889 | TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), | |
890 | TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), | |
891 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(int, semnum, semnum)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) | |
892 | ) | |
893 | #endif | |
894 | #ifndef OVERRIDE_32_sync_file_range2 | |
895 | SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, | |
896 | TP_PROTO(sc_exit(long ret,) int fd, unsigned int flags, loff_t offset, loff_t nbytes), | |
897 | TP_ARGS(sc_exit(ret,) fd, flags, offset, nbytes), | |
898 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, nbytes, nbytes))) | |
899 | ) | |
900 | #endif | |
f1e7d826 MD |
901 | #ifndef OVERRIDE_32_tee |
902 | SC_LTTNG_TRACEPOINT_EVENT(tee, | |
903 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), | |
904 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), | |
e0976e2b | 905 | 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))) |
f1e7d826 MD |
906 | ) |
907 | #endif | |
87b2af7b JG |
908 | #ifndef OVERRIDE_32_fallocate |
909 | SC_LTTNG_TRACEPOINT_EVENT(fallocate, | |
910 | TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), | |
911 | TP_ARGS(sc_exit(ret,) fd, mode, offset, len), | |
912 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) | |
913 | ) | |
914 | #endif | |
f1e7d826 MD |
915 | #ifndef OVERRIDE_32_mremap |
916 | SC_LTTNG_TRACEPOINT_EVENT(mremap, | |
917 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
918 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), | |
e0976e2b | 919 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) |
f1e7d826 MD |
920 | ) |
921 | #endif | |
922 | #ifndef OVERRIDE_32_prctl | |
923 | SC_LTTNG_TRACEPOINT_EVENT(prctl, | |
924 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
925 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
e0976e2b | 926 | 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))) |
f1e7d826 MD |
927 | ) |
928 | #endif | |
929 | #ifndef OVERRIDE_32_remap_file_pages | |
930 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, | |
931 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), | |
932 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), | |
e0976e2b | 933 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) |
f1e7d826 MD |
934 | ) |
935 | #endif | |
936 | #ifndef OVERRIDE_32_keyctl | |
937 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, | |
938 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
939 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
e0976e2b | 940 | 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))) |
8f4f80e0 RK |
941 | ) |
942 | #endif | |
87b2af7b JG |
943 | #ifndef OVERRIDE_32_kcmp |
944 | SC_LTTNG_TRACEPOINT_EVENT(kcmp, | |
945 | TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), | |
946 | TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), | |
947 | 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))) | |
948 | ) | |
949 | #endif | |
950 | #ifndef OVERRIDE_32_mmap_pgoff | |
951 | SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, | |
952 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), | |
953 | TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), | |
954 | 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))) | |
955 | ) | |
956 | #endif | |
8f4f80e0 RK |
957 | |
958 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
959 | ||
960 | /* This part must be outside protection */ | |
3b4aafcb | 961 | #include <lttng/define_trace.h> |
8f4f80e0 RK |
962 | |
963 | #else /* CREATE_SYSCALL_TABLE */ | |
964 | ||
6314c2d3 | 965 | #include "arm-32-syscalls_integers_override.h" |
8f4f80e0 RK |
966 | #include "syscalls_integers_override.h" |
967 | ||
f1e7d826 MD |
968 | #ifdef SC_ENTER |
969 | #ifndef OVERRIDE_TABLE_32_restart_syscall | |
970 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) | |
971 | #endif | |
87b2af7b JG |
972 | #ifndef OVERRIDE_TABLE_32_fork |
973 | TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 0) | |
974 | #endif | |
f1e7d826 MD |
975 | #ifndef OVERRIDE_TABLE_32_getpid |
976 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) | |
977 | #endif | |
978 | #ifndef OVERRIDE_TABLE_32_getuid16 | |
979 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) | |
980 | #endif | |
981 | #ifndef OVERRIDE_TABLE_32_pause | |
982 | TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) | |
983 | #endif | |
984 | #ifndef OVERRIDE_TABLE_32_sync | |
985 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) | |
986 | #endif | |
987 | #ifndef OVERRIDE_TABLE_32_getgid16 | |
988 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) | |
989 | #endif | |
990 | #ifndef OVERRIDE_TABLE_32_geteuid16 | |
991 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) | |
992 | #endif | |
993 | #ifndef OVERRIDE_TABLE_32_getegid16 | |
994 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) | |
995 | #endif | |
996 | #ifndef OVERRIDE_TABLE_32_getppid | |
997 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) | |
998 | #endif | |
999 | #ifndef OVERRIDE_TABLE_32_getpgrp | |
1000 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) | |
1001 | #endif | |
1002 | #ifndef OVERRIDE_TABLE_32_setsid | |
1003 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) | |
1004 | #endif | |
1005 | #ifndef OVERRIDE_TABLE_32_vhangup | |
1006 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) | |
1007 | #endif | |
1008 | #ifndef OVERRIDE_TABLE_32_munlockall | |
1009 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) | |
1010 | #endif | |
1011 | #ifndef OVERRIDE_TABLE_32_sched_yield | |
1012 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) | |
1013 | #endif | |
87b2af7b JG |
1014 | #ifndef OVERRIDE_TABLE_32_vfork |
1015 | TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 0) | |
1016 | #endif | |
f1e7d826 MD |
1017 | #ifndef OVERRIDE_TABLE_32_getuid |
1018 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) | |
1019 | #endif | |
1020 | #ifndef OVERRIDE_TABLE_32_getgid | |
1021 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) | |
1022 | #endif | |
1023 | #ifndef OVERRIDE_TABLE_32_geteuid | |
1024 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) | |
1025 | #endif | |
1026 | #ifndef OVERRIDE_TABLE_32_getegid | |
1027 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) | |
1028 | #endif | |
1029 | #ifndef OVERRIDE_TABLE_32_gettid | |
1030 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) | |
1031 | #endif | |
1032 | #ifndef OVERRIDE_TABLE_32_inotify_init | |
1033 | TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 316, 0) | |
1034 | #endif | |
1035 | #else /* #ifdef SC_ENTER */ | |
1036 | #ifndef OVERRIDE_TABLE_32_restart_syscall | |
1037 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) | |
8f4f80e0 | 1038 | #endif |
87b2af7b JG |
1039 | #ifndef OVERRIDE_TABLE_32_fork |
1040 | TRACE_SYSCALL_TABLE(fork, fork, 2, 0) | |
1041 | #endif | |
f1e7d826 MD |
1042 | #ifndef OVERRIDE_TABLE_32_getpid |
1043 | TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) | |
8f4f80e0 | 1044 | #endif |
f1e7d826 MD |
1045 | #ifndef OVERRIDE_TABLE_32_getuid16 |
1046 | TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) | |
8f4f80e0 | 1047 | #endif |
f1e7d826 MD |
1048 | #ifndef OVERRIDE_TABLE_32_pause |
1049 | TRACE_SYSCALL_TABLE(pause, pause, 29, 0) | |
8f4f80e0 | 1050 | #endif |
f1e7d826 MD |
1051 | #ifndef OVERRIDE_TABLE_32_sync |
1052 | TRACE_SYSCALL_TABLE(sync, sync, 36, 0) | |
8f4f80e0 | 1053 | #endif |
f1e7d826 MD |
1054 | #ifndef OVERRIDE_TABLE_32_getgid16 |
1055 | TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) | |
8f4f80e0 | 1056 | #endif |
f1e7d826 MD |
1057 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
1058 | TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) | |
8f4f80e0 | 1059 | #endif |
f1e7d826 MD |
1060 | #ifndef OVERRIDE_TABLE_32_getegid16 |
1061 | TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) | |
8f4f80e0 | 1062 | #endif |
f1e7d826 MD |
1063 | #ifndef OVERRIDE_TABLE_32_getppid |
1064 | TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) | |
8f4f80e0 | 1065 | #endif |
f1e7d826 MD |
1066 | #ifndef OVERRIDE_TABLE_32_getpgrp |
1067 | TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) | |
8f4f80e0 | 1068 | #endif |
f1e7d826 MD |
1069 | #ifndef OVERRIDE_TABLE_32_setsid |
1070 | TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) | |
8f4f80e0 | 1071 | #endif |
f1e7d826 MD |
1072 | #ifndef OVERRIDE_TABLE_32_vhangup |
1073 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) | |
8f4f80e0 | 1074 | #endif |
f1e7d826 MD |
1075 | #ifndef OVERRIDE_TABLE_32_munlockall |
1076 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) | |
8f4f80e0 | 1077 | #endif |
f1e7d826 MD |
1078 | #ifndef OVERRIDE_TABLE_32_sched_yield |
1079 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) | |
8f4f80e0 | 1080 | #endif |
87b2af7b JG |
1081 | #ifndef OVERRIDE_TABLE_32_vfork |
1082 | TRACE_SYSCALL_TABLE(vfork, vfork, 190, 0) | |
1083 | #endif | |
f1e7d826 MD |
1084 | #ifndef OVERRIDE_TABLE_32_getuid |
1085 | TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) | |
8f4f80e0 | 1086 | #endif |
f1e7d826 MD |
1087 | #ifndef OVERRIDE_TABLE_32_getgid |
1088 | TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) | |
8f4f80e0 | 1089 | #endif |
f1e7d826 MD |
1090 | #ifndef OVERRIDE_TABLE_32_geteuid |
1091 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) | |
8f4f80e0 | 1092 | #endif |
f1e7d826 MD |
1093 | #ifndef OVERRIDE_TABLE_32_getegid |
1094 | TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) | |
8f4f80e0 | 1095 | #endif |
f1e7d826 MD |
1096 | #ifndef OVERRIDE_TABLE_32_gettid |
1097 | TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) | |
8f4f80e0 | 1098 | #endif |
f1e7d826 MD |
1099 | #ifndef OVERRIDE_TABLE_32_inotify_init |
1100 | TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 316, 0) | |
8f4f80e0 | 1101 | #endif |
f1e7d826 MD |
1102 | #endif /* else #ifdef SC_ENTER */ |
1103 | #ifndef OVERRIDE_TABLE_32_exit | |
1104 | TRACE_SYSCALL_TABLE(exit, exit, 1, 1) | |
8f4f80e0 | 1105 | #endif |
f1e7d826 MD |
1106 | #ifndef OVERRIDE_TABLE_32_close |
1107 | TRACE_SYSCALL_TABLE(close, close, 6, 1) | |
8f4f80e0 | 1108 | #endif |
f1e7d826 MD |
1109 | #ifndef OVERRIDE_TABLE_32_lseek |
1110 | TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) | |
8f4f80e0 | 1111 | #endif |
f1e7d826 MD |
1112 | #ifndef OVERRIDE_TABLE_32_setuid16 |
1113 | TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) | |
8f4f80e0 | 1114 | #endif |
f1e7d826 MD |
1115 | #ifndef OVERRIDE_TABLE_32_ptrace |
1116 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) | |
8f4f80e0 | 1117 | #endif |
f1e7d826 MD |
1118 | #ifndef OVERRIDE_TABLE_32_nice |
1119 | TRACE_SYSCALL_TABLE(nice, nice, 34, 1) | |
8f4f80e0 | 1120 | #endif |
f1e7d826 MD |
1121 | #ifndef OVERRIDE_TABLE_32_kill |
1122 | TRACE_SYSCALL_TABLE(kill, kill, 37, 2) | |
8f4f80e0 | 1123 | #endif |
f1e7d826 MD |
1124 | #ifndef OVERRIDE_TABLE_32_dup |
1125 | TRACE_SYSCALL_TABLE(dup, dup, 41, 1) | |
8f4f80e0 | 1126 | #endif |
f1e7d826 MD |
1127 | #ifndef OVERRIDE_TABLE_32_brk |
1128 | TRACE_SYSCALL_TABLE(brk, brk, 45, 1) | |
8f4f80e0 | 1129 | #endif |
f1e7d826 MD |
1130 | #ifndef OVERRIDE_TABLE_32_setgid16 |
1131 | TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) | |
8f4f80e0 | 1132 | #endif |
f1e7d826 MD |
1133 | #ifndef OVERRIDE_TABLE_32_ioctl |
1134 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) | |
8f4f80e0 | 1135 | #endif |
f1e7d826 MD |
1136 | #ifndef OVERRIDE_TABLE_32_fcntl |
1137 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) | |
8f4f80e0 | 1138 | #endif |
f1e7d826 MD |
1139 | #ifndef OVERRIDE_TABLE_32_setpgid |
1140 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) | |
8f4f80e0 | 1141 | #endif |
f1e7d826 MD |
1142 | #ifndef OVERRIDE_TABLE_32_umask |
1143 | TRACE_SYSCALL_TABLE(umask, umask, 60, 1) | |
8f4f80e0 | 1144 | #endif |
f1e7d826 MD |
1145 | #ifndef OVERRIDE_TABLE_32_dup2 |
1146 | TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) | |
8f4f80e0 | 1147 | #endif |
f1e7d826 MD |
1148 | #ifndef OVERRIDE_TABLE_32_setreuid16 |
1149 | TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) | |
8f4f80e0 | 1150 | #endif |
f1e7d826 MD |
1151 | #ifndef OVERRIDE_TABLE_32_setregid16 |
1152 | TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) | |
8f4f80e0 | 1153 | #endif |
87b2af7b JG |
1154 | #ifndef OVERRIDE_TABLE_32_sigsuspend |
1155 | TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) | |
1156 | #endif | |
f1e7d826 MD |
1157 | #ifndef OVERRIDE_TABLE_32_munmap |
1158 | TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) | |
8f4f80e0 | 1159 | #endif |
f1e7d826 MD |
1160 | #ifndef OVERRIDE_TABLE_32_ftruncate |
1161 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) | |
8f4f80e0 | 1162 | #endif |
f1e7d826 MD |
1163 | #ifndef OVERRIDE_TABLE_32_fchmod |
1164 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) | |
8f4f80e0 | 1165 | #endif |
f1e7d826 MD |
1166 | #ifndef OVERRIDE_TABLE_32_fchown16 |
1167 | TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) | |
8f4f80e0 | 1168 | #endif |
f1e7d826 MD |
1169 | #ifndef OVERRIDE_TABLE_32_getpriority |
1170 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) | |
8f4f80e0 | 1171 | #endif |
f1e7d826 MD |
1172 | #ifndef OVERRIDE_TABLE_32_setpriority |
1173 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) | |
8f4f80e0 | 1174 | #endif |
f1e7d826 MD |
1175 | #ifndef OVERRIDE_TABLE_32_fsync |
1176 | TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) | |
8f4f80e0 | 1177 | #endif |
f1e7d826 MD |
1178 | #ifndef OVERRIDE_TABLE_32_mprotect |
1179 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) | |
8f4f80e0 | 1180 | #endif |
f1e7d826 MD |
1181 | #ifndef OVERRIDE_TABLE_32_getpgid |
1182 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) | |
8f4f80e0 | 1183 | #endif |
f1e7d826 MD |
1184 | #ifndef OVERRIDE_TABLE_32_fchdir |
1185 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) | |
8f4f80e0 | 1186 | #endif |
f1e7d826 MD |
1187 | #ifndef OVERRIDE_TABLE_32_personality |
1188 | TRACE_SYSCALL_TABLE(personality, personality, 136, 1) | |
8f4f80e0 | 1189 | #endif |
f1e7d826 MD |
1190 | #ifndef OVERRIDE_TABLE_32_setfsuid16 |
1191 | TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) | |
8f4f80e0 | 1192 | #endif |
f1e7d826 MD |
1193 | #ifndef OVERRIDE_TABLE_32_setfsgid16 |
1194 | TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) | |
8f4f80e0 | 1195 | #endif |
f1e7d826 MD |
1196 | #ifndef OVERRIDE_TABLE_32_flock |
1197 | TRACE_SYSCALL_TABLE(flock, flock, 143, 2) | |
8f4f80e0 | 1198 | #endif |
f1e7d826 MD |
1199 | #ifndef OVERRIDE_TABLE_32_msync |
1200 | TRACE_SYSCALL_TABLE(msync, msync, 144, 3) | |
8f4f80e0 | 1201 | #endif |
f1e7d826 MD |
1202 | #ifndef OVERRIDE_TABLE_32_getsid |
1203 | TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) | |
8f4f80e0 | 1204 | #endif |
f1e7d826 MD |
1205 | #ifndef OVERRIDE_TABLE_32_fdatasync |
1206 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) | |
8f4f80e0 | 1207 | #endif |
f1e7d826 MD |
1208 | #ifndef OVERRIDE_TABLE_32_mlock |
1209 | TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) | |
8f4f80e0 | 1210 | #endif |
f1e7d826 MD |
1211 | #ifndef OVERRIDE_TABLE_32_munlock |
1212 | TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) | |
8f4f80e0 | 1213 | #endif |
f1e7d826 MD |
1214 | #ifndef OVERRIDE_TABLE_32_mlockall |
1215 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) | |
8f4f80e0 | 1216 | #endif |
f1e7d826 MD |
1217 | #ifndef OVERRIDE_TABLE_32_sched_getscheduler |
1218 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) | |
8f4f80e0 | 1219 | #endif |
f1e7d826 MD |
1220 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_max |
1221 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) | |
8f4f80e0 | 1222 | #endif |
f1e7d826 MD |
1223 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_min |
1224 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) | |
8f4f80e0 | 1225 | #endif |
f1e7d826 MD |
1226 | #ifndef OVERRIDE_TABLE_32_mremap |
1227 | TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) | |
8f4f80e0 | 1228 | #endif |
f1e7d826 MD |
1229 | #ifndef OVERRIDE_TABLE_32_setresuid16 |
1230 | TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) | |
8f4f80e0 | 1231 | #endif |
f1e7d826 MD |
1232 | #ifndef OVERRIDE_TABLE_32_setresgid16 |
1233 | TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) | |
8f4f80e0 | 1234 | #endif |
f1e7d826 MD |
1235 | #ifndef OVERRIDE_TABLE_32_prctl |
1236 | TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) | |
8f4f80e0 | 1237 | #endif |
87b2af7b JG |
1238 | #ifndef OVERRIDE_TABLE_32_mmap_pgoff |
1239 | TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) | |
1240 | #endif | |
1241 | #ifndef OVERRIDE_TABLE_32_ftruncate64 | |
1242 | TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 194, 2) | |
1243 | #endif | |
f1e7d826 MD |
1244 | #ifndef OVERRIDE_TABLE_32_setreuid |
1245 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) | |
8f4f80e0 | 1246 | #endif |
f1e7d826 MD |
1247 | #ifndef OVERRIDE_TABLE_32_setregid |
1248 | TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) | |
8f4f80e0 | 1249 | #endif |
f1e7d826 MD |
1250 | #ifndef OVERRIDE_TABLE_32_fchown |
1251 | TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) | |
8f4f80e0 | 1252 | #endif |
f1e7d826 MD |
1253 | #ifndef OVERRIDE_TABLE_32_setresuid |
1254 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) | |
8f4f80e0 | 1255 | #endif |
f1e7d826 MD |
1256 | #ifndef OVERRIDE_TABLE_32_setresgid |
1257 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) | |
8f4f80e0 | 1258 | #endif |
f1e7d826 MD |
1259 | #ifndef OVERRIDE_TABLE_32_setuid |
1260 | TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) | |
8f4f80e0 | 1261 | #endif |
f1e7d826 MD |
1262 | #ifndef OVERRIDE_TABLE_32_setgid |
1263 | TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) | |
8f4f80e0 | 1264 | #endif |
f1e7d826 MD |
1265 | #ifndef OVERRIDE_TABLE_32_setfsuid |
1266 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) | |
8f4f80e0 | 1267 | #endif |
f1e7d826 MD |
1268 | #ifndef OVERRIDE_TABLE_32_setfsgid |
1269 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) | |
8f4f80e0 | 1270 | #endif |
f1e7d826 MD |
1271 | #ifndef OVERRIDE_TABLE_32_madvise |
1272 | TRACE_SYSCALL_TABLE(madvise, madvise, 220, 3) | |
8f4f80e0 | 1273 | #endif |
f1e7d826 MD |
1274 | #ifndef OVERRIDE_TABLE_32_fcntl64 |
1275 | TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) | |
8f4f80e0 | 1276 | #endif |
87b2af7b JG |
1277 | #ifndef OVERRIDE_TABLE_32_readahead |
1278 | TRACE_SYSCALL_TABLE(readahead, readahead, 225, 3) | |
1279 | #endif | |
f1e7d826 MD |
1280 | #ifndef OVERRIDE_TABLE_32_tkill |
1281 | TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) | |
8f4f80e0 | 1282 | #endif |
f1e7d826 MD |
1283 | #ifndef OVERRIDE_TABLE_32_io_destroy |
1284 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 244, 1) | |
8f4f80e0 | 1285 | #endif |
f1e7d826 MD |
1286 | #ifndef OVERRIDE_TABLE_32_exit_group |
1287 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 248, 1) | |
8f4f80e0 | 1288 | #endif |
f1e7d826 MD |
1289 | #ifndef OVERRIDE_TABLE_32_epoll_create |
1290 | TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 250, 1) | |
8f4f80e0 | 1291 | #endif |
f1e7d826 MD |
1292 | #ifndef OVERRIDE_TABLE_32_remap_file_pages |
1293 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 253, 5) | |
8f4f80e0 | 1294 | #endif |
f1e7d826 MD |
1295 | #ifndef OVERRIDE_TABLE_32_timer_getoverrun |
1296 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 260, 1) | |
8f4f80e0 | 1297 | #endif |
f1e7d826 MD |
1298 | #ifndef OVERRIDE_TABLE_32_timer_delete |
1299 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 261, 1) | |
8f4f80e0 | 1300 | #endif |
f1e7d826 MD |
1301 | #ifndef OVERRIDE_TABLE_32_tgkill |
1302 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 268, 3) | |
8f4f80e0 | 1303 | #endif |
87b2af7b JG |
1304 | #ifndef OVERRIDE_TABLE_32_fadvise64_64 |
1305 | TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 270, 4) | |
1306 | #endif | |
f1e7d826 MD |
1307 | #ifndef OVERRIDE_TABLE_32_socket |
1308 | TRACE_SYSCALL_TABLE(socket, socket, 281, 3) | |
8f4f80e0 | 1309 | #endif |
f1e7d826 MD |
1310 | #ifndef OVERRIDE_TABLE_32_listen |
1311 | TRACE_SYSCALL_TABLE(listen, listen, 284, 2) | |
8f4f80e0 | 1312 | #endif |
f1e7d826 MD |
1313 | #ifndef OVERRIDE_TABLE_32_shutdown |
1314 | TRACE_SYSCALL_TABLE(shutdown, shutdown, 293, 2) | |
8f4f80e0 | 1315 | #endif |
f1e7d826 MD |
1316 | #ifndef OVERRIDE_TABLE_32_semget |
1317 | TRACE_SYSCALL_TABLE(semget, semget, 299, 3) | |
8f4f80e0 | 1318 | #endif |
87b2af7b JG |
1319 | #ifndef OVERRIDE_TABLE_32_old_semctl |
1320 | TRACE_SYSCALL_TABLE(old_semctl, old_semctl, 300, 4) | |
1321 | #endif | |
f1e7d826 MD |
1322 | #ifndef OVERRIDE_TABLE_32_msgget |
1323 | TRACE_SYSCALL_TABLE(msgget, msgget, 303, 2) | |
8f4f80e0 | 1324 | #endif |
f1e7d826 MD |
1325 | #ifndef OVERRIDE_TABLE_32_shmget |
1326 | TRACE_SYSCALL_TABLE(shmget, shmget, 307, 3) | |
8f4f80e0 | 1327 | #endif |
f1e7d826 MD |
1328 | #ifndef OVERRIDE_TABLE_32_keyctl |
1329 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 311, 5) | |
8f4f80e0 | 1330 | #endif |
f1e7d826 MD |
1331 | #ifndef OVERRIDE_TABLE_32_ioprio_set |
1332 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 314, 3) | |
8f4f80e0 | 1333 | #endif |
f1e7d826 MD |
1334 | #ifndef OVERRIDE_TABLE_32_ioprio_get |
1335 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 315, 2) | |
8f4f80e0 | 1336 | #endif |
f1e7d826 MD |
1337 | #ifndef OVERRIDE_TABLE_32_inotify_rm_watch |
1338 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 318, 2) | |
8f4f80e0 | 1339 | #endif |
f1e7d826 MD |
1340 | #ifndef OVERRIDE_TABLE_32_unshare |
1341 | TRACE_SYSCALL_TABLE(unshare, unshare, 337, 1) | |
8f4f80e0 | 1342 | #endif |
87b2af7b JG |
1343 | #ifndef OVERRIDE_TABLE_32_sync_file_range2 |
1344 | TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4) | |
1345 | #endif | |
f1e7d826 MD |
1346 | #ifndef OVERRIDE_TABLE_32_tee |
1347 | TRACE_SYSCALL_TABLE(tee, tee, 342, 4) | |
8f4f80e0 | 1348 | #endif |
f1e7d826 MD |
1349 | #ifndef OVERRIDE_TABLE_32_timerfd_create |
1350 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 350, 2) | |
8f4f80e0 | 1351 | #endif |
f1e7d826 MD |
1352 | #ifndef OVERRIDE_TABLE_32_eventfd |
1353 | TRACE_SYSCALL_TABLE(eventfd, eventfd, 351, 1) | |
8f4f80e0 | 1354 | #endif |
87b2af7b JG |
1355 | #ifndef OVERRIDE_TABLE_32_fallocate |
1356 | TRACE_SYSCALL_TABLE(fallocate, fallocate, 352, 4) | |
1357 | #endif | |
f1e7d826 MD |
1358 | #ifndef OVERRIDE_TABLE_32_eventfd2 |
1359 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 356, 2) | |
8f4f80e0 | 1360 | #endif |
f1e7d826 MD |
1361 | #ifndef OVERRIDE_TABLE_32_epoll_create1 |
1362 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 357, 1) | |
8f4f80e0 | 1363 | #endif |
f1e7d826 MD |
1364 | #ifndef OVERRIDE_TABLE_32_dup3 |
1365 | TRACE_SYSCALL_TABLE(dup3, dup3, 358, 3) | |
8f4f80e0 | 1366 | #endif |
f1e7d826 MD |
1367 | #ifndef OVERRIDE_TABLE_32_inotify_init1 |
1368 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 360, 1) | |
8f4f80e0 | 1369 | #endif |
f1e7d826 MD |
1370 | #ifndef OVERRIDE_TABLE_32_fanotify_init |
1371 | TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 367, 2) | |
c974cc6e | 1372 | #endif |
f1e7d826 MD |
1373 | #ifndef OVERRIDE_TABLE_32_syncfs |
1374 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 373, 1) | |
c974cc6e | 1375 | #endif |
f1e7d826 MD |
1376 | #ifndef OVERRIDE_TABLE_32_setns |
1377 | TRACE_SYSCALL_TABLE(setns, setns, 375, 2) | |
c974cc6e | 1378 | #endif |
87b2af7b JG |
1379 | #ifndef OVERRIDE_TABLE_32_kcmp |
1380 | TRACE_SYSCALL_TABLE(kcmp, kcmp, 378, 5) | |
1381 | #endif | |
1382 | #ifndef OVERRIDE_TABLE_32_userfaultfd | |
1383 | TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 388, 1) | |
1384 | #endif | |
1385 | #ifndef OVERRIDE_TABLE_32_membarrier | |
1386 | TRACE_SYSCALL_TABLE(membarrier, membarrier, 389, 3) | |
1387 | #endif | |
1388 | #ifndef OVERRIDE_TABLE_32_mlock2 | |
1389 | TRACE_SYSCALL_TABLE(mlock2, mlock2, 390, 3) | |
1390 | #endif | |
1391 | #ifndef OVERRIDE_TABLE_32_fsmount | |
1392 | TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) | |
1393 | #endif | |
1394 | #ifndef OVERRIDE_TABLE_32_pidfd_open | |
1395 | TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) | |
1396 | #endif | |
1397 | #ifndef OVERRIDE_TABLE_32_close_range | |
1398 | TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) | |
1399 | #endif | |
1400 | #ifndef OVERRIDE_TABLE_32_pidfd_getfd | |
1401 | TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) | |
1402 | #endif | |
1403 | #ifndef OVERRIDE_TABLE_32_landlock_restrict_self | |
1404 | TRACE_SYSCALL_TABLE(landlock_restrict_self, landlock_restrict_self, 446, 2) | |
1405 | #endif | |
1406 | #ifndef OVERRIDE_TABLE_32_process_mrelease | |
1407 | TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) | |
1408 | #endif | |
8f4f80e0 RK |
1409 | |
1410 | #endif /* CREATE_SYSCALL_TABLE */ |