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