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