Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / powerpc-32-syscalls-3.0.34_integers.h
1 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2 #ifndef CREATE_SYSCALL_TABLE
3
4 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_INTEGERS_H
6
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"
11
12 #ifdef SC_ENTER
13 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
14 TP_FIELDS()
15 )
16 #ifndef OVERRIDE_32_restart_syscall
17 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
18 #endif
19 #ifndef OVERRIDE_32_getpid
20 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
21 #endif
22 #ifndef OVERRIDE_32_getuid
23 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
24 #endif
25 #ifndef OVERRIDE_32_pause
26 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
27 #endif
28 #ifndef OVERRIDE_32_sync
29 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
30 #endif
31 #ifndef OVERRIDE_32_getgid
32 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
33 #endif
34 #ifndef OVERRIDE_32_geteuid
35 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
36 #endif
37 #ifndef OVERRIDE_32_getegid
38 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
39 #endif
40 #ifndef OVERRIDE_32_getppid
41 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
42 #endif
43 #ifndef OVERRIDE_32_getpgrp
44 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
45 #endif
46 #ifndef OVERRIDE_32_setsid
47 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
48 #endif
49 #ifndef OVERRIDE_32_sgetmask
50 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask)
51 #endif
52 #ifndef OVERRIDE_32_vhangup
53 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
54 #endif
55 #ifndef OVERRIDE_32_munlockall
56 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
57 #endif
58 #ifndef OVERRIDE_32_sched_yield
59 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
60 #endif
61 #ifndef OVERRIDE_32_gettid
62 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
63 #endif
64 #ifndef OVERRIDE_32_inotify_init
65 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
66 #endif
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)))
73 )
74 #endif
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)))
80 )
81 #endif
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)))
87 )
88 #endif
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)))
94 )
95 #endif
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)))
101 )
102 #endif
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)))
108 )
109 #endif
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)))
115 )
116 #endif
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)))
122 )
123 #endif
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)))
129 )
130 #endif
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)))
136 )
137 #endif
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)))
143 )
144 #endif
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)))
150 )
151 #endif
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)))
157 )
158 #endif
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)))
164 )
165 #endif
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)))
171 )
172 #endif
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)))
178 )
179 #endif
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)))
185 )
186 #endif
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)))
193 )
194 #endif
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)))
200 )
201 #endif
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)))
207 )
208 #endif
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)))
214 )
215 #endif
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)))
221 )
222 #endif
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)))
228 )
229 #endif
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)))
235 )
236 #endif
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)))
242 )
243 #endif
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)))
249 )
250 #endif
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)))
256 )
257 #endif
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)))
263 )
264 #endif
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)))
270 )
271 #endif
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)))
277 )
278 #endif
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)))
284 )
285 #endif
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)))
291 )
292 #endif
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)))
298 )
299 #endif
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)))
305 )
306 #endif
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)))
312 )
313 #endif
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)))
319 )
320 #endif
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)))
326 )
327 #endif
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)))
333 )
334 #endif
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)))
340 )
341 #endif
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)))
347 )
348 #endif
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)))
354 )
355 #endif
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)))
361 )
362 #endif
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)))
368 )
369 #endif
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)))
375 )
376 #endif
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)))
382 )
383 #endif
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)))
389 )
390 #endif
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)))
396 )
397 #endif
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)))
403 )
404 #endif
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)))
410 )
411 #endif
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)))
417 )
418 #endif
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)))
424 )
425 #endif
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)))
431 )
432 #endif
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)))
438 )
439 #endif
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)))
445 )
446 #endif
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)))
452 )
453 #endif
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)))
459 )
460 #endif
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)))
466 )
467 #endif
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)))
473 )
474 #endif
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)))
480 )
481 #endif
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)))
487 )
488 #endif
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)))
494 )
495 #endif
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)))
501 )
502 #endif
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)))
508 )
509 #endif
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)))
515 )
516 #endif
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)))
522 )
523 #endif
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)))
529 )
530 #endif
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)))
536 )
537 #endif
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)))
543 )
544 #endif
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)))
550 )
551 #endif
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)))
557 )
558 #endif
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)))
564 )
565 #endif
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)))
571 )
572 #endif
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)))
578 )
579 #endif
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)))
585 )
586 #endif
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)))
592 )
593 #endif
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)))
599 )
600 #endif
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)))
606 )
607 #endif
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)))
613 )
614 #endif
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)))
620 )
621 #endif
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)))
627 )
628 #endif
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)))
634 )
635 #endif
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)))
641 )
642 #endif
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)))
648 )
649 #endif
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)))
655 )
656 #endif
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)))
662 )
663 #endif
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)))
669 )
670 #endif
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)))
676 )
677 #endif
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)))
683 )
684 #endif
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)))
690 )
691 #endif
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)))
697 )
698 #endif
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)))
704 )
705 #endif
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)))
711 )
712 #endif
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)))
718 )
719 #endif
720
721 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
722
723 /* This part must be outside protection */
724 #include <probes/define_trace.h>
725
726 #else /* CREATE_SYSCALL_TABLE */
727
728 #include "powerpc-32-syscalls-3.0.34_integers_override.h"
729 #include "syscalls_integers_override.h"
730
731 #ifdef SC_ENTER
732 #ifndef OVERRIDE_TABLE_32_restart_syscall
733 TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0)
734 #endif
735 #ifndef OVERRIDE_TABLE_32_getpid
736 TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0)
737 #endif
738 #ifndef OVERRIDE_TABLE_32_getuid
739 TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0)
740 #endif
741 #ifndef OVERRIDE_TABLE_32_pause
742 TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0)
743 #endif
744 #ifndef OVERRIDE_TABLE_32_sync
745 TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0)
746 #endif
747 #ifndef OVERRIDE_TABLE_32_getgid
748 TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0)
749 #endif
750 #ifndef OVERRIDE_TABLE_32_geteuid
751 TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0)
752 #endif
753 #ifndef OVERRIDE_TABLE_32_getegid
754 TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0)
755 #endif
756 #ifndef OVERRIDE_TABLE_32_getppid
757 TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0)
758 #endif
759 #ifndef OVERRIDE_TABLE_32_getpgrp
760 TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0)
761 #endif
762 #ifndef OVERRIDE_TABLE_32_setsid
763 TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0)
764 #endif
765 #ifndef OVERRIDE_TABLE_32_sgetmask
766 TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0)
767 #endif
768 #ifndef OVERRIDE_TABLE_32_vhangup
769 TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0)
770 #endif
771 #ifndef OVERRIDE_TABLE_32_munlockall
772 TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0)
773 #endif
774 #ifndef OVERRIDE_TABLE_32_sched_yield
775 TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0)
776 #endif
777 #ifndef OVERRIDE_TABLE_32_gettid
778 TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0)
779 #endif
780 #ifndef OVERRIDE_TABLE_32_inotify_init
781 TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0)
782 #endif
783 #else /* #ifdef SC_ENTER */
784 #ifndef OVERRIDE_TABLE_32_restart_syscall
785 TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0)
786 #endif
787 #ifndef OVERRIDE_TABLE_32_getpid
788 TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0)
789 #endif
790 #ifndef OVERRIDE_TABLE_32_getuid
791 TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0)
792 #endif
793 #ifndef OVERRIDE_TABLE_32_pause
794 TRACE_SYSCALL_TABLE(pause, pause, 29, 0)
795 #endif
796 #ifndef OVERRIDE_TABLE_32_sync
797 TRACE_SYSCALL_TABLE(sync, sync, 36, 0)
798 #endif
799 #ifndef OVERRIDE_TABLE_32_getgid
800 TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0)
801 #endif
802 #ifndef OVERRIDE_TABLE_32_geteuid
803 TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0)
804 #endif
805 #ifndef OVERRIDE_TABLE_32_getegid
806 TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0)
807 #endif
808 #ifndef OVERRIDE_TABLE_32_getppid
809 TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0)
810 #endif
811 #ifndef OVERRIDE_TABLE_32_getpgrp
812 TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0)
813 #endif
814 #ifndef OVERRIDE_TABLE_32_setsid
815 TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0)
816 #endif
817 #ifndef OVERRIDE_TABLE_32_sgetmask
818 TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0)
819 #endif
820 #ifndef OVERRIDE_TABLE_32_vhangup
821 TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0)
822 #endif
823 #ifndef OVERRIDE_TABLE_32_munlockall
824 TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0)
825 #endif
826 #ifndef OVERRIDE_TABLE_32_sched_yield
827 TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0)
828 #endif
829 #ifndef OVERRIDE_TABLE_32_gettid
830 TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0)
831 #endif
832 #ifndef OVERRIDE_TABLE_32_inotify_init
833 TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0)
834 #endif
835 #endif /* else #ifdef SC_ENTER */
836 #ifndef OVERRIDE_TABLE_32_exit
837 TRACE_SYSCALL_TABLE(exit, exit, 1, 1)
838 #endif
839 #ifndef OVERRIDE_TABLE_32_close
840 TRACE_SYSCALL_TABLE(close, close, 6, 1)
841 #endif
842 #ifndef OVERRIDE_TABLE_32_lseek
843 TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3)
844 #endif
845 #ifndef OVERRIDE_TABLE_32_setuid
846 TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1)
847 #endif
848 #ifndef OVERRIDE_TABLE_32_ptrace
849 TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4)
850 #endif
851 #ifndef OVERRIDE_TABLE_32_alarm
852 TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1)
853 #endif
854 #ifndef OVERRIDE_TABLE_32_nice
855 TRACE_SYSCALL_TABLE(nice, nice, 34, 1)
856 #endif
857 #ifndef OVERRIDE_TABLE_32_kill
858 TRACE_SYSCALL_TABLE(kill, kill, 37, 2)
859 #endif
860 #ifndef OVERRIDE_TABLE_32_dup
861 TRACE_SYSCALL_TABLE(dup, dup, 41, 1)
862 #endif
863 #ifndef OVERRIDE_TABLE_32_brk
864 TRACE_SYSCALL_TABLE(brk, brk, 45, 1)
865 #endif
866 #ifndef OVERRIDE_TABLE_32_setgid
867 TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1)
868 #endif
869 #ifndef OVERRIDE_TABLE_32_signal
870 TRACE_SYSCALL_TABLE(signal, signal, 48, 2)
871 #endif
872 #ifndef OVERRIDE_TABLE_32_ioctl
873 TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3)
874 #endif
875 #ifndef OVERRIDE_TABLE_32_fcntl
876 TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3)
877 #endif
878 #ifndef OVERRIDE_TABLE_32_setpgid
879 TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2)
880 #endif
881 #ifndef OVERRIDE_TABLE_32_umask
882 TRACE_SYSCALL_TABLE(umask, umask, 60, 1)
883 #endif
884 #ifndef OVERRIDE_TABLE_32_dup2
885 TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2)
886 #endif
887 #ifndef OVERRIDE_TABLE_32_ssetmask
888 TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1)
889 #endif
890 #ifndef OVERRIDE_TABLE_32_setreuid
891 TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2)
892 #endif
893 #ifndef OVERRIDE_TABLE_32_setregid
894 TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2)
895 #endif
896 #ifndef OVERRIDE_TABLE_32_munmap
897 TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2)
898 #endif
899 #ifndef OVERRIDE_TABLE_32_ftruncate
900 TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2)
901 #endif
902 #ifndef OVERRIDE_TABLE_32_fchmod
903 TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2)
904 #endif
905 #ifndef OVERRIDE_TABLE_32_fchown
906 TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3)
907 #endif
908 #ifndef OVERRIDE_TABLE_32_getpriority
909 TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2)
910 #endif
911 #ifndef OVERRIDE_TABLE_32_setpriority
912 TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3)
913 #endif
914 #ifndef OVERRIDE_TABLE_32_fsync
915 TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1)
916 #endif
917 #ifndef OVERRIDE_TABLE_32_mprotect
918 TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3)
919 #endif
920 #ifndef OVERRIDE_TABLE_32_getpgid
921 TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1)
922 #endif
923 #ifndef OVERRIDE_TABLE_32_fchdir
924 TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1)
925 #endif
926 #ifndef OVERRIDE_TABLE_32_bdflush
927 TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2)
928 #endif
929 #ifndef OVERRIDE_TABLE_32_sysfs
930 TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3)
931 #endif
932 #ifndef OVERRIDE_TABLE_32_personality
933 TRACE_SYSCALL_TABLE(personality, personality, 136, 1)
934 #endif
935 #ifndef OVERRIDE_TABLE_32_setfsuid
936 TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1)
937 #endif
938 #ifndef OVERRIDE_TABLE_32_setfsgid
939 TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1)
940 #endif
941 #ifndef OVERRIDE_TABLE_32_flock
942 TRACE_SYSCALL_TABLE(flock, flock, 143, 2)
943 #endif
944 #ifndef OVERRIDE_TABLE_32_msync
945 TRACE_SYSCALL_TABLE(msync, msync, 144, 3)
946 #endif
947 #ifndef OVERRIDE_TABLE_32_getsid
948 TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1)
949 #endif
950 #ifndef OVERRIDE_TABLE_32_fdatasync
951 TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1)
952 #endif
953 #ifndef OVERRIDE_TABLE_32_mlock
954 TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2)
955 #endif
956 #ifndef OVERRIDE_TABLE_32_munlock
957 TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2)
958 #endif
959 #ifndef OVERRIDE_TABLE_32_mlockall
960 TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1)
961 #endif
962 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
963 TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1)
964 #endif
965 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
966 TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1)
967 #endif
968 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
969 TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1)
970 #endif
971 #ifndef OVERRIDE_TABLE_32_mremap
972 TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5)
973 #endif
974 #ifndef OVERRIDE_TABLE_32_setresuid
975 TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3)
976 #endif
977 #ifndef OVERRIDE_TABLE_32_setresgid
978 TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3)
979 #endif
980 #ifndef OVERRIDE_TABLE_32_prctl
981 TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5)
982 #endif
983 #ifndef OVERRIDE_TABLE_32_fcntl64
984 TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3)
985 #endif
986 #ifndef OVERRIDE_TABLE_32_madvise
987 TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3)
988 #endif
989 #ifndef OVERRIDE_TABLE_32_tkill
990 TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2)
991 #endif
992 #ifndef OVERRIDE_TABLE_32_io_destroy
993 TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1)
994 #endif
995 #ifndef OVERRIDE_TABLE_32_exit_group
996 TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1)
997 #endif
998 #ifndef OVERRIDE_TABLE_32_epoll_create
999 TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1)
1000 #endif
1001 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1002 TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5)
1003 #endif
1004 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1005 TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1)
1006 #endif
1007 #ifndef OVERRIDE_TABLE_32_timer_delete
1008 TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1)
1009 #endif
1010 #ifndef OVERRIDE_TABLE_32_tgkill
1011 TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3)
1012 #endif
1013 #ifndef OVERRIDE_TABLE_32_keyctl
1014 TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5)
1015 #endif
1016 #ifndef OVERRIDE_TABLE_32_ioprio_set
1017 TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3)
1018 #endif
1019 #ifndef OVERRIDE_TABLE_32_ioprio_get
1020 TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2)
1021 #endif
1022 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1023 TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2)
1024 #endif
1025 #ifndef OVERRIDE_TABLE_32_unshare
1026 TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1)
1027 #endif
1028 #ifndef OVERRIDE_TABLE_32_tee
1029 TRACE_SYSCALL_TABLE(tee, tee, 284, 4)
1030 #endif
1031 #ifndef OVERRIDE_TABLE_32_timerfd_create
1032 TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2)
1033 #endif
1034 #ifndef OVERRIDE_TABLE_32_eventfd
1035 TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1)
1036 #endif
1037 #ifndef OVERRIDE_TABLE_32_eventfd2
1038 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2)
1039 #endif
1040 #ifndef OVERRIDE_TABLE_32_epoll_create1
1041 TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1)
1042 #endif
1043 #ifndef OVERRIDE_TABLE_32_dup3
1044 TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3)
1045 #endif
1046 #ifndef OVERRIDE_TABLE_32_inotify_init1
1047 TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1)
1048 #endif
1049 #ifndef OVERRIDE_TABLE_32_socket
1050 TRACE_SYSCALL_TABLE(socket, socket, 326, 3)
1051 #endif
1052 #ifndef OVERRIDE_TABLE_32_listen
1053 TRACE_SYSCALL_TABLE(listen, listen, 329, 2)
1054 #endif
1055 #ifndef OVERRIDE_TABLE_32_shutdown
1056 TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2)
1057 #endif
1058 #ifndef OVERRIDE_TABLE_32_syncfs
1059 TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1)
1060 #endif
1061 #ifndef OVERRIDE_TABLE_32_setns
1062 TRACE_SYSCALL_TABLE(setns, setns, 350, 2)
1063 #endif
1064
1065 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.088794 seconds and 4 git commands to generate.