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