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