8f51a31019b61304ffa77f1a58f8813650b8a1e1
1 // SPDX-FileCopyrightText: 2012 Ralf Baechle <ralf@linux-mips.org>
3 // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only
5 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
7 /* Generated from mips-32-syscalls 3.18.0 */
9 #ifndef CREATE_SYSCALL_TABLE
11 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_SYSCALLS_INTEGERS_H
14 #include <lttng/tracepoint-event.h>
15 #include <linux/syscalls.h>
16 #include "mips-32-syscalls_integers_override.h"
17 #include "syscalls_integers_override.h"
20 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
23 #ifndef OVERRIDE_32_getpid
24 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
26 #ifndef OVERRIDE_32_getuid
27 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
29 #ifndef OVERRIDE_32_pause
30 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
32 #ifndef OVERRIDE_32_sync
33 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
35 #ifndef OVERRIDE_32_getgid
36 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
38 #ifndef OVERRIDE_32_geteuid
39 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
41 #ifndef OVERRIDE_32_getegid
42 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
44 #ifndef OVERRIDE_32_getppid
45 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
47 #ifndef OVERRIDE_32_getpgrp
48 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
50 #ifndef OVERRIDE_32_setsid
51 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
53 #ifndef OVERRIDE_32_vhangup
54 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
56 #ifndef OVERRIDE_32_munlockall
57 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
59 #ifndef OVERRIDE_32_sched_yield
60 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
62 #ifndef OVERRIDE_32_gettid
63 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
65 #ifndef OVERRIDE_32_restart_syscall
66 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
68 #ifndef OVERRIDE_32_inotify_init
69 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
71 #else /* #ifdef SC_ENTER */
72 #ifndef OVERRIDE_32_getpid
73 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
74 TP_PROTO(sc_exit(long ret
)),
75 TP_ARGS(sc_exit(ret
)),
76 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
79 #ifndef OVERRIDE_32_getuid
80 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
81 TP_PROTO(sc_exit(long ret
)),
82 TP_ARGS(sc_exit(ret
)),
83 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
86 #ifndef OVERRIDE_32_pause
87 SC_LTTNG_TRACEPOINT_EVENT(pause
,
88 TP_PROTO(sc_exit(long ret
)),
89 TP_ARGS(sc_exit(ret
)),
90 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
93 #ifndef OVERRIDE_32_sync
94 SC_LTTNG_TRACEPOINT_EVENT(sync
,
95 TP_PROTO(sc_exit(long ret
)),
96 TP_ARGS(sc_exit(ret
)),
97 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
100 #ifndef OVERRIDE_32_getgid
101 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
102 TP_PROTO(sc_exit(long ret
)),
103 TP_ARGS(sc_exit(ret
)),
104 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
107 #ifndef OVERRIDE_32_geteuid
108 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
109 TP_PROTO(sc_exit(long ret
)),
110 TP_ARGS(sc_exit(ret
)),
111 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
114 #ifndef OVERRIDE_32_getegid
115 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
116 TP_PROTO(sc_exit(long ret
)),
117 TP_ARGS(sc_exit(ret
)),
118 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
121 #ifndef OVERRIDE_32_getppid
122 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
123 TP_PROTO(sc_exit(long ret
)),
124 TP_ARGS(sc_exit(ret
)),
125 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
128 #ifndef OVERRIDE_32_getpgrp
129 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
130 TP_PROTO(sc_exit(long ret
)),
131 TP_ARGS(sc_exit(ret
)),
132 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
135 #ifndef OVERRIDE_32_setsid
136 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
137 TP_PROTO(sc_exit(long ret
)),
138 TP_ARGS(sc_exit(ret
)),
139 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
142 #ifndef OVERRIDE_32_vhangup
143 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
144 TP_PROTO(sc_exit(long ret
)),
145 TP_ARGS(sc_exit(ret
)),
146 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
149 #ifndef OVERRIDE_32_munlockall
150 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
151 TP_PROTO(sc_exit(long ret
)),
152 TP_ARGS(sc_exit(ret
)),
153 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
156 #ifndef OVERRIDE_32_sched_yield
157 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
158 TP_PROTO(sc_exit(long ret
)),
159 TP_ARGS(sc_exit(ret
)),
160 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
163 #ifndef OVERRIDE_32_gettid
164 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
165 TP_PROTO(sc_exit(long ret
)),
166 TP_ARGS(sc_exit(ret
)),
167 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
170 #ifndef OVERRIDE_32_restart_syscall
171 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
172 TP_PROTO(sc_exit(long ret
)),
173 TP_ARGS(sc_exit(ret
)),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
177 #ifndef OVERRIDE_32_inotify_init
178 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
179 TP_PROTO(sc_exit(long ret
)),
180 TP_ARGS(sc_exit(ret
)),
181 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
184 #endif /* else #ifdef SC_ENTER */
185 #ifndef OVERRIDE_32_exit
186 SC_LTTNG_TRACEPOINT_EVENT(exit
,
187 TP_PROTO(sc_exit(long ret
,) int error_code
),
188 TP_ARGS(sc_exit(ret
,) error_code
),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
192 #ifndef OVERRIDE_32_close
193 SC_LTTNG_TRACEPOINT_EVENT(close
,
194 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
195 TP_ARGS(sc_exit(ret
,) fd
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
199 #ifndef OVERRIDE_32_setuid
200 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
201 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
202 TP_ARGS(sc_exit(ret
,) uid
),
203 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
206 #ifndef OVERRIDE_32_alarm
207 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
208 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
209 TP_ARGS(sc_exit(ret
,) seconds
),
210 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
213 #ifndef OVERRIDE_32_nice
214 SC_LTTNG_TRACEPOINT_EVENT(nice
,
215 TP_PROTO(sc_exit(long ret
,) int increment
),
216 TP_ARGS(sc_exit(ret
,) increment
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, increment
, increment
)))
220 #ifndef OVERRIDE_32_dup
221 SC_LTTNG_TRACEPOINT_EVENT(dup
,
222 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
223 TP_ARGS(sc_exit(ret
,) fildes
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
227 #ifndef OVERRIDE_32_brk
228 SC_LTTNG_TRACEPOINT_EVENT(brk
,
229 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
230 TP_ARGS(sc_exit(ret
,) brk
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
234 #ifndef OVERRIDE_32_setgid
235 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
236 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
237 TP_ARGS(sc_exit(ret
,) gid
),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
241 #ifndef OVERRIDE_32_umask
242 SC_LTTNG_TRACEPOINT_EVENT(umask
,
243 TP_PROTO(sc_exit(long ret
,) int mask
),
244 TP_ARGS(sc_exit(ret
,) mask
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
248 #ifndef OVERRIDE_32_fsync
249 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
250 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
251 TP_ARGS(sc_exit(ret
,) fd
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
255 #ifndef OVERRIDE_32_getpgid
256 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
257 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
258 TP_ARGS(sc_exit(ret
,) pid
),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
262 #ifndef OVERRIDE_32_fchdir
263 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
264 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
265 TP_ARGS(sc_exit(ret
,) fd
),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
269 #ifndef OVERRIDE_32_personality
270 SC_LTTNG_TRACEPOINT_EVENT(personality
,
271 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
272 TP_ARGS(sc_exit(ret
,) personality
),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
276 #ifndef OVERRIDE_32_setfsuid
277 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
278 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
279 TP_ARGS(sc_exit(ret
,) uid
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
283 #ifndef OVERRIDE_32_setfsgid
284 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
285 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
286 TP_ARGS(sc_exit(ret
,) gid
),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
290 #ifndef OVERRIDE_32_getsid
291 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
292 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
293 TP_ARGS(sc_exit(ret
,) pid
),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
297 #ifndef OVERRIDE_32_fdatasync
298 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
299 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
300 TP_ARGS(sc_exit(ret
,) fd
),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
304 #ifndef OVERRIDE_32_mlockall
305 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
306 TP_PROTO(sc_exit(long ret
,) int flags
),
307 TP_ARGS(sc_exit(ret
,) flags
),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
311 #ifndef OVERRIDE_32_sched_getscheduler
312 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
313 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
314 TP_ARGS(sc_exit(ret
,) pid
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
318 #ifndef OVERRIDE_32_sched_get_priority_max
319 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
320 TP_PROTO(sc_exit(long ret
,) int policy
),
321 TP_ARGS(sc_exit(ret
,) policy
),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
325 #ifndef OVERRIDE_32_sched_get_priority_min
326 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
327 TP_PROTO(sc_exit(long ret
,) int policy
),
328 TP_ARGS(sc_exit(ret
,) policy
),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
332 #ifndef OVERRIDE_32_io_destroy
333 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
334 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
335 TP_ARGS(sc_exit(ret
,) ctx
),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
339 #ifndef OVERRIDE_32_exit_group
340 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
341 TP_PROTO(sc_exit(long ret
,) int error_code
),
342 TP_ARGS(sc_exit(ret
,) error_code
),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
346 #ifndef OVERRIDE_32_epoll_create
347 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
348 TP_PROTO(sc_exit(long ret
,) int size
),
349 TP_ARGS(sc_exit(ret
,) size
),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
353 #ifndef OVERRIDE_32_timer_getoverrun
354 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
355 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
356 TP_ARGS(sc_exit(ret
,) timer_id
),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
360 #ifndef OVERRIDE_32_timer_delete
361 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
362 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
363 TP_ARGS(sc_exit(ret
,) timer_id
),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
367 #ifndef OVERRIDE_32_set_thread_area
368 SC_LTTNG_TRACEPOINT_EVENT(set_thread_area
,
369 TP_PROTO(sc_exit(long ret
,) unsigned long addr
),
370 TP_ARGS(sc_exit(ret
,) addr
),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)))
374 #ifndef OVERRIDE_32_unshare
375 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
376 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
377 TP_ARGS(sc_exit(ret
,) unshare_flags
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
381 #ifndef OVERRIDE_32_eventfd
382 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
383 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
384 TP_ARGS(sc_exit(ret
,) count
),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
388 #ifndef OVERRIDE_32_epoll_create1
389 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
390 TP_PROTO(sc_exit(long ret
,) int flags
),
391 TP_ARGS(sc_exit(ret
,) flags
),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
395 #ifndef OVERRIDE_32_inotify_init1
396 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
397 TP_PROTO(sc_exit(long ret
,) int flags
),
398 TP_ARGS(sc_exit(ret
,) flags
),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
402 #ifndef OVERRIDE_32_syncfs
403 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
404 TP_PROTO(sc_exit(long ret
,) int fd
),
405 TP_ARGS(sc_exit(ret
,) fd
),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
409 #ifndef OVERRIDE_32_kill
410 SC_LTTNG_TRACEPOINT_EVENT(kill
,
411 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
412 TP_ARGS(sc_exit(ret
,) pid
, sig
),
413 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
416 #ifndef OVERRIDE_32_setpgid
417 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
418 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
419 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
420 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
)))
423 #ifndef OVERRIDE_32_dup2
424 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
425 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
426 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
427 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
)))
430 #ifndef OVERRIDE_32_setreuid
431 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
432 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
433 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
434 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
)))
437 #ifndef OVERRIDE_32_setregid
438 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
439 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
440 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
441 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
)))
444 #ifndef OVERRIDE_32_munmap
445 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
446 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
447 TP_ARGS(sc_exit(ret
,) addr
, len
),
448 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
)))
451 #ifndef OVERRIDE_32_ftruncate
452 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
453 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
454 TP_ARGS(sc_exit(ret
,) fd
, length
),
455 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
)))
458 #ifndef OVERRIDE_32_fchmod
459 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
460 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
461 TP_ARGS(sc_exit(ret
,) fd
, mode
),
462 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
)))
465 #ifndef OVERRIDE_32_getpriority
466 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
467 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
468 TP_ARGS(sc_exit(ret
,) which
, who
),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
472 #ifndef OVERRIDE_32_bdflush
473 SC_LTTNG_TRACEPOINT_EVENT(bdflush
,
474 TP_PROTO(sc_exit(long ret
,) int func
, long data
),
475 TP_ARGS(sc_exit(ret
,) func
, data
),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, func
, func
)) sc_inout(ctf_integer(long, data
, data
)))
479 #ifndef OVERRIDE_32_flock
480 SC_LTTNG_TRACEPOINT_EVENT(flock
,
481 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
482 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
483 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
)))
486 #ifndef OVERRIDE_32_mlock
487 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
488 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
489 TP_ARGS(sc_exit(ret
,) start
, len
),
490 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
)))
493 #ifndef OVERRIDE_32_munlock
494 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
495 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
496 TP_ARGS(sc_exit(ret
,) start
, len
),
497 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
)))
500 #ifndef OVERRIDE_32_listen
501 SC_LTTNG_TRACEPOINT_EVENT(listen
,
502 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
503 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
507 #ifndef OVERRIDE_32_shutdown
508 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
509 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
510 TP_ARGS(sc_exit(ret
,) fd
, how
),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
514 #ifndef OVERRIDE_32_ftruncate64
515 SC_LTTNG_TRACEPOINT_EVENT(ftruncate64
,
516 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, loff_t length
),
517 TP_ARGS(sc_exit(ret
,) fd
, length
),
518 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
)))
521 #ifndef OVERRIDE_32_tkill
522 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
523 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
524 TP_ARGS(sc_exit(ret
,) pid
, sig
),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
528 #ifndef OVERRIDE_32_inotify_rm_watch
529 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
530 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
531 TP_ARGS(sc_exit(ret
,) fd
, wd
),
532 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
535 #ifndef OVERRIDE_32_ioprio_get
536 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
537 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
538 TP_ARGS(sc_exit(ret
,) which
, who
),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
542 #ifndef OVERRIDE_32_timerfd_create
543 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
544 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
545 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
546 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
549 #ifndef OVERRIDE_32_eventfd2
550 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
551 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
552 TP_ARGS(sc_exit(ret
,) count
, flags
),
553 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
556 #ifndef OVERRIDE_32_setns
557 SC_LTTNG_TRACEPOINT_EVENT(setns
,
558 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
559 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
560 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
563 #ifndef OVERRIDE_32_lseek
564 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
565 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
566 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
567 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
)))
570 #ifndef OVERRIDE_32_ioctl
571 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
572 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
573 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
574 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
)))
577 #ifndef OVERRIDE_32_fcntl
578 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
579 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
580 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
581 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
)))
584 #ifndef OVERRIDE_32_fchown
585 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
586 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
587 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
588 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
)))
591 #ifndef OVERRIDE_32_setpriority
592 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
593 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
594 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
595 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
)))
598 #ifndef OVERRIDE_32_mprotect
599 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
600 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
601 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
602 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
)))
605 #ifndef OVERRIDE_32_msync
606 SC_LTTNG_TRACEPOINT_EVENT(msync
,
607 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
608 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
609 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
)))
612 #ifndef OVERRIDE_32_cacheflush
613 SC_LTTNG_TRACEPOINT_EVENT(cacheflush
,
614 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long bytes
, unsigned int cache
),
615 TP_ARGS(sc_exit(ret
,) addr
, bytes
, cache
),
616 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
)))
619 #ifndef OVERRIDE_32_sysmips
620 SC_LTTNG_TRACEPOINT_EVENT(sysmips
,
621 TP_PROTO(sc_exit(long ret
,) long cmd
, long arg1
, long arg2
),
622 TP_ARGS(sc_exit(ret
,) cmd
, arg1
, arg2
),
623 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
)))
626 #ifndef OVERRIDE_32_socket
627 SC_LTTNG_TRACEPOINT_EVENT(socket
,
628 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
629 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
630 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
)))
633 #ifndef OVERRIDE_32_setresuid
634 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
635 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
636 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
637 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
)))
640 #ifndef OVERRIDE_32_setresgid
641 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
642 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
643 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
644 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
)))
647 #ifndef OVERRIDE_32_madvise
648 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
649 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
650 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
651 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
)))
654 #ifndef OVERRIDE_32_fcntl64
655 SC_LTTNG_TRACEPOINT_EVENT(fcntl64
,
656 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
657 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
658 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
)))
661 #ifndef OVERRIDE_32_readahead
662 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
663 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
664 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
665 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
)))
668 #ifndef OVERRIDE_32_tgkill
669 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
670 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
671 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
672 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
)))
675 #ifndef OVERRIDE_32_ioprio_set
676 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
677 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
678 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
679 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
)))
682 #ifndef OVERRIDE_32_dup3
683 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
684 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
685 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
686 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
)))
689 #ifndef OVERRIDE_32_ptrace
690 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
691 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
692 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
693 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
)))
696 #ifndef OVERRIDE_32_fadvise64_64
697 SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64
,
698 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t len
, int advice
),
699 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
700 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
)))
703 #ifndef OVERRIDE_32_sync_file_range
704 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
705 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
706 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
707 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
)))
710 #ifndef OVERRIDE_32_tee
711 SC_LTTNG_TRACEPOINT_EVENT(tee
,
712 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
713 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
714 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
)))
717 #ifndef OVERRIDE_32_fallocate
718 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
719 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
720 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
721 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
)))
724 #ifndef OVERRIDE_32_mremap
725 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
726 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
727 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
728 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
)))
731 #ifndef OVERRIDE_32_prctl
732 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
733 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
734 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
735 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
)))
738 #ifndef OVERRIDE_32_remap_file_pages
739 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
740 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
741 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
742 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
)))
745 #ifndef OVERRIDE_32_mmap
746 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
747 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, off_t offset
),
748 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, offset
),
749 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
)))
752 #ifndef OVERRIDE_32_mips_mmap2
753 SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2
,
754 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long pgoff
),
755 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, pgoff
),
756 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
)))
760 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
762 /* This part must be outside protection */
763 #include <lttng/define_trace.h>
765 #else /* CREATE_SYSCALL_TABLE */
767 #include "mips-32-syscalls_integers_override.h"
768 #include "syscalls_integers_override.h"
771 #ifndef OVERRIDE_TABLE_32_getpid
772 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 4020, 0)
774 #ifndef OVERRIDE_TABLE_32_getuid
775 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 4024, 0)
777 #ifndef OVERRIDE_TABLE_32_pause
778 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 4029, 0)
780 #ifndef OVERRIDE_TABLE_32_sync
781 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 4036, 0)
783 #ifndef OVERRIDE_TABLE_32_getgid
784 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 4047, 0)
786 #ifndef OVERRIDE_TABLE_32_geteuid
787 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 4049, 0)
789 #ifndef OVERRIDE_TABLE_32_getegid
790 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 4050, 0)
792 #ifndef OVERRIDE_TABLE_32_getppid
793 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 4064, 0)
795 #ifndef OVERRIDE_TABLE_32_getpgrp
796 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 4065, 0)
798 #ifndef OVERRIDE_TABLE_32_setsid
799 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 4066, 0)
801 #ifndef OVERRIDE_TABLE_32_vhangup
802 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 4111, 0)
804 #ifndef OVERRIDE_TABLE_32_munlockall
805 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 4157, 0)
807 #ifndef OVERRIDE_TABLE_32_sched_yield
808 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 4162, 0)
810 #ifndef OVERRIDE_TABLE_32_gettid
811 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 4222, 0)
813 #ifndef OVERRIDE_TABLE_32_restart_syscall
814 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 4253, 0)
816 #ifndef OVERRIDE_TABLE_32_inotify_init
817 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 4284, 0)
819 #else /* #ifdef SC_ENTER */
820 #ifndef OVERRIDE_TABLE_32_getpid
821 TRACE_SYSCALL_TABLE(getpid
, getpid
, 4020, 0)
823 #ifndef OVERRIDE_TABLE_32_getuid
824 TRACE_SYSCALL_TABLE(getuid
, getuid
, 4024, 0)
826 #ifndef OVERRIDE_TABLE_32_pause
827 TRACE_SYSCALL_TABLE(pause
, pause
, 4029, 0)
829 #ifndef OVERRIDE_TABLE_32_sync
830 TRACE_SYSCALL_TABLE(sync
, sync
, 4036, 0)
832 #ifndef OVERRIDE_TABLE_32_getgid
833 TRACE_SYSCALL_TABLE(getgid
, getgid
, 4047, 0)
835 #ifndef OVERRIDE_TABLE_32_geteuid
836 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 4049, 0)
838 #ifndef OVERRIDE_TABLE_32_getegid
839 TRACE_SYSCALL_TABLE(getegid
, getegid
, 4050, 0)
841 #ifndef OVERRIDE_TABLE_32_getppid
842 TRACE_SYSCALL_TABLE(getppid
, getppid
, 4064, 0)
844 #ifndef OVERRIDE_TABLE_32_getpgrp
845 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 4065, 0)
847 #ifndef OVERRIDE_TABLE_32_setsid
848 TRACE_SYSCALL_TABLE(setsid
, setsid
, 4066, 0)
850 #ifndef OVERRIDE_TABLE_32_vhangup
851 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 4111, 0)
853 #ifndef OVERRIDE_TABLE_32_munlockall
854 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 4157, 0)
856 #ifndef OVERRIDE_TABLE_32_sched_yield
857 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 4162, 0)
859 #ifndef OVERRIDE_TABLE_32_gettid
860 TRACE_SYSCALL_TABLE(gettid
, gettid
, 4222, 0)
862 #ifndef OVERRIDE_TABLE_32_restart_syscall
863 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 4253, 0)
865 #ifndef OVERRIDE_TABLE_32_inotify_init
866 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 4284, 0)
868 #endif /* else #ifdef SC_ENTER */
869 #ifndef OVERRIDE_TABLE_32_exit
870 TRACE_SYSCALL_TABLE(exit
, exit
, 4001, 1)
872 #ifndef OVERRIDE_TABLE_32_close
873 TRACE_SYSCALL_TABLE(close
, close
, 4006, 1)
875 #ifndef OVERRIDE_TABLE_32_lseek
876 TRACE_SYSCALL_TABLE(lseek
, lseek
, 4019, 3)
878 #ifndef OVERRIDE_TABLE_32_setuid
879 TRACE_SYSCALL_TABLE(setuid
, setuid
, 4023, 1)
881 #ifndef OVERRIDE_TABLE_32_ptrace
882 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 4026, 4)
884 #ifndef OVERRIDE_TABLE_32_alarm
885 TRACE_SYSCALL_TABLE(alarm
, alarm
, 4027, 1)
887 #ifndef OVERRIDE_TABLE_32_nice
888 TRACE_SYSCALL_TABLE(nice
, nice
, 4034, 1)
890 #ifndef OVERRIDE_TABLE_32_kill
891 TRACE_SYSCALL_TABLE(kill
, kill
, 4037, 2)
893 #ifndef OVERRIDE_TABLE_32_dup
894 TRACE_SYSCALL_TABLE(dup
, dup
, 4041, 1)
896 #ifndef OVERRIDE_TABLE_32_brk
897 TRACE_SYSCALL_TABLE(brk
, brk
, 4045, 1)
899 #ifndef OVERRIDE_TABLE_32_setgid
900 TRACE_SYSCALL_TABLE(setgid
, setgid
, 4046, 1)
902 #ifndef OVERRIDE_TABLE_32_ioctl
903 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 4054, 3)
905 #ifndef OVERRIDE_TABLE_32_fcntl
906 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 4055, 3)
908 #ifndef OVERRIDE_TABLE_32_setpgid
909 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 4057, 2)
911 #ifndef OVERRIDE_TABLE_32_umask
912 TRACE_SYSCALL_TABLE(umask
, umask
, 4060, 1)
914 #ifndef OVERRIDE_TABLE_32_dup2
915 TRACE_SYSCALL_TABLE(dup2
, dup2
, 4063, 2)
917 #ifndef OVERRIDE_TABLE_32_setreuid
918 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 4070, 2)
920 #ifndef OVERRIDE_TABLE_32_setregid
921 TRACE_SYSCALL_TABLE(setregid
, setregid
, 4071, 2)
923 #ifndef OVERRIDE_TABLE_32_mmap
924 TRACE_SYSCALL_TABLE(mmap
, mmap
, 4090, 6)
926 #ifndef OVERRIDE_TABLE_32_munmap
927 TRACE_SYSCALL_TABLE(munmap
, munmap
, 4091, 2)
929 #ifndef OVERRIDE_TABLE_32_ftruncate
930 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 4093, 2)
932 #ifndef OVERRIDE_TABLE_32_fchmod
933 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 4094, 2)
935 #ifndef OVERRIDE_TABLE_32_fchown
936 TRACE_SYSCALL_TABLE(fchown
, fchown
, 4095, 3)
938 #ifndef OVERRIDE_TABLE_32_getpriority
939 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 4096, 2)
941 #ifndef OVERRIDE_TABLE_32_setpriority
942 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 4097, 3)
944 #ifndef OVERRIDE_TABLE_32_fsync
945 TRACE_SYSCALL_TABLE(fsync
, fsync
, 4118, 1)
947 #ifndef OVERRIDE_TABLE_32_mprotect
948 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 4125, 3)
950 #ifndef OVERRIDE_TABLE_32_getpgid
951 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 4132, 1)
953 #ifndef OVERRIDE_TABLE_32_fchdir
954 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 4133, 1)
956 #ifndef OVERRIDE_TABLE_32_bdflush
957 TRACE_SYSCALL_TABLE(bdflush
, bdflush
, 4134, 2)
959 #ifndef OVERRIDE_TABLE_32_personality
960 TRACE_SYSCALL_TABLE(personality
, personality
, 4136, 1)
962 #ifndef OVERRIDE_TABLE_32_setfsuid
963 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 4138, 1)
965 #ifndef OVERRIDE_TABLE_32_setfsgid
966 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 4139, 1)
968 #ifndef OVERRIDE_TABLE_32_flock
969 TRACE_SYSCALL_TABLE(flock
, flock
, 4143, 2)
971 #ifndef OVERRIDE_TABLE_32_msync
972 TRACE_SYSCALL_TABLE(msync
, msync
, 4144, 3)
974 #ifndef OVERRIDE_TABLE_32_cacheflush
975 TRACE_SYSCALL_TABLE(cacheflush
, cacheflush
, 4147, 3)
977 #ifndef OVERRIDE_TABLE_32_sysmips
978 TRACE_SYSCALL_TABLE(sysmips
, sysmips
, 4149, 3)
980 #ifndef OVERRIDE_TABLE_32_getsid
981 TRACE_SYSCALL_TABLE(getsid
, getsid
, 4151, 1)
983 #ifndef OVERRIDE_TABLE_32_fdatasync
984 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 4152, 1)
986 #ifndef OVERRIDE_TABLE_32_mlock
987 TRACE_SYSCALL_TABLE(mlock
, mlock
, 4154, 2)
989 #ifndef OVERRIDE_TABLE_32_munlock
990 TRACE_SYSCALL_TABLE(munlock
, munlock
, 4155, 2)
992 #ifndef OVERRIDE_TABLE_32_mlockall
993 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 4156, 1)
995 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
996 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 4161, 1)
998 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
999 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 4163, 1)
1001 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
1002 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 4164, 1)
1004 #ifndef OVERRIDE_TABLE_32_mremap
1005 TRACE_SYSCALL_TABLE(mremap
, mremap
, 4167, 5)
1007 #ifndef OVERRIDE_TABLE_32_listen
1008 TRACE_SYSCALL_TABLE(listen
, listen
, 4174, 2)
1010 #ifndef OVERRIDE_TABLE_32_shutdown
1011 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 4182, 2)
1013 #ifndef OVERRIDE_TABLE_32_socket
1014 TRACE_SYSCALL_TABLE(socket
, socket
, 4183, 3)
1016 #ifndef OVERRIDE_TABLE_32_setresuid
1017 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 4185, 3)
1019 #ifndef OVERRIDE_TABLE_32_setresgid
1020 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 4190, 3)
1022 #ifndef OVERRIDE_TABLE_32_prctl
1023 TRACE_SYSCALL_TABLE(prctl
, prctl
, 4192, 5)
1025 #ifndef OVERRIDE_TABLE_32_mips_mmap2
1026 TRACE_SYSCALL_TABLE(mips_mmap2
, mips_mmap2
, 4210, 6)
1028 #ifndef OVERRIDE_TABLE_32_ftruncate64
1029 TRACE_SYSCALL_TABLE(ftruncate64
, ftruncate64
, 4212, 2)
1031 #ifndef OVERRIDE_TABLE_32_madvise
1032 TRACE_SYSCALL_TABLE(madvise
, madvise
, 4218, 3)
1034 #ifndef OVERRIDE_TABLE_32_fcntl64
1035 TRACE_SYSCALL_TABLE(fcntl64
, fcntl64
, 4220, 3)
1037 #ifndef OVERRIDE_TABLE_32_readahead
1038 TRACE_SYSCALL_TABLE(readahead
, readahead
, 4223, 3)
1040 #ifndef OVERRIDE_TABLE_32_tkill
1041 TRACE_SYSCALL_TABLE(tkill
, tkill
, 4236, 2)
1043 #ifndef OVERRIDE_TABLE_32_io_destroy
1044 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 4242, 1)
1046 #ifndef OVERRIDE_TABLE_32_exit_group
1047 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 4246, 1)
1049 #ifndef OVERRIDE_TABLE_32_epoll_create
1050 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 4248, 1)
1052 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1053 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 4251, 5)
1055 #ifndef OVERRIDE_TABLE_32_fadvise64_64
1056 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 4254, 4)
1058 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1059 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 4260, 1)
1061 #ifndef OVERRIDE_TABLE_32_timer_delete
1062 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 4261, 1)
1064 #ifndef OVERRIDE_TABLE_32_tgkill
1065 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 4266, 3)
1067 #ifndef OVERRIDE_TABLE_32_set_thread_area
1068 TRACE_SYSCALL_TABLE(set_thread_area
, set_thread_area
, 4283, 1)
1070 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1071 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 4286, 2)
1073 #ifndef OVERRIDE_TABLE_32_unshare
1074 TRACE_SYSCALL_TABLE(unshare
, unshare
, 4303, 1)
1076 #ifndef OVERRIDE_TABLE_32_sync_file_range
1077 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 4305, 4)
1079 #ifndef OVERRIDE_TABLE_32_tee
1080 TRACE_SYSCALL_TABLE(tee
, tee
, 4306, 4)
1082 #ifndef OVERRIDE_TABLE_32_ioprio_set
1083 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 4314, 3)
1085 #ifndef OVERRIDE_TABLE_32_ioprio_get
1086 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 4315, 2)
1088 #ifndef OVERRIDE_TABLE_32_eventfd
1089 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 4319, 1)
1091 #ifndef OVERRIDE_TABLE_32_fallocate
1092 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 4320, 4)
1094 #ifndef OVERRIDE_TABLE_32_timerfd_create
1095 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 4321, 2)
1097 #ifndef OVERRIDE_TABLE_32_eventfd2
1098 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 4325, 2)
1100 #ifndef OVERRIDE_TABLE_32_epoll_create1
1101 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 4326, 1)
1103 #ifndef OVERRIDE_TABLE_32_dup3
1104 TRACE_SYSCALL_TABLE(dup3
, dup3
, 4327, 3)
1106 #ifndef OVERRIDE_TABLE_32_inotify_init1
1107 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 4329, 1)
1109 #ifndef OVERRIDE_TABLE_32_syncfs
1110 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 4342, 1)
1112 #ifndef OVERRIDE_TABLE_32_setns
1113 TRACE_SYSCALL_TABLE(setns
, setns
, 4344, 2)
1116 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.057335 seconds and 5 git commands to generate.