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 "powerpc-32-syscalls-3.0.34_integers_override.h"
10 #include "syscalls_integers_override.h"
13 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs
,
16 #ifndef OVERRIDE_32_restart_syscall
17 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, restart_syscall
)
19 #ifndef OVERRIDE_32_getpid
20 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpid
)
22 #ifndef OVERRIDE_32_getuid
23 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getuid
)
25 #ifndef OVERRIDE_32_pause
26 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, pause
)
28 #ifndef OVERRIDE_32_sync
29 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sync
)
31 #ifndef OVERRIDE_32_getgid
32 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getgid
)
34 #ifndef OVERRIDE_32_geteuid
35 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, geteuid
)
37 #ifndef OVERRIDE_32_getegid
38 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getegid
)
40 #ifndef OVERRIDE_32_getppid
41 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getppid
)
43 #ifndef OVERRIDE_32_getpgrp
44 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, getpgrp
)
46 #ifndef OVERRIDE_32_setsid
47 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, setsid
)
49 #ifndef OVERRIDE_32_sgetmask
50 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sgetmask
)
52 #ifndef OVERRIDE_32_vhangup
53 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, vhangup
)
55 #ifndef OVERRIDE_32_munlockall
56 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, munlockall
)
58 #ifndef OVERRIDE_32_sched_yield
59 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, sched_yield
)
61 #ifndef OVERRIDE_32_gettid
62 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs
, gettid
)
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_restart_syscall
69 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall
,
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_getpid
76 SC_LTTNG_TRACEPOINT_EVENT(getpid
,
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_getuid
83 SC_LTTNG_TRACEPOINT_EVENT(getuid
,
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_pause
90 SC_LTTNG_TRACEPOINT_EVENT(pause
,
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_sync
97 SC_LTTNG_TRACEPOINT_EVENT(sync
,
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_getgid
104 SC_LTTNG_TRACEPOINT_EVENT(getgid
,
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_geteuid
111 SC_LTTNG_TRACEPOINT_EVENT(geteuid
,
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_getegid
118 SC_LTTNG_TRACEPOINT_EVENT(getegid
,
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_getppid
125 SC_LTTNG_TRACEPOINT_EVENT(getppid
,
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_getpgrp
132 SC_LTTNG_TRACEPOINT_EVENT(getpgrp
,
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_setsid
139 SC_LTTNG_TRACEPOINT_EVENT(setsid
,
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_sgetmask
146 SC_LTTNG_TRACEPOINT_EVENT(sgetmask
,
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_vhangup
153 SC_LTTNG_TRACEPOINT_EVENT(vhangup
,
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_munlockall
160 SC_LTTNG_TRACEPOINT_EVENT(munlockall
,
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_sched_yield
167 SC_LTTNG_TRACEPOINT_EVENT(sched_yield
,
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_gettid
174 SC_LTTNG_TRACEPOINT_EVENT(gettid
,
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_unshare
378 SC_LTTNG_TRACEPOINT_EVENT(unshare
,
379 TP_PROTO(sc_exit(long ret
,) unsigned long unshare_flags
),
380 TP_ARGS(sc_exit(ret
,) unshare_flags
),
381 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, unshare_flags
, unshare_flags
)))
384 #ifndef OVERRIDE_32_eventfd
385 SC_LTTNG_TRACEPOINT_EVENT(eventfd
,
386 TP_PROTO(sc_exit(long ret
,) unsigned int count
),
387 TP_ARGS(sc_exit(ret
,) count
),
388 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)))
391 #ifndef OVERRIDE_32_epoll_create1
392 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1
,
393 TP_PROTO(sc_exit(long ret
,) int flags
),
394 TP_ARGS(sc_exit(ret
,) flags
),
395 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, flags
, flags
)))
398 #ifndef OVERRIDE_32_inotify_init1
399 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1
,
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_syncfs
406 SC_LTTNG_TRACEPOINT_EVENT(syncfs
,
407 TP_PROTO(sc_exit(long ret
,) int fd
),
408 TP_ARGS(sc_exit(ret
,) fd
),
409 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)))
412 #ifndef OVERRIDE_32_kill
413 SC_LTTNG_TRACEPOINT_EVENT(kill
,
414 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
415 TP_ARGS(sc_exit(ret
,) pid
, sig
),
416 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
419 #ifndef OVERRIDE_32_signal
420 SC_LTTNG_TRACEPOINT_EVENT(signal
,
421 TP_PROTO(sc_exit(long ret
,) int sig
, __sighandler_t handler
),
422 TP_ARGS(sc_exit(ret
,) sig
, handler
),
423 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, sig
, sig
)) sc_inout(ctf_integer(__sighandler_t
, handler
, handler
)))
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
, mode_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(mode_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_tkill
511 SC_LTTNG_TRACEPOINT_EVENT(tkill
,
512 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
),
513 TP_ARGS(sc_exit(ret
,) pid
, sig
),
514 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(int, sig
, sig
)))
517 #ifndef OVERRIDE_32_ioprio_get
518 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get
,
519 TP_PROTO(sc_exit(long ret
,) int which
, int who
),
520 TP_ARGS(sc_exit(ret
,) which
, who
),
521 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(int, who
, who
)))
524 #ifndef OVERRIDE_32_inotify_rm_watch
525 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch
,
526 TP_PROTO(sc_exit(long ret
,) int fd
, __s32 wd
),
527 TP_ARGS(sc_exit(ret
,) fd
, wd
),
528 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(__s32
, wd
, wd
)))
531 #ifndef OVERRIDE_32_timerfd_create
532 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create
,
533 TP_PROTO(sc_exit(long ret
,) int clockid
, int flags
),
534 TP_ARGS(sc_exit(ret
,) clockid
, flags
),
535 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, clockid
, clockid
)) sc_in(ctf_integer(int, flags
, flags
)))
538 #ifndef OVERRIDE_32_eventfd2
539 SC_LTTNG_TRACEPOINT_EVENT(eventfd2
,
540 TP_PROTO(sc_exit(long ret
,) unsigned int count
, int flags
),
541 TP_ARGS(sc_exit(ret
,) count
, flags
),
542 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned int, count
, count
)) sc_in(ctf_integer(int, flags
, flags
)))
545 #ifndef OVERRIDE_32_listen
546 SC_LTTNG_TRACEPOINT_EVENT(listen
,
547 TP_PROTO(sc_exit(long ret
,) int fd
, int backlog
),
548 TP_ARGS(sc_exit(ret
,) fd
, backlog
),
549 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, backlog
, backlog
)))
552 #ifndef OVERRIDE_32_shutdown
553 SC_LTTNG_TRACEPOINT_EVENT(shutdown
,
554 TP_PROTO(sc_exit(long ret
,) int fd
, int how
),
555 TP_ARGS(sc_exit(ret
,) fd
, how
),
556 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, how
, how
)))
559 #ifndef OVERRIDE_32_setns
560 SC_LTTNG_TRACEPOINT_EVENT(setns
,
561 TP_PROTO(sc_exit(long ret
,) int fd
, int nstype
),
562 TP_ARGS(sc_exit(ret
,) fd
, nstype
),
563 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(int, nstype
, nstype
)))
566 #ifndef OVERRIDE_32_lseek
567 SC_LTTNG_TRACEPOINT_EVENT(lseek
,
568 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, off_t offset
, unsigned int origin
),
569 TP_ARGS(sc_exit(ret
,) fd
, offset
, origin
),
570 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, origin
, origin
)))
573 #ifndef OVERRIDE_32_ioctl
574 SC_LTTNG_TRACEPOINT_EVENT(ioctl
,
575 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
576 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
577 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
)))
580 #ifndef OVERRIDE_32_fcntl
581 SC_LTTNG_TRACEPOINT_EVENT(fcntl
,
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_fchown
588 SC_LTTNG_TRACEPOINT_EVENT(fchown
,
589 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, uid_t user
, gid_t group
),
590 TP_ARGS(sc_exit(ret
,) fd
, user
, group
),
591 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
)))
594 #ifndef OVERRIDE_32_setpriority
595 SC_LTTNG_TRACEPOINT_EVENT(setpriority
,
596 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int niceval
),
597 TP_ARGS(sc_exit(ret
,) which
, who
, niceval
),
598 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
)))
601 #ifndef OVERRIDE_32_mprotect
602 SC_LTTNG_TRACEPOINT_EVENT(mprotect
,
603 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned long prot
),
604 TP_ARGS(sc_exit(ret
,) start
, len
, prot
),
605 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
)))
608 #ifndef OVERRIDE_32_sysfs
609 SC_LTTNG_TRACEPOINT_EVENT(sysfs
,
610 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg1
, unsigned long arg2
),
611 TP_ARGS(sc_exit(ret
,) option
, arg1
, arg2
),
612 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
)))
615 #ifndef OVERRIDE_32_msync
616 SC_LTTNG_TRACEPOINT_EVENT(msync
,
617 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, int flags
),
618 TP_ARGS(sc_exit(ret
,) start
, len
, flags
),
619 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
)))
622 #ifndef OVERRIDE_32_setresuid
623 SC_LTTNG_TRACEPOINT_EVENT(setresuid
,
624 TP_PROTO(sc_exit(long ret
,) uid_t ruid
, uid_t euid
, uid_t suid
),
625 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
626 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
)))
629 #ifndef OVERRIDE_32_setresgid
630 SC_LTTNG_TRACEPOINT_EVENT(setresgid
,
631 TP_PROTO(sc_exit(long ret
,) gid_t rgid
, gid_t egid
, gid_t sgid
),
632 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
633 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
)))
636 #ifndef OVERRIDE_32_fcntl64
637 SC_LTTNG_TRACEPOINT_EVENT(fcntl64
,
638 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned int cmd
, unsigned long arg
),
639 TP_ARGS(sc_exit(ret
,) fd
, cmd
, arg
),
640 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
)))
643 #ifndef OVERRIDE_32_madvise
644 SC_LTTNG_TRACEPOINT_EVENT(madvise
,
645 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len_in
, int behavior
),
646 TP_ARGS(sc_exit(ret
,) start
, len_in
, behavior
),
647 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
)))
650 #ifndef OVERRIDE_32_tgkill
651 SC_LTTNG_TRACEPOINT_EVENT(tgkill
,
652 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
),
653 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
),
654 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
)))
657 #ifndef OVERRIDE_32_ioprio_set
658 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set
,
659 TP_PROTO(sc_exit(long ret
,) int which
, int who
, int ioprio
),
660 TP_ARGS(sc_exit(ret
,) which
, who
, ioprio
),
661 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
)))
664 #ifndef OVERRIDE_32_dup3
665 SC_LTTNG_TRACEPOINT_EVENT(dup3
,
666 TP_PROTO(sc_exit(long ret
,) unsigned int oldfd
, unsigned int newfd
, int flags
),
667 TP_ARGS(sc_exit(ret
,) oldfd
, newfd
, flags
),
668 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
)))
671 #ifndef OVERRIDE_32_socket
672 SC_LTTNG_TRACEPOINT_EVENT(socket
,
673 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
),
674 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
),
675 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
)))
678 #ifndef OVERRIDE_32_ptrace
679 SC_LTTNG_TRACEPOINT_EVENT(ptrace
,
680 TP_PROTO(sc_exit(long ret
,) long request
, long pid
, unsigned long addr
, unsigned long data
),
681 TP_ARGS(sc_exit(ret
,) request
, pid
, addr
, data
),
682 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
)))
685 #ifndef OVERRIDE_32_tee
686 SC_LTTNG_TRACEPOINT_EVENT(tee
,
687 TP_PROTO(sc_exit(long ret
,) int fdin
, int fdout
, size_t len
, unsigned int flags
),
688 TP_ARGS(sc_exit(ret
,) fdin
, fdout
, len
, flags
),
689 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
)))
692 #ifndef OVERRIDE_32_mremap
693 SC_LTTNG_TRACEPOINT_EVENT(mremap
,
694 TP_PROTO(sc_exit(long ret
,) unsigned long addr
, unsigned long old_len
, unsigned long new_len
, unsigned long flags
, unsigned long new_addr
),
695 TP_ARGS(sc_exit(ret
,) addr
, old_len
, new_len
, flags
, new_addr
),
696 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
)))
699 #ifndef OVERRIDE_32_prctl
700 SC_LTTNG_TRACEPOINT_EVENT(prctl
,
701 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
702 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
703 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
)))
706 #ifndef OVERRIDE_32_remap_file_pages
707 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages
,
708 TP_PROTO(sc_exit(long ret
,) unsigned long start
, unsigned long size
, unsigned long prot
, unsigned long pgoff
, unsigned long flags
),
709 TP_ARGS(sc_exit(ret
,) start
, size
, prot
, pgoff
, flags
),
710 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
)))
713 #ifndef OVERRIDE_32_keyctl
714 SC_LTTNG_TRACEPOINT_EVENT(keyctl
,
715 TP_PROTO(sc_exit(long ret
,) int option
, unsigned long arg2
, unsigned long arg3
, unsigned long arg4
, unsigned long arg5
),
716 TP_ARGS(sc_exit(ret
,) option
, arg2
, arg3
, arg4
, arg5
),
717 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, option
, option
)) sc_inout(ctf_integer(unsigned long, arg2
, arg2
)) sc_inout(ctf_integer(unsigned long, arg3
, arg3
)) sc_inout(ctf_integer(unsigned long, arg4
, arg4
)) sc_inout(ctf_integer(unsigned long, arg5
, arg5
)))
721 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
723 /* This part must be outside protection */
724 #include <probes/define_trace.h>
726 #else /* CREATE_SYSCALL_TABLE */
728 #include "powerpc-32-syscalls-3.0.34_integers_override.h"
729 #include "syscalls_integers_override.h"
732 #ifndef OVERRIDE_TABLE_32_restart_syscall
733 TRACE_SYSCALL_TABLE(syscalls_noargs
, restart_syscall
, 0, 0)
735 #ifndef OVERRIDE_TABLE_32_getpid
736 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpid
, 20, 0)
738 #ifndef OVERRIDE_TABLE_32_getuid
739 TRACE_SYSCALL_TABLE(syscalls_noargs
, getuid
, 24, 0)
741 #ifndef OVERRIDE_TABLE_32_pause
742 TRACE_SYSCALL_TABLE(syscalls_noargs
, pause
, 29, 0)
744 #ifndef OVERRIDE_TABLE_32_sync
745 TRACE_SYSCALL_TABLE(syscalls_noargs
, sync
, 36, 0)
747 #ifndef OVERRIDE_TABLE_32_getgid
748 TRACE_SYSCALL_TABLE(syscalls_noargs
, getgid
, 47, 0)
750 #ifndef OVERRIDE_TABLE_32_geteuid
751 TRACE_SYSCALL_TABLE(syscalls_noargs
, geteuid
, 49, 0)
753 #ifndef OVERRIDE_TABLE_32_getegid
754 TRACE_SYSCALL_TABLE(syscalls_noargs
, getegid
, 50, 0)
756 #ifndef OVERRIDE_TABLE_32_getppid
757 TRACE_SYSCALL_TABLE(syscalls_noargs
, getppid
, 64, 0)
759 #ifndef OVERRIDE_TABLE_32_getpgrp
760 TRACE_SYSCALL_TABLE(syscalls_noargs
, getpgrp
, 65, 0)
762 #ifndef OVERRIDE_TABLE_32_setsid
763 TRACE_SYSCALL_TABLE(syscalls_noargs
, setsid
, 66, 0)
765 #ifndef OVERRIDE_TABLE_32_sgetmask
766 TRACE_SYSCALL_TABLE(syscalls_noargs
, sgetmask
, 68, 0)
768 #ifndef OVERRIDE_TABLE_32_vhangup
769 TRACE_SYSCALL_TABLE(syscalls_noargs
, vhangup
, 111, 0)
771 #ifndef OVERRIDE_TABLE_32_munlockall
772 TRACE_SYSCALL_TABLE(syscalls_noargs
, munlockall
, 153, 0)
774 #ifndef OVERRIDE_TABLE_32_sched_yield
775 TRACE_SYSCALL_TABLE(syscalls_noargs
, sched_yield
, 158, 0)
777 #ifndef OVERRIDE_TABLE_32_gettid
778 TRACE_SYSCALL_TABLE(syscalls_noargs
, gettid
, 207, 0)
780 #ifndef OVERRIDE_TABLE_32_inotify_init
781 TRACE_SYSCALL_TABLE(syscalls_noargs
, inotify_init
, 275, 0)
783 #else /* #ifdef SC_ENTER */
784 #ifndef OVERRIDE_TABLE_32_restart_syscall
785 TRACE_SYSCALL_TABLE(restart_syscall
, restart_syscall
, 0, 0)
787 #ifndef OVERRIDE_TABLE_32_getpid
788 TRACE_SYSCALL_TABLE(getpid
, getpid
, 20, 0)
790 #ifndef OVERRIDE_TABLE_32_getuid
791 TRACE_SYSCALL_TABLE(getuid
, getuid
, 24, 0)
793 #ifndef OVERRIDE_TABLE_32_pause
794 TRACE_SYSCALL_TABLE(pause
, pause
, 29, 0)
796 #ifndef OVERRIDE_TABLE_32_sync
797 TRACE_SYSCALL_TABLE(sync
, sync
, 36, 0)
799 #ifndef OVERRIDE_TABLE_32_getgid
800 TRACE_SYSCALL_TABLE(getgid
, getgid
, 47, 0)
802 #ifndef OVERRIDE_TABLE_32_geteuid
803 TRACE_SYSCALL_TABLE(geteuid
, geteuid
, 49, 0)
805 #ifndef OVERRIDE_TABLE_32_getegid
806 TRACE_SYSCALL_TABLE(getegid
, getegid
, 50, 0)
808 #ifndef OVERRIDE_TABLE_32_getppid
809 TRACE_SYSCALL_TABLE(getppid
, getppid
, 64, 0)
811 #ifndef OVERRIDE_TABLE_32_getpgrp
812 TRACE_SYSCALL_TABLE(getpgrp
, getpgrp
, 65, 0)
814 #ifndef OVERRIDE_TABLE_32_setsid
815 TRACE_SYSCALL_TABLE(setsid
, setsid
, 66, 0)
817 #ifndef OVERRIDE_TABLE_32_sgetmask
818 TRACE_SYSCALL_TABLE(sgetmask
, sgetmask
, 68, 0)
820 #ifndef OVERRIDE_TABLE_32_vhangup
821 TRACE_SYSCALL_TABLE(vhangup
, vhangup
, 111, 0)
823 #ifndef OVERRIDE_TABLE_32_munlockall
824 TRACE_SYSCALL_TABLE(munlockall
, munlockall
, 153, 0)
826 #ifndef OVERRIDE_TABLE_32_sched_yield
827 TRACE_SYSCALL_TABLE(sched_yield
, sched_yield
, 158, 0)
829 #ifndef OVERRIDE_TABLE_32_gettid
830 TRACE_SYSCALL_TABLE(gettid
, gettid
, 207, 0)
832 #ifndef OVERRIDE_TABLE_32_inotify_init
833 TRACE_SYSCALL_TABLE(inotify_init
, inotify_init
, 275, 0)
835 #endif /* else #ifdef SC_ENTER */
836 #ifndef OVERRIDE_TABLE_32_exit
837 TRACE_SYSCALL_TABLE(exit
, exit
, 1, 1)
839 #ifndef OVERRIDE_TABLE_32_close
840 TRACE_SYSCALL_TABLE(close
, close
, 6, 1)
842 #ifndef OVERRIDE_TABLE_32_lseek
843 TRACE_SYSCALL_TABLE(lseek
, lseek
, 19, 3)
845 #ifndef OVERRIDE_TABLE_32_setuid
846 TRACE_SYSCALL_TABLE(setuid
, setuid
, 23, 1)
848 #ifndef OVERRIDE_TABLE_32_ptrace
849 TRACE_SYSCALL_TABLE(ptrace
, ptrace
, 26, 4)
851 #ifndef OVERRIDE_TABLE_32_alarm
852 TRACE_SYSCALL_TABLE(alarm
, alarm
, 27, 1)
854 #ifndef OVERRIDE_TABLE_32_nice
855 TRACE_SYSCALL_TABLE(nice
, nice
, 34, 1)
857 #ifndef OVERRIDE_TABLE_32_kill
858 TRACE_SYSCALL_TABLE(kill
, kill
, 37, 2)
860 #ifndef OVERRIDE_TABLE_32_dup
861 TRACE_SYSCALL_TABLE(dup
, dup
, 41, 1)
863 #ifndef OVERRIDE_TABLE_32_brk
864 TRACE_SYSCALL_TABLE(brk
, brk
, 45, 1)
866 #ifndef OVERRIDE_TABLE_32_setgid
867 TRACE_SYSCALL_TABLE(setgid
, setgid
, 46, 1)
869 #ifndef OVERRIDE_TABLE_32_signal
870 TRACE_SYSCALL_TABLE(signal
, signal
, 48, 2)
872 #ifndef OVERRIDE_TABLE_32_ioctl
873 TRACE_SYSCALL_TABLE(ioctl
, ioctl
, 54, 3)
875 #ifndef OVERRIDE_TABLE_32_fcntl
876 TRACE_SYSCALL_TABLE(fcntl
, fcntl
, 55, 3)
878 #ifndef OVERRIDE_TABLE_32_setpgid
879 TRACE_SYSCALL_TABLE(setpgid
, setpgid
, 57, 2)
881 #ifndef OVERRIDE_TABLE_32_umask
882 TRACE_SYSCALL_TABLE(umask
, umask
, 60, 1)
884 #ifndef OVERRIDE_TABLE_32_dup2
885 TRACE_SYSCALL_TABLE(dup2
, dup2
, 63, 2)
887 #ifndef OVERRIDE_TABLE_32_ssetmask
888 TRACE_SYSCALL_TABLE(ssetmask
, ssetmask
, 69, 1)
890 #ifndef OVERRIDE_TABLE_32_setreuid
891 TRACE_SYSCALL_TABLE(setreuid
, setreuid
, 70, 2)
893 #ifndef OVERRIDE_TABLE_32_setregid
894 TRACE_SYSCALL_TABLE(setregid
, setregid
, 71, 2)
896 #ifndef OVERRIDE_TABLE_32_munmap
897 TRACE_SYSCALL_TABLE(munmap
, munmap
, 91, 2)
899 #ifndef OVERRIDE_TABLE_32_ftruncate
900 TRACE_SYSCALL_TABLE(ftruncate
, ftruncate
, 93, 2)
902 #ifndef OVERRIDE_TABLE_32_fchmod
903 TRACE_SYSCALL_TABLE(fchmod
, fchmod
, 94, 2)
905 #ifndef OVERRIDE_TABLE_32_fchown
906 TRACE_SYSCALL_TABLE(fchown
, fchown
, 95, 3)
908 #ifndef OVERRIDE_TABLE_32_getpriority
909 TRACE_SYSCALL_TABLE(getpriority
, getpriority
, 96, 2)
911 #ifndef OVERRIDE_TABLE_32_setpriority
912 TRACE_SYSCALL_TABLE(setpriority
, setpriority
, 97, 3)
914 #ifndef OVERRIDE_TABLE_32_fsync
915 TRACE_SYSCALL_TABLE(fsync
, fsync
, 118, 1)
917 #ifndef OVERRIDE_TABLE_32_mprotect
918 TRACE_SYSCALL_TABLE(mprotect
, mprotect
, 125, 3)
920 #ifndef OVERRIDE_TABLE_32_getpgid
921 TRACE_SYSCALL_TABLE(getpgid
, getpgid
, 132, 1)
923 #ifndef OVERRIDE_TABLE_32_fchdir
924 TRACE_SYSCALL_TABLE(fchdir
, fchdir
, 133, 1)
926 #ifndef OVERRIDE_TABLE_32_bdflush
927 TRACE_SYSCALL_TABLE(bdflush
, bdflush
, 134, 2)
929 #ifndef OVERRIDE_TABLE_32_sysfs
930 TRACE_SYSCALL_TABLE(sysfs
, sysfs
, 135, 3)
932 #ifndef OVERRIDE_TABLE_32_personality
933 TRACE_SYSCALL_TABLE(personality
, personality
, 136, 1)
935 #ifndef OVERRIDE_TABLE_32_setfsuid
936 TRACE_SYSCALL_TABLE(setfsuid
, setfsuid
, 138, 1)
938 #ifndef OVERRIDE_TABLE_32_setfsgid
939 TRACE_SYSCALL_TABLE(setfsgid
, setfsgid
, 139, 1)
941 #ifndef OVERRIDE_TABLE_32_flock
942 TRACE_SYSCALL_TABLE(flock
, flock
, 143, 2)
944 #ifndef OVERRIDE_TABLE_32_msync
945 TRACE_SYSCALL_TABLE(msync
, msync
, 144, 3)
947 #ifndef OVERRIDE_TABLE_32_getsid
948 TRACE_SYSCALL_TABLE(getsid
, getsid
, 147, 1)
950 #ifndef OVERRIDE_TABLE_32_fdatasync
951 TRACE_SYSCALL_TABLE(fdatasync
, fdatasync
, 148, 1)
953 #ifndef OVERRIDE_TABLE_32_mlock
954 TRACE_SYSCALL_TABLE(mlock
, mlock
, 150, 2)
956 #ifndef OVERRIDE_TABLE_32_munlock
957 TRACE_SYSCALL_TABLE(munlock
, munlock
, 151, 2)
959 #ifndef OVERRIDE_TABLE_32_mlockall
960 TRACE_SYSCALL_TABLE(mlockall
, mlockall
, 152, 1)
962 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
963 TRACE_SYSCALL_TABLE(sched_getscheduler
, sched_getscheduler
, 157, 1)
965 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
966 TRACE_SYSCALL_TABLE(sched_get_priority_max
, sched_get_priority_max
, 159, 1)
968 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
969 TRACE_SYSCALL_TABLE(sched_get_priority_min
, sched_get_priority_min
, 160, 1)
971 #ifndef OVERRIDE_TABLE_32_mremap
972 TRACE_SYSCALL_TABLE(mremap
, mremap
, 163, 5)
974 #ifndef OVERRIDE_TABLE_32_setresuid
975 TRACE_SYSCALL_TABLE(setresuid
, setresuid
, 164, 3)
977 #ifndef OVERRIDE_TABLE_32_setresgid
978 TRACE_SYSCALL_TABLE(setresgid
, setresgid
, 169, 3)
980 #ifndef OVERRIDE_TABLE_32_prctl
981 TRACE_SYSCALL_TABLE(prctl
, prctl
, 171, 5)
983 #ifndef OVERRIDE_TABLE_32_fcntl64
984 TRACE_SYSCALL_TABLE(fcntl64
, fcntl64
, 204, 3)
986 #ifndef OVERRIDE_TABLE_32_madvise
987 TRACE_SYSCALL_TABLE(madvise
, madvise
, 205, 3)
989 #ifndef OVERRIDE_TABLE_32_tkill
990 TRACE_SYSCALL_TABLE(tkill
, tkill
, 208, 2)
992 #ifndef OVERRIDE_TABLE_32_io_destroy
993 TRACE_SYSCALL_TABLE(io_destroy
, io_destroy
, 228, 1)
995 #ifndef OVERRIDE_TABLE_32_exit_group
996 TRACE_SYSCALL_TABLE(exit_group
, exit_group
, 234, 1)
998 #ifndef OVERRIDE_TABLE_32_epoll_create
999 TRACE_SYSCALL_TABLE(epoll_create
, epoll_create
, 236, 1)
1001 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1002 TRACE_SYSCALL_TABLE(remap_file_pages
, remap_file_pages
, 239, 5)
1004 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1005 TRACE_SYSCALL_TABLE(timer_getoverrun
, timer_getoverrun
, 243, 1)
1007 #ifndef OVERRIDE_TABLE_32_timer_delete
1008 TRACE_SYSCALL_TABLE(timer_delete
, timer_delete
, 244, 1)
1010 #ifndef OVERRIDE_TABLE_32_tgkill
1011 TRACE_SYSCALL_TABLE(tgkill
, tgkill
, 250, 3)
1013 #ifndef OVERRIDE_TABLE_32_keyctl
1014 TRACE_SYSCALL_TABLE(keyctl
, keyctl
, 271, 5)
1016 #ifndef OVERRIDE_TABLE_32_ioprio_set
1017 TRACE_SYSCALL_TABLE(ioprio_set
, ioprio_set
, 273, 3)
1019 #ifndef OVERRIDE_TABLE_32_ioprio_get
1020 TRACE_SYSCALL_TABLE(ioprio_get
, ioprio_get
, 274, 2)
1022 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1023 TRACE_SYSCALL_TABLE(inotify_rm_watch
, inotify_rm_watch
, 277, 2)
1025 #ifndef OVERRIDE_TABLE_32_unshare
1026 TRACE_SYSCALL_TABLE(unshare
, unshare
, 282, 1)
1028 #ifndef OVERRIDE_TABLE_32_tee
1029 TRACE_SYSCALL_TABLE(tee
, tee
, 284, 4)
1031 #ifndef OVERRIDE_TABLE_32_timerfd_create
1032 TRACE_SYSCALL_TABLE(timerfd_create
, timerfd_create
, 306, 2)
1034 #ifndef OVERRIDE_TABLE_32_eventfd
1035 TRACE_SYSCALL_TABLE(eventfd
, eventfd
, 307, 1)
1037 #ifndef OVERRIDE_TABLE_32_eventfd2
1038 TRACE_SYSCALL_TABLE(eventfd2
, eventfd2
, 314, 2)
1040 #ifndef OVERRIDE_TABLE_32_epoll_create1
1041 TRACE_SYSCALL_TABLE(epoll_create1
, epoll_create1
, 315, 1)
1043 #ifndef OVERRIDE_TABLE_32_dup3
1044 TRACE_SYSCALL_TABLE(dup3
, dup3
, 316, 3)
1046 #ifndef OVERRIDE_TABLE_32_inotify_init1
1047 TRACE_SYSCALL_TABLE(inotify_init1
, inotify_init1
, 318, 1)
1049 #ifndef OVERRIDE_TABLE_32_socket
1050 TRACE_SYSCALL_TABLE(socket
, socket
, 326, 3)
1052 #ifndef OVERRIDE_TABLE_32_listen
1053 TRACE_SYSCALL_TABLE(listen
, listen
, 329, 2)
1055 #ifndef OVERRIDE_TABLE_32_shutdown
1056 TRACE_SYSCALL_TABLE(shutdown
, shutdown
, 338, 2)
1058 #ifndef OVERRIDE_TABLE_32_syncfs
1059 TRACE_SYSCALL_TABLE(syncfs
, syncfs
, 348, 1)
1061 #ifndef OVERRIDE_TABLE_32_setns
1062 TRACE_SYSCALL_TABLE(setns
, setns
, 350, 2)
1065 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.058605 seconds and 4 git commands to generate.