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