1 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2 #ifndef CREATE_SYSCALL_TABLE
4 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_INTEGERS_H
7 #include <probes/lttng-tracepoint-event.h>
8 #include <linux/syscalls.h>
9 #include "mips-32-syscalls-3.18.0_integers_override.h"
10 #include "syscalls_integers_override.h"
13 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
16 #ifndef OVERRIDE_32_getpid
17 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
19 #ifndef OVERRIDE_32_getuid
20 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
22 #ifndef OVERRIDE_32_pause
23 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
25 #ifndef OVERRIDE_32_sync
26 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
28 #ifndef OVERRIDE_32_getgid
29 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
31 #ifndef OVERRIDE_32_geteuid
32 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
34 #ifndef OVERRIDE_32_getegid
35 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
37 #ifndef OVERRIDE_32_getppid
38 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
40 #ifndef OVERRIDE_32_getpgrp
41 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
43 #ifndef OVERRIDE_32_setsid
44 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
46 #ifndef OVERRIDE_32_vhangup
47 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
49 #ifndef OVERRIDE_32_munlockall
50 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
52 #ifndef OVERRIDE_32_sched_yield
53 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
55 #ifndef OVERRIDE_32_gettid
56 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
58 #ifndef OVERRIDE_32_restart_syscall
59 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
61 #ifndef OVERRIDE_32_inotify_init
62 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
64 #else /* #ifdef SC_ENTER */
65 #ifndef OVERRIDE_32_getpid
66 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
67 TP_PROTO(sc_exit(long ret
)),
68 TP_ARGS(sc_exit(ret
)),
69 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
72 #ifndef OVERRIDE_32_getuid
73 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
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_pause
80 SC_LTTNG_TRACEPOINT_EVENT(pause
,
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_sync
87 SC_LTTNG_TRACEPOINT_EVENT(sync
,
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_getgid
94 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
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_geteuid
101 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
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_getegid
108 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
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_getppid
115 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
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_getpgrp
122 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
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_setsid
129 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
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_vhangup
136 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
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_munlockall
143 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
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_sched_yield
150 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
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_gettid
157 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
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_restart_syscall
164 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
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_inotify_init
171 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
172 TP_PROTO(sc_exit(long ret
)),
173 TP_ARGS(sc_exit(ret
)),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
177 #endif /* else #ifdef SC_ENTER */
178 #ifndef OVERRIDE_32_exit
179 SC_LTTNG_TRACEPOINT_EVENT(exit
,
180 TP_PROTO(sc_exit(long ret
,) int error_code
),
181 TP_ARGS(sc_exit(ret
,) error_code
),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
185 #ifndef OVERRIDE_32_close
186 SC_LTTNG_TRACEPOINT_EVENT(close
,
187 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
188 TP_ARGS(sc_exit(ret
,) fd
),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
192 #ifndef OVERRIDE_32_setuid
193 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
194 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
195 TP_ARGS(sc_exit(ret
,) uid
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
199 #ifndef OVERRIDE_32_alarm
200 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
201 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
202 TP_ARGS(sc_exit(ret
,) seconds
),
203 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
206 #ifndef OVERRIDE_32_nice
207 SC_LTTNG_TRACEPOINT_EVENT(nice
,
208 TP_PROTO(sc_exit(long ret
,) int increment
),
209 TP_ARGS(sc_exit(ret
,) increment
),
210 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, increment
, increment
)))
213 #ifndef OVERRIDE_32_dup
214 SC_LTTNG_TRACEPOINT_EVENT(dup
,
215 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
216 TP_ARGS(sc_exit(ret
,) fildes
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
220 #ifndef OVERRIDE_32_brk
221 SC_LTTNG_TRACEPOINT_EVENT(brk
,
222 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
223 TP_ARGS(sc_exit(ret
,) brk
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
227 #ifndef OVERRIDE_32_setgid
228 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
229 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
230 TP_ARGS(sc_exit(ret
,) gid
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
234 #ifndef OVERRIDE_32_umask
235 SC_LTTNG_TRACEPOINT_EVENT(umask
,
236 TP_PROTO(sc_exit(long ret
,) int mask
),
237 TP_ARGS(sc_exit(ret
,) mask
),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
241 #ifndef OVERRIDE_32_fsync
242 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
243 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
244 TP_ARGS(sc_exit(ret
,) fd
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
248 #ifndef OVERRIDE_32_getpgid
249 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
250 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
251 TP_ARGS(sc_exit(ret
,) pid
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
255 #ifndef OVERRIDE_32_fchdir
256 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
257 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
258 TP_ARGS(sc_exit(ret
,) fd
),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
262 #ifndef OVERRIDE_32_personality
263 SC_LTTNG_TRACEPOINT_EVENT(personality
,
264 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
265 TP_ARGS(sc_exit(ret
,) personality
),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
269 #ifndef OVERRIDE_32_setfsuid
270 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
271 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
272 TP_ARGS(sc_exit(ret
,) uid
),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
276 #ifndef OVERRIDE_32_setfsgid
277 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
278 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
279 TP_ARGS(sc_exit(ret
,) gid
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
283 #ifndef OVERRIDE_32_getsid
284 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
285 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
286 TP_ARGS(sc_exit(ret
,) pid
),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
290 #ifndef OVERRIDE_32_fdatasync
291 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
292 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
293 TP_ARGS(sc_exit(ret
,) fd
),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
297 #ifndef OVERRIDE_32_mlockall
298 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
299 TP_PROTO(sc_exit(long ret
,) int flags
),
300 TP_ARGS(sc_exit(ret
,) flags
),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
304 #ifndef OVERRIDE_32_sched_getscheduler
305 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
306 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
307 TP_ARGS(sc_exit(ret
,) pid
),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
311 #ifndef OVERRIDE_32_sched_get_priority_max
312 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
313 TP_PROTO(sc_exit(long ret
,) int policy
),
314 TP_ARGS(sc_exit(ret
,) policy
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
318 #ifndef OVERRIDE_32_sched_get_priority_min
319 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
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_io_destroy
326 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
327 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
328 TP_ARGS(sc_exit(ret
,) ctx
),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
332 #ifndef OVERRIDE_32_exit_group
333 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
334 TP_PROTO(sc_exit(long ret
,) int error_code
),
335 TP_ARGS(sc_exit(ret
,) error_code
),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
339 #ifndef OVERRIDE_32_epoll_create
340 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
341 TP_PROTO(sc_exit(long ret
,) int size
),
342 TP_ARGS(sc_exit(ret
,) size
),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
346 #ifndef OVERRIDE_32_timer_getoverrun
347 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
348 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
349 TP_ARGS(sc_exit(ret
,) timer_id
),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
353 #ifndef OVERRIDE_32_timer_delete
354 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
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_set_thread_area
361 SC_LTTNG_TRACEPOINT_EVENT(set_thread_area
,
362 TP_PROTO(sc_exit(long ret
,) unsigned long addr
),
363 TP_ARGS(sc_exit(ret
,) addr
),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)))
367 #ifndef OVERRIDE_32_unshare
368 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
369 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
370 TP_ARGS(sc_exit(ret
,) unshare_flags
),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
374 #ifndef OVERRIDE_32_eventfd
375 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
376 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
377 TP_ARGS(sc_exit(ret
,) count
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
381 #ifndef OVERRIDE_32_epoll_create1
382 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
383 TP_PROTO(sc_exit(long ret
,) int flags
),
384 TP_ARGS(sc_exit(ret
,) flags
),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
388 #ifndef OVERRIDE_32_inotify_init1
389 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
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_syncfs
396 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
397 TP_PROTO(sc_exit(long ret
,) int fd
),
398 TP_ARGS(sc_exit(ret
,) fd
),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
402 #ifndef OVERRIDE_32_kill
403 SC_LTTNG_TRACEPOINT_EVENT(kill
,
404 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
405 TP_ARGS(sc_exit(ret
,) pid
, sig
),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
409 #ifndef OVERRIDE_32_setpgid
410 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
411 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
412 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
413 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
)))
416 #ifndef OVERRIDE_32_dup2
417 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
418 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
419 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
420 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
)))
423 #ifndef OVERRIDE_32_setreuid
424 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
425 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
426 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
427 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
)))
430 #ifndef OVERRIDE_32_setregid
431 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
432 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
433 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
434 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
)))
437 #ifndef OVERRIDE_32_munmap
438 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
439 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
440 TP_ARGS(sc_exit(ret
,) addr
, len
),
441 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
)))
444 #ifndef OVERRIDE_32_ftruncate
445 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
446 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
447 TP_ARGS(sc_exit(ret
,) fd
, length
),
448 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
)))
451 #ifndef OVERRIDE_32_fchmod
452 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
453 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
454 TP_ARGS(sc_exit(ret
,) fd
, mode
),
455 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
)))
458 #ifndef OVERRIDE_32_getpriority
459 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
460 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
461 TP_ARGS(sc_exit(ret
,) which
, who
),
462 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
465 #ifndef OVERRIDE_32_bdflush
466 SC_LTTNG_TRACEPOINT_EVENT(bdflush
,
467 TP_PROTO(sc_exit(long ret
,) int func
, long data
),
468 TP_ARGS(sc_exit(ret
,) func
, data
),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, func
, func
)) sc_inout(ctf_integer(long, data
, data
)))
472 #ifndef OVERRIDE_32_flock
473 SC_LTTNG_TRACEPOINT_EVENT(flock
,
474 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
475 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
476 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
)))
479 #ifndef OVERRIDE_32_mlock
480 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
481 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
482 TP_ARGS(sc_exit(ret
,) start
, len
),
483 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
)))
486 #ifndef OVERRIDE_32_munlock
487 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
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_listen
494 SC_LTTNG_TRACEPOINT_EVENT(listen
,
495 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
496 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
497 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
500 #ifndef OVERRIDE_32_shutdown
501 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
502 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
503 TP_ARGS(sc_exit(ret
,) fd
, how
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
507 #ifndef OVERRIDE_32_ftruncate64
508 SC_LTTNG_TRACEPOINT_EVENT(ftruncate64
,
509 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, loff_t length
),
510 TP_ARGS(sc_exit(ret
,) fd
, length
),
511 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
)))
514 #ifndef OVERRIDE_32_tkill
515 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
516 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
517 TP_ARGS(sc_exit(ret
,) pid
, sig
),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
521 #ifndef OVERRIDE_32_inotify_rm_watch
522 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
523 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
524 TP_ARGS(sc_exit(ret
,) fd
, wd
),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
528 #ifndef OVERRIDE_32_ioprio_get
529 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
530 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
531 TP_ARGS(sc_exit(ret
,) which
, who
),
532 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
535 #ifndef OVERRIDE_32_timerfd_create
536 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
537 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
538 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
542 #ifndef OVERRIDE_32_eventfd2
543 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
544 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
545 TP_ARGS(sc_exit(ret
,) count
, flags
),
546 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
549 #ifndef OVERRIDE_32_setns
550 SC_LTTNG_TRACEPOINT_EVENT(setns
,
551 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
552 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
553 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
556 #ifndef OVERRIDE_32_lseek
557 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
558 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
559 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
560 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
)))
563 #ifndef OVERRIDE_32_ioctl
564 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
565 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
566 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
567 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
)))
570 #ifndef OVERRIDE_32_fcntl
571 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
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_fchown
578 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
579 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
580 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
581 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
)))
584 #ifndef OVERRIDE_32_setpriority
585 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
586 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
587 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
588 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
)))
591 #ifndef OVERRIDE_32_mprotect
592 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
593 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
594 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
595 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
)))
598 #ifndef OVERRIDE_32_msync
599 SC_LTTNG_TRACEPOINT_EVENT(msync
,
600 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
601 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
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(int, flags
, flags
)))
605 #ifndef OVERRIDE_32_cacheflush
606 SC_LTTNG_TRACEPOINT_EVENT(cacheflush
,
607 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long bytes
, unsigned int cache
),
608 TP_ARGS(sc_exit(ret
,) addr
, bytes
, cache
),
609 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
)))
612 #ifndef OVERRIDE_32_sysmips
613 SC_LTTNG_TRACEPOINT_EVENT(sysmips
,
614 TP_PROTO(sc_exit(long ret
,) long cmd
, long arg1
, long arg2
),
615 TP_ARGS(sc_exit(ret
,) cmd
, arg1
, arg2
),
616 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
)))
619 #ifndef OVERRIDE_32_socket
620 SC_LTTNG_TRACEPOINT_EVENT(socket
,
621 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
622 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
623 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
)))
626 #ifndef OVERRIDE_32_setresuid
627 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
628 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
629 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
630 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
)))
633 #ifndef OVERRIDE_32_setresgid
634 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
635 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
636 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
637 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
)))
640 #ifndef OVERRIDE_32_madvise
641 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
642 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
643 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
644 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
)))
647 #ifndef OVERRIDE_32_fcntl64
648 SC_LTTNG_TRACEPOINT_EVENT(fcntl64
,
649 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
650 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
651 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
)))
654 #ifndef OVERRIDE_32_readahead
655 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
656 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
657 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
658 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
)))
661 #ifndef OVERRIDE_32_tgkill
662 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
663 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
664 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
665 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
)))
668 #ifndef OVERRIDE_32_ioprio_set
669 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
670 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
671 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
672 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
)))
675 #ifndef OVERRIDE_32_dup3
676 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
677 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
678 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
679 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
)))
682 #ifndef OVERRIDE_32_ptrace
683 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
684 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
685 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
686 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
)))
689 #ifndef OVERRIDE_32_fadvise64_64
690 SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64
,
691 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t len
, int advice
),
692 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
693 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
)))
696 #ifndef OVERRIDE_32_sync_file_range
697 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
698 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
699 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
700 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
)))
703 #ifndef OVERRIDE_32_tee
704 SC_LTTNG_TRACEPOINT_EVENT(tee
,
705 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
706 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
707 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
)))
710 #ifndef OVERRIDE_32_fallocate
711 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
712 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
713 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
714 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
)))
717 #ifndef OVERRIDE_32_mremap
718 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
719 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
720 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
721 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
)))
724 #ifndef OVERRIDE_32_prctl
725 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
726 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
727 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
728 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
)))
731 #ifndef OVERRIDE_32_remap_file_pages
732 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
733 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
734 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
735 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
)))
738 #ifndef OVERRIDE_32_mmap
739 SC_LTTNG_TRACEPOINT_EVENT(mmap
,
740 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, off_t offset
),
741 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, offset
),
742 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
)))
745 #ifndef OVERRIDE_32_mips_mmap2
746 SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2
,
747 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long pgoff
),
748 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, pgoff
),
749 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
)))
753 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
755 /* This part must be outside protection */
756 #include <probes/define_trace.h>
758 #else /* CREATE_SYSCALL_TABLE */
760 #include "mips-32-syscalls-3.18.0_integers_override.h"
761 #include "syscalls_integers_override.h"
764 #ifndef OVERRIDE_TABLE_32_getpid
765 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 4020, 0)
767 #ifndef OVERRIDE_TABLE_32_getuid
768 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 4024, 0)
770 #ifndef OVERRIDE_TABLE_32_pause
771 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 4029, 0)
773 #ifndef OVERRIDE_TABLE_32_sync
774 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 4036, 0)
776 #ifndef OVERRIDE_TABLE_32_getgid
777 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 4047, 0)
779 #ifndef OVERRIDE_TABLE_32_geteuid
780 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 4049, 0)
782 #ifndef OVERRIDE_TABLE_32_getegid
783 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 4050, 0)
785 #ifndef OVERRIDE_TABLE_32_getppid
786 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 4064, 0)
788 #ifndef OVERRIDE_TABLE_32_getpgrp
789 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 4065, 0)
791 #ifndef OVERRIDE_TABLE_32_setsid
792 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 4066, 0)
794 #ifndef OVERRIDE_TABLE_32_vhangup
795 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 4111, 0)
797 #ifndef OVERRIDE_TABLE_32_munlockall
798 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 4157, 0)
800 #ifndef OVERRIDE_TABLE_32_sched_yield
801 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 4162, 0)
803 #ifndef OVERRIDE_TABLE_32_gettid
804 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 4222, 0)
806 #ifndef OVERRIDE_TABLE_32_restart_syscall
807 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 4253, 0)
809 #ifndef OVERRIDE_TABLE_32_inotify_init
810 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 4284, 0)
812 #else /* #ifdef SC_ENTER */
813 #ifndef OVERRIDE_TABLE_32_getpid
814 TRACE_SYSCALL_TABLE(getpid
, getpid
, 4020, 0)
816 #ifndef OVERRIDE_TABLE_32_getuid
817 TRACE_SYSCALL_TABLE(getuid
, getuid
, 4024, 0)
819 #ifndef OVERRIDE_TABLE_32_pause
820 TRACE_SYSCALL_TABLE(pause
, pause
, 4029, 0)
822 #ifndef OVERRIDE_TABLE_32_sync
823 TRACE_SYSCALL_TABLE(sync
, sync
, 4036, 0)
825 #ifndef OVERRIDE_TABLE_32_getgid
826 TRACE_SYSCALL_TABLE(getgid
, getgid
, 4047, 0)
828 #ifndef OVERRIDE_TABLE_32_geteuid
829 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 4049, 0)
831 #ifndef OVERRIDE_TABLE_32_getegid
832 TRACE_SYSCALL_TABLE(getegid
, getegid
, 4050, 0)
834 #ifndef OVERRIDE_TABLE_32_getppid
835 TRACE_SYSCALL_TABLE(getppid
, getppid
, 4064, 0)
837 #ifndef OVERRIDE_TABLE_32_getpgrp
838 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 4065, 0)
840 #ifndef OVERRIDE_TABLE_32_setsid
841 TRACE_SYSCALL_TABLE(setsid
, setsid
, 4066, 0)
843 #ifndef OVERRIDE_TABLE_32_vhangup
844 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 4111, 0)
846 #ifndef OVERRIDE_TABLE_32_munlockall
847 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 4157, 0)
849 #ifndef OVERRIDE_TABLE_32_sched_yield
850 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 4162, 0)
852 #ifndef OVERRIDE_TABLE_32_gettid
853 TRACE_SYSCALL_TABLE(gettid
, gettid
, 4222, 0)
855 #ifndef OVERRIDE_TABLE_32_restart_syscall
856 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 4253, 0)
858 #ifndef OVERRIDE_TABLE_32_inotify_init
859 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 4284, 0)
861 #endif /* else #ifdef SC_ENTER */
862 #ifndef OVERRIDE_TABLE_32_exit
863 TRACE_SYSCALL_TABLE(exit
, exit
, 4001, 1)
865 #ifndef OVERRIDE_TABLE_32_close
866 TRACE_SYSCALL_TABLE(close
, close
, 4006, 1)
868 #ifndef OVERRIDE_TABLE_32_lseek
869 TRACE_SYSCALL_TABLE(lseek
, lseek
, 4019, 3)
871 #ifndef OVERRIDE_TABLE_32_setuid
872 TRACE_SYSCALL_TABLE(setuid
, setuid
, 4023, 1)
874 #ifndef OVERRIDE_TABLE_32_ptrace
875 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 4026, 4)
877 #ifndef OVERRIDE_TABLE_32_alarm
878 TRACE_SYSCALL_TABLE(alarm
, alarm
, 4027, 1)
880 #ifndef OVERRIDE_TABLE_32_nice
881 TRACE_SYSCALL_TABLE(nice
, nice
, 4034, 1)
883 #ifndef OVERRIDE_TABLE_32_kill
884 TRACE_SYSCALL_TABLE(kill
, kill
, 4037, 2)
886 #ifndef OVERRIDE_TABLE_32_dup
887 TRACE_SYSCALL_TABLE(dup
, dup
, 4041, 1)
889 #ifndef OVERRIDE_TABLE_32_brk
890 TRACE_SYSCALL_TABLE(brk
, brk
, 4045, 1)
892 #ifndef OVERRIDE_TABLE_32_setgid
893 TRACE_SYSCALL_TABLE(setgid
, setgid
, 4046, 1)
895 #ifndef OVERRIDE_TABLE_32_ioctl
896 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 4054, 3)
898 #ifndef OVERRIDE_TABLE_32_fcntl
899 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 4055, 3)
901 #ifndef OVERRIDE_TABLE_32_setpgid
902 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 4057, 2)
904 #ifndef OVERRIDE_TABLE_32_umask
905 TRACE_SYSCALL_TABLE(umask
, umask
, 4060, 1)
907 #ifndef OVERRIDE_TABLE_32_dup2
908 TRACE_SYSCALL_TABLE(dup2
, dup2
, 4063, 2)
910 #ifndef OVERRIDE_TABLE_32_setreuid
911 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 4070, 2)
913 #ifndef OVERRIDE_TABLE_32_setregid
914 TRACE_SYSCALL_TABLE(setregid
, setregid
, 4071, 2)
916 #ifndef OVERRIDE_TABLE_32_mmap
917 TRACE_SYSCALL_TABLE(mmap
, mmap
, 4090, 6)
919 #ifndef OVERRIDE_TABLE_32_munmap
920 TRACE_SYSCALL_TABLE(munmap
, munmap
, 4091, 2)
922 #ifndef OVERRIDE_TABLE_32_ftruncate
923 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 4093, 2)
925 #ifndef OVERRIDE_TABLE_32_fchmod
926 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 4094, 2)
928 #ifndef OVERRIDE_TABLE_32_fchown
929 TRACE_SYSCALL_TABLE(fchown
, fchown
, 4095, 3)
931 #ifndef OVERRIDE_TABLE_32_getpriority
932 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 4096, 2)
934 #ifndef OVERRIDE_TABLE_32_setpriority
935 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 4097, 3)
937 #ifndef OVERRIDE_TABLE_32_fsync
938 TRACE_SYSCALL_TABLE(fsync
, fsync
, 4118, 1)
940 #ifndef OVERRIDE_TABLE_32_mprotect
941 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 4125, 3)
943 #ifndef OVERRIDE_TABLE_32_getpgid
944 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 4132, 1)
946 #ifndef OVERRIDE_TABLE_32_fchdir
947 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 4133, 1)
949 #ifndef OVERRIDE_TABLE_32_bdflush
950 TRACE_SYSCALL_TABLE(bdflush
, bdflush
, 4134, 2)
952 #ifndef OVERRIDE_TABLE_32_personality
953 TRACE_SYSCALL_TABLE(personality
, personality
, 4136, 1)
955 #ifndef OVERRIDE_TABLE_32_setfsuid
956 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 4138, 1)
958 #ifndef OVERRIDE_TABLE_32_setfsgid
959 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 4139, 1)
961 #ifndef OVERRIDE_TABLE_32_flock
962 TRACE_SYSCALL_TABLE(flock
, flock
, 4143, 2)
964 #ifndef OVERRIDE_TABLE_32_msync
965 TRACE_SYSCALL_TABLE(msync
, msync
, 4144, 3)
967 #ifndef OVERRIDE_TABLE_32_cacheflush
968 TRACE_SYSCALL_TABLE(cacheflush
, cacheflush
, 4147, 3)
970 #ifndef OVERRIDE_TABLE_32_sysmips
971 TRACE_SYSCALL_TABLE(sysmips
, sysmips
, 4149, 3)
973 #ifndef OVERRIDE_TABLE_32_getsid
974 TRACE_SYSCALL_TABLE(getsid
, getsid
, 4151, 1)
976 #ifndef OVERRIDE_TABLE_32_fdatasync
977 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 4152, 1)
979 #ifndef OVERRIDE_TABLE_32_mlock
980 TRACE_SYSCALL_TABLE(mlock
, mlock
, 4154, 2)
982 #ifndef OVERRIDE_TABLE_32_munlock
983 TRACE_SYSCALL_TABLE(munlock
, munlock
, 4155, 2)
985 #ifndef OVERRIDE_TABLE_32_mlockall
986 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 4156, 1)
988 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
989 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 4161, 1)
991 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
992 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 4163, 1)
994 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
995 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 4164, 1)
997 #ifndef OVERRIDE_TABLE_32_mremap
998 TRACE_SYSCALL_TABLE(mremap
, mremap
, 4167, 5)
1000 #ifndef OVERRIDE_TABLE_32_listen
1001 TRACE_SYSCALL_TABLE(listen
, listen
, 4174, 2)
1003 #ifndef OVERRIDE_TABLE_32_shutdown
1004 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 4182, 2)
1006 #ifndef OVERRIDE_TABLE_32_socket
1007 TRACE_SYSCALL_TABLE(socket
, socket
, 4183, 3)
1009 #ifndef OVERRIDE_TABLE_32_setresuid
1010 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 4185, 3)
1012 #ifndef OVERRIDE_TABLE_32_setresgid
1013 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 4190, 3)
1015 #ifndef OVERRIDE_TABLE_32_prctl
1016 TRACE_SYSCALL_TABLE(prctl
, prctl
, 4192, 5)
1018 #ifndef OVERRIDE_TABLE_32_mips_mmap2
1019 TRACE_SYSCALL_TABLE(mips_mmap2
, mips_mmap2
, 4210, 6)
1021 #ifndef OVERRIDE_TABLE_32_ftruncate64
1022 TRACE_SYSCALL_TABLE(ftruncate64
, ftruncate64
, 4212, 2)
1024 #ifndef OVERRIDE_TABLE_32_madvise
1025 TRACE_SYSCALL_TABLE(madvise
, madvise
, 4218, 3)
1027 #ifndef OVERRIDE_TABLE_32_fcntl64
1028 TRACE_SYSCALL_TABLE(fcntl64
, fcntl64
, 4220, 3)
1030 #ifndef OVERRIDE_TABLE_32_readahead
1031 TRACE_SYSCALL_TABLE(readahead
, readahead
, 4223, 3)
1033 #ifndef OVERRIDE_TABLE_32_tkill
1034 TRACE_SYSCALL_TABLE(tkill
, tkill
, 4236, 2)
1036 #ifndef OVERRIDE_TABLE_32_io_destroy
1037 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 4242, 1)
1039 #ifndef OVERRIDE_TABLE_32_exit_group
1040 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 4246, 1)
1042 #ifndef OVERRIDE_TABLE_32_epoll_create
1043 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 4248, 1)
1045 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1046 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 4251, 5)
1048 #ifndef OVERRIDE_TABLE_32_fadvise64_64
1049 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 4254, 4)
1051 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1052 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 4260, 1)
1054 #ifndef OVERRIDE_TABLE_32_timer_delete
1055 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 4261, 1)
1057 #ifndef OVERRIDE_TABLE_32_tgkill
1058 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 4266, 3)
1060 #ifndef OVERRIDE_TABLE_32_set_thread_area
1061 TRACE_SYSCALL_TABLE(set_thread_area
, set_thread_area
, 4283, 1)
1063 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1064 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 4286, 2)
1066 #ifndef OVERRIDE_TABLE_32_unshare
1067 TRACE_SYSCALL_TABLE(unshare
, unshare
, 4303, 1)
1069 #ifndef OVERRIDE_TABLE_32_sync_file_range
1070 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 4305, 4)
1072 #ifndef OVERRIDE_TABLE_32_tee
1073 TRACE_SYSCALL_TABLE(tee
, tee
, 4306, 4)
1075 #ifndef OVERRIDE_TABLE_32_ioprio_set
1076 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 4314, 3)
1078 #ifndef OVERRIDE_TABLE_32_ioprio_get
1079 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 4315, 2)
1081 #ifndef OVERRIDE_TABLE_32_eventfd
1082 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 4319, 1)
1084 #ifndef OVERRIDE_TABLE_32_fallocate
1085 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 4320, 4)
1087 #ifndef OVERRIDE_TABLE_32_timerfd_create
1088 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 4321, 2)
1090 #ifndef OVERRIDE_TABLE_32_eventfd2
1091 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 4325, 2)
1093 #ifndef OVERRIDE_TABLE_32_epoll_create1
1094 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 4326, 1)
1096 #ifndef OVERRIDE_TABLE_32_dup3
1097 TRACE_SYSCALL_TABLE(dup3
, dup3
, 4327, 3)
1099 #ifndef OVERRIDE_TABLE_32_inotify_init1
1100 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 4329, 1)
1102 #ifndef OVERRIDE_TABLE_32_syncfs
1103 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 4342, 1)
1105 #ifndef OVERRIDE_TABLE_32_setns
1106 TRACE_SYSCALL_TABLE(setns
, setns
, 4344, 2)
1109 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.068174 seconds and 5 git commands to generate.