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