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