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