61c0da10a34dc683ef37ef88d9860abe347e62f2
[lttng-modules.git] / include / instrumentation / syscalls / powerpc-32-syscalls_integers.h
1 // SPDX-FileCopyrightText: 2013 Paul Woegerer <paul_woegerer@mentor.com>
2 //
3 // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only
4
5 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
6
7 /* Generated from powerpc-32-syscalls 3.0.34 */
8
9 #ifndef CREATE_SYSCALL_TABLE
10
11 #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_SYSCALLS_INTEGERS_H
13
14 #include <lttng/tracepoint-event.h>
15 #include <linux/syscalls.h>
16 #include "powerpc-32-syscalls_integers_override.h"
17 #include "syscalls_integers_override.h"
18
19 #ifdef SC_ENTER
20 SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
21 TP_FIELDS()
22 )
23 #ifndef OVERRIDE_32_restart_syscall
24 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
25 #endif
26 #ifndef OVERRIDE_32_getpid
27 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
28 #endif
29 #ifndef OVERRIDE_32_getuid
30 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
31 #endif
32 #ifndef OVERRIDE_32_pause
33 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
34 #endif
35 #ifndef OVERRIDE_32_sync
36 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
37 #endif
38 #ifndef OVERRIDE_32_getgid
39 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
40 #endif
41 #ifndef OVERRIDE_32_geteuid
42 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
43 #endif
44 #ifndef OVERRIDE_32_getegid
45 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
46 #endif
47 #ifndef OVERRIDE_32_getppid
48 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
49 #endif
50 #ifndef OVERRIDE_32_getpgrp
51 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
52 #endif
53 #ifndef OVERRIDE_32_setsid
54 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
55 #endif
56 #ifndef OVERRIDE_32_sgetmask
57 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask)
58 #endif
59 #ifndef OVERRIDE_32_vhangup
60 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
61 #endif
62 #ifndef OVERRIDE_32_munlockall
63 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
64 #endif
65 #ifndef OVERRIDE_32_sched_yield
66 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
67 #endif
68 #ifndef OVERRIDE_32_gettid
69 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
70 #endif
71 #ifndef OVERRIDE_32_inotify_init
72 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
73 #endif
74 #else /* #ifdef SC_ENTER */
75 #ifndef OVERRIDE_32_restart_syscall
76 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
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_getpid
83 SC_LTTNG_TRACEPOINT_EVENT(getpid,
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_getuid
90 SC_LTTNG_TRACEPOINT_EVENT(getuid,
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_pause
97 SC_LTTNG_TRACEPOINT_EVENT(pause,
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_sync
104 SC_LTTNG_TRACEPOINT_EVENT(sync,
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_getgid
111 SC_LTTNG_TRACEPOINT_EVENT(getgid,
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_geteuid
118 SC_LTTNG_TRACEPOINT_EVENT(geteuid,
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_getegid
125 SC_LTTNG_TRACEPOINT_EVENT(getegid,
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_getppid
132 SC_LTTNG_TRACEPOINT_EVENT(getppid,
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_getpgrp
139 SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
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_setsid
146 SC_LTTNG_TRACEPOINT_EVENT(setsid,
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_sgetmask
153 SC_LTTNG_TRACEPOINT_EVENT(sgetmask,
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_vhangup
160 SC_LTTNG_TRACEPOINT_EVENT(vhangup,
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_munlockall
167 SC_LTTNG_TRACEPOINT_EVENT(munlockall,
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_sched_yield
174 SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
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_gettid
181 SC_LTTNG_TRACEPOINT_EVENT(gettid,
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 #ifndef OVERRIDE_32_inotify_init
188 SC_LTTNG_TRACEPOINT_EVENT(inotify_init,
189 TP_PROTO(sc_exit(long ret)),
190 TP_ARGS(sc_exit(ret)),
191 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
192 )
193 #endif
194 #endif /* else #ifdef SC_ENTER */
195 #ifndef OVERRIDE_32_exit
196 SC_LTTNG_TRACEPOINT_EVENT(exit,
197 TP_PROTO(sc_exit(long ret,) int error_code),
198 TP_ARGS(sc_exit(ret,) error_code),
199 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
200 )
201 #endif
202 #ifndef OVERRIDE_32_close
203 SC_LTTNG_TRACEPOINT_EVENT(close,
204 TP_PROTO(sc_exit(long ret,) unsigned int fd),
205 TP_ARGS(sc_exit(ret,) fd),
206 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
207 )
208 #endif
209 #ifndef OVERRIDE_32_setuid
210 SC_LTTNG_TRACEPOINT_EVENT(setuid,
211 TP_PROTO(sc_exit(long ret,) uid_t uid),
212 TP_ARGS(sc_exit(ret,) uid),
213 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
214 )
215 #endif
216 #ifndef OVERRIDE_32_alarm
217 SC_LTTNG_TRACEPOINT_EVENT(alarm,
218 TP_PROTO(sc_exit(long ret,) unsigned int seconds),
219 TP_ARGS(sc_exit(ret,) seconds),
220 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds)))
221 )
222 #endif
223 #ifndef OVERRIDE_32_nice
224 SC_LTTNG_TRACEPOINT_EVENT(nice,
225 TP_PROTO(sc_exit(long ret,) int increment),
226 TP_ARGS(sc_exit(ret,) increment),
227 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment)))
228 )
229 #endif
230 #ifndef OVERRIDE_32_dup
231 SC_LTTNG_TRACEPOINT_EVENT(dup,
232 TP_PROTO(sc_exit(long ret,) unsigned int fildes),
233 TP_ARGS(sc_exit(ret,) fildes),
234 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes)))
235 )
236 #endif
237 #ifndef OVERRIDE_32_brk
238 SC_LTTNG_TRACEPOINT_EVENT(brk,
239 TP_PROTO(sc_exit(long ret,) unsigned long brk),
240 TP_ARGS(sc_exit(ret,) brk),
241 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk)))
242 )
243 #endif
244 #ifndef OVERRIDE_32_setgid
245 SC_LTTNG_TRACEPOINT_EVENT(setgid,
246 TP_PROTO(sc_exit(long ret,) gid_t gid),
247 TP_ARGS(sc_exit(ret,) gid),
248 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
249 )
250 #endif
251 #ifndef OVERRIDE_32_umask
252 SC_LTTNG_TRACEPOINT_EVENT(umask,
253 TP_PROTO(sc_exit(long ret,) int mask),
254 TP_ARGS(sc_exit(ret,) mask),
255 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask)))
256 )
257 #endif
258 #ifndef OVERRIDE_32_ssetmask
259 SC_LTTNG_TRACEPOINT_EVENT(ssetmask,
260 TP_PROTO(sc_exit(long ret,) int newmask),
261 TP_ARGS(sc_exit(ret,) newmask),
262 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask)))
263 )
264 #endif
265 #ifndef OVERRIDE_32_fsync
266 SC_LTTNG_TRACEPOINT_EVENT(fsync,
267 TP_PROTO(sc_exit(long ret,) unsigned int fd),
268 TP_ARGS(sc_exit(ret,) fd),
269 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
270 )
271 #endif
272 #ifndef OVERRIDE_32_getpgid
273 SC_LTTNG_TRACEPOINT_EVENT(getpgid,
274 TP_PROTO(sc_exit(long ret,) pid_t pid),
275 TP_ARGS(sc_exit(ret,) pid),
276 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
277 )
278 #endif
279 #ifndef OVERRIDE_32_fchdir
280 SC_LTTNG_TRACEPOINT_EVENT(fchdir,
281 TP_PROTO(sc_exit(long ret,) unsigned int fd),
282 TP_ARGS(sc_exit(ret,) fd),
283 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
284 )
285 #endif
286 #ifndef OVERRIDE_32_personality
287 SC_LTTNG_TRACEPOINT_EVENT(personality,
288 TP_PROTO(sc_exit(long ret,) unsigned int personality),
289 TP_ARGS(sc_exit(ret,) personality),
290 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality)))
291 )
292 #endif
293 #ifndef OVERRIDE_32_setfsuid
294 SC_LTTNG_TRACEPOINT_EVENT(setfsuid,
295 TP_PROTO(sc_exit(long ret,) uid_t uid),
296 TP_ARGS(sc_exit(ret,) uid),
297 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
298 )
299 #endif
300 #ifndef OVERRIDE_32_setfsgid
301 SC_LTTNG_TRACEPOINT_EVENT(setfsgid,
302 TP_PROTO(sc_exit(long ret,) gid_t gid),
303 TP_ARGS(sc_exit(ret,) gid),
304 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
305 )
306 #endif
307 #ifndef OVERRIDE_32_getsid
308 SC_LTTNG_TRACEPOINT_EVENT(getsid,
309 TP_PROTO(sc_exit(long ret,) pid_t pid),
310 TP_ARGS(sc_exit(ret,) pid),
311 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
312 )
313 #endif
314 #ifndef OVERRIDE_32_fdatasync
315 SC_LTTNG_TRACEPOINT_EVENT(fdatasync,
316 TP_PROTO(sc_exit(long ret,) unsigned int fd),
317 TP_ARGS(sc_exit(ret,) fd),
318 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
319 )
320 #endif
321 #ifndef OVERRIDE_32_mlockall
322 SC_LTTNG_TRACEPOINT_EVENT(mlockall,
323 TP_PROTO(sc_exit(long ret,) int flags),
324 TP_ARGS(sc_exit(ret,) flags),
325 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
326 )
327 #endif
328 #ifndef OVERRIDE_32_sched_getscheduler
329 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler,
330 TP_PROTO(sc_exit(long ret,) pid_t pid),
331 TP_ARGS(sc_exit(ret,) pid),
332 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
333 )
334 #endif
335 #ifndef OVERRIDE_32_sched_get_priority_max
336 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max,
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_sched_get_priority_min
343 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min,
344 TP_PROTO(sc_exit(long ret,) int policy),
345 TP_ARGS(sc_exit(ret,) policy),
346 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
347 )
348 #endif
349 #ifndef OVERRIDE_32_io_destroy
350 SC_LTTNG_TRACEPOINT_EVENT(io_destroy,
351 TP_PROTO(sc_exit(long ret,) aio_context_t ctx),
352 TP_ARGS(sc_exit(ret,) ctx),
353 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx)))
354 )
355 #endif
356 #ifndef OVERRIDE_32_exit_group
357 SC_LTTNG_TRACEPOINT_EVENT(exit_group,
358 TP_PROTO(sc_exit(long ret,) int error_code),
359 TP_ARGS(sc_exit(ret,) error_code),
360 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
361 )
362 #endif
363 #ifndef OVERRIDE_32_epoll_create
364 SC_LTTNG_TRACEPOINT_EVENT(epoll_create,
365 TP_PROTO(sc_exit(long ret,) int size),
366 TP_ARGS(sc_exit(ret,) size),
367 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size)))
368 )
369 #endif
370 #ifndef OVERRIDE_32_timer_getoverrun
371 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun,
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_timer_delete
378 SC_LTTNG_TRACEPOINT_EVENT(timer_delete,
379 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
380 TP_ARGS(sc_exit(ret,) timer_id),
381 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
382 )
383 #endif
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)))
389 )
390 #endif
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)))
396 )
397 #endif
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)))
403 )
404 #endif
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)))
410 )
411 #endif
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)))
417 )
418 #endif
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)))
424 )
425 #endif
426 #ifndef OVERRIDE_32_signal
427 SC_LTTNG_TRACEPOINT_EVENT(signal,
428 TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler),
429 TP_ARGS(sc_exit(ret,) sig, handler),
430 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler)))
431 )
432 #endif
433 #ifndef OVERRIDE_32_setpgid
434 SC_LTTNG_TRACEPOINT_EVENT(setpgid,
435 TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid),
436 TP_ARGS(sc_exit(ret,) pid, pgid),
437 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)))
438 )
439 #endif
440 #ifndef OVERRIDE_32_dup2
441 SC_LTTNG_TRACEPOINT_EVENT(dup2,
442 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd),
443 TP_ARGS(sc_exit(ret,) oldfd, newfd),
444 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)))
445 )
446 #endif
447 #ifndef OVERRIDE_32_setreuid
448 SC_LTTNG_TRACEPOINT_EVENT(setreuid,
449 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid),
450 TP_ARGS(sc_exit(ret,) ruid, euid),
451 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)))
452 )
453 #endif
454 #ifndef OVERRIDE_32_setregid
455 SC_LTTNG_TRACEPOINT_EVENT(setregid,
456 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid),
457 TP_ARGS(sc_exit(ret,) rgid, egid),
458 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)))
459 )
460 #endif
461 #ifndef OVERRIDE_32_munmap
462 SC_LTTNG_TRACEPOINT_EVENT(munmap,
463 TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len),
464 TP_ARGS(sc_exit(ret,) addr, len),
465 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)))
466 )
467 #endif
468 #ifndef OVERRIDE_32_ftruncate
469 SC_LTTNG_TRACEPOINT_EVENT(ftruncate,
470 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length),
471 TP_ARGS(sc_exit(ret,) fd, length),
472 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)))
473 )
474 #endif
475 #ifndef OVERRIDE_32_fchmod
476 SC_LTTNG_TRACEPOINT_EVENT(fchmod,
477 TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode),
478 TP_ARGS(sc_exit(ret,) fd, mode),
479 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)))
480 )
481 #endif
482 #ifndef OVERRIDE_32_getpriority
483 SC_LTTNG_TRACEPOINT_EVENT(getpriority,
484 TP_PROTO(sc_exit(long ret,) int which, int who),
485 TP_ARGS(sc_exit(ret,) which, who),
486 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
487 )
488 #endif
489 #ifndef OVERRIDE_32_bdflush
490 SC_LTTNG_TRACEPOINT_EVENT(bdflush,
491 TP_PROTO(sc_exit(long ret,) int func, long data),
492 TP_ARGS(sc_exit(ret,) func, data),
493 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data)))
494 )
495 #endif
496 #ifndef OVERRIDE_32_flock
497 SC_LTTNG_TRACEPOINT_EVENT(flock,
498 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd),
499 TP_ARGS(sc_exit(ret,) fd, cmd),
500 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)))
501 )
502 #endif
503 #ifndef OVERRIDE_32_mlock
504 SC_LTTNG_TRACEPOINT_EVENT(mlock,
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_munlock
511 SC_LTTNG_TRACEPOINT_EVENT(munlock,
512 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
513 TP_ARGS(sc_exit(ret,) start, len),
514 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)))
515 )
516 #endif
517 #ifndef OVERRIDE_32_tkill
518 SC_LTTNG_TRACEPOINT_EVENT(tkill,
519 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
520 TP_ARGS(sc_exit(ret,) pid, sig),
521 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
522 )
523 #endif
524 #ifndef OVERRIDE_32_ioprio_get
525 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get,
526 TP_PROTO(sc_exit(long ret,) int which, int who),
527 TP_ARGS(sc_exit(ret,) which, who),
528 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
529 )
530 #endif
531 #ifndef OVERRIDE_32_inotify_rm_watch
532 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch,
533 TP_PROTO(sc_exit(long ret,) int fd, __s32 wd),
534 TP_ARGS(sc_exit(ret,) fd, wd),
535 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd)))
536 )
537 #endif
538 #ifndef OVERRIDE_32_timerfd_create
539 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create,
540 TP_PROTO(sc_exit(long ret,) int clockid, int flags),
541 TP_ARGS(sc_exit(ret,) clockid, flags),
542 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags)))
543 )
544 #endif
545 #ifndef OVERRIDE_32_eventfd2
546 SC_LTTNG_TRACEPOINT_EVENT(eventfd2,
547 TP_PROTO(sc_exit(long ret,) unsigned int count, int flags),
548 TP_ARGS(sc_exit(ret,) count, flags),
549 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags)))
550 )
551 #endif
552 #ifndef OVERRIDE_32_listen
553 SC_LTTNG_TRACEPOINT_EVENT(listen,
554 TP_PROTO(sc_exit(long ret,) int fd, int backlog),
555 TP_ARGS(sc_exit(ret,) fd, backlog),
556 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
557 )
558 #endif
559 #ifndef OVERRIDE_32_shutdown
560 SC_LTTNG_TRACEPOINT_EVENT(shutdown,
561 TP_PROTO(sc_exit(long ret,) int fd, int how),
562 TP_ARGS(sc_exit(ret,) fd, how),
563 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
564 )
565 #endif
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)))
571 )
572 #endif
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 origin),
576 TP_ARGS(sc_exit(ret,) fd, offset, origin),
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, origin, origin)))
578 )
579 #endif
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)))
585 )
586 #endif
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)))
592 )
593 #endif
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)))
599 )
600 #endif
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)))
606 )
607 #endif
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)))
613 )
614 #endif
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)))
620 )
621 #endif
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)))
627 )
628 #endif
629 #ifndef OVERRIDE_32_setresuid
630 SC_LTTNG_TRACEPOINT_EVENT(setresuid,
631 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
632 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
633 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)))
634 )
635 #endif
636 #ifndef OVERRIDE_32_setresgid
637 SC_LTTNG_TRACEPOINT_EVENT(setresgid,
638 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
639 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
640 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)))
641 )
642 #endif
643 #ifndef OVERRIDE_32_fcntl64
644 SC_LTTNG_TRACEPOINT_EVENT(fcntl64,
645 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
646 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
647 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)))
648 )
649 #endif
650 #ifndef OVERRIDE_32_madvise
651 SC_LTTNG_TRACEPOINT_EVENT(madvise,
652 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
653 TP_ARGS(sc_exit(ret,) start, len_in, behavior),
654 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)))
655 )
656 #endif
657 #ifndef OVERRIDE_32_tgkill
658 SC_LTTNG_TRACEPOINT_EVENT(tgkill,
659 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
660 TP_ARGS(sc_exit(ret,) tgid, pid, sig),
661 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)))
662 )
663 #endif
664 #ifndef OVERRIDE_32_ioprio_set
665 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
666 TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
667 TP_ARGS(sc_exit(ret,) which, who, ioprio),
668 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)))
669 )
670 #endif
671 #ifndef OVERRIDE_32_dup3
672 SC_LTTNG_TRACEPOINT_EVENT(dup3,
673 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
674 TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
675 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)))
676 )
677 #endif
678 #ifndef OVERRIDE_32_socket
679 SC_LTTNG_TRACEPOINT_EVENT(socket,
680 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
681 TP_ARGS(sc_exit(ret,) family, type, protocol),
682 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)))
683 )
684 #endif
685 #ifndef OVERRIDE_32_ptrace
686 SC_LTTNG_TRACEPOINT_EVENT(ptrace,
687 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
688 TP_ARGS(sc_exit(ret,) request, pid, addr, data),
689 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)))
690 )
691 #endif
692 #ifndef OVERRIDE_32_tee
693 SC_LTTNG_TRACEPOINT_EVENT(tee,
694 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
695 TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
696 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)))
697 )
698 #endif
699 #ifndef OVERRIDE_32_mremap
700 SC_LTTNG_TRACEPOINT_EVENT(mremap,
701 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
702 TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
703 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)))
704 )
705 #endif
706 #ifndef OVERRIDE_32_prctl
707 SC_LTTNG_TRACEPOINT_EVENT(prctl,
708 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
709 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
710 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)))
711 )
712 #endif
713 #ifndef OVERRIDE_32_remap_file_pages
714 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
715 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
716 TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
717 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)))
718 )
719 #endif
720 #ifndef OVERRIDE_32_keyctl
721 SC_LTTNG_TRACEPOINT_EVENT(keyctl,
722 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
723 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
724 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)))
725 )
726 #endif
727
728 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
729
730 /* This part must be outside protection */
731 #include <lttng/define_trace.h>
732
733 #else /* CREATE_SYSCALL_TABLE */
734
735 #include "powerpc-32-syscalls_integers_override.h"
736 #include "syscalls_integers_override.h"
737
738 #ifdef SC_ENTER
739 #ifndef OVERRIDE_TABLE_32_restart_syscall
740 TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0)
741 #endif
742 #ifndef OVERRIDE_TABLE_32_getpid
743 TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0)
744 #endif
745 #ifndef OVERRIDE_TABLE_32_getuid
746 TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0)
747 #endif
748 #ifndef OVERRIDE_TABLE_32_pause
749 TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0)
750 #endif
751 #ifndef OVERRIDE_TABLE_32_sync
752 TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0)
753 #endif
754 #ifndef OVERRIDE_TABLE_32_getgid
755 TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0)
756 #endif
757 #ifndef OVERRIDE_TABLE_32_geteuid
758 TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0)
759 #endif
760 #ifndef OVERRIDE_TABLE_32_getegid
761 TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0)
762 #endif
763 #ifndef OVERRIDE_TABLE_32_getppid
764 TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0)
765 #endif
766 #ifndef OVERRIDE_TABLE_32_getpgrp
767 TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0)
768 #endif
769 #ifndef OVERRIDE_TABLE_32_setsid
770 TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0)
771 #endif
772 #ifndef OVERRIDE_TABLE_32_sgetmask
773 TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0)
774 #endif
775 #ifndef OVERRIDE_TABLE_32_vhangup
776 TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0)
777 #endif
778 #ifndef OVERRIDE_TABLE_32_munlockall
779 TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0)
780 #endif
781 #ifndef OVERRIDE_TABLE_32_sched_yield
782 TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0)
783 #endif
784 #ifndef OVERRIDE_TABLE_32_gettid
785 TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0)
786 #endif
787 #ifndef OVERRIDE_TABLE_32_inotify_init
788 TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0)
789 #endif
790 #else /* #ifdef SC_ENTER */
791 #ifndef OVERRIDE_TABLE_32_restart_syscall
792 TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0)
793 #endif
794 #ifndef OVERRIDE_TABLE_32_getpid
795 TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0)
796 #endif
797 #ifndef OVERRIDE_TABLE_32_getuid
798 TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0)
799 #endif
800 #ifndef OVERRIDE_TABLE_32_pause
801 TRACE_SYSCALL_TABLE(pause, pause, 29, 0)
802 #endif
803 #ifndef OVERRIDE_TABLE_32_sync
804 TRACE_SYSCALL_TABLE(sync, sync, 36, 0)
805 #endif
806 #ifndef OVERRIDE_TABLE_32_getgid
807 TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0)
808 #endif
809 #ifndef OVERRIDE_TABLE_32_geteuid
810 TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0)
811 #endif
812 #ifndef OVERRIDE_TABLE_32_getegid
813 TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0)
814 #endif
815 #ifndef OVERRIDE_TABLE_32_getppid
816 TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0)
817 #endif
818 #ifndef OVERRIDE_TABLE_32_getpgrp
819 TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0)
820 #endif
821 #ifndef OVERRIDE_TABLE_32_setsid
822 TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0)
823 #endif
824 #ifndef OVERRIDE_TABLE_32_sgetmask
825 TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0)
826 #endif
827 #ifndef OVERRIDE_TABLE_32_vhangup
828 TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0)
829 #endif
830 #ifndef OVERRIDE_TABLE_32_munlockall
831 TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0)
832 #endif
833 #ifndef OVERRIDE_TABLE_32_sched_yield
834 TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0)
835 #endif
836 #ifndef OVERRIDE_TABLE_32_gettid
837 TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0)
838 #endif
839 #ifndef OVERRIDE_TABLE_32_inotify_init
840 TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0)
841 #endif
842 #endif /* else #ifdef SC_ENTER */
843 #ifndef OVERRIDE_TABLE_32_exit
844 TRACE_SYSCALL_TABLE(exit, exit, 1, 1)
845 #endif
846 #ifndef OVERRIDE_TABLE_32_close
847 TRACE_SYSCALL_TABLE(close, close, 6, 1)
848 #endif
849 #ifndef OVERRIDE_TABLE_32_lseek
850 TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3)
851 #endif
852 #ifndef OVERRIDE_TABLE_32_setuid
853 TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1)
854 #endif
855 #ifndef OVERRIDE_TABLE_32_ptrace
856 TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4)
857 #endif
858 #ifndef OVERRIDE_TABLE_32_alarm
859 TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1)
860 #endif
861 #ifndef OVERRIDE_TABLE_32_nice
862 TRACE_SYSCALL_TABLE(nice, nice, 34, 1)
863 #endif
864 #ifndef OVERRIDE_TABLE_32_kill
865 TRACE_SYSCALL_TABLE(kill, kill, 37, 2)
866 #endif
867 #ifndef OVERRIDE_TABLE_32_dup
868 TRACE_SYSCALL_TABLE(dup, dup, 41, 1)
869 #endif
870 #ifndef OVERRIDE_TABLE_32_brk
871 TRACE_SYSCALL_TABLE(brk, brk, 45, 1)
872 #endif
873 #ifndef OVERRIDE_TABLE_32_setgid
874 TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1)
875 #endif
876 #ifndef OVERRIDE_TABLE_32_signal
877 TRACE_SYSCALL_TABLE(signal, signal, 48, 2)
878 #endif
879 #ifndef OVERRIDE_TABLE_32_ioctl
880 TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3)
881 #endif
882 #ifndef OVERRIDE_TABLE_32_fcntl
883 TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3)
884 #endif
885 #ifndef OVERRIDE_TABLE_32_setpgid
886 TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2)
887 #endif
888 #ifndef OVERRIDE_TABLE_32_umask
889 TRACE_SYSCALL_TABLE(umask, umask, 60, 1)
890 #endif
891 #ifndef OVERRIDE_TABLE_32_dup2
892 TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2)
893 #endif
894 #ifndef OVERRIDE_TABLE_32_ssetmask
895 TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1)
896 #endif
897 #ifndef OVERRIDE_TABLE_32_setreuid
898 TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2)
899 #endif
900 #ifndef OVERRIDE_TABLE_32_setregid
901 TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2)
902 #endif
903 #ifndef OVERRIDE_TABLE_32_munmap
904 TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2)
905 #endif
906 #ifndef OVERRIDE_TABLE_32_ftruncate
907 TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2)
908 #endif
909 #ifndef OVERRIDE_TABLE_32_fchmod
910 TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2)
911 #endif
912 #ifndef OVERRIDE_TABLE_32_fchown
913 TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3)
914 #endif
915 #ifndef OVERRIDE_TABLE_32_getpriority
916 TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2)
917 #endif
918 #ifndef OVERRIDE_TABLE_32_setpriority
919 TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3)
920 #endif
921 #ifndef OVERRIDE_TABLE_32_fsync
922 TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1)
923 #endif
924 #ifndef OVERRIDE_TABLE_32_mprotect
925 TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3)
926 #endif
927 #ifndef OVERRIDE_TABLE_32_getpgid
928 TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1)
929 #endif
930 #ifndef OVERRIDE_TABLE_32_fchdir
931 TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1)
932 #endif
933 #ifndef OVERRIDE_TABLE_32_bdflush
934 TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2)
935 #endif
936 #ifndef OVERRIDE_TABLE_32_sysfs
937 TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3)
938 #endif
939 #ifndef OVERRIDE_TABLE_32_personality
940 TRACE_SYSCALL_TABLE(personality, personality, 136, 1)
941 #endif
942 #ifndef OVERRIDE_TABLE_32_setfsuid
943 TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1)
944 #endif
945 #ifndef OVERRIDE_TABLE_32_setfsgid
946 TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1)
947 #endif
948 #ifndef OVERRIDE_TABLE_32_flock
949 TRACE_SYSCALL_TABLE(flock, flock, 143, 2)
950 #endif
951 #ifndef OVERRIDE_TABLE_32_msync
952 TRACE_SYSCALL_TABLE(msync, msync, 144, 3)
953 #endif
954 #ifndef OVERRIDE_TABLE_32_getsid
955 TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1)
956 #endif
957 #ifndef OVERRIDE_TABLE_32_fdatasync
958 TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1)
959 #endif
960 #ifndef OVERRIDE_TABLE_32_mlock
961 TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2)
962 #endif
963 #ifndef OVERRIDE_TABLE_32_munlock
964 TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2)
965 #endif
966 #ifndef OVERRIDE_TABLE_32_mlockall
967 TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1)
968 #endif
969 #ifndef OVERRIDE_TABLE_32_sched_getscheduler
970 TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1)
971 #endif
972 #ifndef OVERRIDE_TABLE_32_sched_get_priority_max
973 TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1)
974 #endif
975 #ifndef OVERRIDE_TABLE_32_sched_get_priority_min
976 TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1)
977 #endif
978 #ifndef OVERRIDE_TABLE_32_mremap
979 TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5)
980 #endif
981 #ifndef OVERRIDE_TABLE_32_setresuid
982 TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3)
983 #endif
984 #ifndef OVERRIDE_TABLE_32_setresgid
985 TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3)
986 #endif
987 #ifndef OVERRIDE_TABLE_32_prctl
988 TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5)
989 #endif
990 #ifndef OVERRIDE_TABLE_32_fcntl64
991 TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3)
992 #endif
993 #ifndef OVERRIDE_TABLE_32_madvise
994 TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3)
995 #endif
996 #ifndef OVERRIDE_TABLE_32_tkill
997 TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2)
998 #endif
999 #ifndef OVERRIDE_TABLE_32_io_destroy
1000 TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1)
1001 #endif
1002 #ifndef OVERRIDE_TABLE_32_exit_group
1003 TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1)
1004 #endif
1005 #ifndef OVERRIDE_TABLE_32_epoll_create
1006 TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1)
1007 #endif
1008 #ifndef OVERRIDE_TABLE_32_remap_file_pages
1009 TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5)
1010 #endif
1011 #ifndef OVERRIDE_TABLE_32_timer_getoverrun
1012 TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1)
1013 #endif
1014 #ifndef OVERRIDE_TABLE_32_timer_delete
1015 TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1)
1016 #endif
1017 #ifndef OVERRIDE_TABLE_32_tgkill
1018 TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3)
1019 #endif
1020 #ifndef OVERRIDE_TABLE_32_keyctl
1021 TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5)
1022 #endif
1023 #ifndef OVERRIDE_TABLE_32_ioprio_set
1024 TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3)
1025 #endif
1026 #ifndef OVERRIDE_TABLE_32_ioprio_get
1027 TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2)
1028 #endif
1029 #ifndef OVERRIDE_TABLE_32_inotify_rm_watch
1030 TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2)
1031 #endif
1032 #ifndef OVERRIDE_TABLE_32_unshare
1033 TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1)
1034 #endif
1035 #ifndef OVERRIDE_TABLE_32_tee
1036 TRACE_SYSCALL_TABLE(tee, tee, 284, 4)
1037 #endif
1038 #ifndef OVERRIDE_TABLE_32_timerfd_create
1039 TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2)
1040 #endif
1041 #ifndef OVERRIDE_TABLE_32_eventfd
1042 TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1)
1043 #endif
1044 #ifndef OVERRIDE_TABLE_32_eventfd2
1045 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2)
1046 #endif
1047 #ifndef OVERRIDE_TABLE_32_epoll_create1
1048 TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1)
1049 #endif
1050 #ifndef OVERRIDE_TABLE_32_dup3
1051 TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3)
1052 #endif
1053 #ifndef OVERRIDE_TABLE_32_inotify_init1
1054 TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1)
1055 #endif
1056 #ifndef OVERRIDE_TABLE_32_socket
1057 TRACE_SYSCALL_TABLE(socket, socket, 326, 3)
1058 #endif
1059 #ifndef OVERRIDE_TABLE_32_listen
1060 TRACE_SYSCALL_TABLE(listen, listen, 329, 2)
1061 #endif
1062 #ifndef OVERRIDE_TABLE_32_shutdown
1063 TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2)
1064 #endif
1065 #ifndef OVERRIDE_TABLE_32_syncfs
1066 TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1)
1067 #endif
1068 #ifndef OVERRIDE_TABLE_32_setns
1069 TRACE_SYSCALL_TABLE(setns, setns, 350, 2)
1070 #endif
1071
1072 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.06048 seconds and 5 git commands to generate.