1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
5 /* Generated from mips-32-syscalls 3.18.0 */
7 #ifndef CREATE_SYSCALL_TABLE
9 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_INTEGERS_H
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "mips-32-syscalls_integers_override.h"
15 #include "syscalls_integers_override.h"
18 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
21 #ifndef OVERRIDE_32_getpid
22 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
24 #ifndef OVERRIDE_32_getuid
25 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
27 #ifndef OVERRIDE_32_pause
28 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
30 #ifndef OVERRIDE_32_sync
31 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
33 #ifndef OVERRIDE_32_getgid
34 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
36 #ifndef OVERRIDE_32_geteuid
37 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
39 #ifndef OVERRIDE_32_getegid
40 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
42 #ifndef OVERRIDE_32_getppid
43 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
45 #ifndef OVERRIDE_32_getpgrp
46 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
48 #ifndef OVERRIDE_32_setsid
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
51 #ifndef OVERRIDE_32_vhangup
52 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
54 #ifndef OVERRIDE_32_munlockall
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
57 #ifndef OVERRIDE_32_sched_yield
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
60 #ifndef OVERRIDE_32_gettid
61 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
63 #ifndef OVERRIDE_32_restart_syscall
64 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
66 #ifndef OVERRIDE_32_inotify_init
67 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
69 #else /* #ifdef SC_ENTER */
70 #ifndef OVERRIDE_32_getpid
71 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
72 TP_PROTO(sc_exit(long ret
)),
73 TP_ARGS(sc_exit(ret
)),
74 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
77 #ifndef OVERRIDE_32_getuid
78 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
79 TP_PROTO(sc_exit(long ret
)),
80 TP_ARGS(sc_exit(ret
)),
81 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
84 #ifndef OVERRIDE_32_pause
85 SC_LTTNG_TRACEPOINT_EVENT(pause
,
86 TP_PROTO(sc_exit(long ret
)),
87 TP_ARGS(sc_exit(ret
)),
88 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
91 #ifndef OVERRIDE_32_sync
92 SC_LTTNG_TRACEPOINT_EVENT(sync
,
93 TP_PROTO(sc_exit(long ret
)),
94 TP_ARGS(sc_exit(ret
)),
95 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
98 #ifndef OVERRIDE_32_getgid
99 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
100 TP_PROTO(sc_exit(long ret
)),
101 TP_ARGS(sc_exit(ret
)),
102 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
105 #ifndef OVERRIDE_32_geteuid
106 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
107 TP_PROTO(sc_exit(long ret
)),
108 TP_ARGS(sc_exit(ret
)),
109 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
112 #ifndef OVERRIDE_32_getegid
113 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
114 TP_PROTO(sc_exit(long ret
)),
115 TP_ARGS(sc_exit(ret
)),
116 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
119 #ifndef OVERRIDE_32_getppid
120 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
121 TP_PROTO(sc_exit(long ret
)),
122 TP_ARGS(sc_exit(ret
)),
123 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
126 #ifndef OVERRIDE_32_getpgrp
127 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
128 TP_PROTO(sc_exit(long ret
)),
129 TP_ARGS(sc_exit(ret
)),
130 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
133 #ifndef OVERRIDE_32_setsid
134 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
135 TP_PROTO(sc_exit(long ret
)),
136 TP_ARGS(sc_exit(ret
)),
137 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
140 #ifndef OVERRIDE_32_vhangup
141 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
142 TP_PROTO(sc_exit(long ret
)),
143 TP_ARGS(sc_exit(ret
)),
144 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
147 #ifndef OVERRIDE_32_munlockall
148 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
149 TP_PROTO(sc_exit(long ret
)),
150 TP_ARGS(sc_exit(ret
)),
151 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
154 #ifndef OVERRIDE_32_sched_yield
155 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
156 TP_PROTO(sc_exit(long ret
)),
157 TP_ARGS(sc_exit(ret
)),
158 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
161 #ifndef OVERRIDE_32_gettid
162 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
163 TP_PROTO(sc_exit(long ret
)),
164 TP_ARGS(sc_exit(ret
)),
165 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
168 #ifndef OVERRIDE_32_restart_syscall
169 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
170 TP_PROTO(sc_exit(long ret
)),
171 TP_ARGS(sc_exit(ret
)),
172 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
175 #ifndef OVERRIDE_32_inotify_init
176 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
177 TP_PROTO(sc_exit(long ret
)),
178 TP_ARGS(sc_exit(ret
)),
179 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
182 #endif /* else #ifdef SC_ENTER */
183 #ifndef OVERRIDE_32_exit
184 SC_LTTNG_TRACEPOINT_EVENT(exit
,
185 TP_PROTO(sc_exit(long ret
,) int error_code
),
186 TP_ARGS(sc_exit(ret
,) error_code
),
187 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
190 #ifndef OVERRIDE_32_close
191 SC_LTTNG_TRACEPOINT_EVENT(close
,
192 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
193 TP_ARGS(sc_exit(ret
,) fd
),
194 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
197 #ifndef OVERRIDE_32_setuid
198 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
199 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
200 TP_ARGS(sc_exit(ret
,) uid
),
201 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
204 #ifndef OVERRIDE_32_alarm
205 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
206 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
207 TP_ARGS(sc_exit(ret
,) seconds
),
208 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
211 #ifndef OVERRIDE_32_nice
212 SC_LTTNG_TRACEPOINT_EVENT(nice
,
213 TP_PROTO(sc_exit(long ret
,) int increment
),
214 TP_ARGS(sc_exit(ret
,) increment
),
215 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, increment
, increment
)))
218 #ifndef OVERRIDE_32_dup
219 SC_LTTNG_TRACEPOINT_EVENT(dup
,
220 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
221 TP_ARGS(sc_exit(ret
,) fildes
),
222 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
225 #ifndef OVERRIDE_32_brk
226 SC_LTTNG_TRACEPOINT_EVENT(brk
,
227 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
228 TP_ARGS(sc_exit(ret
,) brk
),
229 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
232 #ifndef OVERRIDE_32_setgid
233 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
234 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
235 TP_ARGS(sc_exit(ret
,) gid
),
236 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
239 #ifndef OVERRIDE_32_umask
240 SC_LTTNG_TRACEPOINT_EVENT(umask
,
241 TP_PROTO(sc_exit(long ret
,) int mask
),
242 TP_ARGS(sc_exit(ret
,) mask
),
243 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
246 #ifndef OVERRIDE_32_fsync
247 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
248 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
249 TP_ARGS(sc_exit(ret
,) fd
),
250 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
253 #ifndef OVERRIDE_32_getpgid
254 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
255 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
256 TP_ARGS(sc_exit(ret
,) pid
),
257 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
260 #ifndef OVERRIDE_32_fchdir
261 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
262 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
263 TP_ARGS(sc_exit(ret
,) fd
),
264 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
267 #ifndef OVERRIDE_32_personality
268 SC_LTTNG_TRACEPOINT_EVENT(personality
,
269 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
270 TP_ARGS(sc_exit(ret
,) personality
),
271 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
274 #ifndef OVERRIDE_32_setfsuid
275 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
276 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
277 TP_ARGS(sc_exit(ret
,) uid
),
278 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
281 #ifndef OVERRIDE_32_setfsgid
282 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
283 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
284 TP_ARGS(sc_exit(ret
,) gid
),
285 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
288 #ifndef OVERRIDE_32_getsid
289 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
290 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
291 TP_ARGS(sc_exit(ret
,) pid
),
292 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
295 #ifndef OVERRIDE_32_fdatasync
296 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
297 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
298 TP_ARGS(sc_exit(ret
,) fd
),
299 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
302 #ifndef OVERRIDE_32_mlockall
303 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
304 TP_PROTO(sc_exit(long ret
,) int flags
),
305 TP_ARGS(sc_exit(ret
,) flags
),
306 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
309 #ifndef OVERRIDE_32_sched_getscheduler
310 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
311 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
312 TP_ARGS(sc_exit(ret
,) pid
),
313 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
316 #ifndef OVERRIDE_32_sched_get_priority_max
317 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
318 TP_PROTO(sc_exit(long ret
,) int policy
),
319 TP_ARGS(sc_exit(ret
,) policy
),
320 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
323 #ifndef OVERRIDE_32_sched_get_priority_min
324 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
325 TP_PROTO(sc_exit(long ret
,) int policy
),
326 TP_ARGS(sc_exit(ret
,) policy
),
327 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
330 #ifndef OVERRIDE_32_io_destroy
331 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
332 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
333 TP_ARGS(sc_exit(ret
,) ctx
),
334 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
337 #ifndef OVERRIDE_32_exit_group
338 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
339 TP_PROTO(sc_exit(long ret
,) int error_code
),
340 TP_ARGS(sc_exit(ret
,) error_code
),
341 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
344 #ifndef OVERRIDE_32_epoll_create
345 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
346 TP_PROTO(sc_exit(long ret
,) int size
),
347 TP_ARGS(sc_exit(ret
,) size
),
348 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
351 #ifndef OVERRIDE_32_timer_getoverrun
352 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
353 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
354 TP_ARGS(sc_exit(ret
,) timer_id
),
355 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
358 #ifndef OVERRIDE_32_timer_delete
359 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
360 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
361 TP_ARGS(sc_exit(ret
,) timer_id
),
362 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
365 #ifndef OVERRIDE_32_set_thread_area
366 SC_LTTNG_TRACEPOINT_EVENT(set_thread_area
,
367 TP_PROTO(sc_exit(long ret
,) unsigned long addr
),
368 TP_ARGS(sc_exit(ret
,) addr
),
369 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)))
372 #ifndef OVERRIDE_32_unshare
373 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
374 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
375 TP_ARGS(sc_exit(ret
,) unshare_flags
),
376 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
379 #ifndef OVERRIDE_32_eventfd
380 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
381 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
382 TP_ARGS(sc_exit(ret
,) count
),
383 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
386 #ifndef OVERRIDE_32_epoll_create1
387 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
388 TP_PROTO(sc_exit(long ret
,) int flags
),
389 TP_ARGS(sc_exit(ret
,) flags
),
390 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
393 #ifndef OVERRIDE_32_inotify_init1
394 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
395 TP_PROTO(sc_exit(long ret
,) int flags
),
396 TP_ARGS(sc_exit(ret
,) flags
),
397 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
400 #ifndef OVERRIDE_32_syncfs
401 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
402 TP_PROTO(sc_exit(long ret
,) int fd
),
403 TP_ARGS(sc_exit(ret
,) fd
),
404 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
407 #ifndef OVERRIDE_32_kill
408 SC_LTTNG_TRACEPOINT_EVENT(kill
,
409 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
410 TP_ARGS(sc_exit(ret
,) pid
, sig
),
411 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
414 #ifndef OVERRIDE_32_setpgid
415 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
416 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
417 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
418 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
)))
421 #ifndef OVERRIDE_32_dup2
422 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
423 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
424 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
425 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
)))
428 #ifndef OVERRIDE_32_setreuid
429 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
430 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
431 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
432 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
)))
435 #ifndef OVERRIDE_32_setregid
436 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
437 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
438 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
439 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
)))
442 #ifndef OVERRIDE_32_munmap
443 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
444 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
445 TP_ARGS(sc_exit(ret
,) addr
, len
),
446 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
)))
449 #ifndef OVERRIDE_32_ftruncate
450 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
451 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
452 TP_ARGS(sc_exit(ret
,) fd
, length
),
453 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
)))
456 #ifndef OVERRIDE_32_fchmod
457 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
458 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
459 TP_ARGS(sc_exit(ret
,) fd
, mode
),
460 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
)))
463 #ifndef OVERRIDE_32_getpriority
464 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
465 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
466 TP_ARGS(sc_exit(ret
,) which
, who
),
467 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
470 #ifndef OVERRIDE_32_bdflush
471 SC_LTTNG_TRACEPOINT_EVENT(bdflush
,
472 TP_PROTO(sc_exit(long ret
,) int func
, long data
),
473 TP_ARGS(sc_exit(ret
,) func
, data
),
474 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, func
, func
)) sc_inout(ctf_integer(long, data
, data
)))
477 #ifndef OVERRIDE_32_flock
478 SC_LTTNG_TRACEPOINT_EVENT(flock
,
479 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
480 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
481 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
)))
484 #ifndef OVERRIDE_32_mlock
485 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
486 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
487 TP_ARGS(sc_exit(ret
,) start
, len
),
488 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
)))
491 #ifndef OVERRIDE_32_munlock
492 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
493 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
494 TP_ARGS(sc_exit(ret
,) start
, len
),
495 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
)))
498 #ifndef OVERRIDE_32_listen
499 SC_LTTNG_TRACEPOINT_EVENT(listen
,
500 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
501 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
502 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
505 #ifndef OVERRIDE_32_shutdown
506 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
507 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
508 TP_ARGS(sc_exit(ret
,) fd
, how
),
509 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
512 #ifndef OVERRIDE_32_ftruncate64
513 SC_LTTNG_TRACEPOINT_EVENT(ftruncate64
,
514 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, loff_t length
),
515 TP_ARGS(sc_exit(ret
,) fd
, length
),
516 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(loff_t
, length
, length
)))
519 #ifndef OVERRIDE_32_tkill
520 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
521 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
522 TP_ARGS(sc_exit(ret
,) pid
, sig
),
523 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
526 #ifndef OVERRIDE_32_inotify_rm_watch
527 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
528 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
529 TP_ARGS(sc_exit(ret
,) fd
, wd
),
530 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
533 #ifndef OVERRIDE_32_ioprio_get
534 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
535 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
536 TP_ARGS(sc_exit(ret
,) which
, who
),
537 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
540 #ifndef OVERRIDE_32_timerfd_create
541 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
542 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
543 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
544 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
547 #ifndef OVERRIDE_32_eventfd2
548 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
549 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
550 TP_ARGS(sc_exit(ret
,) count
, flags
),
551 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
554 #ifndef OVERRIDE_32_setns
555 SC_LTTNG_TRACEPOINT_EVENT(setns
,
556 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
557 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
558 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
561 #ifndef OVERRIDE_32_lseek
562 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
563 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
564 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
565 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
)))
568 #ifndef OVERRIDE_32_ioctl
569 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
570 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
571 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
572 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
)))
575 #ifndef OVERRIDE_32_fcntl
576 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
577 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
578 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
579 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
)))
582 #ifndef OVERRIDE_32_fchown
583 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
584 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
585 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
586 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
)))
589 #ifndef OVERRIDE_32_setpriority
590 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
591 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
592 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
593 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
)))
596 #ifndef OVERRIDE_32_mprotect
597 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
598 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
599 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
600 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
)))
603 #ifndef OVERRIDE_32_msync
604 SC_LTTNG_TRACEPOINT_EVENT(msync
,
605 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
606 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
607 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
)))
610 #ifndef OVERRIDE_32_cacheflush
611 SC_LTTNG_TRACEPOINT_EVENT(cacheflush
,
612 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long bytes
, unsigned int cache
),
613 TP_ARGS(sc_exit(ret
,) addr
, bytes
, cache
),
614 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)) sc_inout(ctf_integer(unsigned long, bytes
, bytes
)) sc_inout(ctf_integer(unsigned int, cache
, cache
)))
617 #ifndef OVERRIDE_32_sysmips
618 SC_LTTNG_TRACEPOINT_EVENT(sysmips
,
619 TP_PROTO(sc_exit(long ret
,) long cmd
, long arg1
, long arg2
),
620 TP_ARGS(sc_exit(ret
,) cmd
, arg1
, arg2
),
621 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(long, cmd
, cmd
)) sc_inout(ctf_integer(long, arg1
, arg1
)) sc_inout(ctf_integer(long, arg2
, arg2
)))
624 #ifndef OVERRIDE_32_socket
625 SC_LTTNG_TRACEPOINT_EVENT(socket
,
626 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
627 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
628 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
)))
631 #ifndef OVERRIDE_32_setresuid
632 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
633 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
634 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
635 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
)))
638 #ifndef OVERRIDE_32_setresgid
639 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
640 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
641 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
642 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
)))
645 #ifndef OVERRIDE_32_madvise
646 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
647 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
648 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
649 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
)))
652 #ifndef OVERRIDE_32_fcntl64
653 SC_LTTNG_TRACEPOINT_EVENT(fcntl64
,
654 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
655 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
656 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
)))
659 #ifndef OVERRIDE_32_readahead
660 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
661 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
662 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
663 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
)))
666 #ifndef OVERRIDE_32_tgkill
667 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
668 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
669 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
670 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
)))
673 #ifndef OVERRIDE_32_ioprio_set
674 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
675 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
676 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
677 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
)))
680 #ifndef OVERRIDE_32_dup3
681 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
682 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
683 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
684 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
)))
687 #ifndef OVERRIDE_32_ptrace
688 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
689 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
690 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
691 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
)))
694 #ifndef OVERRIDE_32_fadvise64_64
695 SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64
,
696 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t len
, int advice
),
697 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
698 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, fd
, fd
)) sc_inout(ctf_integer(loff_t
, offset
, offset
)) sc_inout(ctf_integer(loff_t
, len
, len
)) sc_inout(ctf_integer(int, advice
, advice
)))
701 #ifndef OVERRIDE_32_sync_file_range
702 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
703 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
704 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
705 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
, nbytes
, nbytes
)) sc_in(ctf_integer(unsigned int, flags
, flags
)))
708 #ifndef OVERRIDE_32_tee
709 SC_LTTNG_TRACEPOINT_EVENT(tee
,
710 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
711 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
712 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
)))
715 #ifndef OVERRIDE_32_fallocate
716 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
717 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
718 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
719 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
)))
722 #ifndef OVERRIDE_32_mremap
723 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
724 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
725 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
726 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
)))
729 #ifndef OVERRIDE_32_prctl
730 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
731 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
732 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
733 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
)))
736 #ifndef OVERRIDE_32_remap_file_pages
737 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
738 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
739 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
740 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
)))
743 #ifndef OVERRIDE_32_mmap
744 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
745 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, off_t offset
),
746 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, offset
),
747 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, addr
, addr
)) sc_in(ctf_integer(unsigned long, len
, len
)) sc_in(ctf_integer(unsigned long, prot
, prot
)) sc_in(ctf_integer(unsigned long, flags
, flags
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_in(ctf_integer(off_t
, offset
, offset
)))
750 #ifndef OVERRIDE_32_mips_mmap2
751 SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2
,
752 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long pgoff
),
753 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, pgoff
),
754 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
)))
758 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
760 /* This part must be outside protection */
761 #include <lttng/define_trace.h>
763 #else /* CREATE_SYSCALL_TABLE */
765 #include "mips-32-syscalls_integers_override.h"
766 #include "syscalls_integers_override.h"
769 #ifndef OVERRIDE_TABLE_32_getpid
770 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 4020, 0)
772 #ifndef OVERRIDE_TABLE_32_getuid
773 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 4024, 0)
775 #ifndef OVERRIDE_TABLE_32_pause
776 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 4029, 0)
778 #ifndef OVERRIDE_TABLE_32_sync
779 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 4036, 0)
781 #ifndef OVERRIDE_TABLE_32_getgid
782 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 4047, 0)
784 #ifndef OVERRIDE_TABLE_32_geteuid
785 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 4049, 0)
787 #ifndef OVERRIDE_TABLE_32_getegid
788 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 4050, 0)
790 #ifndef OVERRIDE_TABLE_32_getppid
791 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 4064, 0)
793 #ifndef OVERRIDE_TABLE_32_getpgrp
794 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 4065, 0)
796 #ifndef OVERRIDE_TABLE_32_setsid
797 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 4066, 0)
799 #ifndef OVERRIDE_TABLE_32_vhangup
800 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 4111, 0)
802 #ifndef OVERRIDE_TABLE_32_munlockall
803 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 4157, 0)
805 #ifndef OVERRIDE_TABLE_32_sched_yield
806 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 4162, 0)
808 #ifndef OVERRIDE_TABLE_32_gettid
809 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 4222, 0)
811 #ifndef OVERRIDE_TABLE_32_restart_syscall
812 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 4253, 0)
814 #ifndef OVERRIDE_TABLE_32_inotify_init
815 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 4284, 0)
817 #else /* #ifdef SC_ENTER */
818 #ifndef OVERRIDE_TABLE_32_getpid
819 TRACE_SYSCALL_TABLE(getpid
, getpid
, 4020, 0)
821 #ifndef OVERRIDE_TABLE_32_getuid
822 TRACE_SYSCALL_TABLE(getuid
, getuid
, 4024, 0)
824 #ifndef OVERRIDE_TABLE_32_pause
825 TRACE_SYSCALL_TABLE(pause
, pause
, 4029, 0)
827 #ifndef OVERRIDE_TABLE_32_sync
828 TRACE_SYSCALL_TABLE(sync
, sync
, 4036, 0)
830 #ifndef OVERRIDE_TABLE_32_getgid
831 TRACE_SYSCALL_TABLE(getgid
, getgid
, 4047, 0)
833 #ifndef OVERRIDE_TABLE_32_geteuid
834 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 4049, 0)
836 #ifndef OVERRIDE_TABLE_32_getegid
837 TRACE_SYSCALL_TABLE(getegid
, getegid
, 4050, 0)
839 #ifndef OVERRIDE_TABLE_32_getppid
840 TRACE_SYSCALL_TABLE(getppid
, getppid
, 4064, 0)
842 #ifndef OVERRIDE_TABLE_32_getpgrp
843 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 4065, 0)
845 #ifndef OVERRIDE_TABLE_32_setsid
846 TRACE_SYSCALL_TABLE(setsid
, setsid
, 4066, 0)
848 #ifndef OVERRIDE_TABLE_32_vhangup
849 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 4111, 0)
851 #ifndef OVERRIDE_TABLE_32_munlockall
852 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 4157, 0)
854 #ifndef OVERRIDE_TABLE_32_sched_yield
855 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 4162, 0)
857 #ifndef OVERRIDE_TABLE_32_gettid
858 TRACE_SYSCALL_TABLE(gettid
, gettid
, 4222, 0)
860 #ifndef OVERRIDE_TABLE_32_restart_syscall
861 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 4253, 0)
863 #ifndef OVERRIDE_TABLE_32_inotify_init
864 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 4284, 0)
866 #endif /* else #ifdef SC_ENTER */
867 #ifndef OVERRIDE_TABLE_32_exit
868 TRACE_SYSCALL_TABLE(exit
, exit
, 4001, 1)
870 #ifndef OVERRIDE_TABLE_32_close
871 TRACE_SYSCALL_TABLE(close
, close
, 4006, 1)
873 #ifndef OVERRIDE_TABLE_32_lseek
874 TRACE_SYSCALL_TABLE(lseek
, lseek
, 4019, 3)
876 #ifndef OVERRIDE_TABLE_32_setuid
877 TRACE_SYSCALL_TABLE(setuid
, setuid
, 4023, 1)
879 #ifndef OVERRIDE_TABLE_32_ptrace
880 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 4026, 4)
882 #ifndef OVERRIDE_TABLE_32_alarm
883 TRACE_SYSCALL_TABLE(alarm
, alarm
, 4027, 1)
885 #ifndef OVERRIDE_TABLE_32_nice
886 TRACE_SYSCALL_TABLE(nice
, nice
, 4034, 1)
888 #ifndef OVERRIDE_TABLE_32_kill
889 TRACE_SYSCALL_TABLE(kill
, kill
, 4037, 2)
891 #ifndef OVERRIDE_TABLE_32_dup
892 TRACE_SYSCALL_TABLE(dup
, dup
, 4041, 1)
894 #ifndef OVERRIDE_TABLE_32_brk
895 TRACE_SYSCALL_TABLE(brk
, brk
, 4045, 1)
897 #ifndef OVERRIDE_TABLE_32_setgid
898 TRACE_SYSCALL_TABLE(setgid
, setgid
, 4046, 1)
900 #ifndef OVERRIDE_TABLE_32_ioctl
901 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 4054, 3)
903 #ifndef OVERRIDE_TABLE_32_fcntl
904 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 4055, 3)
906 #ifndef OVERRIDE_TABLE_32_setpgid
907 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 4057, 2)
909 #ifndef OVERRIDE_TABLE_32_umask
910 TRACE_SYSCALL_TABLE(umask
, umask
, 4060, 1)
912 #ifndef OVERRIDE_TABLE_32_dup2
913 TRACE_SYSCALL_TABLE(dup2
, dup2
, 4063, 2)
915 #ifndef OVERRIDE_TABLE_32_setreuid
916 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 4070, 2)
918 #ifndef OVERRIDE_TABLE_32_setregid
919 TRACE_SYSCALL_TABLE(setregid
, setregid
, 4071, 2)
921 #ifndef OVERRIDE_TABLE_32_mmap
922 TRACE_SYSCALL_TABLE(mmap
, mmap
, 4090, 6)
924 #ifndef OVERRIDE_TABLE_32_munmap
925 TRACE_SYSCALL_TABLE(munmap
, munmap
, 4091, 2)
927 #ifndef OVERRIDE_TABLE_32_ftruncate
928 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 4093, 2)
930 #ifndef OVERRIDE_TABLE_32_fchmod
931 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 4094, 2)
933 #ifndef OVERRIDE_TABLE_32_fchown
934 TRACE_SYSCALL_TABLE(fchown
, fchown
, 4095, 3)
936 #ifndef OVERRIDE_TABLE_32_getpriority
937 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 4096, 2)
939 #ifndef OVERRIDE_TABLE_32_setpriority
940 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 4097, 3)
942 #ifndef OVERRIDE_TABLE_32_fsync
943 TRACE_SYSCALL_TABLE(fsync
, fsync
, 4118, 1)
945 #ifndef OVERRIDE_TABLE_32_mprotect
946 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 4125, 3)
948 #ifndef OVERRIDE_TABLE_32_getpgid
949 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 4132, 1)
951 #ifndef OVERRIDE_TABLE_32_fchdir
952 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 4133, 1)
954 #ifndef OVERRIDE_TABLE_32_bdflush
955 TRACE_SYSCALL_TABLE(bdflush
, bdflush
, 4134, 2)
957 #ifndef OVERRIDE_TABLE_32_personality
958 TRACE_SYSCALL_TABLE(personality
, personality
, 4136, 1)
960 #ifndef OVERRIDE_TABLE_32_setfsuid
961 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 4138, 1)
963 #ifndef OVERRIDE_TABLE_32_setfsgid
964 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 4139, 1)
966 #ifndef OVERRIDE_TABLE_32_flock
967 TRACE_SYSCALL_TABLE(flock
, flock
, 4143, 2)
969 #ifndef OVERRIDE_TABLE_32_msync
970 TRACE_SYSCALL_TABLE(msync
, msync
, 4144, 3)
972 #ifndef OVERRIDE_TABLE_32_cacheflush
973 TRACE_SYSCALL_TABLE(cacheflush
, cacheflush
, 4147, 3)
975 #ifndef OVERRIDE_TABLE_32_sysmips
976 TRACE_SYSCALL_TABLE(sysmips
, sysmips
, 4149, 3)
978 #ifndef OVERRIDE_TABLE_32_getsid
979 TRACE_SYSCALL_TABLE(getsid
, getsid
, 4151, 1)
981 #ifndef OVERRIDE_TABLE_32_fdatasync
982 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 4152, 1)
984 #ifndef OVERRIDE_TABLE_32_mlock
985 TRACE_SYSCALL_TABLE(mlock
, mlock
, 4154, 2)
987 #ifndef OVERRIDE_TABLE_32_munlock
988 TRACE_SYSCALL_TABLE(munlock
, munlock
, 4155, 2)
990 #ifndef OVERRIDE_TABLE_32_mlockall
991 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 4156, 1)
993 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
994 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 4161, 1)
996 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
997 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 4163, 1)
999 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
1000 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 4164, 1)
1002 #ifndef OVERRIDE_TABLE_32_mremap
1003 TRACE_SYSCALL_TABLE(mremap
, mremap
, 4167, 5)
1005 #ifndef OVERRIDE_TABLE_32_listen
1006 TRACE_SYSCALL_TABLE(listen
, listen
, 4174, 2)
1008 #ifndef OVERRIDE_TABLE_32_shutdown
1009 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 4182, 2)
1011 #ifndef OVERRIDE_TABLE_32_socket
1012 TRACE_SYSCALL_TABLE(socket
, socket
, 4183, 3)
1014 #ifndef OVERRIDE_TABLE_32_setresuid
1015 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 4185, 3)
1017 #ifndef OVERRIDE_TABLE_32_setresgid
1018 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 4190, 3)
1020 #ifndef OVERRIDE_TABLE_32_prctl
1021 TRACE_SYSCALL_TABLE(prctl
, prctl
, 4192, 5)
1023 #ifndef OVERRIDE_TABLE_32_mips_mmap2
1024 TRACE_SYSCALL_TABLE(mips_mmap2
, mips_mmap2
, 4210, 6)
1026 #ifndef OVERRIDE_TABLE_32_ftruncate64
1027 TRACE_SYSCALL_TABLE(ftruncate64
, ftruncate64
, 4212, 2)
1029 #ifndef OVERRIDE_TABLE_32_madvise
1030 TRACE_SYSCALL_TABLE(madvise
, madvise
, 4218, 3)
1032 #ifndef OVERRIDE_TABLE_32_fcntl64
1033 TRACE_SYSCALL_TABLE(fcntl64
, fcntl64
, 4220, 3)
1035 #ifndef OVERRIDE_TABLE_32_readahead
1036 TRACE_SYSCALL_TABLE(readahead
, readahead
, 4223, 3)
1038 #ifndef OVERRIDE_TABLE_32_tkill
1039 TRACE_SYSCALL_TABLE(tkill
, tkill
, 4236, 2)
1041 #ifndef OVERRIDE_TABLE_32_io_destroy
1042 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 4242, 1)
1044 #ifndef OVERRIDE_TABLE_32_exit_group
1045 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 4246, 1)
1047 #ifndef OVERRIDE_TABLE_32_epoll_create
1048 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 4248, 1)
1050 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1051 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 4251, 5)
1053 #ifndef OVERRIDE_TABLE_32_fadvise64_64
1054 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 4254, 4)
1056 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1057 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 4260, 1)
1059 #ifndef OVERRIDE_TABLE_32_timer_delete
1060 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 4261, 1)
1062 #ifndef OVERRIDE_TABLE_32_tgkill
1063 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 4266, 3)
1065 #ifndef OVERRIDE_TABLE_32_set_thread_area
1066 TRACE_SYSCALL_TABLE(set_thread_area
, set_thread_area
, 4283, 1)
1068 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1069 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 4286, 2)
1071 #ifndef OVERRIDE_TABLE_32_unshare
1072 TRACE_SYSCALL_TABLE(unshare
, unshare
, 4303, 1)
1074 #ifndef OVERRIDE_TABLE_32_sync_file_range
1075 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 4305, 4)
1077 #ifndef OVERRIDE_TABLE_32_tee
1078 TRACE_SYSCALL_TABLE(tee
, tee
, 4306, 4)
1080 #ifndef OVERRIDE_TABLE_32_ioprio_set
1081 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 4314, 3)
1083 #ifndef OVERRIDE_TABLE_32_ioprio_get
1084 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 4315, 2)
1086 #ifndef OVERRIDE_TABLE_32_eventfd
1087 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 4319, 1)
1089 #ifndef OVERRIDE_TABLE_32_fallocate
1090 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 4320, 4)
1092 #ifndef OVERRIDE_TABLE_32_timerfd_create
1093 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 4321, 2)
1095 #ifndef OVERRIDE_TABLE_32_eventfd2
1096 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 4325, 2)
1098 #ifndef OVERRIDE_TABLE_32_epoll_create1
1099 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 4326, 1)
1101 #ifndef OVERRIDE_TABLE_32_dup3
1102 TRACE_SYSCALL_TABLE(dup3
, dup3
, 4327, 3)
1104 #ifndef OVERRIDE_TABLE_32_inotify_init1
1105 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 4329, 1)
1107 #ifndef OVERRIDE_TABLE_32_syncfs
1108 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 4342, 1)
1110 #ifndef OVERRIDE_TABLE_32_setns
1111 TRACE_SYSCALL_TABLE(setns
, setns
, 4344, 2)
1114 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.066067 seconds and 5 git commands to generate.