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