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