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