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.13.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_sgetmask
47 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sgetmask
)
49 #ifndef OVERRIDE_32_vhangup
50 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
52 #ifndef OVERRIDE_32_munlockall
53 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
55 #ifndef OVERRIDE_32_sched_yield
56 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
58 #ifndef OVERRIDE_32_gettid
59 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
61 #ifndef OVERRIDE_32_restart_syscall
62 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
64 #ifndef OVERRIDE_32_inotify_init
65 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, inotify_init
)
67 #else /* #ifdef SC_ENTER */
68 #ifndef OVERRIDE_32_getpid
69 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
70 TP_PROTO(sc_exit(long ret
)),
71 TP_ARGS(sc_exit(ret
)),
72 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
75 #ifndef OVERRIDE_32_getuid
76 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
77 TP_PROTO(sc_exit(long ret
)),
78 TP_ARGS(sc_exit(ret
)),
79 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
82 #ifndef OVERRIDE_32_pause
83 SC_LTTNG_TRACEPOINT_EVENT(pause
,
84 TP_PROTO(sc_exit(long ret
)),
85 TP_ARGS(sc_exit(ret
)),
86 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
89 #ifndef OVERRIDE_32_sync
90 SC_LTTNG_TRACEPOINT_EVENT(sync
,
91 TP_PROTO(sc_exit(long ret
)),
92 TP_ARGS(sc_exit(ret
)),
93 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
96 #ifndef OVERRIDE_32_getgid
97 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
98 TP_PROTO(sc_exit(long ret
)),
99 TP_ARGS(sc_exit(ret
)),
100 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
103 #ifndef OVERRIDE_32_geteuid
104 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
105 TP_PROTO(sc_exit(long ret
)),
106 TP_ARGS(sc_exit(ret
)),
107 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
110 #ifndef OVERRIDE_32_getegid
111 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
112 TP_PROTO(sc_exit(long ret
)),
113 TP_ARGS(sc_exit(ret
)),
114 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
117 #ifndef OVERRIDE_32_getppid
118 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
119 TP_PROTO(sc_exit(long ret
)),
120 TP_ARGS(sc_exit(ret
)),
121 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
124 #ifndef OVERRIDE_32_getpgrp
125 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
126 TP_PROTO(sc_exit(long ret
)),
127 TP_ARGS(sc_exit(ret
)),
128 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
131 #ifndef OVERRIDE_32_setsid
132 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
133 TP_PROTO(sc_exit(long ret
)),
134 TP_ARGS(sc_exit(ret
)),
135 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
138 #ifndef OVERRIDE_32_sgetmask
139 SC_LTTNG_TRACEPOINT_EVENT(sgetmask
,
140 TP_PROTO(sc_exit(long ret
)),
141 TP_ARGS(sc_exit(ret
)),
142 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
145 #ifndef OVERRIDE_32_vhangup
146 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
147 TP_PROTO(sc_exit(long ret
)),
148 TP_ARGS(sc_exit(ret
)),
149 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
152 #ifndef OVERRIDE_32_munlockall
153 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
154 TP_PROTO(sc_exit(long ret
)),
155 TP_ARGS(sc_exit(ret
)),
156 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
159 #ifndef OVERRIDE_32_sched_yield
160 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
161 TP_PROTO(sc_exit(long ret
)),
162 TP_ARGS(sc_exit(ret
)),
163 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
166 #ifndef OVERRIDE_32_gettid
167 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
168 TP_PROTO(sc_exit(long ret
)),
169 TP_ARGS(sc_exit(ret
)),
170 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
173 #ifndef OVERRIDE_32_restart_syscall
174 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
175 TP_PROTO(sc_exit(long ret
)),
176 TP_ARGS(sc_exit(ret
)),
177 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
180 #ifndef OVERRIDE_32_inotify_init
181 SC_LTTNG_TRACEPOINT_EVENT(inotify_init
,
182 TP_PROTO(sc_exit(long ret
)),
183 TP_ARGS(sc_exit(ret
)),
184 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)))
187 #endif /* else #ifdef SC_ENTER */
188 #ifndef OVERRIDE_32_exit
189 SC_LTTNG_TRACEPOINT_EVENT(exit
,
190 TP_PROTO(sc_exit(long ret
,) int error_code
),
191 TP_ARGS(sc_exit(ret
,) error_code
),
192 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
195 #ifndef OVERRIDE_32_close
196 SC_LTTNG_TRACEPOINT_EVENT(close
,
197 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
198 TP_ARGS(sc_exit(ret
,) fd
),
199 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
202 #ifndef OVERRIDE_32_setuid
203 SC_LTTNG_TRACEPOINT_EVENT(setuid
,
204 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
205 TP_ARGS(sc_exit(ret
,) uid
),
206 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
209 #ifndef OVERRIDE_32_alarm
210 SC_LTTNG_TRACEPOINT_EVENT(alarm
,
211 TP_PROTO(sc_exit(long ret
,) unsigned int seconds
),
212 TP_ARGS(sc_exit(ret
,) seconds
),
213 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, seconds
, seconds
)))
216 #ifndef OVERRIDE_32_nice
217 SC_LTTNG_TRACEPOINT_EVENT(nice
,
218 TP_PROTO(sc_exit(long ret
,) int increment
),
219 TP_ARGS(sc_exit(ret
,) increment
),
220 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, increment
, increment
)))
223 #ifndef OVERRIDE_32_dup
224 SC_LTTNG_TRACEPOINT_EVENT(dup
,
225 TP_PROTO(sc_exit(long ret
,) unsigned int fildes
),
226 TP_ARGS(sc_exit(ret
,) fildes
),
227 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fildes
, fildes
)))
230 #ifndef OVERRIDE_32_brk
231 SC_LTTNG_TRACEPOINT_EVENT(brk
,
232 TP_PROTO(sc_exit(long ret
,) unsigned long brk
),
233 TP_ARGS(sc_exit(ret
,) brk
),
234 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, brk
, brk
)))
237 #ifndef OVERRIDE_32_setgid
238 SC_LTTNG_TRACEPOINT_EVENT(setgid
,
239 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
240 TP_ARGS(sc_exit(ret
,) gid
),
241 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
244 #ifndef OVERRIDE_32_umask
245 SC_LTTNG_TRACEPOINT_EVENT(umask
,
246 TP_PROTO(sc_exit(long ret
,) int mask
),
247 TP_ARGS(sc_exit(ret
,) mask
),
248 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, mask
, mask
)))
251 #ifndef OVERRIDE_32_ssetmask
252 SC_LTTNG_TRACEPOINT_EVENT(ssetmask
,
253 TP_PROTO(sc_exit(long ret
,) int newmask
),
254 TP_ARGS(sc_exit(ret
,) newmask
),
255 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, newmask
, newmask
)))
258 #ifndef OVERRIDE_32_fsync
259 SC_LTTNG_TRACEPOINT_EVENT(fsync
,
260 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
261 TP_ARGS(sc_exit(ret
,) fd
),
262 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
265 #ifndef OVERRIDE_32_getpgid
266 SC_LTTNG_TRACEPOINT_EVENT(getpgid
,
267 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
268 TP_ARGS(sc_exit(ret
,) pid
),
269 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
272 #ifndef OVERRIDE_32_fchdir
273 SC_LTTNG_TRACEPOINT_EVENT(fchdir
,
274 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
275 TP_ARGS(sc_exit(ret
,) fd
),
276 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
279 #ifndef OVERRIDE_32_personality
280 SC_LTTNG_TRACEPOINT_EVENT(personality
,
281 TP_PROTO(sc_exit(long ret
,) unsigned int personality
),
282 TP_ARGS(sc_exit(ret
,) personality
),
283 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, personality
, personality
)))
286 #ifndef OVERRIDE_32_setfsuid
287 SC_LTTNG_TRACEPOINT_EVENT(setfsuid
,
288 TP_PROTO(sc_exit(long ret
,) uid_t uid
),
289 TP_ARGS(sc_exit(ret
,) uid
),
290 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(uid_t
, uid
, uid
)))
293 #ifndef OVERRIDE_32_setfsgid
294 SC_LTTNG_TRACEPOINT_EVENT(setfsgid
,
295 TP_PROTO(sc_exit(long ret
,) gid_t gid
),
296 TP_ARGS(sc_exit(ret
,) gid
),
297 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(gid_t
, gid
, gid
)))
300 #ifndef OVERRIDE_32_getsid
301 SC_LTTNG_TRACEPOINT_EVENT(getsid
,
302 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
303 TP_ARGS(sc_exit(ret
,) pid
),
304 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
307 #ifndef OVERRIDE_32_fdatasync
308 SC_LTTNG_TRACEPOINT_EVENT(fdatasync
,
309 TP_PROTO(sc_exit(long ret
,) unsigned int fd
),
310 TP_ARGS(sc_exit(ret
,) fd
),
311 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, fd
, fd
)))
314 #ifndef OVERRIDE_32_mlockall
315 SC_LTTNG_TRACEPOINT_EVENT(mlockall
,
316 TP_PROTO(sc_exit(long ret
,) int flags
),
317 TP_ARGS(sc_exit(ret
,) flags
),
318 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
321 #ifndef OVERRIDE_32_sched_getscheduler
322 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler
,
323 TP_PROTO(sc_exit(long ret
,) pid_t pid
),
324 TP_ARGS(sc_exit(ret
,) pid
),
325 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)))
328 #ifndef OVERRIDE_32_sched_get_priority_max
329 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max
,
330 TP_PROTO(sc_exit(long ret
,) int policy
),
331 TP_ARGS(sc_exit(ret
,) policy
),
332 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
335 #ifndef OVERRIDE_32_sched_get_priority_min
336 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min
,
337 TP_PROTO(sc_exit(long ret
,) int policy
),
338 TP_ARGS(sc_exit(ret
,) policy
),
339 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, policy
, policy
)))
342 #ifndef OVERRIDE_32_io_destroy
343 SC_LTTNG_TRACEPOINT_EVENT(io_destroy
,
344 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx
),
345 TP_ARGS(sc_exit(ret
,) ctx
),
346 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(aio_context_t
, ctx
, ctx
)))
349 #ifndef OVERRIDE_32_exit_group
350 SC_LTTNG_TRACEPOINT_EVENT(exit_group
,
351 TP_PROTO(sc_exit(long ret
,) int error_code
),
352 TP_ARGS(sc_exit(ret
,) error_code
),
353 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, error_code
, error_code
)))
356 #ifndef OVERRIDE_32_epoll_create
357 SC_LTTNG_TRACEPOINT_EVENT(epoll_create
,
358 TP_PROTO(sc_exit(long ret
,) int size
),
359 TP_ARGS(sc_exit(ret
,) size
),
360 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, size
, size
)))
363 #ifndef OVERRIDE_32_timer_getoverrun
364 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun
,
365 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
366 TP_ARGS(sc_exit(ret
,) timer_id
),
367 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
370 #ifndef OVERRIDE_32_timer_delete
371 SC_LTTNG_TRACEPOINT_EVENT(timer_delete
,
372 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
),
373 TP_ARGS(sc_exit(ret
,) timer_id
),
374 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)))
377 #ifndef OVERRIDE_32_set_thread_area
378 SC_LTTNG_TRACEPOINT_EVENT(set_thread_area
,
379 TP_PROTO(sc_exit(long ret
,) unsigned long addr
),
380 TP_ARGS(sc_exit(ret
,) addr
),
381 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned long, addr
, addr
)))
384 #ifndef OVERRIDE_32_unshare
385 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
386 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
387 TP_ARGS(sc_exit(ret
,) unshare_flags
),
388 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
391 #ifndef OVERRIDE_32_eventfd
392 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
393 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
394 TP_ARGS(sc_exit(ret
,) count
),
395 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
398 #ifndef OVERRIDE_32_epoll_create1
399 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
400 TP_PROTO(sc_exit(long ret
,) int flags
),
401 TP_ARGS(sc_exit(ret
,) flags
),
402 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
405 #ifndef OVERRIDE_32_inotify_init1
406 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
407 TP_PROTO(sc_exit(long ret
,) int flags
),
408 TP_ARGS(sc_exit(ret
,) flags
),
409 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
412 #ifndef OVERRIDE_32_syncfs
413 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
414 TP_PROTO(sc_exit(long ret
,) int fd
),
415 TP_ARGS(sc_exit(ret
,) fd
),
416 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
419 #ifndef OVERRIDE_32_kill
420 SC_LTTNG_TRACEPOINT_EVENT(kill
,
421 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
422 TP_ARGS(sc_exit(ret
,) pid
, sig
),
423 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
426 #ifndef OVERRIDE_32_setpgid
427 SC_LTTNG_TRACEPOINT_EVENT(setpgid
,
428 TP_PROTO(sc_exit(long ret
,) pid_t pid
, pid_t pgid
),
429 TP_ARGS(sc_exit(ret
,) pid
, pgid
),
430 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
)))
433 #ifndef OVERRIDE_32_dup2
434 SC_LTTNG_TRACEPOINT_EVENT(dup2
,
435 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
),
436 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
),
437 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
)))
440 #ifndef OVERRIDE_32_setreuid
441 SC_LTTNG_TRACEPOINT_EVENT(setreuid
,
442 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
),
443 TP_ARGS(sc_exit(ret
,) ruid
, euid
),
444 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
)))
447 #ifndef OVERRIDE_32_setregid
448 SC_LTTNG_TRACEPOINT_EVENT(setregid
,
449 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
),
450 TP_ARGS(sc_exit(ret
,) rgid
, egid
),
451 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
)))
454 #ifndef OVERRIDE_32_munmap
455 SC_LTTNG_TRACEPOINT_EVENT(munmap
,
456 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, size_t len
),
457 TP_ARGS(sc_exit(ret
,) addr
, len
),
458 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
)))
461 #ifndef OVERRIDE_32_ftruncate
462 SC_LTTNG_TRACEPOINT_EVENT(ftruncate
,
463 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long length
),
464 TP_ARGS(sc_exit(ret
,) fd
, length
),
465 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
)))
468 #ifndef OVERRIDE_32_fchmod
469 SC_LTTNG_TRACEPOINT_EVENT(fchmod
,
470 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, umode_t mode
),
471 TP_ARGS(sc_exit(ret
,) fd
, mode
),
472 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
)))
475 #ifndef OVERRIDE_32_getpriority
476 SC_LTTNG_TRACEPOINT_EVENT(getpriority
,
477 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
478 TP_ARGS(sc_exit(ret
,) which
, who
),
479 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
482 #ifndef OVERRIDE_32_bdflush
483 SC_LTTNG_TRACEPOINT_EVENT(bdflush
,
484 TP_PROTO(sc_exit(long ret
,) int func
, long data
),
485 TP_ARGS(sc_exit(ret
,) func
, data
),
486 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, func
, func
)) sc_inout(ctf_integer(long, data
, data
)))
489 #ifndef OVERRIDE_32_flock
490 SC_LTTNG_TRACEPOINT_EVENT(flock
,
491 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
),
492 TP_ARGS(sc_exit(ret
,) fd
, cmd
),
493 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
)))
496 #ifndef OVERRIDE_32_mlock
497 SC_LTTNG_TRACEPOINT_EVENT(mlock
,
498 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
499 TP_ARGS(sc_exit(ret
,) start
, len
),
500 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
)))
503 #ifndef OVERRIDE_32_munlock
504 SC_LTTNG_TRACEPOINT_EVENT(munlock
,
505 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
),
506 TP_ARGS(sc_exit(ret
,) start
, len
),
507 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
)))
510 #ifndef OVERRIDE_32_listen
511 SC_LTTNG_TRACEPOINT_EVENT(listen
,
512 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
513 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
514 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
517 #ifndef OVERRIDE_32_shutdown
518 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
519 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
520 TP_ARGS(sc_exit(ret
,) fd
, how
),
521 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
524 #ifndef OVERRIDE_32_ftruncate64
525 SC_LTTNG_TRACEPOINT_EVENT(ftruncate64
,
526 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, loff_t length
),
527 TP_ARGS(sc_exit(ret
,) fd
, length
),
528 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
)))
531 #ifndef OVERRIDE_32_tkill
532 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
533 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
534 TP_ARGS(sc_exit(ret
,) pid
, sig
),
535 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
538 #ifndef OVERRIDE_32_inotify_rm_watch
539 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
540 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
541 TP_ARGS(sc_exit(ret
,) fd
, wd
),
542 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
545 #ifndef OVERRIDE_32_ioprio_get
546 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
547 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
548 TP_ARGS(sc_exit(ret
,) which
, who
),
549 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
552 #ifndef OVERRIDE_32_timerfd_create
553 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
554 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
555 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
556 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
559 #ifndef OVERRIDE_32_eventfd2
560 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
561 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
562 TP_ARGS(sc_exit(ret
,) count
, flags
),
563 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
566 #ifndef OVERRIDE_32_setns
567 SC_LTTNG_TRACEPOINT_EVENT(setns
,
568 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
569 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
570 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
573 #ifndef OVERRIDE_32_lseek
574 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
575 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int whence
),
576 TP_ARGS(sc_exit(ret
,) fd
, offset
, whence
),
577 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
)))
580 #ifndef OVERRIDE_32_ioctl
581 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
582 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
583 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
584 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
)))
587 #ifndef OVERRIDE_32_fcntl
588 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
589 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
590 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
591 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
)))
594 #ifndef OVERRIDE_32_fchown
595 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
596 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
597 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
598 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
)))
601 #ifndef OVERRIDE_32_setpriority
602 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
603 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
604 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
605 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
)))
608 #ifndef OVERRIDE_32_mprotect
609 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
610 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
611 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
612 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
)))
615 #ifndef OVERRIDE_32_sysfs
616 SC_LTTNG_TRACEPOINT_EVENT(sysfs
,
617 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg1
, unsigned long arg2
),
618 TP_ARGS(sc_exit(ret
,) option
, arg1
, arg2
),
619 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, option
, option
)) sc_in(ctf_integer(unsigned long, arg1
, arg1
)) sc_in(ctf_integer(unsigned long, arg2
, arg2
)))
622 #ifndef OVERRIDE_32_msync
623 SC_LTTNG_TRACEPOINT_EVENT(msync
,
624 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
625 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
626 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
)))
629 #ifndef OVERRIDE_32_cacheflush
630 SC_LTTNG_TRACEPOINT_EVENT(cacheflush
,
631 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long bytes
, unsigned int cache
),
632 TP_ARGS(sc_exit(ret
,) addr
, bytes
, cache
),
633 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
)))
636 #ifndef OVERRIDE_32_sysmips
637 SC_LTTNG_TRACEPOINT_EVENT(sysmips
,
638 TP_PROTO(sc_exit(long ret
,) long cmd
, long arg1
, long arg2
),
639 TP_ARGS(sc_exit(ret
,) cmd
, arg1
, arg2
),
640 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
)))
643 #ifndef OVERRIDE_32_socket
644 SC_LTTNG_TRACEPOINT_EVENT(socket
,
645 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
646 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
647 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
)))
650 #ifndef OVERRIDE_32_setresuid
651 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
652 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
653 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
654 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
)))
657 #ifndef OVERRIDE_32_setresgid
658 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
659 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
660 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
661 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
)))
664 #ifndef OVERRIDE_32_madvise
665 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
666 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
667 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
668 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
)))
671 #ifndef OVERRIDE_32_fcntl64
672 SC_LTTNG_TRACEPOINT_EVENT(fcntl64
,
673 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
674 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
675 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
)))
678 #ifndef OVERRIDE_32_readahead
679 SC_LTTNG_TRACEPOINT_EVENT(readahead
,
680 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, size_t count
),
681 TP_ARGS(sc_exit(ret
,) fd
, offset
, count
),
682 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
)))
685 #ifndef OVERRIDE_32_tgkill
686 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
687 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
688 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
689 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
)))
692 #ifndef OVERRIDE_32_ioprio_set
693 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
694 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
695 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
696 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
)))
699 #ifndef OVERRIDE_32_dup3
700 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
701 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
702 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
703 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
)))
706 #ifndef OVERRIDE_32_ptrace
707 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
708 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
709 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
710 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
)))
713 #ifndef OVERRIDE_32_fadvise64_64
714 SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64
,
715 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t len
, int advice
),
716 TP_ARGS(sc_exit(ret
,) fd
, offset
, len
, advice
),
717 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
)))
720 #ifndef OVERRIDE_32_sync_file_range
721 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
722 TP_PROTO(sc_exit(long ret
,) int fd
, loff_t offset
, loff_t nbytes
, unsigned int flags
),
723 TP_ARGS(sc_exit(ret
,) fd
, offset
, nbytes
, flags
),
724 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
)))
727 #ifndef OVERRIDE_32_tee
728 SC_LTTNG_TRACEPOINT_EVENT(tee
,
729 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
730 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
731 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
)))
734 #ifndef OVERRIDE_32_fallocate
735 SC_LTTNG_TRACEPOINT_EVENT(fallocate
,
736 TP_PROTO(sc_exit(long ret
,) int fd
, int mode
, loff_t offset
, loff_t len
),
737 TP_ARGS(sc_exit(ret
,) fd
, mode
, offset
, len
),
738 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
)))
741 #ifndef OVERRIDE_32_mremap
742 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
743 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
744 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
745 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
)))
748 #ifndef OVERRIDE_32_prctl
749 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
750 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
751 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
752 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
)))
755 #ifndef OVERRIDE_32_remap_file_pages
756 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
757 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
758 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
759 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
)))
762 #ifndef OVERRIDE_32_mips_mmap
763 SC_LTTNG_TRACEPOINT_EVENT(mips_mmap
,
764 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, off_t offset
),
765 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, offset
),
766 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(off_t
, offset
, offset
)))
769 #ifndef OVERRIDE_32_mips_mmap2
770 SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2
,
771 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long len
, unsigned long prot
, unsigned long flags
, unsigned long fd
, unsigned long pgoff
),
772 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, pgoff
),
773 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
)))
777 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
779 /* This part must be outside protection */
780 #include "../../../probes/define_trace.h"
782 #else /* CREATE_SYSCALL_TABLE */
784 #include "mips-32-syscalls-3.13.0_integers_override.h"
785 #include "syscalls_integers_override.h"
788 #ifndef OVERRIDE_TABLE_32_getpid
789 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 4020, 0)
791 #ifndef OVERRIDE_TABLE_32_getuid
792 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 4024, 0)
794 #ifndef OVERRIDE_TABLE_32_pause
795 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 4029, 0)
797 #ifndef OVERRIDE_TABLE_32_sync
798 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 4036, 0)
800 #ifndef OVERRIDE_TABLE_32_getgid
801 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 4047, 0)
803 #ifndef OVERRIDE_TABLE_32_geteuid
804 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 4049, 0)
806 #ifndef OVERRIDE_TABLE_32_getegid
807 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 4050, 0)
809 #ifndef OVERRIDE_TABLE_32_getppid
810 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 4064, 0)
812 #ifndef OVERRIDE_TABLE_32_getpgrp
813 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 4065, 0)
815 #ifndef OVERRIDE_TABLE_32_setsid
816 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 4066, 0)
818 #ifndef OVERRIDE_TABLE_32_sgetmask
819 TRACE_SYSCALL_TABLE(syscalls_noargs
, sgetmask
, 4068, 0)
821 #ifndef OVERRIDE_TABLE_32_vhangup
822 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 4111, 0)
824 #ifndef OVERRIDE_TABLE_32_munlockall
825 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 4157, 0)
827 #ifndef OVERRIDE_TABLE_32_sched_yield
828 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 4162, 0)
830 #ifndef OVERRIDE_TABLE_32_gettid
831 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 4222, 0)
833 #ifndef OVERRIDE_TABLE_32_restart_syscall
834 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 4253, 0)
836 #ifndef OVERRIDE_TABLE_32_inotify_init
837 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 4284, 0)
839 #else /* #ifdef SC_ENTER */
840 #ifndef OVERRIDE_TABLE_32_getpid
841 TRACE_SYSCALL_TABLE(getpid
, getpid
, 4020, 0)
843 #ifndef OVERRIDE_TABLE_32_getuid
844 TRACE_SYSCALL_TABLE(getuid
, getuid
, 4024, 0)
846 #ifndef OVERRIDE_TABLE_32_pause
847 TRACE_SYSCALL_TABLE(pause
, pause
, 4029, 0)
849 #ifndef OVERRIDE_TABLE_32_sync
850 TRACE_SYSCALL_TABLE(sync
, sync
, 4036, 0)
852 #ifndef OVERRIDE_TABLE_32_getgid
853 TRACE_SYSCALL_TABLE(getgid
, getgid
, 4047, 0)
855 #ifndef OVERRIDE_TABLE_32_geteuid
856 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 4049, 0)
858 #ifndef OVERRIDE_TABLE_32_getegid
859 TRACE_SYSCALL_TABLE(getegid
, getegid
, 4050, 0)
861 #ifndef OVERRIDE_TABLE_32_getppid
862 TRACE_SYSCALL_TABLE(getppid
, getppid
, 4064, 0)
864 #ifndef OVERRIDE_TABLE_32_getpgrp
865 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 4065, 0)
867 #ifndef OVERRIDE_TABLE_32_setsid
868 TRACE_SYSCALL_TABLE(setsid
, setsid
, 4066, 0)
870 #ifndef OVERRIDE_TABLE_32_sgetmask
871 TRACE_SYSCALL_TABLE(sgetmask
, sgetmask
, 4068, 0)
873 #ifndef OVERRIDE_TABLE_32_vhangup
874 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 4111, 0)
876 #ifndef OVERRIDE_TABLE_32_munlockall
877 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 4157, 0)
879 #ifndef OVERRIDE_TABLE_32_sched_yield
880 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 4162, 0)
882 #ifndef OVERRIDE_TABLE_32_gettid
883 TRACE_SYSCALL_TABLE(gettid
, gettid
, 4222, 0)
885 #ifndef OVERRIDE_TABLE_32_restart_syscall
886 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 4253, 0)
888 #ifndef OVERRIDE_TABLE_32_inotify_init
889 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 4284, 0)
891 #endif /* else #ifdef SC_ENTER */
892 #ifndef OVERRIDE_TABLE_32_exit
893 TRACE_SYSCALL_TABLE(exit
, exit
, 4001, 1)
895 #ifndef OVERRIDE_TABLE_32_close
896 TRACE_SYSCALL_TABLE(close
, close
, 4006, 1)
898 #ifndef OVERRIDE_TABLE_32_lseek
899 TRACE_SYSCALL_TABLE(lseek
, lseek
, 4019, 3)
901 #ifndef OVERRIDE_TABLE_32_setuid
902 TRACE_SYSCALL_TABLE(setuid
, setuid
, 4023, 1)
904 #ifndef OVERRIDE_TABLE_32_ptrace
905 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 4026, 4)
907 #ifndef OVERRIDE_TABLE_32_alarm
908 TRACE_SYSCALL_TABLE(alarm
, alarm
, 4027, 1)
910 #ifndef OVERRIDE_TABLE_32_nice
911 TRACE_SYSCALL_TABLE(nice
, nice
, 4034, 1)
913 #ifndef OVERRIDE_TABLE_32_kill
914 TRACE_SYSCALL_TABLE(kill
, kill
, 4037, 2)
916 #ifndef OVERRIDE_TABLE_32_dup
917 TRACE_SYSCALL_TABLE(dup
, dup
, 4041, 1)
919 #ifndef OVERRIDE_TABLE_32_brk
920 TRACE_SYSCALL_TABLE(brk
, brk
, 4045, 1)
922 #ifndef OVERRIDE_TABLE_32_setgid
923 TRACE_SYSCALL_TABLE(setgid
, setgid
, 4046, 1)
925 #ifndef OVERRIDE_TABLE_32_ioctl
926 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 4054, 3)
928 #ifndef OVERRIDE_TABLE_32_fcntl
929 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 4055, 3)
931 #ifndef OVERRIDE_TABLE_32_setpgid
932 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 4057, 2)
934 #ifndef OVERRIDE_TABLE_32_umask
935 TRACE_SYSCALL_TABLE(umask
, umask
, 4060, 1)
937 #ifndef OVERRIDE_TABLE_32_dup2
938 TRACE_SYSCALL_TABLE(dup2
, dup2
, 4063, 2)
940 #ifndef OVERRIDE_TABLE_32_ssetmask
941 TRACE_SYSCALL_TABLE(ssetmask
, ssetmask
, 4069, 1)
943 #ifndef OVERRIDE_TABLE_32_setreuid
944 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 4070, 2)
946 #ifndef OVERRIDE_TABLE_32_setregid
947 TRACE_SYSCALL_TABLE(setregid
, setregid
, 4071, 2)
949 #ifndef OVERRIDE_TABLE_32_mips_mmap
950 TRACE_SYSCALL_TABLE(mips_mmap
, mips_mmap
, 4090, 6)
952 #ifndef OVERRIDE_TABLE_32_munmap
953 TRACE_SYSCALL_TABLE(munmap
, munmap
, 4091, 2)
955 #ifndef OVERRIDE_TABLE_32_ftruncate
956 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 4093, 2)
958 #ifndef OVERRIDE_TABLE_32_fchmod
959 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 4094, 2)
961 #ifndef OVERRIDE_TABLE_32_fchown
962 TRACE_SYSCALL_TABLE(fchown
, fchown
, 4095, 3)
964 #ifndef OVERRIDE_TABLE_32_getpriority
965 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 4096, 2)
967 #ifndef OVERRIDE_TABLE_32_setpriority
968 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 4097, 3)
970 #ifndef OVERRIDE_TABLE_32_fsync
971 TRACE_SYSCALL_TABLE(fsync
, fsync
, 4118, 1)
973 #ifndef OVERRIDE_TABLE_32_mprotect
974 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 4125, 3)
976 #ifndef OVERRIDE_TABLE_32_getpgid
977 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 4132, 1)
979 #ifndef OVERRIDE_TABLE_32_fchdir
980 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 4133, 1)
982 #ifndef OVERRIDE_TABLE_32_bdflush
983 TRACE_SYSCALL_TABLE(bdflush
, bdflush
, 4134, 2)
985 #ifndef OVERRIDE_TABLE_32_sysfs
986 TRACE_SYSCALL_TABLE(sysfs
, sysfs
, 4135, 3)
988 #ifndef OVERRIDE_TABLE_32_personality
989 TRACE_SYSCALL_TABLE(personality
, personality
, 4136, 1)
991 #ifndef OVERRIDE_TABLE_32_setfsuid
992 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 4138, 1)
994 #ifndef OVERRIDE_TABLE_32_setfsgid
995 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 4139, 1)
997 #ifndef OVERRIDE_TABLE_32_flock
998 TRACE_SYSCALL_TABLE(flock
, flock
, 4143, 2)
1000 #ifndef OVERRIDE_TABLE_32_msync
1001 TRACE_SYSCALL_TABLE(msync
, msync
, 4144, 3)
1003 #ifndef OVERRIDE_TABLE_32_cacheflush
1004 TRACE_SYSCALL_TABLE(cacheflush
, cacheflush
, 4147, 3)
1006 #ifndef OVERRIDE_TABLE_32_sysmips
1007 TRACE_SYSCALL_TABLE(sysmips
, sysmips
, 4149, 3)
1009 #ifndef OVERRIDE_TABLE_32_getsid
1010 TRACE_SYSCALL_TABLE(getsid
, getsid
, 4151, 1)
1012 #ifndef OVERRIDE_TABLE_32_fdatasync
1013 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 4152, 1)
1015 #ifndef OVERRIDE_TABLE_32_mlock
1016 TRACE_SYSCALL_TABLE(mlock
, mlock
, 4154, 2)
1018 #ifndef OVERRIDE_TABLE_32_munlock
1019 TRACE_SYSCALL_TABLE(munlock
, munlock
, 4155, 2)
1021 #ifndef OVERRIDE_TABLE_32_mlockall
1022 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 4156, 1)
1024 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
1025 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 4161, 1)
1027 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
1028 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 4163, 1)
1030 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
1031 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 4164, 1)
1033 #ifndef OVERRIDE_TABLE_32_mremap
1034 TRACE_SYSCALL_TABLE(mremap
, mremap
, 4167, 5)
1036 #ifndef OVERRIDE_TABLE_32_listen
1037 TRACE_SYSCALL_TABLE(listen
, listen
, 4174, 2)
1039 #ifndef OVERRIDE_TABLE_32_shutdown
1040 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 4182, 2)
1042 #ifndef OVERRIDE_TABLE_32_socket
1043 TRACE_SYSCALL_TABLE(socket
, socket
, 4183, 3)
1045 #ifndef OVERRIDE_TABLE_32_setresuid
1046 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 4185, 3)
1048 #ifndef OVERRIDE_TABLE_32_setresgid
1049 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 4190, 3)
1051 #ifndef OVERRIDE_TABLE_32_prctl
1052 TRACE_SYSCALL_TABLE(prctl
, prctl
, 4192, 5)
1054 #ifndef OVERRIDE_TABLE_32_mips_mmap2
1055 TRACE_SYSCALL_TABLE(mips_mmap2
, mips_mmap2
, 4210, 6)
1057 #ifndef OVERRIDE_TABLE_32_ftruncate64
1058 TRACE_SYSCALL_TABLE(ftruncate64
, ftruncate64
, 4212, 2)
1060 #ifndef OVERRIDE_TABLE_32_madvise
1061 TRACE_SYSCALL_TABLE(madvise
, madvise
, 4218, 3)
1063 #ifndef OVERRIDE_TABLE_32_fcntl64
1064 TRACE_SYSCALL_TABLE(fcntl64
, fcntl64
, 4220, 3)
1066 #ifndef OVERRIDE_TABLE_32_readahead
1067 TRACE_SYSCALL_TABLE(readahead
, readahead
, 4223, 3)
1069 #ifndef OVERRIDE_TABLE_32_tkill
1070 TRACE_SYSCALL_TABLE(tkill
, tkill
, 4236, 2)
1072 #ifndef OVERRIDE_TABLE_32_io_destroy
1073 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 4242, 1)
1075 #ifndef OVERRIDE_TABLE_32_exit_group
1076 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 4246, 1)
1078 #ifndef OVERRIDE_TABLE_32_epoll_create
1079 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 4248, 1)
1081 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1082 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 4251, 5)
1084 #ifndef OVERRIDE_TABLE_32_fadvise64_64
1085 TRACE_SYSCALL_TABLE(fadvise64_64
, fadvise64_64
, 4254, 4)
1087 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1088 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 4260, 1)
1090 #ifndef OVERRIDE_TABLE_32_timer_delete
1091 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 4261, 1)
1093 #ifndef OVERRIDE_TABLE_32_tgkill
1094 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 4266, 3)
1096 #ifndef OVERRIDE_TABLE_32_set_thread_area
1097 TRACE_SYSCALL_TABLE(set_thread_area
, set_thread_area
, 4283, 1)
1099 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1100 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 4286, 2)
1102 #ifndef OVERRIDE_TABLE_32_unshare
1103 TRACE_SYSCALL_TABLE(unshare
, unshare
, 4303, 1)
1105 #ifndef OVERRIDE_TABLE_32_sync_file_range
1106 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 4305, 4)
1108 #ifndef OVERRIDE_TABLE_32_tee
1109 TRACE_SYSCALL_TABLE(tee
, tee
, 4306, 4)
1111 #ifndef OVERRIDE_TABLE_32_ioprio_set
1112 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 4314, 3)
1114 #ifndef OVERRIDE_TABLE_32_ioprio_get
1115 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 4315, 2)
1117 #ifndef OVERRIDE_TABLE_32_eventfd
1118 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 4319, 1)
1120 #ifndef OVERRIDE_TABLE_32_fallocate
1121 TRACE_SYSCALL_TABLE(fallocate
, fallocate
, 4320, 4)
1123 #ifndef OVERRIDE_TABLE_32_timerfd_create
1124 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 4321, 2)
1126 #ifndef OVERRIDE_TABLE_32_eventfd2
1127 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 4325, 2)
1129 #ifndef OVERRIDE_TABLE_32_epoll_create1
1130 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 4326, 1)
1132 #ifndef OVERRIDE_TABLE_32_dup3
1133 TRACE_SYSCALL_TABLE(dup3
, dup3
, 4327, 3)
1135 #ifndef OVERRIDE_TABLE_32_inotify_init1
1136 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 4329, 1)
1138 #ifndef OVERRIDE_TABLE_32_syncfs
1139 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 4342, 1)
1141 #ifndef OVERRIDE_TABLE_32_setns
1142 TRACE_SYSCALL_TABLE(setns
, setns
, 4344, 2)
1145 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.056653 seconds and 4 git commands to generate.