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