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