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