Cleanup: Remove deprecated TODO file
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls_pointers.h
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
6314c2d3 2
8f4f80e0 3/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
6314c2d3
MJ
4
5/* Generated from arm-32-syscalls 3.4.25 */
6
8f4f80e0
RK
7#ifndef CREATE_SYSCALL_TABLE
8
9#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
10#define _TRACE_SYSCALLS_POINTERS_H
11
3b4aafcb 12#include <lttng/tracepoint-event.h>
8f4f80e0 13#include <linux/syscalls.h>
6314c2d3 14#include "arm-32-syscalls_pointers_override.h"
8f4f80e0
RK
15#include "syscalls_pointers_override.h"
16
f1e7d826
MD
17#ifndef OVERRIDE_32_unlink
18SC_LTTNG_TRACEPOINT_EVENT(unlink,
19 TP_PROTO(sc_exit(long ret,) const char * pathname),
20 TP_ARGS(sc_exit(ret,) pathname),
e0976e2b 21 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)))
8f4f80e0
RK
22)
23#endif
f1e7d826
MD
24#ifndef OVERRIDE_32_chdir
25SC_LTTNG_TRACEPOINT_EVENT(chdir,
26 TP_PROTO(sc_exit(long ret,) const char * filename),
27 TP_ARGS(sc_exit(ret,) filename),
e0976e2b 28 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
8f4f80e0
RK
29)
30#endif
f1e7d826
MD
31#ifndef OVERRIDE_32_rmdir
32SC_LTTNG_TRACEPOINT_EVENT(rmdir,
33 TP_PROTO(sc_exit(long ret,) const char * pathname),
34 TP_ARGS(sc_exit(ret,) pathname),
e0976e2b 35 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)))
8f4f80e0
RK
36)
37#endif
f1e7d826
MD
38#ifndef OVERRIDE_32_pipe
39SC_LTTNG_TRACEPOINT_EVENT(pipe,
40 TP_PROTO(sc_exit(long ret,) int * fildes),
41 TP_ARGS(sc_exit(ret,) fildes),
e0976e2b 42 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)))
8f4f80e0
RK
43)
44#endif
f1e7d826
MD
45#ifndef OVERRIDE_32_times
46SC_LTTNG_TRACEPOINT_EVENT(times,
47 TP_PROTO(sc_exit(long ret,) struct tms * tbuf),
48 TP_ARGS(sc_exit(ret,) tbuf),
e0976e2b 49 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf)))
8f4f80e0
RK
50)
51#endif
f1e7d826
MD
52#ifndef OVERRIDE_32_acct
53SC_LTTNG_TRACEPOINT_EVENT(acct,
54 TP_PROTO(sc_exit(long ret,) const char * name),
55 TP_ARGS(sc_exit(ret,) name),
e0976e2b 56 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)))
c974cc6e
JG
57)
58#endif
f1e7d826
MD
59#ifndef OVERRIDE_32_chroot
60SC_LTTNG_TRACEPOINT_EVENT(chroot,
61 TP_PROTO(sc_exit(long ret,) const char * filename),
62 TP_ARGS(sc_exit(ret,) filename),
e0976e2b 63 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
8f4f80e0
RK
64)
65#endif
f1e7d826
MD
66#ifndef OVERRIDE_32_sigpending
67SC_LTTNG_TRACEPOINT_EVENT(sigpending,
68 TP_PROTO(sc_exit(long ret,) old_sigset_t * set),
69 TP_ARGS(sc_exit(ret,) set),
e0976e2b 70 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set)))
8f4f80e0
RK
71)
72#endif
f1e7d826
MD
73#ifndef OVERRIDE_32_uselib
74SC_LTTNG_TRACEPOINT_EVENT(uselib,
75 TP_PROTO(sc_exit(long ret,) const char * library),
76 TP_ARGS(sc_exit(ret,) library),
e0976e2b 77 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library)))
8f4f80e0
RK
78)
79#endif
f1e7d826
MD
80#ifndef OVERRIDE_32_swapoff
81SC_LTTNG_TRACEPOINT_EVENT(swapoff,
82 TP_PROTO(sc_exit(long ret,) const char * specialfile),
83 TP_ARGS(sc_exit(ret,) specialfile),
e0976e2b 84 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)))
c974cc6e
JG
85)
86#endif
f1e7d826
MD
87#ifndef OVERRIDE_32_sysinfo
88SC_LTTNG_TRACEPOINT_EVENT(sysinfo,
89 TP_PROTO(sc_exit(long ret,) struct sysinfo * info),
90 TP_ARGS(sc_exit(ret,) info),
e0976e2b 91 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info)))
8f4f80e0
RK
92)
93#endif
f1e7d826
MD
94#ifndef OVERRIDE_32_newuname
95SC_LTTNG_TRACEPOINT_EVENT(newuname,
96 TP_PROTO(sc_exit(long ret,) struct new_utsname * name),
97 TP_ARGS(sc_exit(ret,) name),
e0976e2b 98 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name)))
8f4f80e0
RK
99)
100#endif
f1e7d826
MD
101#ifndef OVERRIDE_32_adjtimex
102SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
103 TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
104 TP_ARGS(sc_exit(ret,) txc_p),
e0976e2b 105 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p)))
8f4f80e0
RK
106)
107#endif
f1e7d826
MD
108#ifndef OVERRIDE_32_sysctl
109SC_LTTNG_TRACEPOINT_EVENT(sysctl,
110 TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args),
111 TP_ARGS(sc_exit(ret,) args),
e0976e2b 112 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args)))
8f4f80e0
RK
113)
114#endif
f1e7d826
MD
115#ifndef OVERRIDE_32_set_tid_address
116SC_LTTNG_TRACEPOINT_EVENT(set_tid_address,
117 TP_PROTO(sc_exit(long ret,) int * tidptr),
118 TP_ARGS(sc_exit(ret,) tidptr),
e0976e2b 119 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr)))
8f4f80e0
RK
120)
121#endif
f1e7d826
MD
122#ifndef OVERRIDE_32_mq_unlink
123SC_LTTNG_TRACEPOINT_EVENT(mq_unlink,
124 TP_PROTO(sc_exit(long ret,) const char * u_name),
125 TP_ARGS(sc_exit(ret,) u_name),
e0976e2b 126 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)))
8f4f80e0
RK
127)
128#endif
f1e7d826
MD
129#ifndef OVERRIDE_32_shmdt
130SC_LTTNG_TRACEPOINT_EVENT(shmdt,
131 TP_PROTO(sc_exit(long ret,) char * shmaddr),
132 TP_ARGS(sc_exit(ret,) shmaddr),
e0976e2b 133 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr)))
8f4f80e0
RK
134)
135#endif
f1e7d826
MD
136#ifndef OVERRIDE_32_creat
137SC_LTTNG_TRACEPOINT_EVENT(creat,
138 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
139 TP_ARGS(sc_exit(ret,) pathname, mode),
e0976e2b 140 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
141)
142#endif
f1e7d826
MD
143#ifndef OVERRIDE_32_link
144SC_LTTNG_TRACEPOINT_EVENT(link,
145 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
146 TP_ARGS(sc_exit(ret,) oldname, newname),
e0976e2b 147 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
8f4f80e0
RK
148)
149#endif
f1e7d826
MD
150#ifndef OVERRIDE_32_chmod
151SC_LTTNG_TRACEPOINT_EVENT(chmod,
152 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode),
153 TP_ARGS(sc_exit(ret,) filename, mode),
e0976e2b 154 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
155)
156#endif
f1e7d826
MD
157#ifndef OVERRIDE_32_access
158SC_LTTNG_TRACEPOINT_EVENT(access,
159 TP_PROTO(sc_exit(long ret,) const char * filename, int mode),
160 TP_ARGS(sc_exit(ret,) filename, mode),
e0976e2b 161 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)))
8f4f80e0
RK
162)
163#endif
f1e7d826
MD
164#ifndef OVERRIDE_32_rename
165SC_LTTNG_TRACEPOINT_EVENT(rename,
166 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
167 TP_ARGS(sc_exit(ret,) oldname, newname),
e0976e2b 168 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
8f4f80e0
RK
169)
170#endif
f1e7d826
MD
171#ifndef OVERRIDE_32_mkdir
172SC_LTTNG_TRACEPOINT_EVENT(mkdir,
173 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
174 TP_ARGS(sc_exit(ret,) pathname, mode),
e0976e2b 175 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
176)
177#endif
f1e7d826
MD
178#ifndef OVERRIDE_32_umount
179SC_LTTNG_TRACEPOINT_EVENT(umount,
180 TP_PROTO(sc_exit(long ret,) char * name, int flags),
181 TP_ARGS(sc_exit(ret,) name, flags),
e0976e2b 182 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
183)
184#endif
f1e7d826
MD
185#ifndef OVERRIDE_32_ustat
186SC_LTTNG_TRACEPOINT_EVENT(ustat,
187 TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf),
188 TP_ARGS(sc_exit(ret,) dev, ubuf),
e0976e2b 189 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf)))
8f4f80e0
RK
190)
191#endif
f1e7d826
MD
192#ifndef OVERRIDE_32_sethostname
193SC_LTTNG_TRACEPOINT_EVENT(sethostname,
194 TP_PROTO(sc_exit(long ret,) char * name, int len),
195 TP_ARGS(sc_exit(ret,) name, len),
e0976e2b 196 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
8f4f80e0
RK
197)
198#endif
f1e7d826
MD
199#ifndef OVERRIDE_32_setrlimit
200SC_LTTNG_TRACEPOINT_EVENT(setrlimit,
201 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
202 TP_ARGS(sc_exit(ret,) resource, rlim),
e0976e2b 203 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim)))
8f4f80e0
RK
204)
205#endif
f1e7d826
MD
206#ifndef OVERRIDE_32_getrusage
207SC_LTTNG_TRACEPOINT_EVENT(getrusage,
208 TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru),
209 TP_ARGS(sc_exit(ret,) who, ru),
e0976e2b 210 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru)))
8f4f80e0
RK
211)
212#endif
f1e7d826
MD
213#ifndef OVERRIDE_32_gettimeofday
214SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
215 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
216 TP_ARGS(sc_exit(ret,) tv, tz),
e0976e2b 217 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz)))
8f4f80e0
RK
218)
219#endif
f1e7d826
MD
220#ifndef OVERRIDE_32_settimeofday
221SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
222 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
223 TP_ARGS(sc_exit(ret,) tv, tz),
e0976e2b 224 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz)))
8f4f80e0
RK
225)
226#endif
f1e7d826
MD
227#ifndef OVERRIDE_32_getgroups16
228SC_LTTNG_TRACEPOINT_EVENT(getgroups16,
229 TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist),
230 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
e0976e2b 231 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist)))
8f4f80e0
RK
232)
233#endif
f1e7d826
MD
234#ifndef OVERRIDE_32_setgroups16
235SC_LTTNG_TRACEPOINT_EVENT(setgroups16,
236 TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist),
237 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
e0976e2b 238 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist)))
8f4f80e0
RK
239)
240#endif
f1e7d826
MD
241#ifndef OVERRIDE_32_symlink
242SC_LTTNG_TRACEPOINT_EVENT(symlink,
243 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
244 TP_ARGS(sc_exit(ret,) oldname, newname),
e0976e2b 245 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
8f4f80e0
RK
246)
247#endif
f1e7d826
MD
248#ifndef OVERRIDE_32_swapon
249SC_LTTNG_TRACEPOINT_EVENT(swapon,
250 TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags),
251 TP_ARGS(sc_exit(ret,) specialfile, swap_flags),
e0976e2b 252 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)) sc_in(ctf_integer(int, swap_flags, swap_flags)))
c974cc6e
JG
253)
254#endif
f1e7d826
MD
255#ifndef OVERRIDE_32_truncate
256SC_LTTNG_TRACEPOINT_EVENT(truncate,
257 TP_PROTO(sc_exit(long ret,) const char * path, long length),
258 TP_ARGS(sc_exit(ret,) path, length),
e0976e2b 259 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length)))
8f4f80e0
RK
260)
261#endif
f1e7d826
MD
262#ifndef OVERRIDE_32_statfs
263SC_LTTNG_TRACEPOINT_EVENT(statfs,
264 TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf),
265 TP_ARGS(sc_exit(ret,) pathname, buf),
e0976e2b 266 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf)))
8f4f80e0
RK
267)
268#endif
f1e7d826
MD
269#ifndef OVERRIDE_32_fstatfs
270SC_LTTNG_TRACEPOINT_EVENT(fstatfs,
271 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf),
272 TP_ARGS(sc_exit(ret,) fd, buf),
e0976e2b 273 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct statfs *, buf, buf)))
8f4f80e0
RK
274)
275#endif
f1e7d826
MD
276#ifndef OVERRIDE_32_getitimer
277SC_LTTNG_TRACEPOINT_EVENT(getitimer,
278 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
279 TP_ARGS(sc_exit(ret,) which, value),
e0976e2b 280 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value)))
8f4f80e0
RK
281)
282#endif
f1e7d826
MD
283#ifndef OVERRIDE_32_newstat
284SC_LTTNG_TRACEPOINT_EVENT(newstat,
285 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
286 TP_ARGS(sc_exit(ret,) filename, statbuf),
e0976e2b 287 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
8f4f80e0
RK
288)
289#endif
f1e7d826
MD
290#ifndef OVERRIDE_32_newlstat
291SC_LTTNG_TRACEPOINT_EVENT(newlstat,
292 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
293 TP_ARGS(sc_exit(ret,) filename, statbuf),
e0976e2b 294 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
8f4f80e0
RK
295)
296#endif
f1e7d826
MD
297#ifndef OVERRIDE_32_newfstat
298SC_LTTNG_TRACEPOINT_EVENT(newfstat,
299 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf),
300 TP_ARGS(sc_exit(ret,) fd, statbuf),
e0976e2b 301 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
8f4f80e0
RK
302)
303#endif
f1e7d826
MD
304#ifndef OVERRIDE_32_setdomainname
305SC_LTTNG_TRACEPOINT_EVENT(setdomainname,
306 TP_PROTO(sc_exit(long ret,) char * name, int len),
307 TP_ARGS(sc_exit(ret,) name, len),
e0976e2b 308 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
8f4f80e0
RK
309)
310#endif
f1e7d826
MD
311#ifndef OVERRIDE_32_delete_module
312SC_LTTNG_TRACEPOINT_EVENT(delete_module,
313 TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags),
314 TP_ARGS(sc_exit(ret,) name_user, flags),
e0976e2b 315 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name_user, name_user)) sc_in(ctf_integer(unsigned int, flags, flags)))
8f4f80e0
RK
316)
317#endif
f1e7d826
MD
318#ifndef OVERRIDE_32_sched_setparam
319SC_LTTNG_TRACEPOINT_EVENT(sched_setparam,
320 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
321 TP_ARGS(sc_exit(ret,) pid, param),
e0976e2b 322 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(struct sched_param *, param, param)))
8f4f80e0
RK
323)
324#endif
f1e7d826
MD
325#ifndef OVERRIDE_32_sched_getparam
326SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
327 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
328 TP_ARGS(sc_exit(ret,) pid, param),
e0976e2b 329 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct sched_param *, param, param)))
8f4f80e0
RK
330)
331#endif
f1e7d826
MD
332#ifndef OVERRIDE_32_sched_rr_get_interval
333SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
334 TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
335 TP_ARGS(sc_exit(ret,) pid, interval),
e0976e2b 336 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval)))
8f4f80e0
RK
337)
338#endif
f1e7d826
MD
339#ifndef OVERRIDE_32_nanosleep
340SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
341 TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
342 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
e0976e2b 343 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
8f4f80e0
RK
344)
345#endif
f1e7d826
MD
346#ifndef OVERRIDE_32_rt_sigpending
347SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
348 TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize),
349 TP_ARGS(sc_exit(ret,) set, sigsetsize),
e0976e2b 350 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, set, set)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
351)
352#endif
f1e7d826
MD
353#ifndef OVERRIDE_32_rt_sigsuspend
354SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend,
355 TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize),
356 TP_ARGS(sc_exit(ret,) unewset, sigsetsize),
e0976e2b 357 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(sigset_t *, unewset, unewset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
358)
359#endif
f1e7d826
MD
360#ifndef OVERRIDE_32_getcwd
361SC_LTTNG_TRACEPOINT_EVENT(getcwd,
362 TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size),
363 TP_ARGS(sc_exit(ret,) buf, size),
e0976e2b 364 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size)))
8f4f80e0
RK
365)
366#endif
f1e7d826
MD
367#ifndef OVERRIDE_32_getrlimit
368SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
369 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
370 TP_ARGS(sc_exit(ret,) resource, rlim),
e0976e2b 371 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_out(ctf_integer(struct rlimit *, rlim, rlim)))
8f4f80e0
RK
372)
373#endif
f1e7d826
MD
374#ifndef OVERRIDE_32_stat64
375SC_LTTNG_TRACEPOINT_EVENT(stat64,
376 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf),
377 TP_ARGS(sc_exit(ret,) filename, statbuf),
e0976e2b 378 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)))
8f4f80e0
RK
379)
380#endif
f1e7d826
MD
381#ifndef OVERRIDE_32_lstat64
382SC_LTTNG_TRACEPOINT_EVENT(lstat64,
383 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf),
384 TP_ARGS(sc_exit(ret,) filename, statbuf),
e0976e2b 385 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)))
8f4f80e0
RK
386)
387#endif
f1e7d826
MD
388#ifndef OVERRIDE_32_fstat64
389SC_LTTNG_TRACEPOINT_EVENT(fstat64,
390 TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf),
391 TP_ARGS(sc_exit(ret,) fd, statbuf),
e0976e2b 392 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)))
8f4f80e0
RK
393)
394#endif
f1e7d826
MD
395#ifndef OVERRIDE_32_getgroups
396SC_LTTNG_TRACEPOINT_EVENT(getgroups,
397 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
398 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
e0976e2b 399 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist)))
8f4f80e0
RK
400)
401#endif
f1e7d826
MD
402#ifndef OVERRIDE_32_setgroups
403SC_LTTNG_TRACEPOINT_EVENT(setgroups,
404 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
405 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
e0976e2b 406 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist)))
8f4f80e0
RK
407)
408#endif
f1e7d826
MD
409#ifndef OVERRIDE_32_pivot_root
410SC_LTTNG_TRACEPOINT_EVENT(pivot_root,
411 TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old),
412 TP_ARGS(sc_exit(ret,) new_root, put_old),
e0976e2b 413 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(new_root, new_root)) sc_in(ctf_user_string(put_old, put_old)))
8f4f80e0
RK
414)
415#endif
f1e7d826
MD
416#ifndef OVERRIDE_32_removexattr
417SC_LTTNG_TRACEPOINT_EVENT(removexattr,
418 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
419 TP_ARGS(sc_exit(ret,) pathname, name),
e0976e2b 420 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
8f4f80e0
RK
421)
422#endif
f1e7d826
MD
423#ifndef OVERRIDE_32_lremovexattr
424SC_LTTNG_TRACEPOINT_EVENT(lremovexattr,
425 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
426 TP_ARGS(sc_exit(ret,) pathname, name),
e0976e2b 427 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
8f4f80e0
RK
428)
429#endif
f1e7d826
MD
430#ifndef OVERRIDE_32_fremovexattr
431SC_LTTNG_TRACEPOINT_EVENT(fremovexattr,
432 TP_PROTO(sc_exit(long ret,) int fd, const char * name),
433 TP_ARGS(sc_exit(ret,) fd, name),
e0976e2b 434 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)))
8f4f80e0
RK
435)
436#endif
f1e7d826
MD
437#ifndef OVERRIDE_32_io_setup
438SC_LTTNG_TRACEPOINT_EVENT(io_setup,
439 TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp),
440 TP_ARGS(sc_exit(ret,) nr_events, ctxp),
e0976e2b 441 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, nr_events, nr_events)) sc_in(ctf_integer(aio_context_t *, ctxp, ctxp)))
8f4f80e0
RK
442)
443#endif
f1e7d826
MD
444#ifndef OVERRIDE_32_timer_gettime
445SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
446 TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
447 TP_ARGS(sc_exit(ret,) timer_id, setting),
e0976e2b 448 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting)))
8f4f80e0
RK
449)
450#endif
f1e7d826
MD
451#ifndef OVERRIDE_32_clock_settime
452SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
453 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp),
454 TP_ARGS(sc_exit(ret,) which_clock, tp),
e0976e2b 455 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(const struct timespec *, tp, tp)))
8f4f80e0
RK
456)
457#endif
f1e7d826
MD
458#ifndef OVERRIDE_32_clock_gettime
459SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
460 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
461 TP_ARGS(sc_exit(ret,) which_clock, tp),
e0976e2b 462 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp)))
8f4f80e0
RK
463)
464#endif
f1e7d826
MD
465#ifndef OVERRIDE_32_clock_getres
466SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
467 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
468 TP_ARGS(sc_exit(ret,) which_clock, tp),
e0976e2b 469 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp)))
8f4f80e0
RK
470)
471#endif
f1e7d826
MD
472#ifndef OVERRIDE_32_utimes
473SC_LTTNG_TRACEPOINT_EVENT(utimes,
474 TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes),
475 TP_ARGS(sc_exit(ret,) filename, utimes),
e0976e2b 476 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
8f4f80e0
RK
477)
478#endif
f1e7d826
MD
479#ifndef OVERRIDE_32_mq_notify
480SC_LTTNG_TRACEPOINT_EVENT(mq_notify,
481 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification),
482 TP_ARGS(sc_exit(ret,) mqdes, u_notification),
e0976e2b 483 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct sigevent *, u_notification, u_notification)))
8f4f80e0
RK
484)
485#endif
f1e7d826
MD
486#ifndef OVERRIDE_32_set_robust_list
487SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
488 TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len),
489 TP_ARGS(sc_exit(ret,) head, len),
e0976e2b 490 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct robust_list_head *, head, head)) sc_in(ctf_integer(size_t, len, len)))
8f4f80e0
RK
491)
492#endif
f1e7d826
MD
493#ifndef OVERRIDE_32_timerfd_gettime
494SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
495 TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
496 TP_ARGS(sc_exit(ret,) ufd, otmr),
e0976e2b 497 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
8f4f80e0
RK
498)
499#endif
f1e7d826
MD
500#ifndef OVERRIDE_32_pipe2
501SC_LTTNG_TRACEPOINT_EVENT(pipe2,
502 TP_PROTO(sc_exit(long ret,) int * fildes, int flags),
503 TP_ARGS(sc_exit(ret,) fildes, flags),
e0976e2b 504 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
505)
506#endif
f1e7d826
MD
507#ifndef OVERRIDE_32_clock_adjtime
508SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
509 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
510 TP_ARGS(sc_exit(ret,) which_clock, utx),
e0976e2b 511 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct timex *, utx, utx)))
c974cc6e
JG
512)
513#endif
f1e7d826
MD
514#ifndef OVERRIDE_32_read
515SC_LTTNG_TRACEPOINT_EVENT(read,
516 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count),
517 TP_ARGS(sc_exit(ret,) fd, buf, count),
e0976e2b 518 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)))
8f4f80e0
RK
519)
520#endif
f1e7d826
MD
521#ifndef OVERRIDE_32_write
522SC_LTTNG_TRACEPOINT_EVENT(write,
523 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count),
524 TP_ARGS(sc_exit(ret,) fd, buf, count),
e0976e2b 525 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)))
8f4f80e0
RK
526)
527#endif
f1e7d826
MD
528#ifndef OVERRIDE_32_open
529SC_LTTNG_TRACEPOINT_EVENT(open,
530 TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode),
531 TP_ARGS(sc_exit(ret,) filename, flags, mode),
e0976e2b 532 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
533)
534#endif
f1e7d826
MD
535#ifndef OVERRIDE_32_mknod
536SC_LTTNG_TRACEPOINT_EVENT(mknod,
537 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev),
538 TP_ARGS(sc_exit(ret,) filename, mode, dev),
e0976e2b 539 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev)))
8f4f80e0
RK
540)
541#endif
f1e7d826
MD
542#ifndef OVERRIDE_32_lchown16
543SC_LTTNG_TRACEPOINT_EVENT(lchown16,
544 TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group),
545 TP_ARGS(sc_exit(ret,) filename, user, group),
e0976e2b 546 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group)))
8f4f80e0
RK
547)
548#endif
f1e7d826
MD
549#ifndef OVERRIDE_32_readlink
550SC_LTTNG_TRACEPOINT_EVENT(readlink,
551 TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz),
552 TP_ARGS(sc_exit(ret,) path, buf, bufsiz),
e0976e2b 553 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz)))
8f4f80e0
RK
554)
555#endif
f1e7d826
MD
556#ifndef OVERRIDE_32_syslog
557SC_LTTNG_TRACEPOINT_EVENT(syslog,
558 TP_PROTO(sc_exit(long ret,) int type, char * buf, int len),
559 TP_ARGS(sc_exit(ret,) type, buf, len),
e0976e2b 560 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, type, type)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, len, len)))
8f4f80e0
RK
561)
562#endif
f1e7d826
MD
563#ifndef OVERRIDE_32_setitimer
564SC_LTTNG_TRACEPOINT_EVENT(setitimer,
565 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue),
566 TP_ARGS(sc_exit(ret,) which, value, ovalue),
e0976e2b 567 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue)))
8f4f80e0
RK
568)
569#endif
f1e7d826
MD
570#ifndef OVERRIDE_32_sigprocmask
571SC_LTTNG_TRACEPOINT_EVENT(sigprocmask,
572 TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset),
573 TP_ARGS(sc_exit(ret,) how, nset, oset),
e0976e2b 574 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(old_sigset_t *, nset, nset)) sc_inout(ctf_integer(old_sigset_t *, oset, oset)))
8f4f80e0
RK
575)
576#endif
f1e7d826
MD
577#ifndef OVERRIDE_32_init_module
578SC_LTTNG_TRACEPOINT_EVENT(init_module,
579 TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs),
580 TP_ARGS(sc_exit(ret,) umod, len, uargs),
e0976e2b 581 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(void *, umod, umod)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(const char *, uargs, uargs)))
8f4f80e0
RK
582)
583#endif
f1e7d826
MD
584#ifndef OVERRIDE_32_getdents
585SC_LTTNG_TRACEPOINT_EVENT(getdents,
586 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count),
587 TP_ARGS(sc_exit(ret,) fd, dirent, count),
e0976e2b 588 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count)))
8f4f80e0
RK
589)
590#endif
f1e7d826
MD
591#ifndef OVERRIDE_32_readv
592SC_LTTNG_TRACEPOINT_EVENT(readv,
593 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
594 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
e0976e2b 595 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)))
8f4f80e0
RK
596)
597#endif
f1e7d826
MD
598#ifndef OVERRIDE_32_writev
599SC_LTTNG_TRACEPOINT_EVENT(writev,
600 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
601 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
e0976e2b 602 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)))
8f4f80e0
RK
603)
604#endif
f1e7d826
MD
605#ifndef OVERRIDE_32_sched_setscheduler
606SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler,
607 TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param),
608 TP_ARGS(sc_exit(ret,) pid, policy, param),
e0976e2b 609 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, policy, policy)) sc_in(ctf_integer(struct sched_param *, param, param)))
8f4f80e0
RK
610)
611#endif
f1e7d826
MD
612#ifndef OVERRIDE_32_getresuid16
613SC_LTTNG_TRACEPOINT_EVENT(getresuid16,
614 TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid),
615 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
e0976e2b 616 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid)))
8f4f80e0
RK
617)
618#endif
f1e7d826
MD
619#ifndef OVERRIDE_32_poll
620SC_LTTNG_TRACEPOINT_EVENT(poll,
621 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs),
622 TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs),
e0976e2b 623 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs)))
8f4f80e0
RK
624)
625#endif
f1e7d826
MD
626#ifndef OVERRIDE_32_getresgid16
627SC_LTTNG_TRACEPOINT_EVENT(getresgid16,
628 TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid),
629 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
e0976e2b 630 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid)))
8f4f80e0
RK
631)
632#endif
f1e7d826
MD
633#ifndef OVERRIDE_32_rt_sigqueueinfo
634SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo,
635 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo),
636 TP_ARGS(sc_exit(ret,) pid, sig, uinfo),
e0976e2b 637 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo)))
8f4f80e0
RK
638)
639#endif
f1e7d826
MD
640#ifndef OVERRIDE_32_chown16
641SC_LTTNG_TRACEPOINT_EVENT(chown16,
642 TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group),
643 TP_ARGS(sc_exit(ret,) filename, user, group),
e0976e2b 644 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group)))
8f4f80e0
RK
645)
646#endif
f1e7d826
MD
647#ifndef OVERRIDE_32_lchown
648SC_LTTNG_TRACEPOINT_EVENT(lchown,
649 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
650 TP_ARGS(sc_exit(ret,) filename, user, group),
e0976e2b 651 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)))
8f4f80e0
RK
652)
653#endif
f1e7d826
MD
654#ifndef OVERRIDE_32_getresuid
655SC_LTTNG_TRACEPOINT_EVENT(getresuid,
656 TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid),
657 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
e0976e2b 658 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruid, ruid)) sc_out(ctf_integer(uid_t *, euid, euid)) sc_out(ctf_integer(uid_t *, suid, suid)))
8f4f80e0
RK
659)
660#endif
f1e7d826
MD
661#ifndef OVERRIDE_32_getresgid
662SC_LTTNG_TRACEPOINT_EVENT(getresgid,
663 TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid),
664 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
e0976e2b 665 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgid, rgid)) sc_out(ctf_integer(gid_t *, egid, egid)) sc_out(ctf_integer(gid_t *, sgid, sgid)))
8f4f80e0
RK
666)
667#endif
f1e7d826
MD
668#ifndef OVERRIDE_32_chown
669SC_LTTNG_TRACEPOINT_EVENT(chown,
670 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
671 TP_ARGS(sc_exit(ret,) filename, user, group),
e0976e2b 672 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)))
8f4f80e0
RK
673)
674#endif
f1e7d826
MD
675#ifndef OVERRIDE_32_getdents64
676SC_LTTNG_TRACEPOINT_EVENT(getdents64,
677 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count),
678 TP_ARGS(sc_exit(ret,) fd, dirent, count),
e0976e2b 679 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent64 *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count)))
8f4f80e0
RK
680)
681#endif
f1e7d826
MD
682#ifndef OVERRIDE_32_mincore
683SC_LTTNG_TRACEPOINT_EVENT(mincore,
684 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec),
685 TP_ARGS(sc_exit(ret,) start, len, vec),
e0976e2b 686 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_out(ctf_integer(unsigned char *, vec, vec)))
8f4f80e0
RK
687)
688#endif
f1e7d826
MD
689#ifndef OVERRIDE_32_listxattr
690SC_LTTNG_TRACEPOINT_EVENT(listxattr,
691 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
692 TP_ARGS(sc_exit(ret,) pathname, list, size),
e0976e2b 693 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
694)
695#endif
f1e7d826
MD
696#ifndef OVERRIDE_32_llistxattr
697SC_LTTNG_TRACEPOINT_EVENT(llistxattr,
698 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
699 TP_ARGS(sc_exit(ret,) pathname, list, size),
e0976e2b 700 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
701)
702#endif
f1e7d826
MD
703#ifndef OVERRIDE_32_flistxattr
704SC_LTTNG_TRACEPOINT_EVENT(flistxattr,
705 TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size),
706 TP_ARGS(sc_exit(ret,) fd, list, size),
e0976e2b 707 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
708)
709#endif
f1e7d826
MD
710#ifndef OVERRIDE_32_sched_setaffinity
711SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity,
712 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
713 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
e0976e2b 714 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_in(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr)))
8f4f80e0
RK
715)
716#endif
f1e7d826
MD
717#ifndef OVERRIDE_32_sched_getaffinity
718SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity,
719 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
720 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
e0976e2b 721 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_out(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr)))
8f4f80e0
RK
722)
723#endif
f1e7d826
MD
724#ifndef OVERRIDE_32_io_submit
725SC_LTTNG_TRACEPOINT_EVENT(io_submit,
726 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp),
727 TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp),
e0976e2b 728 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, nr, nr)) sc_in(ctf_integer(struct iocb * *, iocbpp, iocbpp)))
8f4f80e0
RK
729)
730#endif
f1e7d826
MD
731#ifndef OVERRIDE_32_io_cancel
732SC_LTTNG_TRACEPOINT_EVENT(io_cancel,
733 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result),
734 TP_ARGS(sc_exit(ret,) ctx_id, iocb, result),
e0976e2b 735 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result)))
8f4f80e0
RK
736)
737#endif
f1e7d826
MD
738#ifndef OVERRIDE_32_timer_create
739SC_LTTNG_TRACEPOINT_EVENT(timer_create,
740 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id),
741 TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id),
e0976e2b 742 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct sigevent *, timer_event_spec, timer_event_spec)) sc_out(ctf_integer(timer_t *, created_timer_id, created_timer_id)))
8f4f80e0
RK
743)
744#endif
f1e7d826
MD
745#ifndef OVERRIDE_32_mq_getsetattr
746SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr,
747 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat),
748 TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat),
e0976e2b 749 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct mq_attr *, u_mqstat, u_mqstat)) sc_out(ctf_integer(struct mq_attr *, u_omqstat, u_omqstat)))
8f4f80e0
RK
750)
751#endif
f1e7d826
MD
752#ifndef OVERRIDE_32_bind
753SC_LTTNG_TRACEPOINT_EVENT(bind,
754 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen),
755 TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen),
e0976e2b 756 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen)))
8f4f80e0
RK
757)
758#endif
f1e7d826
MD
759#ifndef OVERRIDE_32_connect
760SC_LTTNG_TRACEPOINT_EVENT(connect,
761 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen),
762 TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen),
e0976e2b 763 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, uservaddr, uservaddr)) sc_in(ctf_integer(int, addrlen, addrlen)))
8f4f80e0
RK
764)
765#endif
f1e7d826
MD
766#ifndef OVERRIDE_32_accept
767SC_LTTNG_TRACEPOINT_EVENT(accept,
768 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen),
769 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen),
e0976e2b 770 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)))
8f4f80e0
RK
771)
772#endif
f1e7d826
MD
773#ifndef OVERRIDE_32_getsockname
774SC_LTTNG_TRACEPOINT_EVENT(getsockname,
775 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
776 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
e0976e2b 777 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len)))
8f4f80e0
RK
778)
779#endif
f1e7d826
MD
780#ifndef OVERRIDE_32_getpeername
781SC_LTTNG_TRACEPOINT_EVENT(getpeername,
782 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
783 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
e0976e2b 784 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len)))
8f4f80e0
RK
785)
786#endif
f1e7d826
MD
787#ifndef OVERRIDE_32_sendmsg
788SC_LTTNG_TRACEPOINT_EVENT(sendmsg,
789 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags),
790 TP_ARGS(sc_exit(ret,) fd, msg, flags),
e0976e2b 791 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned, flags, flags)))
8f4f80e0
RK
792)
793#endif
f1e7d826
MD
794#ifndef OVERRIDE_32_recvmsg
795SC_LTTNG_TRACEPOINT_EVENT(recvmsg,
796 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags),
797 TP_ARGS(sc_exit(ret,) fd, msg, flags),
e0976e2b 798 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags)))
8f4f80e0
RK
799)
800#endif
f1e7d826
MD
801#ifndef OVERRIDE_32_semop
802SC_LTTNG_TRACEPOINT_EVENT(semop,
803 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops),
804 TP_ARGS(sc_exit(ret,) semid, tsops, nsops),
e0976e2b 805 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)))
8f4f80e0
RK
806)
807#endif
f1e7d826
MD
808#ifndef OVERRIDE_32_msgctl
809SC_LTTNG_TRACEPOINT_EVENT(msgctl,
810 TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf),
811 TP_ARGS(sc_exit(ret,) msqid, cmd, buf),
e0976e2b 812 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf)))
8f4f80e0
RK
813)
814#endif
f1e7d826
MD
815#ifndef OVERRIDE_32_shmat
816SC_LTTNG_TRACEPOINT_EVENT(shmat,
817 TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg),
818 TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg),
e0976e2b 819 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg)))
8f4f80e0
RK
820)
821#endif
f1e7d826
MD
822#ifndef OVERRIDE_32_shmctl
823SC_LTTNG_TRACEPOINT_EVENT(shmctl,
824 TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf),
825 TP_ARGS(sc_exit(ret,) shmid, cmd, buf),
e0976e2b 826 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf)))
8f4f80e0
RK
827)
828#endif
f1e7d826
MD
829#ifndef OVERRIDE_32_inotify_add_watch
830SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch,
831 TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask),
832 TP_ARGS(sc_exit(ret,) fd, pathname, mask),
e0976e2b 833 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(u32, mask, mask)))
8f4f80e0
RK
834)
835#endif
f1e7d826
MD
836#ifndef OVERRIDE_32_mkdirat
837SC_LTTNG_TRACEPOINT_EVENT(mkdirat,
838 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode),
839 TP_ARGS(sc_exit(ret,) dfd, pathname, mode),
e0976e2b 840 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
841)
842#endif
f1e7d826
MD
843#ifndef OVERRIDE_32_futimesat
844SC_LTTNG_TRACEPOINT_EVENT(futimesat,
845 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes),
846 TP_ARGS(sc_exit(ret,) dfd, filename, utimes),
e0976e2b 847 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
8f4f80e0
RK
848)
849#endif
f1e7d826
MD
850#ifndef OVERRIDE_32_unlinkat
851SC_LTTNG_TRACEPOINT_EVENT(unlinkat,
852 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag),
853 TP_ARGS(sc_exit(ret,) dfd, pathname, flag),
e0976e2b 854 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, flag, flag)))
8f4f80e0
RK
855)
856#endif
f1e7d826
MD
857#ifndef OVERRIDE_32_symlinkat
858SC_LTTNG_TRACEPOINT_EVENT(symlinkat,
859 TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname),
860 TP_ARGS(sc_exit(ret,) oldname, newdfd, newname),
e0976e2b 861 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)))
8f4f80e0
RK
862)
863#endif
f1e7d826
MD
864#ifndef OVERRIDE_32_fchmodat
865SC_LTTNG_TRACEPOINT_EVENT(fchmodat,
866 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode),
867 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
e0976e2b 868 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
869)
870#endif
f1e7d826
MD
871#ifndef OVERRIDE_32_faccessat
872SC_LTTNG_TRACEPOINT_EVENT(faccessat,
873 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode),
874 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
e0976e2b 875 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)))
8f4f80e0
RK
876)
877#endif
f1e7d826
MD
878#ifndef OVERRIDE_32_get_robust_list
879SC_LTTNG_TRACEPOINT_EVENT(get_robust_list,
880 TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr),
881 TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr),
e0976e2b 882 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, pid, pid)) sc_out(ctf_integer(struct robust_list_head * *, head_ptr, head_ptr)) sc_out(ctf_integer(size_t *, len_ptr, len_ptr)))
8f4f80e0
RK
883)
884#endif
f1e7d826
MD
885#ifndef OVERRIDE_32_getcpu
886SC_LTTNG_TRACEPOINT_EVENT(getcpu,
887 TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused),
888 TP_ARGS(sc_exit(ret,) cpup, nodep, unused),
e0976e2b 889 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(unsigned *, cpup, cpup)) sc_out(ctf_integer(unsigned *, nodep, nodep)) sc_inout(ctf_integer(struct getcpu_cache *, unused, unused)))
8f4f80e0
RK
890)
891#endif
f1e7d826
MD
892#ifndef OVERRIDE_32_signalfd
893SC_LTTNG_TRACEPOINT_EVENT(signalfd,
894 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask),
895 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask),
e0976e2b 896 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)))
8f4f80e0
RK
897)
898#endif
f1e7d826
MD
899#ifndef OVERRIDE_32_open_by_handle_at
900SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at,
901 TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags),
902 TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags),
e0976e2b 903 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags)))
c974cc6e
JG
904)
905#endif
f1e7d826
MD
906#ifndef OVERRIDE_32_reboot
907SC_LTTNG_TRACEPOINT_EVENT(reboot,
908 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
909 TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg),
e0976e2b 910 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, magic1, magic1)) sc_in(ctf_integer(int, magic2, magic2)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(void *, arg, arg)))
8f4f80e0
RK
911)
912#endif
f1e7d826
MD
913#ifndef OVERRIDE_32_wait4
914SC_LTTNG_TRACEPOINT_EVENT(wait4,
915 TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru),
916 TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru),
e0976e2b 917 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(int *, stat_addr, stat_addr)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru)))
8f4f80e0
RK
918)
919#endif
f1e7d826
MD
920#ifndef OVERRIDE_32_quotactl
921SC_LTTNG_TRACEPOINT_EVENT(quotactl,
922 TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr),
923 TP_ARGS(sc_exit(ret,) cmd, special, id, addr),
e0976e2b 924 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr)))
c974cc6e
JG
925)
926#endif
f1e7d826
MD
927#ifndef OVERRIDE_32_rt_sigaction
928SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction,
929 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize),
930 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
e0976e2b 931 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(const struct sigaction *, act, act)) sc_out(ctf_integer(struct sigaction *, oact, oact)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
932)
933#endif
f1e7d826
MD
934#ifndef OVERRIDE_32_rt_sigprocmask
935SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
936 TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize),
937 TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize),
e0976e2b 938 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, how, how)) sc_in(ctf_integer(sigset_t *, nset, nset)) sc_out(ctf_integer(sigset_t *, oset, oset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
939)
940#endif
f1e7d826
MD
941#ifndef OVERRIDE_32_rt_sigtimedwait
942SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
943 TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
944 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
e0976e2b 945 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(const sigset_t *, uthese, uthese)) sc_out(ctf_integer(siginfo_t *, uinfo, uinfo)) sc_in(ctf_integer(const struct timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
946)
947#endif
f1e7d826
MD
948#ifndef OVERRIDE_32_sendfile
949SC_LTTNG_TRACEPOINT_EVENT(sendfile,
950 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count),
951 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
e0976e2b 952 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, out_fd, out_fd)) sc_inout(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(off_t *, offset, offset)) sc_inout(ctf_integer(size_t, count, count)))
8f4f80e0
RK
953)
954#endif
f1e7d826
MD
955#ifndef OVERRIDE_32_getxattr
956SC_LTTNG_TRACEPOINT_EVENT(getxattr,
957 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
958 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
e0976e2b 959 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
960)
961#endif
f1e7d826
MD
962#ifndef OVERRIDE_32_lgetxattr
963SC_LTTNG_TRACEPOINT_EVENT(lgetxattr,
964 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
965 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
e0976e2b 966 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
967)
968#endif
f1e7d826
MD
969#ifndef OVERRIDE_32_fgetxattr
970SC_LTTNG_TRACEPOINT_EVENT(fgetxattr,
971 TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size),
972 TP_ARGS(sc_exit(ret,) fd, name, value, size),
e0976e2b 973 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
8f4f80e0
RK
974)
975#endif
f1e7d826
MD
976#ifndef OVERRIDE_32_sendfile64
977SC_LTTNG_TRACEPOINT_EVENT(sendfile64,
978 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count),
979 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
e0976e2b 980 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, out_fd, out_fd)) sc_in(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(loff_t *, offset, offset)) sc_in(ctf_integer(size_t, count, count)))
8f4f80e0
RK
981)
982#endif
f1e7d826
MD
983#ifndef OVERRIDE_32_epoll_ctl
984SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl,
985 TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event),
986 TP_ARGS(sc_exit(ret,) epfd, op, fd, event),
e0976e2b 987 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event)))
8f4f80e0
RK
988)
989#endif
f1e7d826
MD
990#ifndef OVERRIDE_32_epoll_wait
991SC_LTTNG_TRACEPOINT_EVENT(epoll_wait,
992 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout),
993 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout),
e0976e2b 994 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)))
8f4f80e0
RK
995)
996#endif
f1e7d826
MD
997#ifndef OVERRIDE_32_timer_settime
998SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
999 TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
1000 TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
e0976e2b 1001 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting)))
8f4f80e0
RK
1002)
1003#endif
f1e7d826
MD
1004#ifndef OVERRIDE_32_clock_nanosleep
1005SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
1006 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
1007 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
e0976e2b 1008 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
8f4f80e0
RK
1009)
1010#endif
f1e7d826
MD
1011#ifndef OVERRIDE_32_mq_open
1012SC_LTTNG_TRACEPOINT_EVENT(mq_open,
1013 TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr),
1014 TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr),
e0976e2b 1015 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr)))
8f4f80e0
RK
1016)
1017#endif
f1e7d826
MD
1018#ifndef OVERRIDE_32_socketpair
1019SC_LTTNG_TRACEPOINT_EVENT(socketpair,
1020 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
1021 TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
e0976e2b 1022 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)) sc_out(ctf_integer(int *, usockvec, usockvec)))
8f4f80e0
RK
1023)
1024#endif
f1e7d826
MD
1025#ifndef OVERRIDE_32_send
1026SC_LTTNG_TRACEPOINT_EVENT(send,
1027 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags),
1028 TP_ARGS(sc_exit(ret,) fd, buff, len, flags),
e0976e2b 1029 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned, flags, flags)))
8f4f80e0
RK
1030)
1031#endif
f1e7d826
MD
1032#ifndef OVERRIDE_32_msgsnd
1033SC_LTTNG_TRACEPOINT_EVENT(msgsnd,
1034 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg),
1035 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg),
e0976e2b 1036 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg)))
8f4f80e0
RK
1037)
1038#endif
f1e7d826
MD
1039#ifndef OVERRIDE_32_request_key
1040SC_LTTNG_TRACEPOINT_EVENT(request_key,
1041 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid),
1042 TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid),
e0976e2b 1043 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const char *, _callout_info, _callout_info)) sc_in(ctf_integer(key_serial_t, destringid, destringid)))
8f4f80e0
RK
1044)
1045#endif
f1e7d826
MD
1046#ifndef OVERRIDE_32_semtimedop
1047SC_LTTNG_TRACEPOINT_EVENT(semtimedop,
1048 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout),
1049 TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout),
e0976e2b 1050 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout)))
8f4f80e0
RK
1051)
1052#endif
f1e7d826
MD
1053#ifndef OVERRIDE_32_openat
1054SC_LTTNG_TRACEPOINT_EVENT(openat,
1055 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
1056 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
e0976e2b 1057 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode)))
8f4f80e0
RK
1058)
1059#endif
f1e7d826
MD
1060#ifndef OVERRIDE_32_mknodat
1061SC_LTTNG_TRACEPOINT_EVENT(mknodat,
1062 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev),
1063 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
e0976e2b 1064 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev)))
8f4f80e0
RK
1065)
1066#endif
f1e7d826
MD
1067#ifndef OVERRIDE_32_fstatat64
1068SC_LTTNG_TRACEPOINT_EVENT(fstatat64,
1069 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag),
1070 TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag),
e0976e2b 1071 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)) sc_inout(ctf_integer(int, flag, flag)))
8f4f80e0
RK
1072)
1073#endif
f1e7d826
MD
1074#ifndef OVERRIDE_32_renameat
1075SC_LTTNG_TRACEPOINT_EVENT(renameat,
1076 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname),
1077 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname),
e0976e2b 1078 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)))
8f4f80e0
RK
1079)
1080#endif
f1e7d826
MD
1081#ifndef OVERRIDE_32_readlinkat
1082SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
1083 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz),
1084 TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz),
e0976e2b 1085 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz)))
8f4f80e0
RK
1086)
1087#endif
f1e7d826
MD
1088#ifndef OVERRIDE_32_vmsplice
1089SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
1090 TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
1091 TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
e0976e2b 1092 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags)))
8f4f80e0
RK
1093)
1094#endif
f1e7d826
MD
1095#ifndef OVERRIDE_32_utimensat
1096SC_LTTNG_TRACEPOINT_EVENT(utimensat,
1097 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
1098 TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
e0976e2b 1099 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1100)
1101#endif
f1e7d826
MD
1102#ifndef OVERRIDE_32_timerfd_settime
1103SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
1104 TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
1105 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
e0976e2b 1106 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
8f4f80e0
RK
1107)
1108#endif
f1e7d826
MD
1109#ifndef OVERRIDE_32_signalfd4
1110SC_LTTNG_TRACEPOINT_EVENT(signalfd4,
1111 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags),
1112 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags),
e0976e2b 1113 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1114)
1115#endif
f1e7d826
MD
1116#ifndef OVERRIDE_32_rt_tgsigqueueinfo
1117SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo,
1118 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo),
1119 TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo),
e0976e2b 1120 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)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo)))
8f4f80e0
RK
1121)
1122#endif
f1e7d826
MD
1123#ifndef OVERRIDE_32_accept4
1124SC_LTTNG_TRACEPOINT_EVENT(accept4,
1125 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
1126 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
e0976e2b 1127 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1128)
1129#endif
f1e7d826
MD
1130#ifndef OVERRIDE_32_prlimit64
1131SC_LTTNG_TRACEPOINT_EVENT(prlimit64,
1132 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim),
1133 TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim),
e0976e2b 1134 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(const struct rlimit64 *, new_rlim, new_rlim)) sc_out(ctf_integer(struct rlimit64 *, old_rlim, old_rlim)))
8f4f80e0
RK
1135)
1136#endif
f1e7d826
MD
1137#ifndef OVERRIDE_32_sendmmsg
1138SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
1139 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags),
1140 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags),
e0976e2b 1141 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)))
c974cc6e
JG
1142)
1143#endif
f1e7d826
MD
1144#ifndef OVERRIDE_32_mount
1145SC_LTTNG_TRACEPOINT_EVENT(mount,
1146 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
1147 TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data),
e0976e2b 1148 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data)))
8f4f80e0
RK
1149)
1150#endif
f1e7d826
MD
1151#ifndef OVERRIDE_32_llseek
1152SC_LTTNG_TRACEPOINT_EVENT(llseek,
1153 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin),
1154 TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin),
e0976e2b 1155 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, origin, origin)))
8f4f80e0
RK
1156)
1157#endif
f1e7d826
MD
1158#ifndef OVERRIDE_32_select
1159SC_LTTNG_TRACEPOINT_EVENT(select,
1160 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp),
1161 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp),
e0976e2b 1162 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timeval *, tvp, tvp)))
8f4f80e0
RK
1163)
1164#endif
f1e7d826
MD
1165#ifndef OVERRIDE_32_setxattr
1166SC_LTTNG_TRACEPOINT_EVENT(setxattr,
1167 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1168 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
e0976e2b 1169 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1170)
1171#endif
f1e7d826
MD
1172#ifndef OVERRIDE_32_lsetxattr
1173SC_LTTNG_TRACEPOINT_EVENT(lsetxattr,
1174 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1175 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
e0976e2b 1176 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1177)
1178#endif
f1e7d826
MD
1179#ifndef OVERRIDE_32_fsetxattr
1180SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
1181 TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags),
1182 TP_ARGS(sc_exit(ret,) fd, name, value, size, flags),
e0976e2b 1183 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1184)
1185#endif
f1e7d826
MD
1186#ifndef OVERRIDE_32_io_getevents
1187SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
1188 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
1189 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
e0976e2b 1190 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout)))
8f4f80e0
RK
1191)
1192#endif
f1e7d826
MD
1193#ifndef OVERRIDE_32_mq_timedsend
1194SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend,
1195 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout),
1196 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout),
e0976e2b 1197 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout)))
8f4f80e0
RK
1198)
1199#endif
f1e7d826
MD
1200#ifndef OVERRIDE_32_mq_timedreceive
1201SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive,
1202 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout),
1203 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout),
e0976e2b 1204 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_out(ctf_integer(char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout)))
8f4f80e0
RK
1205)
1206#endif
f1e7d826
MD
1207#ifndef OVERRIDE_32_waitid
1208SC_LTTNG_TRACEPOINT_EVENT(waitid,
1209 TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru),
1210 TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru),
e0976e2b 1211 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(struct siginfo *, infop, infop)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru)))
8f4f80e0
RK
1212)
1213#endif
f1e7d826
MD
1214#ifndef OVERRIDE_32_setsockopt
1215SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1216 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1217 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
e0976e2b 1218 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_in(ctf_integer(char *, optval, optval)) sc_in(ctf_integer(int, optlen, optlen)))
8f4f80e0
RK
1219)
1220#endif
f1e7d826
MD
1221#ifndef OVERRIDE_32_getsockopt
1222SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1223 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1224 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
e0976e2b 1225 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen)))
8f4f80e0
RK
1226)
1227#endif
f1e7d826
MD
1228#ifndef OVERRIDE_32_msgrcv
1229SC_LTTNG_TRACEPOINT_EVENT(msgrcv,
1230 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg),
1231 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg),
e0976e2b 1232 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg)))
8f4f80e0
RK
1233)
1234#endif
f1e7d826
MD
1235#ifndef OVERRIDE_32_add_key
1236SC_LTTNG_TRACEPOINT_EVENT(add_key,
1237 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid),
1238 TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid),
e0976e2b 1239 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const void *, _payload, _payload)) sc_in(ctf_integer(size_t, plen, plen)) sc_in(ctf_integer(key_serial_t, ringid, ringid)))
8f4f80e0
RK
1240)
1241#endif
f1e7d826
MD
1242#ifndef OVERRIDE_32_fchownat
1243SC_LTTNG_TRACEPOINT_EVENT(fchownat,
1244 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag),
1245 TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag),
e0976e2b 1246 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)) sc_in(ctf_integer(int, flag, flag)))
8f4f80e0
RK
1247)
1248#endif
f1e7d826
MD
1249#ifndef OVERRIDE_32_linkat
1250SC_LTTNG_TRACEPOINT_EVENT(linkat,
1251 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags),
1252 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
e0976e2b 1253 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)) sc_in(ctf_integer(int, flags, flags)))
8f4f80e0
RK
1254)
1255#endif
f1e7d826
MD
1256#ifndef OVERRIDE_32_ppoll
1257SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1258 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1259 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
e0976e2b 1260 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
1261)
1262#endif
f1e7d826
MD
1263#ifndef OVERRIDE_32_preadv
1264SC_LTTNG_TRACEPOINT_EVENT(preadv,
1265 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1266 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
e0976e2b 1267 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_out(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h)))
8f4f80e0
RK
1268)
1269#endif
f1e7d826
MD
1270#ifndef OVERRIDE_32_pwritev
1271SC_LTTNG_TRACEPOINT_EVENT(pwritev,
1272 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1273 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
e0976e2b 1274 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h)))
8f4f80e0
RK
1275)
1276#endif
f1e7d826
MD
1277#ifndef OVERRIDE_32_perf_event_open
1278SC_LTTNG_TRACEPOINT_EVENT(perf_event_open,
1279 TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags),
1280 TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags),
e0976e2b 1281 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct perf_event_attr *, attr_uptr, attr_uptr)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, cpu, cpu)) sc_in(ctf_integer(int, group_fd, group_fd)) sc_in(ctf_integer(unsigned long, flags, flags)))
c974cc6e
JG
1282)
1283#endif
f1e7d826
MD
1284#ifndef OVERRIDE_32_recvmmsg
1285SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1286 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1287 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
e0976e2b 1288 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct timespec *, timeout, timeout)))
8f4f80e0
RK
1289)
1290#endif
f1e7d826
MD
1291#ifndef OVERRIDE_32_name_to_handle_at
1292SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at,
1293 TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag),
1294 TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag),
e0976e2b 1295 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag)))
c974cc6e
JG
1296)
1297#endif
f1e7d826
MD
1298#ifndef OVERRIDE_32_futex
1299SC_LTTNG_TRACEPOINT_EVENT(futex,
1300 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1301 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
e0976e2b 1302 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(u32, val, val)) sc_in(ctf_integer(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3)))
8f4f80e0
RK
1303)
1304#endif
f1e7d826
MD
1305#ifndef OVERRIDE_32_sendto
1306SC_LTTNG_TRACEPOINT_EVENT(sendto,
1307 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len),
1308 TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
e0976e2b 1309 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len)))
8f4f80e0
RK
1310)
1311#endif
f1e7d826
MD
1312#ifndef OVERRIDE_32_recvfrom
1313SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1314 TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len),
1315 TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
e0976e2b 1316 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len)))
8f4f80e0
RK
1317)
1318#endif
f1e7d826
MD
1319#ifndef OVERRIDE_32_pselect6
1320SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1321 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1322 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
e0976e2b 1323 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig)))
8f4f80e0
RK
1324)
1325#endif
f1e7d826
MD
1326#ifndef OVERRIDE_32_splice
1327SC_LTTNG_TRACEPOINT_EVENT(splice,
1328 TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags),
1329 TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
e0976e2b 1330 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd_in, fd_in)) sc_in(ctf_integer(loff_t *, off_in, off_in)) sc_in(ctf_integer(int, fd_out, fd_out)) sc_in(ctf_integer(loff_t *, off_out, off_out)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)))
8f4f80e0
RK
1331)
1332#endif
f1e7d826
MD
1333#ifndef OVERRIDE_32_epoll_pwait
1334SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1335 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize),
1336 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
e0976e2b 1337 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
8f4f80e0
RK
1338)
1339#endif
f1e7d826
MD
1340#ifndef OVERRIDE_32_process_vm_readv
1341SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv,
1342 TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags),
1343 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
e0976e2b 1344 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags)))
c974cc6e
JG
1345)
1346#endif
f1e7d826
MD
1347#ifndef OVERRIDE_32_process_vm_writev
1348SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev,
1349 TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags),
1350 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
e0976e2b 1351 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags)))
c974cc6e
JG
1352)
1353#endif
8f4f80e0
RK
1354
1355#endif /* _TRACE_SYSCALLS_POINTERS_H */
1356
1357/* This part must be outside protection */
3b4aafcb 1358#include <lttng/define_trace.h>
8f4f80e0
RK
1359
1360#else /* CREATE_SYSCALL_TABLE */
1361
6314c2d3 1362#include "arm-32-syscalls_pointers_override.h"
8f4f80e0
RK
1363#include "syscalls_pointers_override.h"
1364
f1e7d826
MD
1365#ifndef OVERRIDE_TABLE_32_read
1366TRACE_SYSCALL_TABLE(read, read, 3, 3)
8f4f80e0 1367#endif
f1e7d826
MD
1368#ifndef OVERRIDE_TABLE_32_write
1369TRACE_SYSCALL_TABLE(write, write, 4, 3)
8f4f80e0 1370#endif
f1e7d826
MD
1371#ifndef OVERRIDE_TABLE_32_open
1372TRACE_SYSCALL_TABLE(open, open, 5, 3)
8f4f80e0 1373#endif
f1e7d826
MD
1374#ifndef OVERRIDE_TABLE_32_creat
1375TRACE_SYSCALL_TABLE(creat, creat, 8, 2)
8f4f80e0 1376#endif
f1e7d826
MD
1377#ifndef OVERRIDE_TABLE_32_link
1378TRACE_SYSCALL_TABLE(link, link, 9, 2)
8f4f80e0 1379#endif
f1e7d826
MD
1380#ifndef OVERRIDE_TABLE_32_unlink
1381TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1)
8f4f80e0 1382#endif
f1e7d826
MD
1383#ifndef OVERRIDE_TABLE_32_chdir
1384TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1)
8f4f80e0 1385#endif
f1e7d826
MD
1386#ifndef OVERRIDE_TABLE_32_mknod
1387TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3)
8f4f80e0 1388#endif
f1e7d826
MD
1389#ifndef OVERRIDE_TABLE_32_chmod
1390TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2)
8f4f80e0 1391#endif
f1e7d826
MD
1392#ifndef OVERRIDE_TABLE_32_lchown16
1393TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3)
8f4f80e0 1394#endif
f1e7d826
MD
1395#ifndef OVERRIDE_TABLE_32_mount
1396TRACE_SYSCALL_TABLE(mount, mount, 21, 5)
8f4f80e0 1397#endif
f1e7d826
MD
1398#ifndef OVERRIDE_TABLE_32_access
1399TRACE_SYSCALL_TABLE(access, access, 33, 2)
8f4f80e0 1400#endif
f1e7d826
MD
1401#ifndef OVERRIDE_TABLE_32_rename
1402TRACE_SYSCALL_TABLE(rename, rename, 38, 2)
8f4f80e0 1403#endif
f1e7d826
MD
1404#ifndef OVERRIDE_TABLE_32_mkdir
1405TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2)
8f4f80e0 1406#endif
f1e7d826
MD
1407#ifndef OVERRIDE_TABLE_32_rmdir
1408TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1)
8f4f80e0 1409#endif
f1e7d826
MD
1410#ifndef OVERRIDE_TABLE_32_pipe
1411TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1)
8f4f80e0 1412#endif
f1e7d826
MD
1413#ifndef OVERRIDE_TABLE_32_times
1414TRACE_SYSCALL_TABLE(times, times, 43, 1)
8f4f80e0 1415#endif
f1e7d826
MD
1416#ifndef OVERRIDE_TABLE_32_acct
1417TRACE_SYSCALL_TABLE(acct, acct, 51, 1)
c974cc6e 1418#endif
f1e7d826
MD
1419#ifndef OVERRIDE_TABLE_32_umount
1420TRACE_SYSCALL_TABLE(umount, umount, 52, 2)
8f4f80e0 1421#endif
f1e7d826
MD
1422#ifndef OVERRIDE_TABLE_32_chroot
1423TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1)
8f4f80e0 1424#endif
f1e7d826
MD
1425#ifndef OVERRIDE_TABLE_32_ustat
1426TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2)
8f4f80e0 1427#endif
f1e7d826
MD
1428#ifndef OVERRIDE_TABLE_32_sigpending
1429TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1)
8f4f80e0 1430#endif
f1e7d826
MD
1431#ifndef OVERRIDE_TABLE_32_sethostname
1432TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2)
8f4f80e0 1433#endif
f1e7d826
MD
1434#ifndef OVERRIDE_TABLE_32_setrlimit
1435TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2)
8f4f80e0 1436#endif
f1e7d826
MD
1437#ifndef OVERRIDE_TABLE_32_getrusage
1438TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2)
8f4f80e0 1439#endif
f1e7d826
MD
1440#ifndef OVERRIDE_TABLE_32_gettimeofday
1441TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2)
8f4f80e0 1442#endif
f1e7d826
MD
1443#ifndef OVERRIDE_TABLE_32_settimeofday
1444TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2)
8f4f80e0 1445#endif
f1e7d826
MD
1446#ifndef OVERRIDE_TABLE_32_getgroups16
1447TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2)
8f4f80e0 1448#endif
f1e7d826
MD
1449#ifndef OVERRIDE_TABLE_32_setgroups16
1450TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2)
8f4f80e0 1451#endif
f1e7d826
MD
1452#ifndef OVERRIDE_TABLE_32_symlink
1453TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2)
8f4f80e0 1454#endif
f1e7d826
MD
1455#ifndef OVERRIDE_TABLE_32_readlink
1456TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3)
8f4f80e0 1457#endif
f1e7d826
MD
1458#ifndef OVERRIDE_TABLE_32_uselib
1459TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1)
8f4f80e0 1460#endif
f1e7d826
MD
1461#ifndef OVERRIDE_TABLE_32_swapon
1462TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2)
c974cc6e 1463#endif
f1e7d826
MD
1464#ifndef OVERRIDE_TABLE_32_reboot
1465TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4)
8f4f80e0 1466#endif
f1e7d826
MD
1467#ifndef OVERRIDE_TABLE_32_truncate
1468TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2)
8f4f80e0 1469#endif
f1e7d826
MD
1470#ifndef OVERRIDE_TABLE_32_statfs
1471TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2)
8f4f80e0 1472#endif
f1e7d826
MD
1473#ifndef OVERRIDE_TABLE_32_fstatfs
1474TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2)
8f4f80e0 1475#endif
f1e7d826
MD
1476#ifndef OVERRIDE_TABLE_32_syslog
1477TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3)
8f4f80e0 1478#endif
f1e7d826
MD
1479#ifndef OVERRIDE_TABLE_32_setitimer
1480TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3)
8f4f80e0 1481#endif
f1e7d826
MD
1482#ifndef OVERRIDE_TABLE_32_getitimer
1483TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2)
8f4f80e0 1484#endif
f1e7d826
MD
1485#ifndef OVERRIDE_TABLE_32_newstat
1486TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2)
8f4f80e0 1487#endif
f1e7d826
MD
1488#ifndef OVERRIDE_TABLE_32_newlstat
1489TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2)
8f4f80e0 1490#endif
f1e7d826
MD
1491#ifndef OVERRIDE_TABLE_32_newfstat
1492TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2)
8f4f80e0 1493#endif
f1e7d826
MD
1494#ifndef OVERRIDE_TABLE_32_wait4
1495TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4)
8f4f80e0 1496#endif
f1e7d826
MD
1497#ifndef OVERRIDE_TABLE_32_swapoff
1498TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1)
c974cc6e 1499#endif
f1e7d826
MD
1500#ifndef OVERRIDE_TABLE_32_sysinfo
1501TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1)
8f4f80e0 1502#endif
f1e7d826
MD
1503#ifndef OVERRIDE_TABLE_32_setdomainname
1504TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2)
8f4f80e0 1505#endif
f1e7d826
MD
1506#ifndef OVERRIDE_TABLE_32_newuname
1507TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1)
8f4f80e0 1508#endif
f1e7d826
MD
1509#ifndef OVERRIDE_TABLE_32_adjtimex
1510TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1)
8f4f80e0 1511#endif
f1e7d826
MD
1512#ifndef OVERRIDE_TABLE_32_sigprocmask
1513TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3)
8f4f80e0 1514#endif
f1e7d826
MD
1515#ifndef OVERRIDE_TABLE_32_init_module
1516TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3)
8f4f80e0 1517#endif
f1e7d826
MD
1518#ifndef OVERRIDE_TABLE_32_delete_module
1519TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2)
8f4f80e0 1520#endif
f1e7d826
MD
1521#ifndef OVERRIDE_TABLE_32_quotactl
1522TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4)
c974cc6e 1523#endif
f1e7d826
MD
1524#ifndef OVERRIDE_TABLE_32_llseek
1525TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5)
8f4f80e0 1526#endif
f1e7d826
MD
1527#ifndef OVERRIDE_TABLE_32_getdents
1528TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3)
8f4f80e0 1529#endif
f1e7d826
MD
1530#ifndef OVERRIDE_TABLE_32_select
1531TRACE_SYSCALL_TABLE(select, select, 142, 5)
8f4f80e0 1532#endif
f1e7d826
MD
1533#ifndef OVERRIDE_TABLE_32_readv
1534TRACE_SYSCALL_TABLE(readv, readv, 145, 3)
8f4f80e0 1535#endif
f1e7d826
MD
1536#ifndef OVERRIDE_TABLE_32_writev
1537TRACE_SYSCALL_TABLE(writev, writev, 146, 3)
8f4f80e0 1538#endif
f1e7d826
MD
1539#ifndef OVERRIDE_TABLE_32_sysctl
1540TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1)
8f4f80e0 1541#endif
f1e7d826
MD
1542#ifndef OVERRIDE_TABLE_32_sched_setparam
1543TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2)
8f4f80e0 1544#endif
f1e7d826
MD
1545#ifndef OVERRIDE_TABLE_32_sched_getparam
1546TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2)
8f4f80e0 1547#endif
f1e7d826
MD
1548#ifndef OVERRIDE_TABLE_32_sched_setscheduler
1549TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3)
8f4f80e0 1550#endif
f1e7d826
MD
1551#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
1552TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2)
8f4f80e0 1553#endif
f1e7d826
MD
1554#ifndef OVERRIDE_TABLE_32_nanosleep
1555TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2)
8f4f80e0 1556#endif
f1e7d826
MD
1557#ifndef OVERRIDE_TABLE_32_getresuid16
1558TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3)
8f4f80e0 1559#endif
f1e7d826
MD
1560#ifndef OVERRIDE_TABLE_32_poll
1561TRACE_SYSCALL_TABLE(poll, poll, 168, 3)
8f4f80e0 1562#endif
f1e7d826
MD
1563#ifndef OVERRIDE_TABLE_32_getresgid16
1564TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3)
8f4f80e0 1565#endif
f1e7d826
MD
1566#ifndef OVERRIDE_TABLE_32_rt_sigaction
1567TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4)
8f4f80e0 1568#endif
f1e7d826
MD
1569#ifndef OVERRIDE_TABLE_32_rt_sigprocmask
1570TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4)
8f4f80e0 1571#endif
f1e7d826
MD
1572#ifndef OVERRIDE_TABLE_32_rt_sigpending
1573TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2)
8f4f80e0 1574#endif
f1e7d826
MD
1575#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
1576TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4)
8f4f80e0 1577#endif
f1e7d826
MD
1578#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
1579TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3)
8f4f80e0 1580#endif
f1e7d826
MD
1581#ifndef OVERRIDE_TABLE_32_rt_sigsuspend
1582TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2)
8f4f80e0 1583#endif
f1e7d826
MD
1584#ifndef OVERRIDE_TABLE_32_chown16
1585TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3)
8f4f80e0 1586#endif
f1e7d826
MD
1587#ifndef OVERRIDE_TABLE_32_getcwd
1588TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2)
8f4f80e0 1589#endif
f1e7d826
MD
1590#ifndef OVERRIDE_TABLE_32_sendfile
1591TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4)
8f4f80e0 1592#endif
f1e7d826
MD
1593#ifndef OVERRIDE_TABLE_32_getrlimit
1594TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2)
8f4f80e0 1595#endif
f1e7d826
MD
1596#ifndef OVERRIDE_TABLE_32_stat64
1597TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2)
8f4f80e0 1598#endif
f1e7d826
MD
1599#ifndef OVERRIDE_TABLE_32_lstat64
1600TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2)
8f4f80e0 1601#endif
f1e7d826
MD
1602#ifndef OVERRIDE_TABLE_32_fstat64
1603TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2)
8f4f80e0 1604#endif
f1e7d826
MD
1605#ifndef OVERRIDE_TABLE_32_lchown
1606TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3)
8f4f80e0 1607#endif
f1e7d826
MD
1608#ifndef OVERRIDE_TABLE_32_getgroups
1609TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2)
8f4f80e0 1610#endif
f1e7d826
MD
1611#ifndef OVERRIDE_TABLE_32_setgroups
1612TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2)
8f4f80e0 1613#endif
f1e7d826
MD
1614#ifndef OVERRIDE_TABLE_32_getresuid
1615TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3)
8f4f80e0 1616#endif
f1e7d826
MD
1617#ifndef OVERRIDE_TABLE_32_getresgid
1618TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3)
8f4f80e0 1619#endif
f1e7d826
MD
1620#ifndef OVERRIDE_TABLE_32_chown
1621TRACE_SYSCALL_TABLE(chown, chown, 212, 3)
8f4f80e0 1622#endif
f1e7d826
MD
1623#ifndef OVERRIDE_TABLE_32_getdents64
1624TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3)
8f4f80e0 1625#endif
f1e7d826
MD
1626#ifndef OVERRIDE_TABLE_32_pivot_root
1627TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 218, 2)
8f4f80e0 1628#endif
f1e7d826
MD
1629#ifndef OVERRIDE_TABLE_32_mincore
1630TRACE_SYSCALL_TABLE(mincore, mincore, 219, 3)
8f4f80e0 1631#endif
f1e7d826
MD
1632#ifndef OVERRIDE_TABLE_32_setxattr
1633TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5)
8f4f80e0 1634#endif
f1e7d826
MD
1635#ifndef OVERRIDE_TABLE_32_lsetxattr
1636TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5)
8f4f80e0 1637#endif
f1e7d826
MD
1638#ifndef OVERRIDE_TABLE_32_fsetxattr
1639TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5)
8f4f80e0 1640#endif
f1e7d826
MD
1641#ifndef OVERRIDE_TABLE_32_getxattr
1642TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4)
8f4f80e0 1643#endif
f1e7d826
MD
1644#ifndef OVERRIDE_TABLE_32_lgetxattr
1645TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4)
8f4f80e0 1646#endif
f1e7d826
MD
1647#ifndef OVERRIDE_TABLE_32_fgetxattr
1648TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4)
8f4f80e0 1649#endif
f1e7d826
MD
1650#ifndef OVERRIDE_TABLE_32_listxattr
1651TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3)
8f4f80e0 1652#endif
f1e7d826
MD
1653#ifndef OVERRIDE_TABLE_32_llistxattr
1654TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3)
8f4f80e0 1655#endif
f1e7d826
MD
1656#ifndef OVERRIDE_TABLE_32_flistxattr
1657TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3)
8f4f80e0 1658#endif
f1e7d826
MD
1659#ifndef OVERRIDE_TABLE_32_removexattr
1660TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2)
8f4f80e0 1661#endif
f1e7d826
MD
1662#ifndef OVERRIDE_TABLE_32_lremovexattr
1663TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2)
8f4f80e0 1664#endif
f1e7d826
MD
1665#ifndef OVERRIDE_TABLE_32_fremovexattr
1666TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2)
8f4f80e0 1667#endif
f1e7d826
MD
1668#ifndef OVERRIDE_TABLE_32_sendfile64
1669TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4)
8f4f80e0 1670#endif
f1e7d826
MD
1671#ifndef OVERRIDE_TABLE_32_futex
1672TRACE_SYSCALL_TABLE(futex, futex, 240, 6)
8f4f80e0 1673#endif
f1e7d826
MD
1674#ifndef OVERRIDE_TABLE_32_sched_setaffinity
1675TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3)
8f4f80e0 1676#endif
f1e7d826
MD
1677#ifndef OVERRIDE_TABLE_32_sched_getaffinity
1678TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3)
8f4f80e0 1679#endif
f1e7d826
MD
1680#ifndef OVERRIDE_TABLE_32_io_setup
1681TRACE_SYSCALL_TABLE(io_setup, io_setup, 243, 2)
8f4f80e0 1682#endif
f1e7d826
MD
1683#ifndef OVERRIDE_TABLE_32_io_getevents
1684TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 245, 5)
8f4f80e0 1685#endif
f1e7d826
MD
1686#ifndef OVERRIDE_TABLE_32_io_submit
1687TRACE_SYSCALL_TABLE(io_submit, io_submit, 246, 3)
8f4f80e0 1688#endif
f1e7d826
MD
1689#ifndef OVERRIDE_TABLE_32_io_cancel
1690TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 247, 3)
8f4f80e0 1691#endif
f1e7d826
MD
1692#ifndef OVERRIDE_TABLE_32_epoll_ctl
1693TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 251, 4)
8f4f80e0 1694#endif
f1e7d826
MD
1695#ifndef OVERRIDE_TABLE_32_epoll_wait
1696TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 252, 4)
8f4f80e0 1697#endif
f1e7d826
MD
1698#ifndef OVERRIDE_TABLE_32_set_tid_address
1699TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 256, 1)
8f4f80e0 1700#endif
f1e7d826
MD
1701#ifndef OVERRIDE_TABLE_32_timer_create
1702TRACE_SYSCALL_TABLE(timer_create, timer_create, 257, 3)
8f4f80e0 1703#endif
f1e7d826
MD
1704#ifndef OVERRIDE_TABLE_32_timer_settime
1705TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 258, 4)
8f4f80e0 1706#endif
f1e7d826
MD
1707#ifndef OVERRIDE_TABLE_32_timer_gettime
1708TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 259, 2)
8f4f80e0 1709#endif
f1e7d826
MD
1710#ifndef OVERRIDE_TABLE_32_clock_settime
1711TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 262, 2)
8f4f80e0 1712#endif
f1e7d826
MD
1713#ifndef OVERRIDE_TABLE_32_clock_gettime
1714TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 263, 2)
8f4f80e0 1715#endif
f1e7d826
MD
1716#ifndef OVERRIDE_TABLE_32_clock_getres
1717TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 264, 2)
8f4f80e0 1718#endif
f1e7d826
MD
1719#ifndef OVERRIDE_TABLE_32_clock_nanosleep
1720TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 265, 4)
8f4f80e0 1721#endif
f1e7d826
MD
1722#ifndef OVERRIDE_TABLE_32_utimes
1723TRACE_SYSCALL_TABLE(utimes, utimes, 269, 2)
8f4f80e0 1724#endif
f1e7d826
MD
1725#ifndef OVERRIDE_TABLE_32_mq_open
1726TRACE_SYSCALL_TABLE(mq_open, mq_open, 274, 4)
8f4f80e0 1727#endif
f1e7d826
MD
1728#ifndef OVERRIDE_TABLE_32_mq_unlink
1729TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 275, 1)
8f4f80e0 1730#endif
f1e7d826
MD
1731#ifndef OVERRIDE_TABLE_32_mq_timedsend
1732TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 276, 5)
8f4f80e0 1733#endif
f1e7d826
MD
1734#ifndef OVERRIDE_TABLE_32_mq_timedreceive
1735TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 277, 5)
8f4f80e0 1736#endif
f1e7d826
MD
1737#ifndef OVERRIDE_TABLE_32_mq_notify
1738TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 278, 2)
8f4f80e0 1739#endif
f1e7d826
MD
1740#ifndef OVERRIDE_TABLE_32_mq_getsetattr
1741TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 279, 3)
8f4f80e0 1742#endif
f1e7d826
MD
1743#ifndef OVERRIDE_TABLE_32_waitid
1744TRACE_SYSCALL_TABLE(waitid, waitid, 280, 5)
8f4f80e0 1745#endif
f1e7d826
MD
1746#ifndef OVERRIDE_TABLE_32_bind
1747TRACE_SYSCALL_TABLE(bind, bind, 282, 3)
8f4f80e0 1748#endif
f1e7d826
MD
1749#ifndef OVERRIDE_TABLE_32_connect
1750TRACE_SYSCALL_TABLE(connect, connect, 283, 3)
8f4f80e0 1751#endif
f1e7d826
MD
1752#ifndef OVERRIDE_TABLE_32_accept
1753TRACE_SYSCALL_TABLE(accept, accept, 285, 3)
8f4f80e0 1754#endif
f1e7d826
MD
1755#ifndef OVERRIDE_TABLE_32_getsockname
1756TRACE_SYSCALL_TABLE(getsockname, getsockname, 286, 3)
8f4f80e0 1757#endif
f1e7d826
MD
1758#ifndef OVERRIDE_TABLE_32_getpeername
1759TRACE_SYSCALL_TABLE(getpeername, getpeername, 287, 3)
8f4f80e0 1760#endif
f1e7d826
MD
1761#ifndef OVERRIDE_TABLE_32_socketpair
1762TRACE_SYSCALL_TABLE(socketpair, socketpair, 288, 4)
8f4f80e0 1763#endif
f1e7d826
MD
1764#ifndef OVERRIDE_TABLE_32_send
1765TRACE_SYSCALL_TABLE(send, send, 289, 4)
8f4f80e0 1766#endif
f1e7d826
MD
1767#ifndef OVERRIDE_TABLE_32_sendto
1768TRACE_SYSCALL_TABLE(sendto, sendto, 290, 6)
8f4f80e0 1769#endif
f1e7d826
MD
1770#ifndef OVERRIDE_TABLE_32_recvfrom
1771TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 292, 6)
8f4f80e0 1772#endif
f1e7d826
MD
1773#ifndef OVERRIDE_TABLE_32_setsockopt
1774TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 294, 5)
8f4f80e0 1775#endif
f1e7d826
MD
1776#ifndef OVERRIDE_TABLE_32_getsockopt
1777TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 295, 5)
8f4f80e0 1778#endif
f1e7d826
MD
1779#ifndef OVERRIDE_TABLE_32_sendmsg
1780TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 296, 3)
8f4f80e0 1781#endif
f1e7d826
MD
1782#ifndef OVERRIDE_TABLE_32_recvmsg
1783TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 297, 3)
8f4f80e0 1784#endif
f1e7d826
MD
1785#ifndef OVERRIDE_TABLE_32_semop
1786TRACE_SYSCALL_TABLE(semop, semop, 298, 3)
8f4f80e0 1787#endif
f1e7d826
MD
1788#ifndef OVERRIDE_TABLE_32_msgsnd
1789TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 301, 4)
8f4f80e0 1790#endif
f1e7d826
MD
1791#ifndef OVERRIDE_TABLE_32_msgrcv
1792TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 302, 5)
8f4f80e0 1793#endif
f1e7d826
MD
1794#ifndef OVERRIDE_TABLE_32_msgctl
1795TRACE_SYSCALL_TABLE(msgctl, msgctl, 304, 3)
8f4f80e0 1796#endif
f1e7d826
MD
1797#ifndef OVERRIDE_TABLE_32_shmat
1798TRACE_SYSCALL_TABLE(shmat, shmat, 305, 3)
8f4f80e0 1799#endif
f1e7d826
MD
1800#ifndef OVERRIDE_TABLE_32_shmdt
1801TRACE_SYSCALL_TABLE(shmdt, shmdt, 306, 1)
8f4f80e0 1802#endif
f1e7d826
MD
1803#ifndef OVERRIDE_TABLE_32_shmctl
1804TRACE_SYSCALL_TABLE(shmctl, shmctl, 308, 3)
8f4f80e0 1805#endif
f1e7d826
MD
1806#ifndef OVERRIDE_TABLE_32_add_key
1807TRACE_SYSCALL_TABLE(add_key, add_key, 309, 5)
8f4f80e0 1808#endif
f1e7d826
MD
1809#ifndef OVERRIDE_TABLE_32_request_key
1810TRACE_SYSCALL_TABLE(request_key, request_key, 310, 4)
8f4f80e0 1811#endif
f1e7d826
MD
1812#ifndef OVERRIDE_TABLE_32_semtimedop
1813TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 312, 4)
8f4f80e0 1814#endif
f1e7d826
MD
1815#ifndef OVERRIDE_TABLE_32_inotify_add_watch
1816TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 317, 3)
8f4f80e0 1817#endif
f1e7d826
MD
1818#ifndef OVERRIDE_TABLE_32_openat
1819TRACE_SYSCALL_TABLE(openat, openat, 322, 4)
8f4f80e0 1820#endif
f1e7d826
MD
1821#ifndef OVERRIDE_TABLE_32_mkdirat
1822TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 323, 3)
8f4f80e0 1823#endif
f1e7d826
MD
1824#ifndef OVERRIDE_TABLE_32_mknodat
1825TRACE_SYSCALL_TABLE(mknodat, mknodat, 324, 4)
8f4f80e0 1826#endif
f1e7d826
MD
1827#ifndef OVERRIDE_TABLE_32_fchownat
1828TRACE_SYSCALL_TABLE(fchownat, fchownat, 325, 5)
8f4f80e0 1829#endif
f1e7d826
MD
1830#ifndef OVERRIDE_TABLE_32_futimesat
1831TRACE_SYSCALL_TABLE(futimesat, futimesat, 326, 3)
8f4f80e0 1832#endif
f1e7d826
MD
1833#ifndef OVERRIDE_TABLE_32_fstatat64
1834TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 327, 4)
8f4f80e0 1835#endif
f1e7d826
MD
1836#ifndef OVERRIDE_TABLE_32_unlinkat
1837TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 328, 3)
8f4f80e0 1838#endif
f1e7d826
MD
1839#ifndef OVERRIDE_TABLE_32_renameat
1840TRACE_SYSCALL_TABLE(renameat, renameat, 329, 4)
8f4f80e0 1841#endif
f1e7d826
MD
1842#ifndef OVERRIDE_TABLE_32_linkat
1843TRACE_SYSCALL_TABLE(linkat, linkat, 330, 5)
8f4f80e0 1844#endif
f1e7d826
MD
1845#ifndef OVERRIDE_TABLE_32_symlinkat
1846TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 331, 3)
8f4f80e0 1847#endif
f1e7d826
MD
1848#ifndef OVERRIDE_TABLE_32_readlinkat
1849TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 332, 4)
8f4f80e0 1850#endif
f1e7d826
MD
1851#ifndef OVERRIDE_TABLE_32_fchmodat
1852TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 333, 3)
8f4f80e0 1853#endif
f1e7d826
MD
1854#ifndef OVERRIDE_TABLE_32_faccessat
1855TRACE_SYSCALL_TABLE(faccessat, faccessat, 334, 3)
8f4f80e0 1856#endif
f1e7d826
MD
1857#ifndef OVERRIDE_TABLE_32_pselect6
1858TRACE_SYSCALL_TABLE(pselect6, pselect6, 335, 6)
8f4f80e0 1859#endif
f1e7d826
MD
1860#ifndef OVERRIDE_TABLE_32_ppoll
1861TRACE_SYSCALL_TABLE(ppoll, ppoll, 336, 5)
8f4f80e0 1862#endif
f1e7d826
MD
1863#ifndef OVERRIDE_TABLE_32_set_robust_list
1864TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 338, 2)
8f4f80e0 1865#endif
f1e7d826
MD
1866#ifndef OVERRIDE_TABLE_32_get_robust_list
1867TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 339, 3)
8f4f80e0 1868#endif
f1e7d826
MD
1869#ifndef OVERRIDE_TABLE_32_splice
1870TRACE_SYSCALL_TABLE(splice, splice, 340, 6)
8f4f80e0 1871#endif
f1e7d826
MD
1872#ifndef OVERRIDE_TABLE_32_vmsplice
1873TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 343, 4)
8f4f80e0 1874#endif
f1e7d826
MD
1875#ifndef OVERRIDE_TABLE_32_getcpu
1876TRACE_SYSCALL_TABLE(getcpu, getcpu, 345, 3)
8f4f80e0 1877#endif
f1e7d826
MD
1878#ifndef OVERRIDE_TABLE_32_epoll_pwait
1879TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 346, 6)
8f4f80e0 1880#endif
f1e7d826
MD
1881#ifndef OVERRIDE_TABLE_32_utimensat
1882TRACE_SYSCALL_TABLE(utimensat, utimensat, 348, 4)
8f4f80e0 1883#endif
f1e7d826
MD
1884#ifndef OVERRIDE_TABLE_32_signalfd
1885TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3)
8f4f80e0 1886#endif
f1e7d826
MD
1887#ifndef OVERRIDE_TABLE_32_timerfd_settime
1888TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 353, 4)
8f4f80e0 1889#endif
f1e7d826
MD
1890#ifndef OVERRIDE_TABLE_32_timerfd_gettime
1891TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 354, 2)
8f4f80e0 1892#endif
f1e7d826
MD
1893#ifndef OVERRIDE_TABLE_32_signalfd4
1894TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 355, 4)
8f4f80e0 1895#endif
f1e7d826
MD
1896#ifndef OVERRIDE_TABLE_32_pipe2
1897TRACE_SYSCALL_TABLE(pipe2, pipe2, 359, 2)
8f4f80e0 1898#endif
f1e7d826
MD
1899#ifndef OVERRIDE_TABLE_32_preadv
1900TRACE_SYSCALL_TABLE(preadv, preadv, 361, 5)
8f4f80e0 1901#endif
f1e7d826
MD
1902#ifndef OVERRIDE_TABLE_32_pwritev
1903TRACE_SYSCALL_TABLE(pwritev, pwritev, 362, 5)
8f4f80e0 1904#endif
f1e7d826
MD
1905#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo
1906TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 363, 4)
8f4f80e0 1907#endif
f1e7d826
MD
1908#ifndef OVERRIDE_TABLE_32_perf_event_open
1909TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 364, 5)
c974cc6e 1910#endif
f1e7d826
MD
1911#ifndef OVERRIDE_TABLE_32_recvmmsg
1912TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 365, 5)
8f4f80e0 1913#endif
f1e7d826
MD
1914#ifndef OVERRIDE_TABLE_32_accept4
1915TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4)
8f4f80e0 1916#endif
f1e7d826
MD
1917#ifndef OVERRIDE_TABLE_32_prlimit64
1918TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 369, 4)
8f4f80e0 1919#endif
f1e7d826
MD
1920#ifndef OVERRIDE_TABLE_32_name_to_handle_at
1921TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 370, 5)
c974cc6e 1922#endif
f1e7d826
MD
1923#ifndef OVERRIDE_TABLE_32_open_by_handle_at
1924TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 371, 3)
c974cc6e 1925#endif
f1e7d826
MD
1926#ifndef OVERRIDE_TABLE_32_clock_adjtime
1927TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 372, 2)
c974cc6e 1928#endif
f1e7d826
MD
1929#ifndef OVERRIDE_TABLE_32_sendmmsg
1930TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 374, 4)
c974cc6e 1931#endif
f1e7d826
MD
1932#ifndef OVERRIDE_TABLE_32_process_vm_readv
1933TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 376, 6)
c974cc6e 1934#endif
f1e7d826
MD
1935#ifndef OVERRIDE_TABLE_32_process_vm_writev
1936TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 377, 6)
c974cc6e 1937#endif
8f4f80e0
RK
1938
1939#endif /* CREATE_SYSCALL_TABLE */
This page took 0.160315 seconds and 4 git commands to generate.