Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / mips-32-syscalls-3.13.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.13.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_uselib
90 SC_LTTNG_TRACEPOINT_EVENT(uselib,
91 TP_PROTO(sc_exit(long ret,) const char * library),
92 TP_ARGS(sc_exit(ret,) library),
93 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library)))
94 )
95 #endif
96 #ifndef OVERRIDE_32_uname
97 SC_LTTNG_TRACEPOINT_EVENT(uname,
98 TP_PROTO(sc_exit(long ret,) struct old_utsname * name),
99 TP_ARGS(sc_exit(ret,) name),
100 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name)))
101 )
102 #endif
103 #ifndef OVERRIDE_32_sysinfo
104 SC_LTTNG_TRACEPOINT_EVENT(sysinfo,
105 TP_PROTO(sc_exit(long ret,) struct sysinfo * info),
106 TP_ARGS(sc_exit(ret,) info),
107 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info)))
108 )
109 #endif
110 #ifndef OVERRIDE_32_newuname
111 SC_LTTNG_TRACEPOINT_EVENT(newuname,
112 TP_PROTO(sc_exit(long ret,) struct new_utsname * name),
113 TP_ARGS(sc_exit(ret,) name),
114 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name)))
115 )
116 #endif
117 #ifndef OVERRIDE_32_adjtimex
118 SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
119 TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
120 TP_ARGS(sc_exit(ret,) txc_p),
121 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p)))
122 )
123 #endif
124 #ifndef OVERRIDE_32_sysctl
125 SC_LTTNG_TRACEPOINT_EVENT(sysctl,
126 TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args),
127 TP_ARGS(sc_exit(ret,) args),
128 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args)))
129 )
130 #endif
131 #ifndef OVERRIDE_32_set_tid_address
132 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address,
133 TP_PROTO(sc_exit(long ret,) int * tidptr),
134 TP_ARGS(sc_exit(ret,) tidptr),
135 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr)))
136 )
137 #endif
138 #ifndef OVERRIDE_32_creat
139 SC_LTTNG_TRACEPOINT_EVENT(creat,
140 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
141 TP_ARGS(sc_exit(ret,) pathname, mode),
142 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
143 )
144 #endif
145 #ifndef OVERRIDE_32_link
146 SC_LTTNG_TRACEPOINT_EVENT(link,
147 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
148 TP_ARGS(sc_exit(ret,) oldname, newname),
149 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
150 )
151 #endif
152 #ifndef OVERRIDE_32_chmod
153 SC_LTTNG_TRACEPOINT_EVENT(chmod,
154 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode),
155 TP_ARGS(sc_exit(ret,) filename, mode),
156 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
157 )
158 #endif
159 #ifndef OVERRIDE_32_utime
160 SC_LTTNG_TRACEPOINT_EVENT(utime,
161 TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times),
162 TP_ARGS(sc_exit(ret,) filename, times),
163 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times)))
164 )
165 #endif
166 #ifndef OVERRIDE_32_access
167 SC_LTTNG_TRACEPOINT_EVENT(access,
168 TP_PROTO(sc_exit(long ret,) const char * filename, int mode),
169 TP_ARGS(sc_exit(ret,) filename, mode),
170 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)))
171 )
172 #endif
173 #ifndef OVERRIDE_32_rename
174 SC_LTTNG_TRACEPOINT_EVENT(rename,
175 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
176 TP_ARGS(sc_exit(ret,) oldname, newname),
177 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
178 )
179 #endif
180 #ifndef OVERRIDE_32_mkdir
181 SC_LTTNG_TRACEPOINT_EVENT(mkdir,
182 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
183 TP_ARGS(sc_exit(ret,) pathname, mode),
184 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
185 )
186 #endif
187 #ifndef OVERRIDE_32_umount
188 SC_LTTNG_TRACEPOINT_EVENT(umount,
189 TP_PROTO(sc_exit(long ret,) char * name, int flags),
190 TP_ARGS(sc_exit(ret,) name, flags),
191 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags)))
192 )
193 #endif
194 #ifndef OVERRIDE_32_ustat
195 SC_LTTNG_TRACEPOINT_EVENT(ustat,
196 TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf),
197 TP_ARGS(sc_exit(ret,) dev, ubuf),
198 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf)))
199 )
200 #endif
201 #ifndef OVERRIDE_32_sethostname
202 SC_LTTNG_TRACEPOINT_EVENT(sethostname,
203 TP_PROTO(sc_exit(long ret,) char * name, int len),
204 TP_ARGS(sc_exit(ret,) name, len),
205 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
206 )
207 #endif
208 #ifndef OVERRIDE_32_setrlimit
209 SC_LTTNG_TRACEPOINT_EVENT(setrlimit,
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_in(ctf_integer(struct rlimit *, rlim, rlim)))
213 )
214 #endif
215 #ifndef OVERRIDE_32_getrlimit
216 SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
217 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
218 TP_ARGS(sc_exit(ret,) resource, rlim),
219 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)))
220 )
221 #endif
222 #ifndef OVERRIDE_32_getrusage
223 SC_LTTNG_TRACEPOINT_EVENT(getrusage,
224 TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru),
225 TP_ARGS(sc_exit(ret,) who, ru),
226 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru)))
227 )
228 #endif
229 #ifndef OVERRIDE_32_gettimeofday
230 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
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_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz)))
234 )
235 #endif
236 #ifndef OVERRIDE_32_settimeofday
237 SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
238 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
239 TP_ARGS(sc_exit(ret,) tv, tz),
240 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)))
241 )
242 #endif
243 #ifndef OVERRIDE_32_getgroups
244 SC_LTTNG_TRACEPOINT_EVENT(getgroups,
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_out(ctf_integer(gid_t *, grouplist, grouplist)))
248 )
249 #endif
250 #ifndef OVERRIDE_32_setgroups
251 SC_LTTNG_TRACEPOINT_EVENT(setgroups,
252 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
253 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
254 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist)))
255 )
256 #endif
257 #ifndef OVERRIDE_32_symlink
258 SC_LTTNG_TRACEPOINT_EVENT(symlink,
259 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
260 TP_ARGS(sc_exit(ret,) oldname, newname),
261 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
262 )
263 #endif
264 #ifndef OVERRIDE_32_truncate
265 SC_LTTNG_TRACEPOINT_EVENT(truncate,
266 TP_PROTO(sc_exit(long ret,) const char * path, long length),
267 TP_ARGS(sc_exit(ret,) path, length),
268 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length)))
269 )
270 #endif
271 #ifndef OVERRIDE_32_statfs
272 SC_LTTNG_TRACEPOINT_EVENT(statfs,
273 TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf),
274 TP_ARGS(sc_exit(ret,) pathname, buf),
275 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf)))
276 )
277 #endif
278 #ifndef OVERRIDE_32_fstatfs
279 SC_LTTNG_TRACEPOINT_EVENT(fstatfs,
280 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf),
281 TP_ARGS(sc_exit(ret,) fd, buf),
282 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)))
283 )
284 #endif
285 #ifndef OVERRIDE_32_socketcall
286 SC_LTTNG_TRACEPOINT_EVENT(socketcall,
287 TP_PROTO(sc_exit(long ret,) int call, unsigned long * args),
288 TP_ARGS(sc_exit(ret,) call, args),
289 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args)))
290 )
291 #endif
292 #ifndef OVERRIDE_32_getitimer
293 SC_LTTNG_TRACEPOINT_EVENT(getitimer,
294 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
295 TP_ARGS(sc_exit(ret,) which, value),
296 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value)))
297 )
298 #endif
299 #ifndef OVERRIDE_32_newstat
300 SC_LTTNG_TRACEPOINT_EVENT(newstat,
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_newlstat
307 SC_LTTNG_TRACEPOINT_EVENT(newlstat,
308 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
309 TP_ARGS(sc_exit(ret,) filename, statbuf),
310 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
311 )
312 #endif
313 #ifndef OVERRIDE_32_newfstat
314 SC_LTTNG_TRACEPOINT_EVENT(newfstat,
315 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf),
316 TP_ARGS(sc_exit(ret,) fd, statbuf),
317 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)))
318 )
319 #endif
320 #ifndef OVERRIDE_32_setdomainname
321 SC_LTTNG_TRACEPOINT_EVENT(setdomainname,
322 TP_PROTO(sc_exit(long ret,) char * name, int len),
323 TP_ARGS(sc_exit(ret,) name, len),
324 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
325 )
326 #endif
327 #ifndef OVERRIDE_32_delete_module
328 SC_LTTNG_TRACEPOINT_EVENT(delete_module,
329 TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags),
330 TP_ARGS(sc_exit(ret,) name_user, flags),
331 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)))
332 )
333 #endif
334 #ifndef OVERRIDE_32_sched_setparam
335 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam,
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_in(ctf_integer(struct sched_param *, param, param)))
339 )
340 #endif
341 #ifndef OVERRIDE_32_sched_getparam
342 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
343 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
344 TP_ARGS(sc_exit(ret,) pid, param),
345 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)))
346 )
347 #endif
348 #ifndef OVERRIDE_32_sched_rr_get_interval
349 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
350 TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
351 TP_ARGS(sc_exit(ret,) pid, interval),
352 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)))
353 )
354 #endif
355 #ifndef OVERRIDE_32_nanosleep
356 SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
357 TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
358 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
359 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)))
360 )
361 #endif
362 #ifndef OVERRIDE_32_rt_sigpending
363 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
364 TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize),
365 TP_ARGS(sc_exit(ret,) uset, sigsetsize),
366 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)))
367 )
368 #endif
369 #ifndef OVERRIDE_32_rt_sigsuspend
370 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend,
371 TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize),
372 TP_ARGS(sc_exit(ret,) unewset, sigsetsize),
373 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)))
374 )
375 #endif
376 #ifndef OVERRIDE_32_getcwd
377 SC_LTTNG_TRACEPOINT_EVENT(getcwd,
378 TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size),
379 TP_ARGS(sc_exit(ret,) buf, size),
380 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size)))
381 )
382 #endif
383 #ifndef OVERRIDE_32_sigaltstack
384 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack,
385 TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss),
386 TP_ARGS(sc_exit(ret,) uss, uoss),
387 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)))
388 )
389 #endif
390 #ifndef OVERRIDE_32_truncate64
391 SC_LTTNG_TRACEPOINT_EVENT(truncate64,
392 TP_PROTO(sc_exit(long ret,) const char * path, loff_t length),
393 TP_ARGS(sc_exit(ret,) path, length),
394 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length)))
395 )
396 #endif
397 #ifndef OVERRIDE_32_stat64
398 SC_LTTNG_TRACEPOINT_EVENT(stat64,
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_lstat64
405 SC_LTTNG_TRACEPOINT_EVENT(lstat64,
406 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf),
407 TP_ARGS(sc_exit(ret,) filename, statbuf),
408 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)))
409 )
410 #endif
411 #ifndef OVERRIDE_32_fstat64
412 SC_LTTNG_TRACEPOINT_EVENT(fstat64,
413 TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf),
414 TP_ARGS(sc_exit(ret,) fd, statbuf),
415 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)))
416 )
417 #endif
418 #ifndef OVERRIDE_32_pivot_root
419 SC_LTTNG_TRACEPOINT_EVENT(pivot_root,
420 TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old),
421 TP_ARGS(sc_exit(ret,) new_root, put_old),
422 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)))
423 )
424 #endif
425 #ifndef OVERRIDE_32_removexattr
426 SC_LTTNG_TRACEPOINT_EVENT(removexattr,
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_lremovexattr
433 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr,
434 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
435 TP_ARGS(sc_exit(ret,) pathname, name),
436 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
437 )
438 #endif
439 #ifndef OVERRIDE_32_fremovexattr
440 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr,
441 TP_PROTO(sc_exit(long ret,) int fd, const char * name),
442 TP_ARGS(sc_exit(ret,) fd, name),
443 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)))
444 )
445 #endif
446 #ifndef OVERRIDE_32_io_setup
447 SC_LTTNG_TRACEPOINT_EVENT(io_setup,
448 TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp),
449 TP_ARGS(sc_exit(ret,) nr_events, ctxp),
450 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)))
451 )
452 #endif
453 #ifndef OVERRIDE_32_timer_gettime
454 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
455 TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
456 TP_ARGS(sc_exit(ret,) timer_id, setting),
457 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)))
458 )
459 #endif
460 #ifndef OVERRIDE_32_clock_settime
461 SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
462 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const 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_in(ctf_integer(const struct timespec *, tp, tp)))
465 )
466 #endif
467 #ifndef OVERRIDE_32_clock_gettime
468 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
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_clock_getres
475 SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
476 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
477 TP_ARGS(sc_exit(ret,) which_clock, tp),
478 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)))
479 )
480 #endif
481 #ifndef OVERRIDE_32_utimes
482 SC_LTTNG_TRACEPOINT_EVENT(utimes,
483 TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes),
484 TP_ARGS(sc_exit(ret,) filename, utimes),
485 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
486 )
487 #endif
488 #ifndef OVERRIDE_32_set_robust_list
489 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
490 TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len),
491 TP_ARGS(sc_exit(ret,) head, len),
492 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)))
493 )
494 #endif
495 #ifndef OVERRIDE_32_timerfd_gettime
496 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
497 TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
498 TP_ARGS(sc_exit(ret,) ufd, otmr),
499 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
500 )
501 #endif
502 #ifndef OVERRIDE_32_pipe2
503 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
504 TP_PROTO(sc_exit(long ret,) int * fildes, int flags),
505 TP_ARGS(sc_exit(ret,) fildes, flags),
506 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags)))
507 )
508 #endif
509 #ifndef OVERRIDE_32_clock_adjtime
510 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
511 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
512 TP_ARGS(sc_exit(ret,) which_clock, utx),
513 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)))
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_reboot
881 SC_LTTNG_TRACEPOINT_EVENT(reboot,
882 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
883 TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg),
884 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)))
885 )
886 #endif
887 #ifndef OVERRIDE_32_wait4
888 SC_LTTNG_TRACEPOINT_EVENT(wait4,
889 TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru),
890 TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru),
891 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)))
892 )
893 #endif
894 #ifndef OVERRIDE_32_send
895 SC_LTTNG_TRACEPOINT_EVENT(send,
896 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags),
897 TP_ARGS(sc_exit(ret,) fd, buff, len, flags),
898 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)))
899 )
900 #endif
901 #ifndef OVERRIDE_32_socketpair
902 SC_LTTNG_TRACEPOINT_EVENT(socketpair,
903 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
904 TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
905 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)))
906 )
907 #endif
908 #ifndef OVERRIDE_32_rt_sigaction
909 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction,
910 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize),
911 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
912 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)))
913 )
914 #endif
915 #ifndef OVERRIDE_32_rt_sigprocmask
916 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
917 TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize),
918 TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize),
919 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)))
920 )
921 #endif
922 #ifndef OVERRIDE_32_rt_sigtimedwait
923 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
924 TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
925 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
926 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)))
927 )
928 #endif
929 #ifndef OVERRIDE_32_pread64
930 SC_LTTNG_TRACEPOINT_EVENT(pread64,
931 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos),
932 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
933 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)))
934 )
935 #endif
936 #ifndef OVERRIDE_32_pwrite64
937 SC_LTTNG_TRACEPOINT_EVENT(pwrite64,
938 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos),
939 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
940 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)))
941 )
942 #endif
943 #ifndef OVERRIDE_32_sendfile
944 SC_LTTNG_TRACEPOINT_EVENT(sendfile,
945 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count),
946 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
947 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)))
948 )
949 #endif
950 #ifndef OVERRIDE_32_getxattr
951 SC_LTTNG_TRACEPOINT_EVENT(getxattr,
952 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
953 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
954 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)))
955 )
956 #endif
957 #ifndef OVERRIDE_32_lgetxattr
958 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr,
959 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
960 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
961 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)))
962 )
963 #endif
964 #ifndef OVERRIDE_32_fgetxattr
965 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr,
966 TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size),
967 TP_ARGS(sc_exit(ret,) fd, name, value, size),
968 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)))
969 )
970 #endif
971 #ifndef OVERRIDE_32_sendfile64
972 SC_LTTNG_TRACEPOINT_EVENT(sendfile64,
973 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count),
974 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
975 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)))
976 )
977 #endif
978 #ifndef OVERRIDE_32_epoll_ctl
979 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl,
980 TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event),
981 TP_ARGS(sc_exit(ret,) epfd, op, fd, event),
982 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)))
983 )
984 #endif
985 #ifndef OVERRIDE_32_epoll_wait
986 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait,
987 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout),
988 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout),
989 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)))
990 )
991 #endif
992 #ifndef OVERRIDE_32_timer_settime
993 SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
994 TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
995 TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
996 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)))
997 )
998 #endif
999 #ifndef OVERRIDE_32_clock_nanosleep
1000 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
1001 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
1002 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
1003 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)))
1004 )
1005 #endif
1006 #ifndef OVERRIDE_32_openat
1007 SC_LTTNG_TRACEPOINT_EVENT(openat,
1008 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
1009 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
1010 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)))
1011 )
1012 #endif
1013 #ifndef OVERRIDE_32_mknodat
1014 SC_LTTNG_TRACEPOINT_EVENT(mknodat,
1015 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev),
1016 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
1017 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)))
1018 )
1019 #endif
1020 #ifndef OVERRIDE_32_fstatat64
1021 SC_LTTNG_TRACEPOINT_EVENT(fstatat64,
1022 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag),
1023 TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag),
1024 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)))
1025 )
1026 #endif
1027 #ifndef OVERRIDE_32_renameat
1028 SC_LTTNG_TRACEPOINT_EVENT(renameat,
1029 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname),
1030 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname),
1031 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)))
1032 )
1033 #endif
1034 #ifndef OVERRIDE_32_readlinkat
1035 SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
1036 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz),
1037 TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz),
1038 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)))
1039 )
1040 #endif
1041 #ifndef OVERRIDE_32_vmsplice
1042 SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
1043 TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
1044 TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
1045 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)))
1046 )
1047 #endif
1048 #ifndef OVERRIDE_32_utimensat
1049 SC_LTTNG_TRACEPOINT_EVENT(utimensat,
1050 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
1051 TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
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(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags)))
1053 )
1054 #endif
1055 #ifndef OVERRIDE_32_timerfd_settime
1056 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
1057 TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
1058 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
1059 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)))
1060 )
1061 #endif
1062 #ifndef OVERRIDE_32_signalfd4
1063 SC_LTTNG_TRACEPOINT_EVENT(signalfd4,
1064 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags),
1065 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags),
1066 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)))
1067 )
1068 #endif
1069 #ifndef OVERRIDE_32_rt_tgsigqueueinfo
1070 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo,
1071 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo),
1072 TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo),
1073 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)))
1074 )
1075 #endif
1076 #ifndef OVERRIDE_32_accept4
1077 SC_LTTNG_TRACEPOINT_EVENT(accept4,
1078 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
1079 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
1080 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)))
1081 )
1082 #endif
1083 #ifndef OVERRIDE_32_prlimit64
1084 SC_LTTNG_TRACEPOINT_EVENT(prlimit64,
1085 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim),
1086 TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim),
1087 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)))
1088 )
1089 #endif
1090 #ifndef OVERRIDE_32_sendmmsg
1091 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
1092 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags),
1093 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags),
1094 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)))
1095 )
1096 #endif
1097 #ifndef OVERRIDE_32_mount
1098 SC_LTTNG_TRACEPOINT_EVENT(mount,
1099 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
1100 TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data),
1101 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)))
1102 )
1103 #endif
1104 #ifndef OVERRIDE_32_llseek
1105 SC_LTTNG_TRACEPOINT_EVENT(llseek,
1106 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence),
1107 TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence),
1108 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)))
1109 )
1110 #endif
1111 #ifndef OVERRIDE_32_select
1112 SC_LTTNG_TRACEPOINT_EVENT(select,
1113 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp),
1114 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp),
1115 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)))
1116 )
1117 #endif
1118 #ifndef OVERRIDE_32_getsockopt
1119 SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1120 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1121 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1122 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)))
1123 )
1124 #endif
1125 #ifndef OVERRIDE_32_setsockopt
1126 SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1127 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1128 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1129 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)))
1130 )
1131 #endif
1132 #ifndef OVERRIDE_32_setxattr
1133 SC_LTTNG_TRACEPOINT_EVENT(setxattr,
1134 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1135 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1136 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)))
1137 )
1138 #endif
1139 #ifndef OVERRIDE_32_lsetxattr
1140 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr,
1141 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1142 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1143 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)))
1144 )
1145 #endif
1146 #ifndef OVERRIDE_32_fsetxattr
1147 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
1148 TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags),
1149 TP_ARGS(sc_exit(ret,) fd, name, value, size, flags),
1150 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)))
1151 )
1152 #endif
1153 #ifndef OVERRIDE_32_io_getevents
1154 SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
1155 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
1156 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
1157 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)))
1158 )
1159 #endif
1160 #ifndef OVERRIDE_32_waitid
1161 SC_LTTNG_TRACEPOINT_EVENT(waitid,
1162 TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru),
1163 TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru),
1164 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)))
1165 )
1166 #endif
1167 #ifndef OVERRIDE_32_fchownat
1168 SC_LTTNG_TRACEPOINT_EVENT(fchownat,
1169 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag),
1170 TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag),
1171 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)))
1172 )
1173 #endif
1174 #ifndef OVERRIDE_32_linkat
1175 SC_LTTNG_TRACEPOINT_EVENT(linkat,
1176 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags),
1177 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
1178 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)))
1179 )
1180 #endif
1181 #ifndef OVERRIDE_32_ppoll
1182 SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1183 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1184 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1185 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)))
1186 )
1187 #endif
1188 #ifndef OVERRIDE_32_preadv
1189 SC_LTTNG_TRACEPOINT_EVENT(preadv,
1190 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1191 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1192 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)))
1193 )
1194 #endif
1195 #ifndef OVERRIDE_32_pwritev
1196 SC_LTTNG_TRACEPOINT_EVENT(pwritev,
1197 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1198 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1199 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)))
1200 )
1201 #endif
1202 #ifndef OVERRIDE_32_perf_event_open
1203 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open,
1204 TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags),
1205 TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags),
1206 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)))
1207 )
1208 #endif
1209 #ifndef OVERRIDE_32_recvmmsg
1210 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1211 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1212 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1213 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)))
1214 )
1215 #endif
1216 #ifndef OVERRIDE_32_name_to_handle_at
1217 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at,
1218 TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag),
1219 TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag),
1220 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)))
1221 )
1222 #endif
1223 #ifndef OVERRIDE_32_ipc
1224 SC_LTTNG_TRACEPOINT_EVENT(ipc,
1225 TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth),
1226 TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth),
1227 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)))
1228 )
1229 #endif
1230 #ifndef OVERRIDE_32_recvfrom
1231 SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1232 TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len),
1233 TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
1234 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)))
1235 )
1236 #endif
1237 #ifndef OVERRIDE_32_sendto
1238 SC_LTTNG_TRACEPOINT_EVENT(sendto,
1239 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len),
1240 TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
1241 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)))
1242 )
1243 #endif
1244 #ifndef OVERRIDE_32_futex
1245 SC_LTTNG_TRACEPOINT_EVENT(futex,
1246 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1247 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1248 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)))
1249 )
1250 #endif
1251 #ifndef OVERRIDE_32_pselect6
1252 SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1253 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1254 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1255 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)))
1256 )
1257 #endif
1258 #ifndef OVERRIDE_32_splice
1259 SC_LTTNG_TRACEPOINT_EVENT(splice,
1260 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),
1261 TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
1262 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)))
1263 )
1264 #endif
1265 #ifndef OVERRIDE_32_epoll_pwait
1266 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1267 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize),
1268 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
1269 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)))
1270 )
1271 #endif
1272
1273 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1274
1275 /* This part must be outside protection */
1276 #include <probes/define_trace.h>
1277
1278 #else /* CREATE_SYSCALL_TABLE */
1279
1280 #include "mips-32-syscalls-3.13.0_pointers_override.h"
1281 #include "syscalls_pointers_override.h"
1282
1283 #ifndef OVERRIDE_TABLE_32_read
1284 TRACE_SYSCALL_TABLE(read, read, 4003, 3)
1285 #endif
1286 #ifndef OVERRIDE_TABLE_32_write
1287 TRACE_SYSCALL_TABLE(write, write, 4004, 3)
1288 #endif
1289 #ifndef OVERRIDE_TABLE_32_open
1290 TRACE_SYSCALL_TABLE(open, open, 4005, 3)
1291 #endif
1292 #ifndef OVERRIDE_TABLE_32_waitpid
1293 TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3)
1294 #endif
1295 #ifndef OVERRIDE_TABLE_32_creat
1296 TRACE_SYSCALL_TABLE(creat, creat, 4008, 2)
1297 #endif
1298 #ifndef OVERRIDE_TABLE_32_link
1299 TRACE_SYSCALL_TABLE(link, link, 4009, 2)
1300 #endif
1301 #ifndef OVERRIDE_TABLE_32_unlink
1302 TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1)
1303 #endif
1304 #ifndef OVERRIDE_TABLE_32_execve
1305 TRACE_SYSCALL_TABLE(execve, execve, 4011, 3)
1306 #endif
1307 #ifndef OVERRIDE_TABLE_32_chdir
1308 TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1)
1309 #endif
1310 #ifndef OVERRIDE_TABLE_32_time
1311 TRACE_SYSCALL_TABLE(time, time, 4013, 1)
1312 #endif
1313 #ifndef OVERRIDE_TABLE_32_mknod
1314 TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3)
1315 #endif
1316 #ifndef OVERRIDE_TABLE_32_chmod
1317 TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2)
1318 #endif
1319 #ifndef OVERRIDE_TABLE_32_lchown
1320 TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3)
1321 #endif
1322 #ifndef OVERRIDE_TABLE_32_mount
1323 TRACE_SYSCALL_TABLE(mount, mount, 4021, 5)
1324 #endif
1325 #ifndef OVERRIDE_TABLE_32_oldumount
1326 TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1)
1327 #endif
1328 #ifndef OVERRIDE_TABLE_32_stime
1329 TRACE_SYSCALL_TABLE(stime, stime, 4025, 1)
1330 #endif
1331 #ifndef OVERRIDE_TABLE_32_utime
1332 TRACE_SYSCALL_TABLE(utime, utime, 4030, 2)
1333 #endif
1334 #ifndef OVERRIDE_TABLE_32_access
1335 TRACE_SYSCALL_TABLE(access, access, 4033, 2)
1336 #endif
1337 #ifndef OVERRIDE_TABLE_32_rename
1338 TRACE_SYSCALL_TABLE(rename, rename, 4038, 2)
1339 #endif
1340 #ifndef OVERRIDE_TABLE_32_mkdir
1341 TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2)
1342 #endif
1343 #ifndef OVERRIDE_TABLE_32_rmdir
1344 TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1)
1345 #endif
1346 #ifndef OVERRIDE_TABLE_32_times
1347 TRACE_SYSCALL_TABLE(times, times, 4043, 1)
1348 #endif
1349 #ifndef OVERRIDE_TABLE_32_umount
1350 TRACE_SYSCALL_TABLE(umount, umount, 4052, 2)
1351 #endif
1352 #ifndef OVERRIDE_TABLE_32_olduname
1353 TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1)
1354 #endif
1355 #ifndef OVERRIDE_TABLE_32_chroot
1356 TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1)
1357 #endif
1358 #ifndef OVERRIDE_TABLE_32_ustat
1359 TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2)
1360 #endif
1361 #ifndef OVERRIDE_TABLE_32_sigaction
1362 TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3)
1363 #endif
1364 #ifndef OVERRIDE_TABLE_32_sigsuspend
1365 TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1)
1366 #endif
1367 #ifndef OVERRIDE_TABLE_32_sigpending
1368 TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1)
1369 #endif
1370 #ifndef OVERRIDE_TABLE_32_sethostname
1371 TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2)
1372 #endif
1373 #ifndef OVERRIDE_TABLE_32_setrlimit
1374 TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2)
1375 #endif
1376 #ifndef OVERRIDE_TABLE_32_getrlimit
1377 TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2)
1378 #endif
1379 #ifndef OVERRIDE_TABLE_32_getrusage
1380 TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2)
1381 #endif
1382 #ifndef OVERRIDE_TABLE_32_gettimeofday
1383 TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2)
1384 #endif
1385 #ifndef OVERRIDE_TABLE_32_settimeofday
1386 TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2)
1387 #endif
1388 #ifndef OVERRIDE_TABLE_32_getgroups
1389 TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2)
1390 #endif
1391 #ifndef OVERRIDE_TABLE_32_setgroups
1392 TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2)
1393 #endif
1394 #ifndef OVERRIDE_TABLE_32_symlink
1395 TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2)
1396 #endif
1397 #ifndef OVERRIDE_TABLE_32_readlink
1398 TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3)
1399 #endif
1400 #ifndef OVERRIDE_TABLE_32_uselib
1401 TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1)
1402 #endif
1403 #ifndef OVERRIDE_TABLE_32_reboot
1404 TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4)
1405 #endif
1406 #ifndef OVERRIDE_TABLE_32_old_readdir
1407 TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3)
1408 #endif
1409 #ifndef OVERRIDE_TABLE_32_truncate
1410 TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2)
1411 #endif
1412 #ifndef OVERRIDE_TABLE_32_statfs
1413 TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2)
1414 #endif
1415 #ifndef OVERRIDE_TABLE_32_fstatfs
1416 TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2)
1417 #endif
1418 #ifndef OVERRIDE_TABLE_32_socketcall
1419 TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2)
1420 #endif
1421 #ifndef OVERRIDE_TABLE_32_syslog
1422 TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3)
1423 #endif
1424 #ifndef OVERRIDE_TABLE_32_setitimer
1425 TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3)
1426 #endif
1427 #ifndef OVERRIDE_TABLE_32_getitimer
1428 TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2)
1429 #endif
1430 #ifndef OVERRIDE_TABLE_32_newstat
1431 TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2)
1432 #endif
1433 #ifndef OVERRIDE_TABLE_32_newlstat
1434 TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2)
1435 #endif
1436 #ifndef OVERRIDE_TABLE_32_newfstat
1437 TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2)
1438 #endif
1439 #ifndef OVERRIDE_TABLE_32_uname
1440 TRACE_SYSCALL_TABLE(uname, uname, 4109, 1)
1441 #endif
1442 #ifndef OVERRIDE_TABLE_32_wait4
1443 TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4)
1444 #endif
1445 #ifndef OVERRIDE_TABLE_32_sysinfo
1446 TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1)
1447 #endif
1448 #ifndef OVERRIDE_TABLE_32_ipc
1449 TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6)
1450 #endif
1451 #ifndef OVERRIDE_TABLE_32_setdomainname
1452 TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2)
1453 #endif
1454 #ifndef OVERRIDE_TABLE_32_newuname
1455 TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1)
1456 #endif
1457 #ifndef OVERRIDE_TABLE_32_adjtimex
1458 TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1)
1459 #endif
1460 #ifndef OVERRIDE_TABLE_32_sigprocmask
1461 TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3)
1462 #endif
1463 #ifndef OVERRIDE_TABLE_32_init_module
1464 TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3)
1465 #endif
1466 #ifndef OVERRIDE_TABLE_32_delete_module
1467 TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2)
1468 #endif
1469 #ifndef OVERRIDE_TABLE_32_llseek
1470 TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5)
1471 #endif
1472 #ifndef OVERRIDE_TABLE_32_getdents
1473 TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3)
1474 #endif
1475 #ifndef OVERRIDE_TABLE_32_select
1476 TRACE_SYSCALL_TABLE(select, select, 4142, 5)
1477 #endif
1478 #ifndef OVERRIDE_TABLE_32_readv
1479 TRACE_SYSCALL_TABLE(readv, readv, 4145, 3)
1480 #endif
1481 #ifndef OVERRIDE_TABLE_32_writev
1482 TRACE_SYSCALL_TABLE(writev, writev, 4146, 3)
1483 #endif
1484 #ifndef OVERRIDE_TABLE_32_cachectl
1485 TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3)
1486 #endif
1487 #ifndef OVERRIDE_TABLE_32_sysctl
1488 TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1)
1489 #endif
1490 #ifndef OVERRIDE_TABLE_32_sched_setparam
1491 TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2)
1492 #endif
1493 #ifndef OVERRIDE_TABLE_32_sched_getparam
1494 TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2)
1495 #endif
1496 #ifndef OVERRIDE_TABLE_32_sched_setscheduler
1497 TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3)
1498 #endif
1499 #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
1500 TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2)
1501 #endif
1502 #ifndef OVERRIDE_TABLE_32_nanosleep
1503 TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2)
1504 #endif
1505 #ifndef OVERRIDE_TABLE_32_accept
1506 TRACE_SYSCALL_TABLE(accept, accept, 4168, 3)
1507 #endif
1508 #ifndef OVERRIDE_TABLE_32_bind
1509 TRACE_SYSCALL_TABLE(bind, bind, 4169, 3)
1510 #endif
1511 #ifndef OVERRIDE_TABLE_32_connect
1512 TRACE_SYSCALL_TABLE(connect, connect, 4170, 3)
1513 #endif
1514 #ifndef OVERRIDE_TABLE_32_getpeername
1515 TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3)
1516 #endif
1517 #ifndef OVERRIDE_TABLE_32_getsockname
1518 TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3)
1519 #endif
1520 #ifndef OVERRIDE_TABLE_32_getsockopt
1521 TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5)
1522 #endif
1523 #ifndef OVERRIDE_TABLE_32_recvfrom
1524 TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6)
1525 #endif
1526 #ifndef OVERRIDE_TABLE_32_recvmsg
1527 TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3)
1528 #endif
1529 #ifndef OVERRIDE_TABLE_32_send
1530 TRACE_SYSCALL_TABLE(send, send, 4178, 4)
1531 #endif
1532 #ifndef OVERRIDE_TABLE_32_sendmsg
1533 TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3)
1534 #endif
1535 #ifndef OVERRIDE_TABLE_32_sendto
1536 TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6)
1537 #endif
1538 #ifndef OVERRIDE_TABLE_32_setsockopt
1539 TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5)
1540 #endif
1541 #ifndef OVERRIDE_TABLE_32_socketpair
1542 TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4)
1543 #endif
1544 #ifndef OVERRIDE_TABLE_32_getresuid
1545 TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3)
1546 #endif
1547 #ifndef OVERRIDE_TABLE_32_poll
1548 TRACE_SYSCALL_TABLE(poll, poll, 4188, 3)
1549 #endif
1550 #ifndef OVERRIDE_TABLE_32_getresgid
1551 TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3)
1552 #endif
1553 #ifndef OVERRIDE_TABLE_32_rt_sigaction
1554 TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4)
1555 #endif
1556 #ifndef OVERRIDE_TABLE_32_rt_sigprocmask
1557 TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4)
1558 #endif
1559 #ifndef OVERRIDE_TABLE_32_rt_sigpending
1560 TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2)
1561 #endif
1562 #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
1563 TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4)
1564 #endif
1565 #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
1566 TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3)
1567 #endif
1568 #ifndef OVERRIDE_TABLE_32_rt_sigsuspend
1569 TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2)
1570 #endif
1571 #ifndef OVERRIDE_TABLE_32_pread64
1572 TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4)
1573 #endif
1574 #ifndef OVERRIDE_TABLE_32_pwrite64
1575 TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4)
1576 #endif
1577 #ifndef OVERRIDE_TABLE_32_chown
1578 TRACE_SYSCALL_TABLE(chown, chown, 4202, 3)
1579 #endif
1580 #ifndef OVERRIDE_TABLE_32_getcwd
1581 TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2)
1582 #endif
1583 #ifndef OVERRIDE_TABLE_32_sigaltstack
1584 TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2)
1585 #endif
1586 #ifndef OVERRIDE_TABLE_32_sendfile
1587 TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4)
1588 #endif
1589 #ifndef OVERRIDE_TABLE_32_truncate64
1590 TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2)
1591 #endif
1592 #ifndef OVERRIDE_TABLE_32_stat64
1593 TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2)
1594 #endif
1595 #ifndef OVERRIDE_TABLE_32_lstat64
1596 TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2)
1597 #endif
1598 #ifndef OVERRIDE_TABLE_32_fstat64
1599 TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2)
1600 #endif
1601 #ifndef OVERRIDE_TABLE_32_pivot_root
1602 TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2)
1603 #endif
1604 #ifndef OVERRIDE_TABLE_32_mincore
1605 TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3)
1606 #endif
1607 #ifndef OVERRIDE_TABLE_32_getdents64
1608 TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3)
1609 #endif
1610 #ifndef OVERRIDE_TABLE_32_setxattr
1611 TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5)
1612 #endif
1613 #ifndef OVERRIDE_TABLE_32_lsetxattr
1614 TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5)
1615 #endif
1616 #ifndef OVERRIDE_TABLE_32_fsetxattr
1617 TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5)
1618 #endif
1619 #ifndef OVERRIDE_TABLE_32_getxattr
1620 TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4)
1621 #endif
1622 #ifndef OVERRIDE_TABLE_32_lgetxattr
1623 TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4)
1624 #endif
1625 #ifndef OVERRIDE_TABLE_32_fgetxattr
1626 TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4)
1627 #endif
1628 #ifndef OVERRIDE_TABLE_32_listxattr
1629 TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3)
1630 #endif
1631 #ifndef OVERRIDE_TABLE_32_llistxattr
1632 TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3)
1633 #endif
1634 #ifndef OVERRIDE_TABLE_32_flistxattr
1635 TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3)
1636 #endif
1637 #ifndef OVERRIDE_TABLE_32_removexattr
1638 TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2)
1639 #endif
1640 #ifndef OVERRIDE_TABLE_32_lremovexattr
1641 TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2)
1642 #endif
1643 #ifndef OVERRIDE_TABLE_32_fremovexattr
1644 TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2)
1645 #endif
1646 #ifndef OVERRIDE_TABLE_32_sendfile64
1647 TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4)
1648 #endif
1649 #ifndef OVERRIDE_TABLE_32_futex
1650 TRACE_SYSCALL_TABLE(futex, futex, 4238, 6)
1651 #endif
1652 #ifndef OVERRIDE_TABLE_32_io_setup
1653 TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2)
1654 #endif
1655 #ifndef OVERRIDE_TABLE_32_io_getevents
1656 TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5)
1657 #endif
1658 #ifndef OVERRIDE_TABLE_32_io_submit
1659 TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3)
1660 #endif
1661 #ifndef OVERRIDE_TABLE_32_io_cancel
1662 TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3)
1663 #endif
1664 #ifndef OVERRIDE_TABLE_32_epoll_ctl
1665 TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4)
1666 #endif
1667 #ifndef OVERRIDE_TABLE_32_epoll_wait
1668 TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4)
1669 #endif
1670 #ifndef OVERRIDE_TABLE_32_set_tid_address
1671 TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1)
1672 #endif
1673 #ifndef OVERRIDE_TABLE_32_statfs64
1674 TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3)
1675 #endif
1676 #ifndef OVERRIDE_TABLE_32_fstatfs64
1677 TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3)
1678 #endif
1679 #ifndef OVERRIDE_TABLE_32_timer_create
1680 TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3)
1681 #endif
1682 #ifndef OVERRIDE_TABLE_32_timer_settime
1683 TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4)
1684 #endif
1685 #ifndef OVERRIDE_TABLE_32_timer_gettime
1686 TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2)
1687 #endif
1688 #ifndef OVERRIDE_TABLE_32_clock_settime
1689 TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2)
1690 #endif
1691 #ifndef OVERRIDE_TABLE_32_clock_gettime
1692 TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2)
1693 #endif
1694 #ifndef OVERRIDE_TABLE_32_clock_getres
1695 TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2)
1696 #endif
1697 #ifndef OVERRIDE_TABLE_32_clock_nanosleep
1698 TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4)
1699 #endif
1700 #ifndef OVERRIDE_TABLE_32_utimes
1701 TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2)
1702 #endif
1703 #ifndef OVERRIDE_TABLE_32_waitid
1704 TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5)
1705 #endif
1706 #ifndef OVERRIDE_TABLE_32_inotify_add_watch
1707 TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3)
1708 #endif
1709 #ifndef OVERRIDE_TABLE_32_openat
1710 TRACE_SYSCALL_TABLE(openat, openat, 4288, 4)
1711 #endif
1712 #ifndef OVERRIDE_TABLE_32_mkdirat
1713 TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3)
1714 #endif
1715 #ifndef OVERRIDE_TABLE_32_mknodat
1716 TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4)
1717 #endif
1718 #ifndef OVERRIDE_TABLE_32_fchownat
1719 TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5)
1720 #endif
1721 #ifndef OVERRIDE_TABLE_32_futimesat
1722 TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3)
1723 #endif
1724 #ifndef OVERRIDE_TABLE_32_fstatat64
1725 TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4)
1726 #endif
1727 #ifndef OVERRIDE_TABLE_32_unlinkat
1728 TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3)
1729 #endif
1730 #ifndef OVERRIDE_TABLE_32_renameat
1731 TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4)
1732 #endif
1733 #ifndef OVERRIDE_TABLE_32_linkat
1734 TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5)
1735 #endif
1736 #ifndef OVERRIDE_TABLE_32_symlinkat
1737 TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3)
1738 #endif
1739 #ifndef OVERRIDE_TABLE_32_readlinkat
1740 TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4)
1741 #endif
1742 #ifndef OVERRIDE_TABLE_32_fchmodat
1743 TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3)
1744 #endif
1745 #ifndef OVERRIDE_TABLE_32_faccessat
1746 TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3)
1747 #endif
1748 #ifndef OVERRIDE_TABLE_32_pselect6
1749 TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6)
1750 #endif
1751 #ifndef OVERRIDE_TABLE_32_ppoll
1752 TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5)
1753 #endif
1754 #ifndef OVERRIDE_TABLE_32_splice
1755 TRACE_SYSCALL_TABLE(splice, splice, 4304, 6)
1756 #endif
1757 #ifndef OVERRIDE_TABLE_32_vmsplice
1758 TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4)
1759 #endif
1760 #ifndef OVERRIDE_TABLE_32_set_robust_list
1761 TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2)
1762 #endif
1763 #ifndef OVERRIDE_TABLE_32_get_robust_list
1764 TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3)
1765 #endif
1766 #ifndef OVERRIDE_TABLE_32_getcpu
1767 TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3)
1768 #endif
1769 #ifndef OVERRIDE_TABLE_32_epoll_pwait
1770 TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6)
1771 #endif
1772 #ifndef OVERRIDE_TABLE_32_utimensat
1773 TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4)
1774 #endif
1775 #ifndef OVERRIDE_TABLE_32_signalfd
1776 TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3)
1777 #endif
1778 #ifndef OVERRIDE_TABLE_32_timerfd_gettime
1779 TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2)
1780 #endif
1781 #ifndef OVERRIDE_TABLE_32_timerfd_settime
1782 TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4)
1783 #endif
1784 #ifndef OVERRIDE_TABLE_32_signalfd4
1785 TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4)
1786 #endif
1787 #ifndef OVERRIDE_TABLE_32_pipe2
1788 TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2)
1789 #endif
1790 #ifndef OVERRIDE_TABLE_32_preadv
1791 TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5)
1792 #endif
1793 #ifndef OVERRIDE_TABLE_32_pwritev
1794 TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5)
1795 #endif
1796 #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo
1797 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4)
1798 #endif
1799 #ifndef OVERRIDE_TABLE_32_perf_event_open
1800 TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5)
1801 #endif
1802 #ifndef OVERRIDE_TABLE_32_accept4
1803 TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4)
1804 #endif
1805 #ifndef OVERRIDE_TABLE_32_recvmmsg
1806 TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5)
1807 #endif
1808 #ifndef OVERRIDE_TABLE_32_prlimit64
1809 TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4)
1810 #endif
1811 #ifndef OVERRIDE_TABLE_32_name_to_handle_at
1812 TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5)
1813 #endif
1814 #ifndef OVERRIDE_TABLE_32_open_by_handle_at
1815 TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3)
1816 #endif
1817 #ifndef OVERRIDE_TABLE_32_clock_adjtime
1818 TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2)
1819 #endif
1820 #ifndef OVERRIDE_TABLE_32_sendmmsg
1821 TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4)
1822 #endif
1823
1824 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.134586 seconds and 4 git commands to generate.