1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
5 /* Generated from x86-32-syscalls 3.1.0-rc6 */
7 #ifndef CREATE_SYSCALL_TABLE
9 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_POINTERS_H
12 #include <probes/lttng-tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "x86-32-syscalls_pointers_override.h"
15 #include "syscalls_pointers_override.h"
17 #ifndef OVERRIDE_32_unlink
18 SC_LTTNG_TRACEPOINT_EVENT(unlink
,
19 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
20 TP_ARGS(sc_exit(ret
,) pathname
),
21 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
24 #ifndef OVERRIDE_32_chdir
25 SC_LTTNG_TRACEPOINT_EVENT(chdir
,
26 TP_PROTO(sc_exit(long ret
,) const char * filename
),
27 TP_ARGS(sc_exit(ret
,) filename
),
28 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
31 #ifndef OVERRIDE_32_time
32 SC_LTTNG_TRACEPOINT_EVENT(time
,
33 TP_PROTO(sc_exit(long ret
,) time_t * tloc
),
34 TP_ARGS(sc_exit(ret
,) tloc
),
35 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(time_t *, tloc
, tloc
)))
38 #ifndef OVERRIDE_32_oldumount
39 SC_LTTNG_TRACEPOINT_EVENT(oldumount
,
40 TP_PROTO(sc_exit(long ret
,) char * name
),
41 TP_ARGS(sc_exit(ret
,) name
),
42 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(name
, name
)))
45 #ifndef OVERRIDE_32_stime
46 SC_LTTNG_TRACEPOINT_EVENT(stime
,
47 TP_PROTO(sc_exit(long ret
,) time_t * tptr
),
48 TP_ARGS(sc_exit(ret
,) tptr
),
49 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(time_t *, tptr
, tptr
)))
52 #ifndef OVERRIDE_32_rmdir
53 SC_LTTNG_TRACEPOINT_EVENT(rmdir
,
54 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
55 TP_ARGS(sc_exit(ret
,) pathname
),
56 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)))
59 #ifndef OVERRIDE_32_pipe
60 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
61 TP_PROTO(sc_exit(long ret
,) int * fildes
),
62 TP_ARGS(sc_exit(ret
,) fildes
),
63 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)))
66 #ifndef OVERRIDE_32_times
67 SC_LTTNG_TRACEPOINT_EVENT(times
,
68 TP_PROTO(sc_exit(long ret
,) struct tms
* tbuf
),
69 TP_ARGS(sc_exit(ret
,) tbuf
),
70 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct tms
*, tbuf
, tbuf
)))
73 #ifndef OVERRIDE_32_acct
74 SC_LTTNG_TRACEPOINT_EVENT(acct
,
75 TP_PROTO(sc_exit(long ret
,) const char * name
),
76 TP_ARGS(sc_exit(ret
,) name
),
77 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)))
80 #ifndef OVERRIDE_32_olduname
81 SC_LTTNG_TRACEPOINT_EVENT(olduname
,
82 TP_PROTO(sc_exit(long ret
,) struct oldold_utsname
* name
),
83 TP_ARGS(sc_exit(ret
,) name
),
84 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct oldold_utsname
*, name
, name
)))
87 #ifndef OVERRIDE_32_chroot
88 SC_LTTNG_TRACEPOINT_EVENT(chroot
,
89 TP_PROTO(sc_exit(long ret
,) const char * filename
),
90 TP_ARGS(sc_exit(ret
,) filename
),
91 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)))
94 #ifndef OVERRIDE_32_sigpending
95 SC_LTTNG_TRACEPOINT_EVENT(sigpending
,
96 TP_PROTO(sc_exit(long ret
,) old_sigset_t
* set
),
97 TP_ARGS(sc_exit(ret
,) set
),
98 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(old_sigset_t
*, set
, set
)))
101 #ifndef OVERRIDE_32_old_select
102 SC_LTTNG_TRACEPOINT_EVENT(old_select
,
103 TP_PROTO(sc_exit(long ret
,) struct sel_arg_struct
* arg
),
104 TP_ARGS(sc_exit(ret
,) arg
),
105 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct sel_arg_struct
*, arg
, arg
)))
108 #ifndef OVERRIDE_32_uselib
109 SC_LTTNG_TRACEPOINT_EVENT(uselib
,
110 TP_PROTO(sc_exit(long ret
,) const char * library
),
111 TP_ARGS(sc_exit(ret
,) library
),
112 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(const char *, library
, library
)))
115 #ifndef OVERRIDE_32_old_mmap
116 SC_LTTNG_TRACEPOINT_EVENT(old_mmap
,
117 TP_PROTO(sc_exit(long ret
,) struct mmap_arg_struct
* arg
),
118 TP_ARGS(sc_exit(ret
,) arg
),
119 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct mmap_arg_struct
*, arg
, arg
)))
122 #ifndef OVERRIDE_32_uname
123 SC_LTTNG_TRACEPOINT_EVENT(uname
,
124 TP_PROTO(sc_exit(long ret
,) struct old_utsname
* name
),
125 TP_ARGS(sc_exit(ret
,) name
),
126 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct old_utsname
*, name
, name
)))
129 #ifndef OVERRIDE_32_swapoff
130 SC_LTTNG_TRACEPOINT_EVENT(swapoff
,
131 TP_PROTO(sc_exit(long ret
,) const char * specialfile
),
132 TP_ARGS(sc_exit(ret
,) specialfile
),
133 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(specialfile
, specialfile
)))
136 #ifndef OVERRIDE_32_sysinfo
137 SC_LTTNG_TRACEPOINT_EVENT(sysinfo
,
138 TP_PROTO(sc_exit(long ret
,) struct sysinfo
* info
),
139 TP_ARGS(sc_exit(ret
,) info
),
140 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct sysinfo
*, info
, info
)))
143 #ifndef OVERRIDE_32_newuname
144 SC_LTTNG_TRACEPOINT_EVENT(newuname
,
145 TP_PROTO(sc_exit(long ret
,) struct new_utsname
* name
),
146 TP_ARGS(sc_exit(ret
,) name
),
147 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(struct new_utsname
*, name
, name
)))
150 #ifndef OVERRIDE_32_adjtimex
151 SC_LTTNG_TRACEPOINT_EVENT(adjtimex
,
152 TP_PROTO(sc_exit(long ret
,) struct timex
* txc_p
),
153 TP_ARGS(sc_exit(ret
,) txc_p
),
154 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct timex
*, txc_p
, txc_p
)))
157 #ifndef OVERRIDE_32_sysctl
158 SC_LTTNG_TRACEPOINT_EVENT(sysctl
,
159 TP_PROTO(sc_exit(long ret
,) struct __sysctl_args
* args
),
160 TP_ARGS(sc_exit(ret
,) args
),
161 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(struct __sysctl_args
*, args
, args
)))
164 #ifndef OVERRIDE_32_set_tid_address
165 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address
,
166 TP_PROTO(sc_exit(long ret
,) int * tidptr
),
167 TP_ARGS(sc_exit(ret
,) tidptr
),
168 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int *, tidptr
, tidptr
)))
171 #ifndef OVERRIDE_32_mq_unlink
172 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink
,
173 TP_PROTO(sc_exit(long ret
,) const char * u_name
),
174 TP_ARGS(sc_exit(ret
,) u_name
),
175 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(u_name
, u_name
)))
178 #ifndef OVERRIDE_32_creat
179 SC_LTTNG_TRACEPOINT_EVENT(creat
,
180 TP_PROTO(sc_exit(long ret
,) const char * pathname
, int mode
),
181 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(int, mode
, mode
)))
185 #ifndef OVERRIDE_32_link
186 SC_LTTNG_TRACEPOINT_EVENT(link
,
187 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
188 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
192 #ifndef OVERRIDE_32_chmod
193 SC_LTTNG_TRACEPOINT_EVENT(chmod
,
194 TP_PROTO(sc_exit(long ret
,) const char * filename
, mode_t mode
),
195 TP_ARGS(sc_exit(ret
,) filename
, mode
),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(mode_t
, mode
, mode
)))
199 #ifndef OVERRIDE_32_stat
200 SC_LTTNG_TRACEPOINT_EVENT(stat
,
201 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct __old_kernel_stat
* statbuf
),
202 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
203 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
)))
206 #ifndef OVERRIDE_32_fstat
207 SC_LTTNG_TRACEPOINT_EVENT(fstat
,
208 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct __old_kernel_stat
* statbuf
),
209 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
210 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
)))
213 #ifndef OVERRIDE_32_utime
214 SC_LTTNG_TRACEPOINT_EVENT(utime
,
215 TP_PROTO(sc_exit(long ret
,) char * filename
, struct utimbuf
* times
),
216 TP_ARGS(sc_exit(ret
,) filename
, times
),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct utimbuf
*, times
, times
)))
220 #ifndef OVERRIDE_32_access
221 SC_LTTNG_TRACEPOINT_EVENT(access
,
222 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
),
223 TP_ARGS(sc_exit(ret
,) filename
, mode
),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(int, mode
, mode
)))
227 #ifndef OVERRIDE_32_rename
228 SC_LTTNG_TRACEPOINT_EVENT(rename
,
229 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
230 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
234 #ifndef OVERRIDE_32_mkdir
235 SC_LTTNG_TRACEPOINT_EVENT(mkdir
,
236 TP_PROTO(sc_exit(long ret
,) const char * pathname
, int mode
),
237 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_integer(int, mode
, mode
)))
241 #ifndef OVERRIDE_32_umount
242 SC_LTTNG_TRACEPOINT_EVENT(umount
,
243 TP_PROTO(sc_exit(long ret
,) char * name
, int flags
),
244 TP_ARGS(sc_exit(ret
,) name
, flags
),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, flags
, flags
)))
248 #ifndef OVERRIDE_32_ustat
249 SC_LTTNG_TRACEPOINT_EVENT(ustat
,
250 TP_PROTO(sc_exit(long ret
,) unsigned dev
, struct ustat
* ubuf
),
251 TP_ARGS(sc_exit(ret
,) dev
, ubuf
),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned, dev
, dev
)) sc_out(ctf_integer(struct ustat
*, ubuf
, ubuf
)))
255 #ifndef OVERRIDE_32_sethostname
256 SC_LTTNG_TRACEPOINT_EVENT(sethostname
,
257 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
258 TP_ARGS(sc_exit(ret
,) name
, len
),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
262 #ifndef OVERRIDE_32_setrlimit
263 SC_LTTNG_TRACEPOINT_EVENT(setrlimit
,
264 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
265 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
266 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
)))
269 #ifndef OVERRIDE_32_old_getrlimit
270 SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit
,
271 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
272 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
273 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
)))
276 #ifndef OVERRIDE_32_getrusage
277 SC_LTTNG_TRACEPOINT_EVENT(getrusage
,
278 TP_PROTO(sc_exit(long ret
,) int who
, struct rusage
* ru
),
279 TP_ARGS(sc_exit(ret
,) who
, ru
),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, who
, who
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
283 #ifndef OVERRIDE_32_gettimeofday
284 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday
,
285 TP_PROTO(sc_exit(long ret
,) struct timeval
* tv
, struct timezone
* tz
),
286 TP_ARGS(sc_exit(ret
,) tv
, tz
),
287 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
)))
290 #ifndef OVERRIDE_32_settimeofday
291 SC_LTTNG_TRACEPOINT_EVENT(settimeofday
,
292 TP_PROTO(sc_exit(long ret
,) struct timeval
* tv
, struct timezone
* tz
),
293 TP_ARGS(sc_exit(ret
,) tv
, tz
),
294 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
)))
297 #ifndef OVERRIDE_32_getgroups16
298 SC_LTTNG_TRACEPOINT_EVENT(getgroups16
,
299 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
300 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
301 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 #ifndef OVERRIDE_32_setgroups16
305 SC_LTTNG_TRACEPOINT_EVENT(setgroups16
,
306 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
307 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
308 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
)))
311 #ifndef OVERRIDE_32_symlink
312 SC_LTTNG_TRACEPOINT_EVENT(symlink
,
313 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
314 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(oldname
, oldname
)) sc_in(ctf_user_string(newname
, newname
)))
318 #ifndef OVERRIDE_32_lstat
319 SC_LTTNG_TRACEPOINT_EVENT(lstat
,
320 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct __old_kernel_stat
* statbuf
),
321 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
322 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
)))
325 #ifndef OVERRIDE_32_swapon
326 SC_LTTNG_TRACEPOINT_EVENT(swapon
,
327 TP_PROTO(sc_exit(long ret
,) const char * specialfile
, int swap_flags
),
328 TP_ARGS(sc_exit(ret
,) specialfile
, swap_flags
),
329 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
)))
332 #ifndef OVERRIDE_32_truncate
333 SC_LTTNG_TRACEPOINT_EVENT(truncate
,
334 TP_PROTO(sc_exit(long ret
,) const char * path
, long length
),
335 TP_ARGS(sc_exit(ret
,) path
, length
),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(path
, path
)) sc_in(ctf_integer(long, length
, length
)))
339 #ifndef OVERRIDE_32_statfs
340 SC_LTTNG_TRACEPOINT_EVENT(statfs
,
341 TP_PROTO(sc_exit(long ret
,) const char * pathname
, struct statfs
* buf
),
342 TP_ARGS(sc_exit(ret
,) pathname
, buf
),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_out(ctf_integer(struct statfs
*, buf
, buf
)))
346 #ifndef OVERRIDE_32_fstatfs
347 SC_LTTNG_TRACEPOINT_EVENT(fstatfs
,
348 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct statfs
* buf
),
349 TP_ARGS(sc_exit(ret
,) fd
, buf
),
350 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
)))
353 #ifndef OVERRIDE_32_socketcall
354 SC_LTTNG_TRACEPOINT_EVENT(socketcall
,
355 TP_PROTO(sc_exit(long ret
,) int call
, unsigned long * args
),
356 TP_ARGS(sc_exit(ret
,) call
, args
),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, call
, call
)) sc_inout(ctf_integer(unsigned long *, args
, args
)))
360 #ifndef OVERRIDE_32_getitimer
361 SC_LTTNG_TRACEPOINT_EVENT(getitimer
,
362 TP_PROTO(sc_exit(long ret
,) int which
, struct itimerval
* value
),
363 TP_ARGS(sc_exit(ret
,) which
, value
),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_out(ctf_integer(struct itimerval
*, value
, value
)))
367 #ifndef OVERRIDE_32_newstat
368 SC_LTTNG_TRACEPOINT_EVENT(newstat
,
369 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
370 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
371 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 #ifndef OVERRIDE_32_newlstat
375 SC_LTTNG_TRACEPOINT_EVENT(newlstat
,
376 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
377 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_out(ctf_integer(struct stat
*, statbuf
, statbuf
)))
381 #ifndef OVERRIDE_32_newfstat
382 SC_LTTNG_TRACEPOINT_EVENT(newfstat
,
383 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct stat
* statbuf
),
384 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
385 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
)))
388 #ifndef OVERRIDE_32_setdomainname
389 SC_LTTNG_TRACEPOINT_EVENT(setdomainname
,
390 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
391 TP_ARGS(sc_exit(ret
,) name
, len
),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(int, len
, len
)))
395 #ifndef OVERRIDE_32_delete_module
396 SC_LTTNG_TRACEPOINT_EVENT(delete_module
,
397 TP_PROTO(sc_exit(long ret
,) const char * name_user
, unsigned int flags
),
398 TP_ARGS(sc_exit(ret
,) name_user
, flags
),
399 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
)))
402 #ifndef OVERRIDE_32_sched_setparam
403 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam
,
404 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
405 TP_ARGS(sc_exit(ret
,) pid
, param
),
406 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
)))
409 #ifndef OVERRIDE_32_sched_getparam
410 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam
,
411 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
412 TP_ARGS(sc_exit(ret
,) pid
, param
),
413 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
)))
416 #ifndef OVERRIDE_32_sched_rr_get_interval
417 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval
,
418 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct timespec
* interval
),
419 TP_ARGS(sc_exit(ret
,) pid
, interval
),
420 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
)))
423 #ifndef OVERRIDE_32_nanosleep
424 SC_LTTNG_TRACEPOINT_EVENT(nanosleep
,
425 TP_PROTO(sc_exit(long ret
,) struct timespec
* rqtp
, struct timespec
* rmtp
),
426 TP_ARGS(sc_exit(ret
,) rqtp
, rmtp
),
427 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
)))
430 #ifndef OVERRIDE_32_rt_sigpending
431 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending
,
432 TP_PROTO(sc_exit(long ret
,) sigset_t
* set
, size_t sigsetsize
),
433 TP_ARGS(sc_exit(ret
,) set
, sigsetsize
),
434 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
)))
437 #ifndef OVERRIDE_32_rt_sigsuspend
438 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend
,
439 TP_PROTO(sc_exit(long ret
,) sigset_t
* unewset
, size_t sigsetsize
),
440 TP_ARGS(sc_exit(ret
,) unewset
, sigsetsize
),
441 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
)))
444 #ifndef OVERRIDE_32_getcwd
445 SC_LTTNG_TRACEPOINT_EVENT(getcwd
,
446 TP_PROTO(sc_exit(long ret
,) char * buf
, unsigned long size
),
447 TP_ARGS(sc_exit(ret
,) buf
, size
),
448 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(char *, buf
, buf
)) sc_in(ctf_integer(unsigned long, size
, size
)))
451 #ifndef OVERRIDE_32_getrlimit
452 SC_LTTNG_TRACEPOINT_EVENT(getrlimit
,
453 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
454 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
455 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
)))
458 #ifndef OVERRIDE_32_stat64
459 SC_LTTNG_TRACEPOINT_EVENT(stat64
,
460 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
461 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
462 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 #ifndef OVERRIDE_32_lstat64
466 SC_LTTNG_TRACEPOINT_EVENT(lstat64
,
467 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
468 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_user_string(filename
, filename
)) sc_inout(ctf_integer(struct stat64
*, statbuf
, statbuf
)))
472 #ifndef OVERRIDE_32_fstat64
473 SC_LTTNG_TRACEPOINT_EVENT(fstat64
,
474 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, struct stat64
* statbuf
),
475 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
476 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
)))
479 #ifndef OVERRIDE_32_getgroups
480 SC_LTTNG_TRACEPOINT_EVENT(getgroups
,
481 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
482 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
483 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_out(ctf_integer(gid_t
*, grouplist
, grouplist
)))
486 #ifndef OVERRIDE_32_setgroups
487 SC_LTTNG_TRACEPOINT_EVENT(setgroups
,
488 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
489 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
490 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, gidsetsize
, gidsetsize
)) sc_in(ctf_integer(gid_t
*, grouplist
, grouplist
)))
493 #ifndef OVERRIDE_32_pivot_root
494 SC_LTTNG_TRACEPOINT_EVENT(pivot_root
,
495 TP_PROTO(sc_exit(long ret
,) const char * new_root
, const char * put_old
),
496 TP_ARGS(sc_exit(ret
,) new_root
, put_old
),
497 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
)))
500 #ifndef OVERRIDE_32_removexattr
501 SC_LTTNG_TRACEPOINT_EVENT(removexattr
,
502 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
503 TP_ARGS(sc_exit(ret
,) pathname
, name
),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
507 #ifndef OVERRIDE_32_lremovexattr
508 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr
,
509 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
510 TP_ARGS(sc_exit(ret
,) pathname
, name
),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)))
514 #ifndef OVERRIDE_32_fremovexattr
515 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr
,
516 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
),
517 TP_ARGS(sc_exit(ret
,) fd
, name
),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)))
521 #ifndef OVERRIDE_32_io_setup
522 SC_LTTNG_TRACEPOINT_EVENT(io_setup
,
523 TP_PROTO(sc_exit(long ret
,) unsigned nr_events
, aio_context_t
* ctxp
),
524 TP_ARGS(sc_exit(ret
,) nr_events
, ctxp
),
525 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
)))
528 #ifndef OVERRIDE_32_timer_gettime
529 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime
,
530 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct itimerspec
* setting
),
531 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
532 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
)))
535 #ifndef OVERRIDE_32_clock_settime
536 SC_LTTNG_TRACEPOINT_EVENT(clock_settime
,
537 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, const struct timespec
* tp
),
538 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
539 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
)))
542 #ifndef OVERRIDE_32_clock_gettime
543 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime
,
544 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timespec
* tp
),
545 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
546 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 #ifndef OVERRIDE_32_clock_getres
550 SC_LTTNG_TRACEPOINT_EVENT(clock_getres
,
551 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timespec
* tp
),
552 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
553 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
)))
556 #ifndef OVERRIDE_32_utimes
557 SC_LTTNG_TRACEPOINT_EVENT(utimes
,
558 TP_PROTO(sc_exit(long ret
,) char * filename
, struct timeval
* utimes
),
559 TP_ARGS(sc_exit(ret
,) filename
, utimes
),
560 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(filename
, filename
)) sc_in(ctf_integer(struct timeval
*, utimes
, utimes
)))
563 #ifndef OVERRIDE_32_mq_notify
564 SC_LTTNG_TRACEPOINT_EVENT(mq_notify
,
565 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct sigevent
* u_notification
),
566 TP_ARGS(sc_exit(ret
,) mqdes
, u_notification
),
567 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
)))
570 #ifndef OVERRIDE_32_set_robust_list
571 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list
,
572 TP_PROTO(sc_exit(long ret
,) struct robust_list_head
* head
, size_t len
),
573 TP_ARGS(sc_exit(ret
,) head
, len
),
574 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
)))
577 #ifndef OVERRIDE_32_timerfd_gettime
578 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime
,
579 TP_PROTO(sc_exit(long ret
,) int ufd
, struct itimerspec
* otmr
),
580 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
581 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, ufd
, ufd
)) sc_out(ctf_integer(struct itimerspec
*, otmr
, otmr
)))
584 #ifndef OVERRIDE_32_pipe2
585 SC_LTTNG_TRACEPOINT_EVENT(pipe2
,
586 TP_PROTO(sc_exit(long ret
,) int * fildes
, int flags
),
587 TP_ARGS(sc_exit(ret
,) fildes
, flags
),
588 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_out(ctf_integer(int *, fildes
, fildes
)) sc_in(ctf_integer(int, flags
, flags
)))
591 #ifndef OVERRIDE_32_clock_adjtime
592 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime
,
593 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timex
* utx
),
594 TP_ARGS(sc_exit(ret
,) which_clock
, utx
),
595 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
)))
598 #ifndef OVERRIDE_32_read
599 SC_LTTNG_TRACEPOINT_EVENT(read
,
600 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
),
601 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
602 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
)))
605 #ifndef OVERRIDE_32_write
606 SC_LTTNG_TRACEPOINT_EVENT(write
,
607 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
),
608 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
609 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
)))
612 #ifndef OVERRIDE_32_open
613 SC_LTTNG_TRACEPOINT_EVENT(open
,
614 TP_PROTO(sc_exit(long ret
,) const char * filename
, int flags
, int mode
),
615 TP_ARGS(sc_exit(ret
,) filename
, flags
, mode
),
616 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
)))
619 #ifndef OVERRIDE_32_waitpid
620 SC_LTTNG_TRACEPOINT_EVENT(waitpid
,
621 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int * stat_addr
, int options
),
622 TP_ARGS(sc_exit(ret
,) pid
, stat_addr
, options
),
623 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
)))
626 #ifndef OVERRIDE_32_mknod
627 SC_LTTNG_TRACEPOINT_EVENT(mknod
,
628 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
, unsigned dev
),
629 TP_ARGS(sc_exit(ret
,) filename
, mode
, dev
),
630 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
)))
633 #ifndef OVERRIDE_32_lchown16
634 SC_LTTNG_TRACEPOINT_EVENT(lchown16
,
635 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
636 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
637 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
)))
640 #ifndef OVERRIDE_32_readlink
641 SC_LTTNG_TRACEPOINT_EVENT(readlink
,
642 TP_PROTO(sc_exit(long ret
,) const char * path
, char * buf
, int bufsiz
),
643 TP_ARGS(sc_exit(ret
,) path
, buf
, bufsiz
),
644 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
)))
647 #ifndef OVERRIDE_32_old_readdir
648 SC_LTTNG_TRACEPOINT_EVENT(old_readdir
,
649 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct old_linux_dirent
* dirent
, unsigned int count
),
650 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
651 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
)))
654 #ifndef OVERRIDE_32_syslog
655 SC_LTTNG_TRACEPOINT_EVENT(syslog
,
656 TP_PROTO(sc_exit(long ret
,) int type
, char * buf
, int len
),
657 TP_ARGS(sc_exit(ret
,) type
, buf
, len
),
658 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
)))
661 #ifndef OVERRIDE_32_setitimer
662 SC_LTTNG_TRACEPOINT_EVENT(setitimer
,
663 TP_PROTO(sc_exit(long ret
,) int which
, struct itimerval
* value
, struct itimerval
* ovalue
),
664 TP_ARGS(sc_exit(ret
,) which
, value
, ovalue
),
665 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
)))
668 #ifndef OVERRIDE_32_sigprocmask
669 SC_LTTNG_TRACEPOINT_EVENT(sigprocmask
,
670 TP_PROTO(sc_exit(long ret
,) int how
, old_sigset_t
* nset
, old_sigset_t
* oset
),
671 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
),
672 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
)))
675 #ifndef OVERRIDE_32_init_module
676 SC_LTTNG_TRACEPOINT_EVENT(init_module
,
677 TP_PROTO(sc_exit(long ret
,) void * umod
, unsigned long len
, const char * uargs
),
678 TP_ARGS(sc_exit(ret
,) umod
, len
, uargs
),
679 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
)))
682 #ifndef OVERRIDE_32_getdents
683 SC_LTTNG_TRACEPOINT_EVENT(getdents
,
684 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent
* dirent
, unsigned int count
),
685 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
686 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
)))
689 #ifndef OVERRIDE_32_readv
690 SC_LTTNG_TRACEPOINT_EVENT(readv
,
691 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
692 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
693 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 #ifndef OVERRIDE_32_writev
697 SC_LTTNG_TRACEPOINT_EVENT(writev
,
698 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
699 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
700 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
)))
703 #ifndef OVERRIDE_32_sched_setscheduler
704 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler
,
705 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int policy
, struct sched_param
* param
),
706 TP_ARGS(sc_exit(ret
,) pid
, policy
, param
),
707 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
)))
710 #ifndef OVERRIDE_32_getresuid16
711 SC_LTTNG_TRACEPOINT_EVENT(getresuid16
,
712 TP_PROTO(sc_exit(long ret
,) old_uid_t
* ruid
, old_uid_t
* euid
, old_uid_t
* suid
),
713 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
714 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
)))
717 #ifndef OVERRIDE_32_poll
718 SC_LTTNG_TRACEPOINT_EVENT(poll
,
719 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, long timeout_msecs
),
720 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, timeout_msecs
),
721 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
)))
724 #ifndef OVERRIDE_32_getresgid16
725 SC_LTTNG_TRACEPOINT_EVENT(getresgid16
,
726 TP_PROTO(sc_exit(long ret
,) old_gid_t
* rgid
, old_gid_t
* egid
, old_gid_t
* sgid
),
727 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
728 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
)))
731 #ifndef OVERRIDE_32_rt_sigqueueinfo
732 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo
,
733 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
, siginfo_t
* uinfo
),
734 TP_ARGS(sc_exit(ret
,) pid
, sig
, uinfo
),
735 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
)))
738 #ifndef OVERRIDE_32_chown16
739 SC_LTTNG_TRACEPOINT_EVENT(chown16
,
740 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
741 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
742 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
)))
745 #ifndef OVERRIDE_32_lchown
746 SC_LTTNG_TRACEPOINT_EVENT(lchown
,
747 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
748 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
749 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
)))
752 #ifndef OVERRIDE_32_getresuid
753 SC_LTTNG_TRACEPOINT_EVENT(getresuid
,
754 TP_PROTO(sc_exit(long ret
,) uid_t
* ruid
, uid_t
* euid
, uid_t
* suid
),
755 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
756 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
)))
759 #ifndef OVERRIDE_32_getresgid
760 SC_LTTNG_TRACEPOINT_EVENT(getresgid
,
761 TP_PROTO(sc_exit(long ret
,) gid_t
* rgid
, gid_t
* egid
, gid_t
* sgid
),
762 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
763 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
)))
766 #ifndef OVERRIDE_32_chown
767 SC_LTTNG_TRACEPOINT_EVENT(chown
,
768 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
769 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
770 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
)))
773 #ifndef OVERRIDE_32_mincore
774 SC_LTTNG_TRACEPOINT_EVENT(mincore
,
775 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned char * vec
),
776 TP_ARGS(sc_exit(ret
,) start
, len
, vec
),
777 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
)))
780 #ifndef OVERRIDE_32_getdents64
781 SC_LTTNG_TRACEPOINT_EVENT(getdents64
,
782 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent64
* dirent
, unsigned int count
),
783 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
784 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
)))
787 #ifndef OVERRIDE_32_listxattr
788 SC_LTTNG_TRACEPOINT_EVENT(listxattr
,
789 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
790 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
791 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 #ifndef OVERRIDE_32_llistxattr
795 SC_LTTNG_TRACEPOINT_EVENT(llistxattr
,
796 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
797 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
798 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
)))
801 #ifndef OVERRIDE_32_flistxattr
802 SC_LTTNG_TRACEPOINT_EVENT(flistxattr
,
803 TP_PROTO(sc_exit(long ret
,) int fd
, char * list
, size_t size
),
804 TP_ARGS(sc_exit(ret
,) fd
, list
, size
),
805 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
)))
808 #ifndef OVERRIDE_32_sched_setaffinity
809 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
810 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
811 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
812 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
)))
815 #ifndef OVERRIDE_32_sched_getaffinity
816 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
817 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
818 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
819 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
)))
822 #ifndef OVERRIDE_32_io_submit
823 SC_LTTNG_TRACEPOINT_EVENT(io_submit
,
824 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long nr
, struct iocb
* * iocbpp
),
825 TP_ARGS(sc_exit(ret
,) ctx_id
, nr
, iocbpp
),
826 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
)))
829 #ifndef OVERRIDE_32_io_cancel
830 SC_LTTNG_TRACEPOINT_EVENT(io_cancel
,
831 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, struct iocb
* iocb
, struct io_event
* result
),
832 TP_ARGS(sc_exit(ret
,) ctx_id
, iocb
, result
),
833 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
)))
836 #ifndef OVERRIDE_32_timer_create
837 SC_LTTNG_TRACEPOINT_EVENT(timer_create
,
838 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct sigevent
* timer_event_spec
, timer_t
* created_timer_id
),
839 TP_ARGS(sc_exit(ret
,) which_clock
, timer_event_spec
, created_timer_id
),
840 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
)))
843 #ifndef OVERRIDE_32_statfs64
844 SC_LTTNG_TRACEPOINT_EVENT(statfs64
,
845 TP_PROTO(sc_exit(long ret
,) const char * pathname
, size_t sz
, struct statfs64
* buf
),
846 TP_ARGS(sc_exit(ret
,) pathname
, sz
, buf
),
847 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
)))
850 #ifndef OVERRIDE_32_fstatfs64
851 SC_LTTNG_TRACEPOINT_EVENT(fstatfs64
,
852 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, size_t sz
, struct statfs64
* buf
),
853 TP_ARGS(sc_exit(ret
,) fd
, sz
, buf
),
854 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
)))
857 #ifndef OVERRIDE_32_mq_getsetattr
858 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr
,
859 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct mq_attr
* u_mqstat
, struct mq_attr
* u_omqstat
),
860 TP_ARGS(sc_exit(ret
,) mqdes
, u_mqstat
, u_omqstat
),
861 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
)))
864 #ifndef OVERRIDE_32_inotify_add_watch
865 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch
,
866 TP_PROTO(sc_exit(long ret
,) int fd
, const char * pathname
, u32 mask
),
867 TP_ARGS(sc_exit(ret
,) fd
, pathname
, mask
),
868 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
)))
871 #ifndef OVERRIDE_32_mkdirat
872 SC_LTTNG_TRACEPOINT_EVENT(mkdirat
,
873 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int mode
),
874 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, mode
),
875 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
)))
878 #ifndef OVERRIDE_32_futimesat
879 SC_LTTNG_TRACEPOINT_EVENT(futimesat
,
880 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct timeval
* utimes
),
881 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
),
882 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
)))
885 #ifndef OVERRIDE_32_unlinkat
886 SC_LTTNG_TRACEPOINT_EVENT(unlinkat
,
887 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int flag
),
888 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, flag
),
889 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
)))
892 #ifndef OVERRIDE_32_symlinkat
893 SC_LTTNG_TRACEPOINT_EVENT(symlinkat
,
894 TP_PROTO(sc_exit(long ret
,) const char * oldname
, int newdfd
, const char * newname
),
895 TP_ARGS(sc_exit(ret
,) oldname
, newdfd
, newname
),
896 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
)))
899 #ifndef OVERRIDE_32_fchmodat
900 SC_LTTNG_TRACEPOINT_EVENT(fchmodat
,
901 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, mode_t mode
),
902 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
903 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
)))
906 #ifndef OVERRIDE_32_faccessat
907 SC_LTTNG_TRACEPOINT_EVENT(faccessat
,
908 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
),
909 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
910 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
)))
913 #ifndef OVERRIDE_32_get_robust_list
914 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list
,
915 TP_PROTO(sc_exit(long ret
,) int pid
, struct robust_list_head
* * head_ptr
, size_t * len_ptr
),
916 TP_ARGS(sc_exit(ret
,) pid
, head_ptr
, len_ptr
),
917 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
)))
920 #ifndef OVERRIDE_32_getcpu
921 SC_LTTNG_TRACEPOINT_EVENT(getcpu
,
922 TP_PROTO(sc_exit(long ret
,) unsigned * cpup
, unsigned * nodep
, struct getcpu_cache
* unused
),
923 TP_ARGS(sc_exit(ret
,) cpup
, nodep
, unused
),
924 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
)))
927 #ifndef OVERRIDE_32_signalfd
928 SC_LTTNG_TRACEPOINT_EVENT(signalfd
,
929 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
),
930 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
),
931 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
)))
934 #ifndef OVERRIDE_32_reboot
935 SC_LTTNG_TRACEPOINT_EVENT(reboot
,
936 TP_PROTO(sc_exit(long ret
,) int magic1
, int magic2
, unsigned int cmd
, void * arg
),
937 TP_ARGS(sc_exit(ret
,) magic1
, magic2
, cmd
, arg
),
938 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
)))
941 #ifndef OVERRIDE_32_wait4
942 SC_LTTNG_TRACEPOINT_EVENT(wait4
,
943 TP_PROTO(sc_exit(long ret
,) pid_t upid
, int * stat_addr
, int options
, struct rusage
* ru
),
944 TP_ARGS(sc_exit(ret
,) upid
, stat_addr
, options
, ru
),
945 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
)))
948 #ifndef OVERRIDE_32_quotactl
949 SC_LTTNG_TRACEPOINT_EVENT(quotactl
,
950 TP_PROTO(sc_exit(long ret
,) unsigned int cmd
, const char * special
, qid_t id
, void * addr
),
951 TP_ARGS(sc_exit(ret
,) cmd
, special
, id
, addr
),
952 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
)))
955 #ifndef OVERRIDE_32_rt_sigaction
956 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction
,
957 TP_PROTO(sc_exit(long ret
,) int sig
, const struct sigaction
* act
, struct sigaction
* oact
, size_t sigsetsize
),
958 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
, sigsetsize
),
959 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
)))
962 #ifndef OVERRIDE_32_rt_sigprocmask
963 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask
,
964 TP_PROTO(sc_exit(long ret
,) int how
, sigset_t
* nset
, sigset_t
* oset
, size_t sigsetsize
),
965 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
, sigsetsize
),
966 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
)))
969 #ifndef OVERRIDE_32_rt_sigtimedwait
970 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait
,
971 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct timespec
* uts
, size_t sigsetsize
),
972 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
973 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
)))
976 #ifndef OVERRIDE_32_sendfile
977 SC_LTTNG_TRACEPOINT_EVENT(sendfile
,
978 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, off_t
* offset
, size_t count
),
979 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
980 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(int, out_fd
, out_fd
)) sc_inout(ctf_integer(int, in_fd
, in_fd
)) sc_inout(ctf_integer(off_t
*, offset
, offset
)) sc_inout(ctf_integer(size_t, count
, count
)))
983 #ifndef OVERRIDE_32_getxattr
984 SC_LTTNG_TRACEPOINT_EVENT(getxattr
,
985 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
986 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
987 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 #ifndef OVERRIDE_32_lgetxattr
991 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr
,
992 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
993 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
994 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_out(ctf_integer(void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)))
997 #ifndef OVERRIDE_32_fgetxattr
998 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr
,
999 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, void * value
, size_t size
),
1000 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
),
1001 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_user_string(name
, name
)) sc_out(ctf_integer(void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)))
1004 #ifndef OVERRIDE_32_sendfile64
1005 SC_LTTNG_TRACEPOINT_EVENT(sendfile64
,
1006 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, loff_t
* offset
, size_t count
),
1007 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
1008 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, out_fd
, out_fd
)) sc_in(ctf_integer(int, in_fd
, in_fd
)) sc_inout(ctf_integer(loff_t
*, offset
, offset
)) sc_in(ctf_integer(size_t, count
, count
)))
1011 #ifndef OVERRIDE_32_epoll_ctl
1012 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl
,
1013 TP_PROTO(sc_exit(long ret
,) int epfd
, int op
, int fd
, struct epoll_event
* event
),
1014 TP_ARGS(sc_exit(ret
,) epfd
, op
, fd
, event
),
1015 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, epfd
, epfd
)) sc_in(ctf_integer(int, op
, op
)) sc_in(ctf_integer(int, fd
, fd
)) sc_in(ctf_integer(struct epoll_event
*, event
, event
)))
1018 #ifndef OVERRIDE_32_epoll_wait
1019 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait
,
1020 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
),
1021 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
),
1022 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, epfd
, epfd
)) sc_out(ctf_integer(struct epoll_event
*, events
, events
)) sc_in(ctf_integer(int, maxevents
, maxevents
)) sc_in(ctf_integer(int, timeout
, timeout
)))
1025 #ifndef OVERRIDE_32_timer_settime
1026 SC_LTTNG_TRACEPOINT_EVENT(timer_settime
,
1027 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, const struct itimerspec
* new_setting
, struct itimerspec
* old_setting
),
1028 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new_setting
, old_setting
),
1029 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(timer_t
, timer_id
, timer_id
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(const struct itimerspec
*, new_setting
, new_setting
)) sc_out(ctf_integer(struct itimerspec
*, old_setting
, old_setting
)))
1032 #ifndef OVERRIDE_32_clock_nanosleep
1033 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep
,
1034 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, int flags
, const struct timespec
* rqtp
, struct timespec
* rmtp
),
1035 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1036 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(const clockid_t
, which_clock
, which_clock
)) sc_in(ctf_integer(int, flags
, flags
)) sc_in(ctf_integer(const struct timespec
*, rqtp
, rqtp
)) sc_out(ctf_integer(struct timespec
*, rmtp
, rmtp
)))
1039 #ifndef OVERRIDE_32_mq_open
1040 SC_LTTNG_TRACEPOINT_EVENT(mq_open
,
1041 TP_PROTO(sc_exit(long ret
,) const char * u_name
, int oflag
, mode_t mode
, struct mq_attr
* u_attr
),
1042 TP_ARGS(sc_exit(ret
,) u_name
, oflag
, mode
, u_attr
),
1043 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
)))
1046 #ifndef OVERRIDE_32_kexec_load
1047 SC_LTTNG_TRACEPOINT_EVENT(kexec_load
,
1048 TP_PROTO(sc_exit(long ret
,) unsigned long entry
, unsigned long nr_segments
, struct kexec_segment
* segments
, unsigned long flags
),
1049 TP_ARGS(sc_exit(ret
,) entry
, nr_segments
, segments
, flags
),
1050 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
)))
1053 #ifndef OVERRIDE_32_request_key
1054 SC_LTTNG_TRACEPOINT_EVENT(request_key
,
1055 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const char * _callout_info
, key_serial_t destringid
),
1056 TP_ARGS(sc_exit(ret
,) _type
, _description
, _callout_info
, destringid
),
1057 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
)))
1060 #ifndef OVERRIDE_32_openat
1061 SC_LTTNG_TRACEPOINT_EVENT(openat
,
1062 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int flags
, int mode
),
1063 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mode
),
1064 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
)))
1067 #ifndef OVERRIDE_32_mknodat
1068 SC_LTTNG_TRACEPOINT_EVENT(mknodat
,
1069 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
, unsigned dev
),
1070 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, dev
),
1071 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
)))
1074 #ifndef OVERRIDE_32_fstatat64
1075 SC_LTTNG_TRACEPOINT_EVENT(fstatat64
,
1076 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct stat64
* statbuf
, int flag
),
1077 TP_ARGS(sc_exit(ret
,) dfd
, filename
, statbuf
, flag
),
1078 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
)))
1081 #ifndef OVERRIDE_32_renameat
1082 SC_LTTNG_TRACEPOINT_EVENT(renameat
,
1083 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
),
1084 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
),
1085 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
)))
1088 #ifndef OVERRIDE_32_readlinkat
1089 SC_LTTNG_TRACEPOINT_EVENT(readlinkat
,
1090 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, char * buf
, int bufsiz
),
1091 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, buf
, bufsiz
),
1092 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
)))
1095 #ifndef OVERRIDE_32_vmsplice
1096 SC_LTTNG_TRACEPOINT_EVENT(vmsplice
,
1097 TP_PROTO(sc_exit(long ret
,) int fd
, const struct iovec
* iov
, unsigned long nr_segs
, unsigned int flags
),
1098 TP_ARGS(sc_exit(ret
,) fd
, iov
, nr_segs
, flags
),
1099 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
)))
1102 #ifndef OVERRIDE_32_utimensat
1103 SC_LTTNG_TRACEPOINT_EVENT(utimensat
,
1104 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct timespec
* utimes
, int flags
),
1105 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
, flags
),
1106 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
)))
1109 #ifndef OVERRIDE_32_timerfd_settime
1110 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime
,
1111 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct itimerspec
* utmr
, struct itimerspec
* otmr
),
1112 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1113 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
)))
1116 #ifndef OVERRIDE_32_signalfd4
1117 SC_LTTNG_TRACEPOINT_EVENT(signalfd4
,
1118 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
, int flags
),
1119 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
, flags
),
1120 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
)))
1123 #ifndef OVERRIDE_32_rt_tgsigqueueinfo
1124 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo
,
1125 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
, siginfo_t
* uinfo
),
1126 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
, uinfo
),
1127 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
)))
1130 #ifndef OVERRIDE_32_prlimit64
1131 SC_LTTNG_TRACEPOINT_EVENT(prlimit64
,
1132 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int resource
, const struct rlimit64
* new_rlim
, struct rlimit64
* old_rlim
),
1133 TP_ARGS(sc_exit(ret
,) pid
, resource
, new_rlim
, old_rlim
),
1134 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
)))
1137 #ifndef OVERRIDE_32_sendmmsg
1138 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg
,
1139 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
),
1140 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
),
1141 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
)))
1144 #ifndef OVERRIDE_32_mount
1145 SC_LTTNG_TRACEPOINT_EVENT(mount
,
1146 TP_PROTO(sc_exit(long ret
,) char * dev_name
, char * dir_name
, char * type
, unsigned long flags
, void * data
),
1147 TP_ARGS(sc_exit(ret
,) dev_name
, dir_name
, type
, flags
, data
),
1148 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(dev_name
, dev_name
)) sc_in(ctf_user_string(dir_name
, dir_name
)) sc_in(ctf_user_string(type
, type
)) sc_in(ctf_integer(unsigned long, flags
, flags
)) sc_in(ctf_integer(void *, data
, data
)))
1151 #ifndef OVERRIDE_32_llseek
1152 SC_LTTNG_TRACEPOINT_EVENT(llseek
,
1153 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long offset_high
, unsigned long offset_low
, loff_t
* result
, unsigned int origin
),
1154 TP_ARGS(sc_exit(ret
,) fd
, offset_high
, offset_low
, result
, origin
),
1155 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, fd
, fd
)) sc_inout(ctf_integer(unsigned long, offset_high
, offset_high
)) sc_inout(ctf_integer(unsigned long, offset_low
, offset_low
)) sc_inout(ctf_integer(loff_t
*, result
, result
)) sc_inout(ctf_integer(unsigned int, origin
, origin
)))
1158 #ifndef OVERRIDE_32_select
1159 SC_LTTNG_TRACEPOINT_EVENT(select
,
1160 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct timeval
* tvp
),
1161 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tvp
),
1162 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, n
, n
)) sc_inout(ctf_integer(fd_set
*, inp
, inp
)) sc_inout(ctf_integer(fd_set
*, outp
, outp
)) sc_inout(ctf_integer(fd_set
*, exp
, exp
)) sc_inout(ctf_integer(struct timeval
*, tvp
, tvp
)))
1165 #ifndef OVERRIDE_32_setxattr
1166 SC_LTTNG_TRACEPOINT_EVENT(setxattr
,
1167 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1168 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1169 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 #ifndef OVERRIDE_32_lsetxattr
1173 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr
,
1174 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1175 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1176 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_user_string(pathname
, pathname
)) sc_in(ctf_user_string(name
, name
)) sc_in(ctf_integer(const void *, value
, value
)) sc_in(ctf_integer(size_t, size
, size
)) sc_in(ctf_integer(int, flags
, flags
)))
1179 #ifndef OVERRIDE_32_fsetxattr
1180 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr
,
1181 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, const void * value
, size_t size
, int flags
),
1182 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
, flags
),
1183 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
)))
1186 #ifndef OVERRIDE_32_io_getevents
1187 SC_LTTNG_TRACEPOINT_EVENT(io_getevents
,
1188 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct timespec
* timeout
),
1189 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
),
1190 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
)))
1193 #ifndef OVERRIDE_32_mq_timedsend
1194 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend
,
1195 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
),
1196 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1197 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
)))
1200 #ifndef OVERRIDE_32_mq_timedreceive
1201 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive
,
1202 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
),
1203 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1204 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
)))
1207 #ifndef OVERRIDE_32_waitid
1208 SC_LTTNG_TRACEPOINT_EVENT(waitid
,
1209 TP_PROTO(sc_exit(long ret
,) int which
, pid_t upid
, struct siginfo
* infop
, int options
, struct rusage
* ru
),
1210 TP_ARGS(sc_exit(ret
,) which
, upid
, infop
, options
, ru
),
1211 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(int, which
, which
)) sc_in(ctf_integer(pid_t
, upid
, upid
)) sc_out(ctf_integer(struct siginfo
*, infop
, infop
)) sc_in(ctf_integer(int, options
, options
)) sc_out(ctf_integer(struct rusage
*, ru
, ru
)))
1214 #ifndef OVERRIDE_32_add_key
1215 SC_LTTNG_TRACEPOINT_EVENT(add_key
,
1216 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const void * _payload
, size_t plen
, key_serial_t ringid
),
1217 TP_ARGS(sc_exit(ret
,) _type
, _description
, _payload
, plen
, ringid
),
1218 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
)))
1221 #ifndef OVERRIDE_32_fchownat
1222 SC_LTTNG_TRACEPOINT_EVENT(fchownat
,
1223 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, uid_t user
, gid_t group
, int flag
),
1224 TP_ARGS(sc_exit(ret
,) dfd
, filename
, user
, group
, flag
),
1225 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
)))
1228 #ifndef OVERRIDE_32_linkat
1229 SC_LTTNG_TRACEPOINT_EVENT(linkat
,
1230 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, int flags
),
1231 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1232 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
)))
1235 #ifndef OVERRIDE_32_ppoll
1236 SC_LTTNG_TRACEPOINT_EVENT(ppoll
,
1237 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct timespec
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1238 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1239 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
)))
1242 #ifndef OVERRIDE_32_preadv
1243 SC_LTTNG_TRACEPOINT_EVENT(preadv
,
1244 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1245 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1246 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(unsigned long, fd
, fd
)) sc_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
)))
1249 #ifndef OVERRIDE_32_pwritev
1250 SC_LTTNG_TRACEPOINT_EVENT(pwritev
,
1251 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1252 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1253 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
)))
1256 #ifndef OVERRIDE_32_perf_event_open
1257 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open
,
1258 TP_PROTO(sc_exit(long ret
,) struct perf_event_attr
* attr_uptr
, pid_t pid
, int cpu
, int group_fd
, unsigned long flags
),
1259 TP_ARGS(sc_exit(ret
,) attr_uptr
, pid
, cpu
, group_fd
, flags
),
1260 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
)))
1263 #ifndef OVERRIDE_32_recvmmsg
1264 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg
,
1265 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct timespec
* timeout
),
1266 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1267 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
)))
1270 #ifndef OVERRIDE_32_ipc
1271 SC_LTTNG_TRACEPOINT_EVENT(ipc
,
1272 TP_PROTO(sc_exit(long ret
,) unsigned int call
, int first
, unsigned long second
, unsigned long third
, void * ptr
, long fifth
),
1273 TP_ARGS(sc_exit(ret
,) call
, first
, second
, third
, ptr
, fifth
),
1274 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_inout(ctf_integer(unsigned int, call
, call
)) sc_inout(ctf_integer(int, first
, first
)) sc_inout(ctf_integer(unsigned long, second
, second
)) sc_inout(ctf_integer(unsigned long, third
, third
)) sc_inout(ctf_integer(void *, ptr
, ptr
)) sc_inout(ctf_integer(long, fifth
, fifth
)))
1277 #ifndef OVERRIDE_32_futex
1278 SC_LTTNG_TRACEPOINT_EVENT(futex
,
1279 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, struct timespec
* utime
, u32
* uaddr2
, u32 val3
),
1280 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1281 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
)))
1284 #ifndef OVERRIDE_32_pselect6
1285 SC_LTTNG_TRACEPOINT_EVENT(pselect6
,
1286 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct timespec
* tsp
, void * sig
),
1287 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1288 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
)))
1291 #ifndef OVERRIDE_32_splice
1292 SC_LTTNG_TRACEPOINT_EVENT(splice
,
1293 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
),
1294 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1295 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
)))
1298 #ifndef OVERRIDE_32_epoll_pwait
1299 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait
,
1300 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1301 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1302 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
)))
1306 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1308 /* This part must be outside protection */
1309 #include <probes/define_trace.h>
1311 #else /* CREATE_SYSCALL_TABLE */
1313 #include "x86-32-syscalls_pointers_override.h"
1314 #include "syscalls_pointers_override.h"
1316 #ifndef OVERRIDE_TABLE_32_read
1317 TRACE_SYSCALL_TABLE(read
, read
, 3, 3)
1319 #ifndef OVERRIDE_TABLE_32_write
1320 TRACE_SYSCALL_TABLE(write
, write
, 4, 3)
1322 #ifndef OVERRIDE_TABLE_32_open
1323 TRACE_SYSCALL_TABLE(open
, open
, 5, 3)
1325 #ifndef OVERRIDE_TABLE_32_waitpid
1326 TRACE_SYSCALL_TABLE(waitpid
, waitpid
, 7, 3)
1328 #ifndef OVERRIDE_TABLE_32_creat
1329 TRACE_SYSCALL_TABLE(creat
, creat
, 8, 2)
1331 #ifndef OVERRIDE_TABLE_32_link
1332 TRACE_SYSCALL_TABLE(link
, link
, 9, 2)
1334 #ifndef OVERRIDE_TABLE_32_unlink
1335 TRACE_SYSCALL_TABLE(unlink
, unlink
, 10, 1)
1337 #ifndef OVERRIDE_TABLE_32_chdir
1338 TRACE_SYSCALL_TABLE(chdir
, chdir
, 12, 1)
1340 #ifndef OVERRIDE_TABLE_32_time
1341 TRACE_SYSCALL_TABLE(time
, time
, 13, 1)
1343 #ifndef OVERRIDE_TABLE_32_mknod
1344 TRACE_SYSCALL_TABLE(mknod
, mknod
, 14, 3)
1346 #ifndef OVERRIDE_TABLE_32_chmod
1347 TRACE_SYSCALL_TABLE(chmod
, chmod
, 15, 2)
1349 #ifndef OVERRIDE_TABLE_32_lchown16
1350 TRACE_SYSCALL_TABLE(lchown16
, lchown16
, 16, 3)
1352 #ifndef OVERRIDE_TABLE_32_stat
1353 TRACE_SYSCALL_TABLE(stat
, stat
, 18, 2)
1355 #ifndef OVERRIDE_TABLE_32_mount
1356 TRACE_SYSCALL_TABLE(mount
, mount
, 21, 5)
1358 #ifndef OVERRIDE_TABLE_32_oldumount
1359 TRACE_SYSCALL_TABLE(oldumount
, oldumount
, 22, 1)
1361 #ifndef OVERRIDE_TABLE_32_stime
1362 TRACE_SYSCALL_TABLE(stime
, stime
, 25, 1)
1364 #ifndef OVERRIDE_TABLE_32_fstat
1365 TRACE_SYSCALL_TABLE(fstat
, fstat
, 28, 2)
1367 #ifndef OVERRIDE_TABLE_32_utime
1368 TRACE_SYSCALL_TABLE(utime
, utime
, 30, 2)
1370 #ifndef OVERRIDE_TABLE_32_access
1371 TRACE_SYSCALL_TABLE(access
, access
, 33, 2)
1373 #ifndef OVERRIDE_TABLE_32_rename
1374 TRACE_SYSCALL_TABLE(rename
, rename
, 38, 2)
1376 #ifndef OVERRIDE_TABLE_32_mkdir
1377 TRACE_SYSCALL_TABLE(mkdir
, mkdir
, 39, 2)
1379 #ifndef OVERRIDE_TABLE_32_rmdir
1380 TRACE_SYSCALL_TABLE(rmdir
, rmdir
, 40, 1)
1382 #ifndef OVERRIDE_TABLE_32_pipe
1383 TRACE_SYSCALL_TABLE(pipe
, pipe
, 42, 1)
1385 #ifndef OVERRIDE_TABLE_32_times
1386 TRACE_SYSCALL_TABLE(times
, times
, 43, 1)
1388 #ifndef OVERRIDE_TABLE_32_acct
1389 TRACE_SYSCALL_TABLE(acct
, acct
, 51, 1)
1391 #ifndef OVERRIDE_TABLE_32_umount
1392 TRACE_SYSCALL_TABLE(umount
, umount
, 52, 2)
1394 #ifndef OVERRIDE_TABLE_32_olduname
1395 TRACE_SYSCALL_TABLE(olduname
, olduname
, 59, 1)
1397 #ifndef OVERRIDE_TABLE_32_chroot
1398 TRACE_SYSCALL_TABLE(chroot
, chroot
, 61, 1)
1400 #ifndef OVERRIDE_TABLE_32_ustat
1401 TRACE_SYSCALL_TABLE(ustat
, ustat
, 62, 2)
1403 #ifndef OVERRIDE_TABLE_32_sigpending
1404 TRACE_SYSCALL_TABLE(sigpending
, sigpending
, 73, 1)
1406 #ifndef OVERRIDE_TABLE_32_sethostname
1407 TRACE_SYSCALL_TABLE(sethostname
, sethostname
, 74, 2)
1409 #ifndef OVERRIDE_TABLE_32_setrlimit
1410 TRACE_SYSCALL_TABLE(setrlimit
, setrlimit
, 75, 2)
1412 #ifndef OVERRIDE_TABLE_32_old_getrlimit
1413 TRACE_SYSCALL_TABLE(old_getrlimit
, old_getrlimit
, 76, 2)
1415 #ifndef OVERRIDE_TABLE_32_getrusage
1416 TRACE_SYSCALL_TABLE(getrusage
, getrusage
, 77, 2)
1418 #ifndef OVERRIDE_TABLE_32_gettimeofday
1419 TRACE_SYSCALL_TABLE(gettimeofday
, gettimeofday
, 78, 2)
1421 #ifndef OVERRIDE_TABLE_32_settimeofday
1422 TRACE_SYSCALL_TABLE(settimeofday
, settimeofday
, 79, 2)
1424 #ifndef OVERRIDE_TABLE_32_getgroups16
1425 TRACE_SYSCALL_TABLE(getgroups16
, getgroups16
, 80, 2)
1427 #ifndef OVERRIDE_TABLE_32_setgroups16
1428 TRACE_SYSCALL_TABLE(setgroups16
, setgroups16
, 81, 2)
1430 #ifndef OVERRIDE_TABLE_32_old_select
1431 TRACE_SYSCALL_TABLE(old_select
, old_select
, 82, 1)
1433 #ifndef OVERRIDE_TABLE_32_symlink
1434 TRACE_SYSCALL_TABLE(symlink
, symlink
, 83, 2)
1436 #ifndef OVERRIDE_TABLE_32_lstat
1437 TRACE_SYSCALL_TABLE(lstat
, lstat
, 84, 2)
1439 #ifndef OVERRIDE_TABLE_32_readlink
1440 TRACE_SYSCALL_TABLE(readlink
, readlink
, 85, 3)
1442 #ifndef OVERRIDE_TABLE_32_uselib
1443 TRACE_SYSCALL_TABLE(uselib
, uselib
, 86, 1)
1445 #ifndef OVERRIDE_TABLE_32_swapon
1446 TRACE_SYSCALL_TABLE(swapon
, swapon
, 87, 2)
1448 #ifndef OVERRIDE_TABLE_32_reboot
1449 TRACE_SYSCALL_TABLE(reboot
, reboot
, 88, 4)
1451 #ifndef OVERRIDE_TABLE_32_old_readdir
1452 TRACE_SYSCALL_TABLE(old_readdir
, old_readdir
, 89, 3)
1454 #ifndef OVERRIDE_TABLE_32_old_mmap
1455 TRACE_SYSCALL_TABLE(old_mmap
, old_mmap
, 90, 1)
1457 #ifndef OVERRIDE_TABLE_32_truncate
1458 TRACE_SYSCALL_TABLE(truncate
, truncate
, 92, 2)
1460 #ifndef OVERRIDE_TABLE_32_statfs
1461 TRACE_SYSCALL_TABLE(statfs
, statfs
, 99, 2)
1463 #ifndef OVERRIDE_TABLE_32_fstatfs
1464 TRACE_SYSCALL_TABLE(fstatfs
, fstatfs
, 100, 2)
1466 #ifndef OVERRIDE_TABLE_32_socketcall
1467 TRACE_SYSCALL_TABLE(socketcall
, socketcall
, 102, 2)
1469 #ifndef OVERRIDE_TABLE_32_syslog
1470 TRACE_SYSCALL_TABLE(syslog
, syslog
, 103, 3)
1472 #ifndef OVERRIDE_TABLE_32_setitimer
1473 TRACE_SYSCALL_TABLE(setitimer
, setitimer
, 104, 3)
1475 #ifndef OVERRIDE_TABLE_32_getitimer
1476 TRACE_SYSCALL_TABLE(getitimer
, getitimer
, 105, 2)
1478 #ifndef OVERRIDE_TABLE_32_newstat
1479 TRACE_SYSCALL_TABLE(newstat
, newstat
, 106, 2)
1481 #ifndef OVERRIDE_TABLE_32_newlstat
1482 TRACE_SYSCALL_TABLE(newlstat
, newlstat
, 107, 2)
1484 #ifndef OVERRIDE_TABLE_32_newfstat
1485 TRACE_SYSCALL_TABLE(newfstat
, newfstat
, 108, 2)
1487 #ifndef OVERRIDE_TABLE_32_uname
1488 TRACE_SYSCALL_TABLE(uname
, uname
, 109, 1)
1490 #ifndef OVERRIDE_TABLE_32_wait4
1491 TRACE_SYSCALL_TABLE(wait4
, wait4
, 114, 4)
1493 #ifndef OVERRIDE_TABLE_32_swapoff
1494 TRACE_SYSCALL_TABLE(swapoff
, swapoff
, 115, 1)
1496 #ifndef OVERRIDE_TABLE_32_sysinfo
1497 TRACE_SYSCALL_TABLE(sysinfo
, sysinfo
, 116, 1)
1499 #ifndef OVERRIDE_TABLE_32_ipc
1500 TRACE_SYSCALL_TABLE(ipc
, ipc
, 117, 6)
1502 #ifndef OVERRIDE_TABLE_32_setdomainname
1503 TRACE_SYSCALL_TABLE(setdomainname
, setdomainname
, 121, 2)
1505 #ifndef OVERRIDE_TABLE_32_newuname
1506 TRACE_SYSCALL_TABLE(newuname
, newuname
, 122, 1)
1508 #ifndef OVERRIDE_TABLE_32_adjtimex
1509 TRACE_SYSCALL_TABLE(adjtimex
, adjtimex
, 124, 1)
1511 #ifndef OVERRIDE_TABLE_32_sigprocmask
1512 TRACE_SYSCALL_TABLE(sigprocmask
, sigprocmask
, 126, 3)
1514 #ifndef OVERRIDE_TABLE_32_init_module
1515 TRACE_SYSCALL_TABLE(init_module
, init_module
, 128, 3)
1517 #ifndef OVERRIDE_TABLE_32_delete_module
1518 TRACE_SYSCALL_TABLE(delete_module
, delete_module
, 129, 2)
1520 #ifndef OVERRIDE_TABLE_32_quotactl
1521 TRACE_SYSCALL_TABLE(quotactl
, quotactl
, 131, 4)
1523 #ifndef OVERRIDE_TABLE_32_llseek
1524 TRACE_SYSCALL_TABLE(llseek
, llseek
, 140, 5)
1526 #ifndef OVERRIDE_TABLE_32_getdents
1527 TRACE_SYSCALL_TABLE(getdents
, getdents
, 141, 3)
1529 #ifndef OVERRIDE_TABLE_32_select
1530 TRACE_SYSCALL_TABLE(select
, select
, 142, 5)
1532 #ifndef OVERRIDE_TABLE_32_readv
1533 TRACE_SYSCALL_TABLE(readv
, readv
, 145, 3)
1535 #ifndef OVERRIDE_TABLE_32_writev
1536 TRACE_SYSCALL_TABLE(writev
, writev
, 146, 3)
1538 #ifndef OVERRIDE_TABLE_32_sysctl
1539 TRACE_SYSCALL_TABLE(sysctl
, sysctl
, 149, 1)
1541 #ifndef OVERRIDE_TABLE_32_sched_setparam
1542 TRACE_SYSCALL_TABLE(sched_setparam
, sched_setparam
, 154, 2)
1544 #ifndef OVERRIDE_TABLE_32_sched_getparam
1545 TRACE_SYSCALL_TABLE(sched_getparam
, sched_getparam
, 155, 2)
1547 #ifndef OVERRIDE_TABLE_32_sched_setscheduler
1548 TRACE_SYSCALL_TABLE(sched_setscheduler
, sched_setscheduler
, 156, 3)
1550 #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
1551 TRACE_SYSCALL_TABLE(sched_rr_get_interval
, sched_rr_get_interval
, 161, 2)
1553 #ifndef OVERRIDE_TABLE_32_nanosleep
1554 TRACE_SYSCALL_TABLE(nanosleep
, nanosleep
, 162, 2)
1556 #ifndef OVERRIDE_TABLE_32_getresuid16
1557 TRACE_SYSCALL_TABLE(getresuid16
, getresuid16
, 165, 3)
1559 #ifndef OVERRIDE_TABLE_32_poll
1560 TRACE_SYSCALL_TABLE(poll
, poll
, 168, 3)
1562 #ifndef OVERRIDE_TABLE_32_getresgid16
1563 TRACE_SYSCALL_TABLE(getresgid16
, getresgid16
, 171, 3)
1565 #ifndef OVERRIDE_TABLE_32_rt_sigaction
1566 TRACE_SYSCALL_TABLE(rt_sigaction
, rt_sigaction
, 174, 4)
1568 #ifndef OVERRIDE_TABLE_32_rt_sigprocmask
1569 TRACE_SYSCALL_TABLE(rt_sigprocmask
, rt_sigprocmask
, 175, 4)
1571 #ifndef OVERRIDE_TABLE_32_rt_sigpending
1572 TRACE_SYSCALL_TABLE(rt_sigpending
, rt_sigpending
, 176, 2)
1574 #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
1575 TRACE_SYSCALL_TABLE(rt_sigtimedwait
, rt_sigtimedwait
, 177, 4)
1577 #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
1578 TRACE_SYSCALL_TABLE(rt_sigqueueinfo
, rt_sigqueueinfo
, 178, 3)
1580 #ifndef OVERRIDE_TABLE_32_rt_sigsuspend
1581 TRACE_SYSCALL_TABLE(rt_sigsuspend
, rt_sigsuspend
, 179, 2)
1583 #ifndef OVERRIDE_TABLE_32_chown16
1584 TRACE_SYSCALL_TABLE(chown16
, chown16
, 182, 3)
1586 #ifndef OVERRIDE_TABLE_32_getcwd
1587 TRACE_SYSCALL_TABLE(getcwd
, getcwd
, 183, 2)
1589 #ifndef OVERRIDE_TABLE_32_sendfile
1590 TRACE_SYSCALL_TABLE(sendfile
, sendfile
, 187, 4)
1592 #ifndef OVERRIDE_TABLE_32_getrlimit
1593 TRACE_SYSCALL_TABLE(getrlimit
, getrlimit
, 191, 2)
1595 #ifndef OVERRIDE_TABLE_32_stat64
1596 TRACE_SYSCALL_TABLE(stat64
, stat64
, 195, 2)
1598 #ifndef OVERRIDE_TABLE_32_lstat64
1599 TRACE_SYSCALL_TABLE(lstat64
, lstat64
, 196, 2)
1601 #ifndef OVERRIDE_TABLE_32_fstat64
1602 TRACE_SYSCALL_TABLE(fstat64
, fstat64
, 197, 2)
1604 #ifndef OVERRIDE_TABLE_32_lchown
1605 TRACE_SYSCALL_TABLE(lchown
, lchown
, 198, 3)
1607 #ifndef OVERRIDE_TABLE_32_getgroups
1608 TRACE_SYSCALL_TABLE(getgroups
, getgroups
, 205, 2)
1610 #ifndef OVERRIDE_TABLE_32_setgroups
1611 TRACE_SYSCALL_TABLE(setgroups
, setgroups
, 206, 2)
1613 #ifndef OVERRIDE_TABLE_32_getresuid
1614 TRACE_SYSCALL_TABLE(getresuid
, getresuid
, 209, 3)
1616 #ifndef OVERRIDE_TABLE_32_getresgid
1617 TRACE_SYSCALL_TABLE(getresgid
, getresgid
, 211, 3)
1619 #ifndef OVERRIDE_TABLE_32_chown
1620 TRACE_SYSCALL_TABLE(chown
, chown
, 212, 3)
1622 #ifndef OVERRIDE_TABLE_32_pivot_root
1623 TRACE_SYSCALL_TABLE(pivot_root
, pivot_root
, 217, 2)
1625 #ifndef OVERRIDE_TABLE_32_mincore
1626 TRACE_SYSCALL_TABLE(mincore
, mincore
, 218, 3)
1628 #ifndef OVERRIDE_TABLE_32_getdents64
1629 TRACE_SYSCALL_TABLE(getdents64
, getdents64
, 220, 3)
1631 #ifndef OVERRIDE_TABLE_32_setxattr
1632 TRACE_SYSCALL_TABLE(setxattr
, setxattr
, 226, 5)
1634 #ifndef OVERRIDE_TABLE_32_lsetxattr
1635 TRACE_SYSCALL_TABLE(lsetxattr
, lsetxattr
, 227, 5)
1637 #ifndef OVERRIDE_TABLE_32_fsetxattr
1638 TRACE_SYSCALL_TABLE(fsetxattr
, fsetxattr
, 228, 5)
1640 #ifndef OVERRIDE_TABLE_32_getxattr
1641 TRACE_SYSCALL_TABLE(getxattr
, getxattr
, 229, 4)
1643 #ifndef OVERRIDE_TABLE_32_lgetxattr
1644 TRACE_SYSCALL_TABLE(lgetxattr
, lgetxattr
, 230, 4)
1646 #ifndef OVERRIDE_TABLE_32_fgetxattr
1647 TRACE_SYSCALL_TABLE(fgetxattr
, fgetxattr
, 231, 4)
1649 #ifndef OVERRIDE_TABLE_32_listxattr
1650 TRACE_SYSCALL_TABLE(listxattr
, listxattr
, 232, 3)
1652 #ifndef OVERRIDE_TABLE_32_llistxattr
1653 TRACE_SYSCALL_TABLE(llistxattr
, llistxattr
, 233, 3)
1655 #ifndef OVERRIDE_TABLE_32_flistxattr
1656 TRACE_SYSCALL_TABLE(flistxattr
, flistxattr
, 234, 3)
1658 #ifndef OVERRIDE_TABLE_32_removexattr
1659 TRACE_SYSCALL_TABLE(removexattr
, removexattr
, 235, 2)
1661 #ifndef OVERRIDE_TABLE_32_lremovexattr
1662 TRACE_SYSCALL_TABLE(lremovexattr
, lremovexattr
, 236, 2)
1664 #ifndef OVERRIDE_TABLE_32_fremovexattr
1665 TRACE_SYSCALL_TABLE(fremovexattr
, fremovexattr
, 237, 2)
1667 #ifndef OVERRIDE_TABLE_32_sendfile64
1668 TRACE_SYSCALL_TABLE(sendfile64
, sendfile64
, 239, 4)
1670 #ifndef OVERRIDE_TABLE_32_futex
1671 TRACE_SYSCALL_TABLE(futex
, futex
, 240, 6)
1673 #ifndef OVERRIDE_TABLE_32_sched_setaffinity
1674 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 241, 3)
1676 #ifndef OVERRIDE_TABLE_32_sched_getaffinity
1677 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 242, 3)
1679 #ifndef OVERRIDE_TABLE_32_io_setup
1680 TRACE_SYSCALL_TABLE(io_setup
, io_setup
, 245, 2)
1682 #ifndef OVERRIDE_TABLE_32_io_getevents
1683 TRACE_SYSCALL_TABLE(io_getevents
, io_getevents
, 247, 5)
1685 #ifndef OVERRIDE_TABLE_32_io_submit
1686 TRACE_SYSCALL_TABLE(io_submit
, io_submit
, 248, 3)
1688 #ifndef OVERRIDE_TABLE_32_io_cancel
1689 TRACE_SYSCALL_TABLE(io_cancel
, io_cancel
, 249, 3)
1691 #ifndef OVERRIDE_TABLE_32_epoll_ctl
1692 TRACE_SYSCALL_TABLE(epoll_ctl
, epoll_ctl
, 255, 4)
1694 #ifndef OVERRIDE_TABLE_32_epoll_wait
1695 TRACE_SYSCALL_TABLE(epoll_wait
, epoll_wait
, 256, 4)
1697 #ifndef OVERRIDE_TABLE_32_set_tid_address
1698 TRACE_SYSCALL_TABLE(set_tid_address
, set_tid_address
, 258, 1)
1700 #ifndef OVERRIDE_TABLE_32_timer_create
1701 TRACE_SYSCALL_TABLE(timer_create
, timer_create
, 259, 3)
1703 #ifndef OVERRIDE_TABLE_32_timer_settime
1704 TRACE_SYSCALL_TABLE(timer_settime
, timer_settime
, 260, 4)
1706 #ifndef OVERRIDE_TABLE_32_timer_gettime
1707 TRACE_SYSCALL_TABLE(timer_gettime
, timer_gettime
, 261, 2)
1709 #ifndef OVERRIDE_TABLE_32_clock_settime
1710 TRACE_SYSCALL_TABLE(clock_settime
, clock_settime
, 264, 2)
1712 #ifndef OVERRIDE_TABLE_32_clock_gettime
1713 TRACE_SYSCALL_TABLE(clock_gettime
, clock_gettime
, 265, 2)
1715 #ifndef OVERRIDE_TABLE_32_clock_getres
1716 TRACE_SYSCALL_TABLE(clock_getres
, clock_getres
, 266, 2)
1718 #ifndef OVERRIDE_TABLE_32_clock_nanosleep
1719 TRACE_SYSCALL_TABLE(clock_nanosleep
, clock_nanosleep
, 267, 4)
1721 #ifndef OVERRIDE_TABLE_32_statfs64
1722 TRACE_SYSCALL_TABLE(statfs64
, statfs64
, 268, 3)
1724 #ifndef OVERRIDE_TABLE_32_fstatfs64
1725 TRACE_SYSCALL_TABLE(fstatfs64
, fstatfs64
, 269, 3)
1727 #ifndef OVERRIDE_TABLE_32_utimes
1728 TRACE_SYSCALL_TABLE(utimes
, utimes
, 271, 2)
1730 #ifndef OVERRIDE_TABLE_32_mq_open
1731 TRACE_SYSCALL_TABLE(mq_open
, mq_open
, 277, 4)
1733 #ifndef OVERRIDE_TABLE_32_mq_unlink
1734 TRACE_SYSCALL_TABLE(mq_unlink
, mq_unlink
, 278, 1)
1736 #ifndef OVERRIDE_TABLE_32_mq_timedsend
1737 TRACE_SYSCALL_TABLE(mq_timedsend
, mq_timedsend
, 279, 5)
1739 #ifndef OVERRIDE_TABLE_32_mq_timedreceive
1740 TRACE_SYSCALL_TABLE(mq_timedreceive
, mq_timedreceive
, 280, 5)
1742 #ifndef OVERRIDE_TABLE_32_mq_notify
1743 TRACE_SYSCALL_TABLE(mq_notify
, mq_notify
, 281, 2)
1745 #ifndef OVERRIDE_TABLE_32_mq_getsetattr
1746 TRACE_SYSCALL_TABLE(mq_getsetattr
, mq_getsetattr
, 282, 3)
1748 #ifndef OVERRIDE_TABLE_32_kexec_load
1749 TRACE_SYSCALL_TABLE(kexec_load
, kexec_load
, 283, 4)
1751 #ifndef OVERRIDE_TABLE_32_waitid
1752 TRACE_SYSCALL_TABLE(waitid
, waitid
, 284, 5)
1754 #ifndef OVERRIDE_TABLE_32_add_key
1755 TRACE_SYSCALL_TABLE(add_key
, add_key
, 286, 5)
1757 #ifndef OVERRIDE_TABLE_32_request_key
1758 TRACE_SYSCALL_TABLE(request_key
, request_key
, 287, 4)
1760 #ifndef OVERRIDE_TABLE_32_inotify_add_watch
1761 TRACE_SYSCALL_TABLE(inotify_add_watch
, inotify_add_watch
, 292, 3)
1763 #ifndef OVERRIDE_TABLE_32_openat
1764 TRACE_SYSCALL_TABLE(openat
, openat
, 295, 4)
1766 #ifndef OVERRIDE_TABLE_32_mkdirat
1767 TRACE_SYSCALL_TABLE(mkdirat
, mkdirat
, 296, 3)
1769 #ifndef OVERRIDE_TABLE_32_mknodat
1770 TRACE_SYSCALL_TABLE(mknodat
, mknodat
, 297, 4)
1772 #ifndef OVERRIDE_TABLE_32_fchownat
1773 TRACE_SYSCALL_TABLE(fchownat
, fchownat
, 298, 5)
1775 #ifndef OVERRIDE_TABLE_32_futimesat
1776 TRACE_SYSCALL_TABLE(futimesat
, futimesat
, 299, 3)
1778 #ifndef OVERRIDE_TABLE_32_fstatat64
1779 TRACE_SYSCALL_TABLE(fstatat64
, fstatat64
, 300, 4)
1781 #ifndef OVERRIDE_TABLE_32_unlinkat
1782 TRACE_SYSCALL_TABLE(unlinkat
, unlinkat
, 301, 3)
1784 #ifndef OVERRIDE_TABLE_32_renameat
1785 TRACE_SYSCALL_TABLE(renameat
, renameat
, 302, 4)
1787 #ifndef OVERRIDE_TABLE_32_linkat
1788 TRACE_SYSCALL_TABLE(linkat
, linkat
, 303, 5)
1790 #ifndef OVERRIDE_TABLE_32_symlinkat
1791 TRACE_SYSCALL_TABLE(symlinkat
, symlinkat
, 304, 3)
1793 #ifndef OVERRIDE_TABLE_32_readlinkat
1794 TRACE_SYSCALL_TABLE(readlinkat
, readlinkat
, 305, 4)
1796 #ifndef OVERRIDE_TABLE_32_fchmodat
1797 TRACE_SYSCALL_TABLE(fchmodat
, fchmodat
, 306, 3)
1799 #ifndef OVERRIDE_TABLE_32_faccessat
1800 TRACE_SYSCALL_TABLE(faccessat
, faccessat
, 307, 3)
1802 #ifndef OVERRIDE_TABLE_32_pselect6
1803 TRACE_SYSCALL_TABLE(pselect6
, pselect6
, 308, 6)
1805 #ifndef OVERRIDE_TABLE_32_ppoll
1806 TRACE_SYSCALL_TABLE(ppoll
, ppoll
, 309, 5)
1808 #ifndef OVERRIDE_TABLE_32_set_robust_list
1809 TRACE_SYSCALL_TABLE(set_robust_list
, set_robust_list
, 311, 2)
1811 #ifndef OVERRIDE_TABLE_32_get_robust_list
1812 TRACE_SYSCALL_TABLE(get_robust_list
, get_robust_list
, 312, 3)
1814 #ifndef OVERRIDE_TABLE_32_splice
1815 TRACE_SYSCALL_TABLE(splice
, splice
, 313, 6)
1817 #ifndef OVERRIDE_TABLE_32_vmsplice
1818 TRACE_SYSCALL_TABLE(vmsplice
, vmsplice
, 316, 4)
1820 #ifndef OVERRIDE_TABLE_32_getcpu
1821 TRACE_SYSCALL_TABLE(getcpu
, getcpu
, 318, 3)
1823 #ifndef OVERRIDE_TABLE_32_epoll_pwait
1824 TRACE_SYSCALL_TABLE(epoll_pwait
, epoll_pwait
, 319, 6)
1826 #ifndef OVERRIDE_TABLE_32_utimensat
1827 TRACE_SYSCALL_TABLE(utimensat
, utimensat
, 320, 4)
1829 #ifndef OVERRIDE_TABLE_32_signalfd
1830 TRACE_SYSCALL_TABLE(signalfd
, signalfd
, 321, 3)
1832 #ifndef OVERRIDE_TABLE_32_timerfd_settime
1833 TRACE_SYSCALL_TABLE(timerfd_settime
, timerfd_settime
, 325, 4)
1835 #ifndef OVERRIDE_TABLE_32_timerfd_gettime
1836 TRACE_SYSCALL_TABLE(timerfd_gettime
, timerfd_gettime
, 326, 2)
1838 #ifndef OVERRIDE_TABLE_32_signalfd4
1839 TRACE_SYSCALL_TABLE(signalfd4
, signalfd4
, 327, 4)
1841 #ifndef OVERRIDE_TABLE_32_pipe2
1842 TRACE_SYSCALL_TABLE(pipe2
, pipe2
, 331, 2)
1844 #ifndef OVERRIDE_TABLE_32_preadv
1845 TRACE_SYSCALL_TABLE(preadv
, preadv
, 333, 5)
1847 #ifndef OVERRIDE_TABLE_32_pwritev
1848 TRACE_SYSCALL_TABLE(pwritev
, pwritev
, 334, 5)
1850 #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo
1851 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo
, rt_tgsigqueueinfo
, 335, 4)
1853 #ifndef OVERRIDE_TABLE_32_perf_event_open
1854 TRACE_SYSCALL_TABLE(perf_event_open
, perf_event_open
, 336, 5)
1856 #ifndef OVERRIDE_TABLE_32_recvmmsg
1857 TRACE_SYSCALL_TABLE(recvmmsg
, recvmmsg
, 337, 5)
1859 #ifndef OVERRIDE_TABLE_32_prlimit64
1860 TRACE_SYSCALL_TABLE(prlimit64
, prlimit64
, 340, 4)
1862 #ifndef OVERRIDE_TABLE_32_clock_adjtime
1863 TRACE_SYSCALL_TABLE(clock_adjtime
, clock_adjtime
, 343, 2)
1865 #ifndef OVERRIDE_TABLE_32_sendmmsg
1866 TRACE_SYSCALL_TABLE(sendmmsg
, sendmmsg
, 345, 4)
1869 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.158644 seconds and 5 git commands to generate.