44847ea8a334d7a85a19c9b7c0ed3cda0f947e7d
[lttng-modules.git] / include / instrumentation / syscalls / headers / arm-32-syscalls_integers.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
2
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
4
5 /* Generated from arm-32-syscalls 6.0.7 */
6
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
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "arm-32-syscalls_integers_override.h"
15 #include "syscalls_integers_override.h"
16
17 #ifdef SC_ENTER
18 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
19 TP_FIELDS()
20 )
21 #ifndef OVERRIDE_32_restart_syscall
22 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
23 #endif
24 #ifndef OVERRIDE_32_fork
25 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork)
26 #endif
27 #ifndef OVERRIDE_32_getpid
28 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
29 #endif
30 #ifndef OVERRIDE_32_getuid16
31 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16)
32 #endif
33 #ifndef OVERRIDE_32_pause
34 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
35 #endif
36 #ifndef OVERRIDE_32_sync
37 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
38 #endif
39 #ifndef OVERRIDE_32_getgid16
40 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16)
41 #endif
42 #ifndef OVERRIDE_32_geteuid16
43 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16)
44 #endif
45 #ifndef OVERRIDE_32_getegid16
46 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16)
47 #endif
48 #ifndef OVERRIDE_32_getppid
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
50 #endif
51 #ifndef OVERRIDE_32_getpgrp
52 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
53 #endif
54 #ifndef OVERRIDE_32_setsid
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
56 #endif
57 #ifndef OVERRIDE_32_vhangup
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
59 #endif
60 #ifndef OVERRIDE_32_munlockall
61 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
62 #endif
63 #ifndef OVERRIDE_32_sched_yield
64 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
65 #endif
66 #ifndef OVERRIDE_32_vfork
67 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork)
68 #endif
69 #ifndef OVERRIDE_32_getuid
70 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
71 #endif
72 #ifndef OVERRIDE_32_getgid
73 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
74 #endif
75 #ifndef OVERRIDE_32_geteuid
76 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
77 #endif
78 #ifndef OVERRIDE_32_getegid
79 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
80 #endif
81 #ifndef OVERRIDE_32_gettid
82 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
83 #endif
84 #ifndef OVERRIDE_32_inotify_init
85 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
86 #endif
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)),
92 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
93 )
94 #endif
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
102 #ifndef OVERRIDE_32_getpid
103 SC_LTTNG_TRACEPOINT_EVENT(getpid,
104 TP_PROTO(sc_exit(long ret)),
105 TP_ARGS(sc_exit(ret)),
106 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
107 )
108 #endif
109 #ifndef OVERRIDE_32_getuid16
110 SC_LTTNG_TRACEPOINT_EVENT(getuid16,
111 TP_PROTO(sc_exit(long ret)),
112 TP_ARGS(sc_exit(ret)),
113 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
114 )
115 #endif
116 #ifndef OVERRIDE_32_pause
117 SC_LTTNG_TRACEPOINT_EVENT(pause,
118 TP_PROTO(sc_exit(long ret)),
119 TP_ARGS(sc_exit(ret)),
120 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
121 )
122 #endif
123 #ifndef OVERRIDE_32_sync
124 SC_LTTNG_TRACEPOINT_EVENT(sync,
125 TP_PROTO(sc_exit(long ret)),
126 TP_ARGS(sc_exit(ret)),
127 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
128 )
129 #endif
130 #ifndef OVERRIDE_32_getgid16
131 SC_LTTNG_TRACEPOINT_EVENT(getgid16,
132 TP_PROTO(sc_exit(long ret)),
133 TP_ARGS(sc_exit(ret)),
134 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
135 )
136 #endif
137 #ifndef OVERRIDE_32_geteuid16
138 SC_LTTNG_TRACEPOINT_EVENT(geteuid16,
139 TP_PROTO(sc_exit(long ret)),
140 TP_ARGS(sc_exit(ret)),
141 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
142 )
143 #endif
144 #ifndef OVERRIDE_32_getegid16
145 SC_LTTNG_TRACEPOINT_EVENT(getegid16,
146 TP_PROTO(sc_exit(long ret)),
147 TP_ARGS(sc_exit(ret)),
148 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
149 )
150 #endif
151 #ifndef OVERRIDE_32_getppid
152 SC_LTTNG_TRACEPOINT_EVENT(getppid,
153 TP_PROTO(sc_exit(long ret)),
154 TP_ARGS(sc_exit(ret)),
155 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
156 )
157 #endif
158 #ifndef OVERRIDE_32_getpgrp
159 SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
160 TP_PROTO(sc_exit(long ret)),
161 TP_ARGS(sc_exit(ret)),
162 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
163 )
164 #endif
165 #ifndef OVERRIDE_32_setsid
166 SC_LTTNG_TRACEPOINT_EVENT(setsid,
167 TP_PROTO(sc_exit(long ret)),
168 TP_ARGS(sc_exit(ret)),
169 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
170 )
171 #endif
172 #ifndef OVERRIDE_32_vhangup
173 SC_LTTNG_TRACEPOINT_EVENT(vhangup,
174 TP_PROTO(sc_exit(long ret)),
175 TP_ARGS(sc_exit(ret)),
176 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
177 )
178 #endif
179 #ifndef OVERRIDE_32_munlockall
180 SC_LTTNG_TRACEPOINT_EVENT(munlockall,
181 TP_PROTO(sc_exit(long ret)),
182 TP_ARGS(sc_exit(ret)),
183 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
184 )
185 #endif
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)),
190 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
191 )
192 #endif
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
200 #ifndef OVERRIDE_32_getuid
201 SC_LTTNG_TRACEPOINT_EVENT(getuid,
202 TP_PROTO(sc_exit(long ret)),
203 TP_ARGS(sc_exit(ret)),
204 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
205 )
206 #endif
207 #ifndef OVERRIDE_32_getgid
208 SC_LTTNG_TRACEPOINT_EVENT(getgid,
209 TP_PROTO(sc_exit(long ret)),
210 TP_ARGS(sc_exit(ret)),
211 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
212 )
213 #endif
214 #ifndef OVERRIDE_32_geteuid
215 SC_LTTNG_TRACEPOINT_EVENT(geteuid,
216 TP_PROTO(sc_exit(long ret)),
217 TP_ARGS(sc_exit(ret)),
218 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
219 )
220 #endif
221 #ifndef OVERRIDE_32_getegid
222 SC_LTTNG_TRACEPOINT_EVENT(getegid,
223 TP_PROTO(sc_exit(long ret)),
224 TP_ARGS(sc_exit(ret)),
225 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
226 )
227 #endif
228 #ifndef OVERRIDE_32_gettid
229 SC_LTTNG_TRACEPOINT_EVENT(gettid,
230 TP_PROTO(sc_exit(long ret)),
231 TP_ARGS(sc_exit(ret)),
232 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
233 )
234 #endif
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)),
239 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
240 )
241 #endif
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),
247 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
248 )
249 #endif
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),
254 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
255 )
256 #endif
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),
261 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid)))
262 )
263 #endif
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),
268 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment)))
269 )
270 #endif
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),
275 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes)))
276 )
277 #endif
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),
282 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk)))
283 )
284 #endif
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),
289 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid)))
290 )
291 #endif
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),
296 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask)))
297 )
298 #endif
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),
303 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
304 )
305 #endif
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),
310 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
311 )
312 #endif
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),
317 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
318 )
319 #endif
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),
324 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality)))
325 )
326 #endif
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),
331 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid)))
332 )
333 #endif
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),
338 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid)))
339 )
340 #endif
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),
345 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
346 )
347 #endif
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),
352 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
353 )
354 #endif
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),
359 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
360 )
361 #endif
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),
366 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
367 )
368 #endif
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),
373 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
374 )
375 #endif
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),
380 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
381 )
382 #endif
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),
387 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
388 )
389 #endif
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),
394 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
395 )
396 #endif
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),
401 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
402 )
403 #endif
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),
408 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
409 )
410 #endif
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),
415 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx)))
416 )
417 #endif
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),
422 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
423 )
424 #endif
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),
429 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size)))
430 )
431 #endif
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),
436 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
437 )
438 #endif
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),
443 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
444 )
445 #endif
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),
450 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags)))
451 )
452 #endif
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),
457 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)))
458 )
459 #endif
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),
464 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
465 )
466 #endif
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),
471 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
472 )
473 #endif
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),
478 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)))
479 )
480 #endif
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
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),
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)))
493 )
494 #endif
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),
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)))
500 )
501 #endif
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),
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)))
507 )
508 #endif
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),
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)))
514 )
515 #endif
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),
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)))
521 )
522 #endif
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),
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)))
528 )
529 #endif
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),
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)))
535 )
536 #endif
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),
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)))
542 )
543 #endif
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),
548 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
549 )
550 #endif
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),
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)))
556 )
557 #endif
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),
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)))
563 )
564 #endif
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),
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)))
570 )
571 #endif
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
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),
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)))
584 )
585 #endif
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),
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)))
591 )
592 #endif
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),
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)))
598 )
599 #endif
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),
604 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
605 )
606 #endif
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),
611 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
612 )
613 #endif
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),
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)))
619 )
620 #endif
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),
625 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
626 )
627 #endif
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),
632 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd)))
633 )
634 #endif
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),
639 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags)))
640 )
641 #endif
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),
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)))
647 )
648 #endif
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),
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)))
654 )
655 #endif
656 #ifndef OVERRIDE_32_setns
657 SC_LTTNG_TRACEPOINT_EVENT(setns,
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)))
682 )
683 #endif
684 #ifndef OVERRIDE_32_lseek
685 SC_LTTNG_TRACEPOINT_EVENT(lseek,
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)))
689 )
690 #endif
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),
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)))
696 )
697 #endif
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),
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)))
703 )
704 #endif
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
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),
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)))
717 )
718 #endif
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),
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)))
724 )
725 #endif
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),
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)))
731 )
732 #endif
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
787 )
788 #endif
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
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
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),
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)))
836 )
837 #endif
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
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),
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)))
878 )
879 #endif
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
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),
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)))
906 )
907 #endif
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
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),
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)))
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),
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)))
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),
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)))
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),
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)))
941 )
942 #endif
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
957
958 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
959
960 /* This part must be outside protection */
961 #include <lttng/define_trace.h>
962
963 #else /* CREATE_SYSCALL_TABLE */
964
965 #include "arm-32-syscalls_integers_override.h"
966 #include "syscalls_integers_override.h"
967
968 #ifdef SC_ENTER
969 #ifndef OVERRIDE_TABLE_32_restart_syscall
970 TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0)
971 #endif
972 #ifndef OVERRIDE_TABLE_32_fork
973 TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 0)
974 #endif
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
1014 #ifndef OVERRIDE_TABLE_32_vfork
1015 TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 0)
1016 #endif
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)
1038 #endif
1039 #ifndef OVERRIDE_TABLE_32_fork
1040 TRACE_SYSCALL_TABLE(fork, fork, 2, 0)
1041 #endif
1042 #ifndef OVERRIDE_TABLE_32_getpid
1043 TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0)
1044 #endif
1045 #ifndef OVERRIDE_TABLE_32_getuid16
1046 TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0)
1047 #endif
1048 #ifndef OVERRIDE_TABLE_32_pause
1049 TRACE_SYSCALL_TABLE(pause, pause, 29, 0)
1050 #endif
1051 #ifndef OVERRIDE_TABLE_32_sync
1052 TRACE_SYSCALL_TABLE(sync, sync, 36, 0)
1053 #endif
1054 #ifndef OVERRIDE_TABLE_32_getgid16
1055 TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0)
1056 #endif
1057 #ifndef OVERRIDE_TABLE_32_geteuid16
1058 TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0)
1059 #endif
1060 #ifndef OVERRIDE_TABLE_32_getegid16
1061 TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0)
1062 #endif
1063 #ifndef OVERRIDE_TABLE_32_getppid
1064 TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0)
1065 #endif
1066 #ifndef OVERRIDE_TABLE_32_getpgrp
1067 TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0)
1068 #endif
1069 #ifndef OVERRIDE_TABLE_32_setsid
1070 TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0)
1071 #endif
1072 #ifndef OVERRIDE_TABLE_32_vhangup
1073 TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0)
1074 #endif
1075 #ifndef OVERRIDE_TABLE_32_munlockall
1076 TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0)
1077 #endif
1078 #ifndef OVERRIDE_TABLE_32_sched_yield
1079 TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0)
1080 #endif
1081 #ifndef OVERRIDE_TABLE_32_vfork
1082 TRACE_SYSCALL_TABLE(vfork, vfork, 190, 0)
1083 #endif
1084 #ifndef OVERRIDE_TABLE_32_getuid
1085 TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0)
1086 #endif
1087 #ifndef OVERRIDE_TABLE_32_getgid
1088 TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0)
1089 #endif
1090 #ifndef OVERRIDE_TABLE_32_geteuid
1091 TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0)
1092 #endif
1093 #ifndef OVERRIDE_TABLE_32_getegid
1094 TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0)
1095 #endif
1096 #ifndef OVERRIDE_TABLE_32_gettid
1097 TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0)
1098 #endif
1099 #ifndef OVERRIDE_TABLE_32_inotify_init
1100 TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 316, 0)
1101 #endif
1102 #endif /* else #ifdef SC_ENTER */
1103 #ifndef OVERRIDE_TABLE_32_exit
1104 TRACE_SYSCALL_TABLE(exit, exit, 1, 1)
1105 #endif
1106 #ifndef OVERRIDE_TABLE_32_close
1107 TRACE_SYSCALL_TABLE(close, close, 6, 1)
1108 #endif
1109 #ifndef OVERRIDE_TABLE_32_lseek
1110 TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3)
1111 #endif
1112 #ifndef OVERRIDE_TABLE_32_setuid16
1113 TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1)
1114 #endif
1115 #ifndef OVERRIDE_TABLE_32_ptrace
1116 TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4)
1117 #endif
1118 #ifndef OVERRIDE_TABLE_32_nice
1119 TRACE_SYSCALL_TABLE(nice, nice, 34, 1)
1120 #endif
1121 #ifndef OVERRIDE_TABLE_32_kill
1122 TRACE_SYSCALL_TABLE(kill, kill, 37, 2)
1123 #endif
1124 #ifndef OVERRIDE_TABLE_32_dup
1125 TRACE_SYSCALL_TABLE(dup, dup, 41, 1)
1126 #endif
1127 #ifndef OVERRIDE_TABLE_32_brk
1128 TRACE_SYSCALL_TABLE(brk, brk, 45, 1)
1129 #endif
1130 #ifndef OVERRIDE_TABLE_32_setgid16
1131 TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1)
1132 #endif
1133 #ifndef OVERRIDE_TABLE_32_ioctl
1134 TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3)
1135 #endif
1136 #ifndef OVERRIDE_TABLE_32_fcntl
1137 TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3)
1138 #endif
1139 #ifndef OVERRIDE_TABLE_32_setpgid
1140 TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2)
1141 #endif
1142 #ifndef OVERRIDE_TABLE_32_umask
1143 TRACE_SYSCALL_TABLE(umask, umask, 60, 1)
1144 #endif
1145 #ifndef OVERRIDE_TABLE_32_dup2
1146 TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2)
1147 #endif
1148 #ifndef OVERRIDE_TABLE_32_setreuid16
1149 TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2)
1150 #endif
1151 #ifndef OVERRIDE_TABLE_32_setregid16
1152 TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2)
1153 #endif
1154 #ifndef OVERRIDE_TABLE_32_sigsuspend
1155 TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3)
1156 #endif
1157 #ifndef OVERRIDE_TABLE_32_munmap
1158 TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2)
1159 #endif
1160 #ifndef OVERRIDE_TABLE_32_ftruncate
1161 TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2)
1162 #endif
1163 #ifndef OVERRIDE_TABLE_32_fchmod
1164 TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2)
1165 #endif
1166 #ifndef OVERRIDE_TABLE_32_fchown16
1167 TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3)
1168 #endif
1169 #ifndef OVERRIDE_TABLE_32_getpriority
1170 TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2)
1171 #endif
1172 #ifndef OVERRIDE_TABLE_32_setpriority
1173 TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3)
1174 #endif
1175 #ifndef OVERRIDE_TABLE_32_fsync
1176 TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1)
1177 #endif
1178 #ifndef OVERRIDE_TABLE_32_mprotect
1179 TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3)
1180 #endif
1181 #ifndef OVERRIDE_TABLE_32_getpgid
1182 TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1)
1183 #endif
1184 #ifndef OVERRIDE_TABLE_32_fchdir
1185 TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1)
1186 #endif
1187 #ifndef OVERRIDE_TABLE_32_personality
1188 TRACE_SYSCALL_TABLE(personality, personality, 136, 1)
1189 #endif
1190 #ifndef OVERRIDE_TABLE_32_setfsuid16
1191 TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1)
1192 #endif
1193 #ifndef OVERRIDE_TABLE_32_setfsgid16
1194 TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1)
1195 #endif
1196 #ifndef OVERRIDE_TABLE_32_flock
1197 TRACE_SYSCALL_TABLE(flock, flock, 143, 2)
1198 #endif
1199 #ifndef OVERRIDE_TABLE_32_msync
1200 TRACE_SYSCALL_TABLE(msync, msync, 144, 3)
1201 #endif
1202 #ifndef OVERRIDE_TABLE_32_getsid
1203 TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1)
1204 #endif
1205 #ifndef OVERRIDE_TABLE_32_fdatasync
1206 TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1)
1207 #endif
1208 #ifndef OVERRIDE_TABLE_32_mlock
1209 TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2)
1210 #endif
1211 #ifndef OVERRIDE_TABLE_32_munlock
1212 TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2)
1213 #endif
1214 #ifndef OVERRIDE_TABLE_32_mlockall
1215 TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1)
1216 #endif
1217 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
1218 TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1)
1219 #endif
1220 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
1221 TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1)
1222 #endif
1223 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
1224 TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1)
1225 #endif
1226 #ifndef OVERRIDE_TABLE_32_mremap
1227 TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5)
1228 #endif
1229 #ifndef OVERRIDE_TABLE_32_setresuid16
1230 TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3)
1231 #endif
1232 #ifndef OVERRIDE_TABLE_32_setresgid16
1233 TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3)
1234 #endif
1235 #ifndef OVERRIDE_TABLE_32_prctl
1236 TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5)
1237 #endif
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
1244 #ifndef OVERRIDE_TABLE_32_setreuid
1245 TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2)
1246 #endif
1247 #ifndef OVERRIDE_TABLE_32_setregid
1248 TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2)
1249 #endif
1250 #ifndef OVERRIDE_TABLE_32_fchown
1251 TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3)
1252 #endif
1253 #ifndef OVERRIDE_TABLE_32_setresuid
1254 TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3)
1255 #endif
1256 #ifndef OVERRIDE_TABLE_32_setresgid
1257 TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3)
1258 #endif
1259 #ifndef OVERRIDE_TABLE_32_setuid
1260 TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1)
1261 #endif
1262 #ifndef OVERRIDE_TABLE_32_setgid
1263 TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1)
1264 #endif
1265 #ifndef OVERRIDE_TABLE_32_setfsuid
1266 TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1)
1267 #endif
1268 #ifndef OVERRIDE_TABLE_32_setfsgid
1269 TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1)
1270 #endif
1271 #ifndef OVERRIDE_TABLE_32_madvise
1272 TRACE_SYSCALL_TABLE(madvise, madvise, 220, 3)
1273 #endif
1274 #ifndef OVERRIDE_TABLE_32_fcntl64
1275 TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3)
1276 #endif
1277 #ifndef OVERRIDE_TABLE_32_readahead
1278 TRACE_SYSCALL_TABLE(readahead, readahead, 225, 3)
1279 #endif
1280 #ifndef OVERRIDE_TABLE_32_tkill
1281 TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2)
1282 #endif
1283 #ifndef OVERRIDE_TABLE_32_io_destroy
1284 TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 244, 1)
1285 #endif
1286 #ifndef OVERRIDE_TABLE_32_exit_group
1287 TRACE_SYSCALL_TABLE(exit_group, exit_group, 248, 1)
1288 #endif
1289 #ifndef OVERRIDE_TABLE_32_epoll_create
1290 TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 250, 1)
1291 #endif
1292 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1293 TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 253, 5)
1294 #endif
1295 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1296 TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 260, 1)
1297 #endif
1298 #ifndef OVERRIDE_TABLE_32_timer_delete
1299 TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 261, 1)
1300 #endif
1301 #ifndef OVERRIDE_TABLE_32_tgkill
1302 TRACE_SYSCALL_TABLE(tgkill, tgkill, 268, 3)
1303 #endif
1304 #ifndef OVERRIDE_TABLE_32_fadvise64_64
1305 TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 270, 4)
1306 #endif
1307 #ifndef OVERRIDE_TABLE_32_socket
1308 TRACE_SYSCALL_TABLE(socket, socket, 281, 3)
1309 #endif
1310 #ifndef OVERRIDE_TABLE_32_listen
1311 TRACE_SYSCALL_TABLE(listen, listen, 284, 2)
1312 #endif
1313 #ifndef OVERRIDE_TABLE_32_shutdown
1314 TRACE_SYSCALL_TABLE(shutdown, shutdown, 293, 2)
1315 #endif
1316 #ifndef OVERRIDE_TABLE_32_semget
1317 TRACE_SYSCALL_TABLE(semget, semget, 299, 3)
1318 #endif
1319 #ifndef OVERRIDE_TABLE_32_old_semctl
1320 TRACE_SYSCALL_TABLE(old_semctl, old_semctl, 300, 4)
1321 #endif
1322 #ifndef OVERRIDE_TABLE_32_msgget
1323 TRACE_SYSCALL_TABLE(msgget, msgget, 303, 2)
1324 #endif
1325 #ifndef OVERRIDE_TABLE_32_shmget
1326 TRACE_SYSCALL_TABLE(shmget, shmget, 307, 3)
1327 #endif
1328 #ifndef OVERRIDE_TABLE_32_keyctl
1329 TRACE_SYSCALL_TABLE(keyctl, keyctl, 311, 5)
1330 #endif
1331 #ifndef OVERRIDE_TABLE_32_ioprio_set
1332 TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 314, 3)
1333 #endif
1334 #ifndef OVERRIDE_TABLE_32_ioprio_get
1335 TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 315, 2)
1336 #endif
1337 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1338 TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 318, 2)
1339 #endif
1340 #ifndef OVERRIDE_TABLE_32_unshare
1341 TRACE_SYSCALL_TABLE(unshare, unshare, 337, 1)
1342 #endif
1343 #ifndef OVERRIDE_TABLE_32_sync_file_range2
1344 TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4)
1345 #endif
1346 #ifndef OVERRIDE_TABLE_32_tee
1347 TRACE_SYSCALL_TABLE(tee, tee, 342, 4)
1348 #endif
1349 #ifndef OVERRIDE_TABLE_32_timerfd_create
1350 TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 350, 2)
1351 #endif
1352 #ifndef OVERRIDE_TABLE_32_eventfd
1353 TRACE_SYSCALL_TABLE(eventfd, eventfd, 351, 1)
1354 #endif
1355 #ifndef OVERRIDE_TABLE_32_fallocate
1356 TRACE_SYSCALL_TABLE(fallocate, fallocate, 352, 4)
1357 #endif
1358 #ifndef OVERRIDE_TABLE_32_eventfd2
1359 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 356, 2)
1360 #endif
1361 #ifndef OVERRIDE_TABLE_32_epoll_create1
1362 TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 357, 1)
1363 #endif
1364 #ifndef OVERRIDE_TABLE_32_dup3
1365 TRACE_SYSCALL_TABLE(dup3, dup3, 358, 3)
1366 #endif
1367 #ifndef OVERRIDE_TABLE_32_inotify_init1
1368 TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 360, 1)
1369 #endif
1370 #ifndef OVERRIDE_TABLE_32_fanotify_init
1371 TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 367, 2)
1372 #endif
1373 #ifndef OVERRIDE_TABLE_32_syncfs
1374 TRACE_SYSCALL_TABLE(syncfs, syncfs, 373, 1)
1375 #endif
1376 #ifndef OVERRIDE_TABLE_32_setns
1377 TRACE_SYSCALL_TABLE(setns, setns, 375, 2)
1378 #endif
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
1409
1410 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.110773 seconds and 3 git commands to generate.