1 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2 #ifndef CREATE_SYSCALL_TABLE
4 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_POINTERS_H
7 #include "../../../probes/lttng-tracepoint-event.h"
8 #include <linux/syscalls.h>
9 #include "arm-32-syscalls-3.4.25_pointers_override.h"
10 #include "syscalls_pointers_override.h"
12 #ifndef OVERRIDE_32_unlink
13 SC_LTTNG_TRACEPOINT_EVENT(unlink
,
14 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
15 TP_ARGS(sc_exit(ret
,) pathname
),
16 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
))),
17 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
))),
21 #ifndef OVERRIDE_32_chdir
22 SC_LTTNG_TRACEPOINT_EVENT(chdir
,
23 TP_PROTO(sc_exit(long ret
,) const char * filename
),
24 TP_ARGS(sc_exit(ret
,) filename
),
25 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
))),
26 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
))),
30 #ifndef OVERRIDE_32_rmdir
31 SC_LTTNG_TRACEPOINT_EVENT(rmdir
,
32 TP_PROTO(sc_exit(long ret
,) const char * pathname
),
33 TP_ARGS(sc_exit(ret
,) pathname
),
34 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
))),
35 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
))),
39 #ifndef OVERRIDE_32_pipe
40 SC_LTTNG_TRACEPOINT_EVENT(pipe
,
41 TP_PROTO(sc_exit(long ret
,) int * fildes
),
42 TP_ARGS(sc_exit(ret
,) fildes
),
43 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(int *, fildes
))),
44 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(fildes
, fildes
))),
48 #ifndef OVERRIDE_32_times
49 SC_LTTNG_TRACEPOINT_EVENT(times
,
50 TP_PROTO(sc_exit(long ret
,) struct tms
* tbuf
),
51 TP_ARGS(sc_exit(ret
,) tbuf
),
52 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(struct tms
*, tbuf
))),
53 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(tbuf
, tbuf
))),
57 #ifndef OVERRIDE_32_acct
58 SC_LTTNG_TRACEPOINT_EVENT(acct
,
59 TP_PROTO(sc_exit(long ret
,) const char * name
),
60 TP_ARGS(sc_exit(ret
,) name
),
61 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(name
, name
))),
62 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(name
, name
))),
66 #ifndef OVERRIDE_32_chroot
67 SC_LTTNG_TRACEPOINT_EVENT(chroot
,
68 TP_PROTO(sc_exit(long ret
,) const char * filename
),
69 TP_ARGS(sc_exit(ret
,) filename
),
70 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
))),
71 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
))),
75 #ifndef OVERRIDE_32_sigpending
76 SC_LTTNG_TRACEPOINT_EVENT(sigpending
,
77 TP_PROTO(sc_exit(long ret
,) old_sigset_t
* set
),
78 TP_ARGS(sc_exit(ret
,) set
),
79 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(old_sigset_t
*, set
))),
80 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(set
, set
))),
84 #ifndef OVERRIDE_32_uselib
85 SC_LTTNG_TRACEPOINT_EVENT(uselib
,
86 TP_PROTO(sc_exit(long ret
,) const char * library
),
87 TP_ARGS(sc_exit(ret
,) library
),
88 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(const char *, library
))),
89 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(library
, library
))),
93 #ifndef OVERRIDE_32_swapoff
94 SC_LTTNG_TRACEPOINT_EVENT(swapoff
,
95 TP_PROTO(sc_exit(long ret
,) const char * specialfile
),
96 TP_ARGS(sc_exit(ret
,) specialfile
),
97 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(specialfile
, specialfile
))),
98 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(specialfile
, specialfile
))),
102 #ifndef OVERRIDE_32_sysinfo
103 SC_LTTNG_TRACEPOINT_EVENT(sysinfo
,
104 TP_PROTO(sc_exit(long ret
,) struct sysinfo
* info
),
105 TP_ARGS(sc_exit(ret
,) info
),
106 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(struct sysinfo
*, info
))),
107 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(info
, info
))),
111 #ifndef OVERRIDE_32_newuname
112 SC_LTTNG_TRACEPOINT_EVENT(newuname
,
113 TP_PROTO(sc_exit(long ret
,) struct new_utsname
* name
),
114 TP_ARGS(sc_exit(ret
,) name
),
115 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(struct new_utsname
*, name
))),
116 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(name
, name
))),
120 #ifndef OVERRIDE_32_adjtimex
121 SC_LTTNG_TRACEPOINT_EVENT(adjtimex
,
122 TP_PROTO(sc_exit(long ret
,) struct timex
* txc_p
),
123 TP_ARGS(sc_exit(ret
,) txc_p
),
124 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(struct timex
*, txc_p
))),
125 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(txc_p
, txc_p
))),
129 #ifndef OVERRIDE_32_sysctl
130 SC_LTTNG_TRACEPOINT_EVENT(sysctl
,
131 TP_PROTO(sc_exit(long ret
,) struct __sysctl_args
* args
),
132 TP_ARGS(sc_exit(ret
,) args
),
133 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(struct __sysctl_args
*, args
))),
134 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(args
, args
))),
138 #ifndef OVERRIDE_32_set_tid_address
139 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address
,
140 TP_PROTO(sc_exit(long ret
,) int * tidptr
),
141 TP_ARGS(sc_exit(ret
,) tidptr
),
142 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(int *, tidptr
))),
143 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(tidptr
, tidptr
))),
147 #ifndef OVERRIDE_32_mq_unlink
148 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink
,
149 TP_PROTO(sc_exit(long ret
,) const char * u_name
),
150 TP_ARGS(sc_exit(ret
,) u_name
),
151 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(u_name
, u_name
))),
152 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(u_name
, u_name
))),
156 #ifndef OVERRIDE_32_shmdt
157 SC_LTTNG_TRACEPOINT_EVENT(shmdt
,
158 TP_PROTO(sc_exit(long ret
,) char * shmaddr
),
159 TP_ARGS(sc_exit(ret
,) shmaddr
),
160 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(char *, shmaddr
))),
161 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(shmaddr
, shmaddr
))),
165 #ifndef OVERRIDE_32_creat
166 SC_LTTNG_TRACEPOINT_EVENT(creat
,
167 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
168 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
169 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__field(umode_t
, mode
))),
170 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_assign(mode
, mode
))),
174 #ifndef OVERRIDE_32_link
175 SC_LTTNG_TRACEPOINT_EVENT(link
,
176 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
177 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
178 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__string_from_user(newname
, newname
))),
179 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_copy_string_from_user(newname
, newname
))),
183 #ifndef OVERRIDE_32_chmod
184 SC_LTTNG_TRACEPOINT_EVENT(chmod
,
185 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
),
186 TP_ARGS(sc_exit(ret
,) filename
, mode
),
187 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(umode_t
, mode
))),
188 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
))),
192 #ifndef OVERRIDE_32_access
193 SC_LTTNG_TRACEPOINT_EVENT(access
,
194 TP_PROTO(sc_exit(long ret
,) const char * filename
, int mode
),
195 TP_ARGS(sc_exit(ret
,) filename
, mode
),
196 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(int, mode
))),
197 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
))),
201 #ifndef OVERRIDE_32_rename
202 SC_LTTNG_TRACEPOINT_EVENT(rename
,
203 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
204 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
205 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__string_from_user(newname
, newname
))),
206 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_copy_string_from_user(newname
, newname
))),
210 #ifndef OVERRIDE_32_mkdir
211 SC_LTTNG_TRACEPOINT_EVENT(mkdir
,
212 TP_PROTO(sc_exit(long ret
,) const char * pathname
, umode_t mode
),
213 TP_ARGS(sc_exit(ret
,) pathname
, mode
),
214 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__field(umode_t
, mode
))),
215 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_assign(mode
, mode
))),
219 #ifndef OVERRIDE_32_umount
220 SC_LTTNG_TRACEPOINT_EVENT(umount
,
221 TP_PROTO(sc_exit(long ret
,) char * name
, int flags
),
222 TP_ARGS(sc_exit(ret
,) name
, flags
),
223 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(name
, name
)) sc_in(__field(int, flags
))),
224 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(flags
, flags
))),
228 #ifndef OVERRIDE_32_ustat
229 SC_LTTNG_TRACEPOINT_EVENT(ustat
,
230 TP_PROTO(sc_exit(long ret
,) unsigned dev
, struct ustat
* ubuf
),
231 TP_ARGS(sc_exit(ret
,) dev
, ubuf
),
232 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned, dev
)) sc_out(__field_hex(struct ustat
*, ubuf
))),
233 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dev
, dev
)) sc_out(tp_assign(ubuf
, ubuf
))),
237 #ifndef OVERRIDE_32_sethostname
238 SC_LTTNG_TRACEPOINT_EVENT(sethostname
,
239 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
240 TP_ARGS(sc_exit(ret
,) name
, len
),
241 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(name
, name
)) sc_in(__field(int, len
))),
242 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(len
, len
))),
246 #ifndef OVERRIDE_32_setrlimit
247 SC_LTTNG_TRACEPOINT_EVENT(setrlimit
,
248 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
249 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
250 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, resource
)) sc_in(__field_hex(struct rlimit
*, rlim
))),
251 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(resource
, resource
)) sc_in(tp_assign(rlim
, rlim
))),
255 #ifndef OVERRIDE_32_getrusage
256 SC_LTTNG_TRACEPOINT_EVENT(getrusage
,
257 TP_PROTO(sc_exit(long ret
,) int who
, struct rusage
* ru
),
258 TP_ARGS(sc_exit(ret
,) who
, ru
),
259 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, who
)) sc_out(__field_hex(struct rusage
*, ru
))),
260 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(who
, who
)) sc_out(tp_assign(ru
, ru
))),
264 #ifndef OVERRIDE_32_gettimeofday
265 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday
,
266 TP_PROTO(sc_exit(long ret
,) struct timeval
* tv
, struct timezone
* tz
),
267 TP_ARGS(sc_exit(ret
,) tv
, tz
),
268 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(struct timeval
*, tv
)) sc_out(__field_hex(struct timezone
*, tz
))),
269 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(tv
, tv
)) sc_out(tp_assign(tz
, tz
))),
273 #ifndef OVERRIDE_32_settimeofday
274 SC_LTTNG_TRACEPOINT_EVENT(settimeofday
,
275 TP_PROTO(sc_exit(long ret
,) struct timeval
* tv
, struct timezone
* tz
),
276 TP_ARGS(sc_exit(ret
,) tv
, tz
),
277 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(struct timeval
*, tv
)) sc_in(__field_hex(struct timezone
*, tz
))),
278 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(tv
, tv
)) sc_in(tp_assign(tz
, tz
))),
282 #ifndef OVERRIDE_32_getgroups16
283 SC_LTTNG_TRACEPOINT_EVENT(getgroups16
,
284 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
285 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
286 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, gidsetsize
)) sc_inout(__field_hex(old_gid_t
*, grouplist
))),
287 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(gidsetsize
, gidsetsize
)) sc_inout(tp_assign(grouplist
, grouplist
))),
291 #ifndef OVERRIDE_32_setgroups16
292 SC_LTTNG_TRACEPOINT_EVENT(setgroups16
,
293 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, old_gid_t
* grouplist
),
294 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
295 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, gidsetsize
)) sc_inout(__field_hex(old_gid_t
*, grouplist
))),
296 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(gidsetsize
, gidsetsize
)) sc_inout(tp_assign(grouplist
, grouplist
))),
300 #ifndef OVERRIDE_32_symlink
301 SC_LTTNG_TRACEPOINT_EVENT(symlink
,
302 TP_PROTO(sc_exit(long ret
,) const char * oldname
, const char * newname
),
303 TP_ARGS(sc_exit(ret
,) oldname
, newname
),
304 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__string_from_user(newname
, newname
))),
305 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_copy_string_from_user(newname
, newname
))),
309 #ifndef OVERRIDE_32_swapon
310 SC_LTTNG_TRACEPOINT_EVENT(swapon
,
311 TP_PROTO(sc_exit(long ret
,) const char * specialfile
, int swap_flags
),
312 TP_ARGS(sc_exit(ret
,) specialfile
, swap_flags
),
313 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(specialfile
, specialfile
)) sc_in(__field(int, swap_flags
))),
314 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(specialfile
, specialfile
)) sc_in(tp_assign(swap_flags
, swap_flags
))),
318 #ifndef OVERRIDE_32_truncate
319 SC_LTTNG_TRACEPOINT_EVENT(truncate
,
320 TP_PROTO(sc_exit(long ret
,) const char * path
, long length
),
321 TP_ARGS(sc_exit(ret
,) path
, length
),
322 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(path
, path
)) sc_in(__field(long, length
))),
323 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(path
, path
)) sc_in(tp_assign(length
, length
))),
327 #ifndef OVERRIDE_32_statfs
328 SC_LTTNG_TRACEPOINT_EVENT(statfs
,
329 TP_PROTO(sc_exit(long ret
,) const char * pathname
, struct statfs
* buf
),
330 TP_ARGS(sc_exit(ret
,) pathname
, buf
),
331 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_out(__field_hex(struct statfs
*, buf
))),
332 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_out(tp_assign(buf
, buf
))),
336 #ifndef OVERRIDE_32_fstatfs
337 SC_LTTNG_TRACEPOINT_EVENT(fstatfs
,
338 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct statfs
* buf
),
339 TP_ARGS(sc_exit(ret
,) fd
, buf
),
340 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_out(__field_hex(struct statfs
*, buf
))),
341 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(buf
, buf
))),
345 #ifndef OVERRIDE_32_getitimer
346 SC_LTTNG_TRACEPOINT_EVENT(getitimer
,
347 TP_PROTO(sc_exit(long ret
,) int which
, struct itimerval
* value
),
348 TP_ARGS(sc_exit(ret
,) which
, value
),
349 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, which
)) sc_out(__field_hex(struct itimerval
*, value
))),
350 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which
, which
)) sc_out(tp_assign(value
, value
))),
354 #ifndef OVERRIDE_32_newstat
355 SC_LTTNG_TRACEPOINT_EVENT(newstat
,
356 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
357 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
358 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_out(__field_hex(struct stat
*, statbuf
))),
359 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_out(tp_assign(statbuf
, statbuf
))),
363 #ifndef OVERRIDE_32_newlstat
364 SC_LTTNG_TRACEPOINT_EVENT(newlstat
,
365 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat
* statbuf
),
366 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
367 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_out(__field_hex(struct stat
*, statbuf
))),
368 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_out(tp_assign(statbuf
, statbuf
))),
372 #ifndef OVERRIDE_32_newfstat
373 SC_LTTNG_TRACEPOINT_EVENT(newfstat
,
374 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct stat
* statbuf
),
375 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
376 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_out(__field_hex(struct stat
*, statbuf
))),
377 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(statbuf
, statbuf
))),
381 #ifndef OVERRIDE_32_setdomainname
382 SC_LTTNG_TRACEPOINT_EVENT(setdomainname
,
383 TP_PROTO(sc_exit(long ret
,) char * name
, int len
),
384 TP_ARGS(sc_exit(ret
,) name
, len
),
385 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(name
, name
)) sc_in(__field(int, len
))),
386 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(len
, len
))),
390 #ifndef OVERRIDE_32_delete_module
391 SC_LTTNG_TRACEPOINT_EVENT(delete_module
,
392 TP_PROTO(sc_exit(long ret
,) const char * name_user
, unsigned int flags
),
393 TP_ARGS(sc_exit(ret
,) name_user
, flags
),
394 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(name_user
, name_user
)) sc_in(__field(unsigned int, flags
))),
395 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(name_user
, name_user
)) sc_in(tp_assign(flags
, flags
))),
399 #ifndef OVERRIDE_32_sched_setparam
400 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam
,
401 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
402 TP_ARGS(sc_exit(ret
,) pid
, param
),
403 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field_hex(struct sched_param
*, param
))),
404 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(param
, param
))),
408 #ifndef OVERRIDE_32_sched_getparam
409 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam
,
410 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct sched_param
* param
),
411 TP_ARGS(sc_exit(ret
,) pid
, param
),
412 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_out(__field_hex(struct sched_param
*, param
))),
413 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_out(tp_assign(param
, param
))),
417 #ifndef OVERRIDE_32_sched_rr_get_interval
418 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval
,
419 TP_PROTO(sc_exit(long ret
,) pid_t pid
, struct timespec
* interval
),
420 TP_ARGS(sc_exit(ret
,) pid
, interval
),
421 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_out(__field_hex(struct timespec
*, interval
))),
422 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_out(tp_assign(interval
, interval
))),
426 #ifndef OVERRIDE_32_nanosleep
427 SC_LTTNG_TRACEPOINT_EVENT(nanosleep
,
428 TP_PROTO(sc_exit(long ret
,) struct timespec
* rqtp
, struct timespec
* rmtp
),
429 TP_ARGS(sc_exit(ret
,) rqtp
, rmtp
),
430 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(struct timespec
*, rqtp
)) sc_out(__field_hex(struct timespec
*, rmtp
))),
431 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(rqtp
, rqtp
)) sc_out(tp_assign(rmtp
, rmtp
))),
435 #ifndef OVERRIDE_32_rt_sigpending
436 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending
,
437 TP_PROTO(sc_exit(long ret
,) sigset_t
* set
, size_t sigsetsize
),
438 TP_ARGS(sc_exit(ret
,) set
, sigsetsize
),
439 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(sigset_t
*, set
)) sc_in(__field(size_t, sigsetsize
))),
440 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(set
, set
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
444 #ifndef OVERRIDE_32_rt_sigsuspend
445 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend
,
446 TP_PROTO(sc_exit(long ret
,) sigset_t
* unewset
, size_t sigsetsize
),
447 TP_ARGS(sc_exit(ret
,) unewset
, sigsetsize
),
448 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(sigset_t
*, unewset
)) sc_in(__field(size_t, sigsetsize
))),
449 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(unewset
, unewset
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
453 #ifndef OVERRIDE_32_getcwd
454 SC_LTTNG_TRACEPOINT_EVENT(getcwd
,
455 TP_PROTO(sc_exit(long ret
,) char * buf
, unsigned long size
),
456 TP_ARGS(sc_exit(ret
,) buf
, size
),
457 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(char *, buf
)) sc_in(__field(unsigned long, size
))),
458 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(buf
, buf
)) sc_in(tp_assign(size
, size
))),
462 #ifndef OVERRIDE_32_getrlimit
463 SC_LTTNG_TRACEPOINT_EVENT(getrlimit
,
464 TP_PROTO(sc_exit(long ret
,) unsigned int resource
, struct rlimit
* rlim
),
465 TP_ARGS(sc_exit(ret
,) resource
, rlim
),
466 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, resource
)) sc_out(__field_hex(struct rlimit
*, rlim
))),
467 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(resource
, resource
)) sc_out(tp_assign(rlim
, rlim
))),
471 #ifndef OVERRIDE_32_stat64
472 SC_LTTNG_TRACEPOINT_EVENT(stat64
,
473 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
474 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
475 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__string_from_user(filename
, filename
)) sc_inout(__field_hex(struct stat64
*, statbuf
))),
476 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_copy_string_from_user(filename
, filename
)) sc_inout(tp_assign(statbuf
, statbuf
))),
480 #ifndef OVERRIDE_32_lstat64
481 SC_LTTNG_TRACEPOINT_EVENT(lstat64
,
482 TP_PROTO(sc_exit(long ret
,) const char * filename
, struct stat64
* statbuf
),
483 TP_ARGS(sc_exit(ret
,) filename
, statbuf
),
484 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__string_from_user(filename
, filename
)) sc_inout(__field_hex(struct stat64
*, statbuf
))),
485 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_copy_string_from_user(filename
, filename
)) sc_inout(tp_assign(statbuf
, statbuf
))),
489 #ifndef OVERRIDE_32_fstat64
490 SC_LTTNG_TRACEPOINT_EVENT(fstat64
,
491 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, struct stat64
* statbuf
),
492 TP_ARGS(sc_exit(ret
,) fd
, statbuf
),
493 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(unsigned long, fd
)) sc_inout(__field_hex(struct stat64
*, statbuf
))),
494 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(fd
, fd
)) sc_inout(tp_assign(statbuf
, statbuf
))),
498 #ifndef OVERRIDE_32_getgroups
499 SC_LTTNG_TRACEPOINT_EVENT(getgroups
,
500 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
501 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
502 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, gidsetsize
)) sc_out(__field_hex(gid_t
*, grouplist
))),
503 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(gidsetsize
, gidsetsize
)) sc_out(tp_assign(grouplist
, grouplist
))),
507 #ifndef OVERRIDE_32_setgroups
508 SC_LTTNG_TRACEPOINT_EVENT(setgroups
,
509 TP_PROTO(sc_exit(long ret
,) int gidsetsize
, gid_t
* grouplist
),
510 TP_ARGS(sc_exit(ret
,) gidsetsize
, grouplist
),
511 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, gidsetsize
)) sc_in(__field_hex(gid_t
*, grouplist
))),
512 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(gidsetsize
, gidsetsize
)) sc_in(tp_assign(grouplist
, grouplist
))),
516 #ifndef OVERRIDE_32_pivot_root
517 SC_LTTNG_TRACEPOINT_EVENT(pivot_root
,
518 TP_PROTO(sc_exit(long ret
,) const char * new_root
, const char * put_old
),
519 TP_ARGS(sc_exit(ret
,) new_root
, put_old
),
520 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(new_root
, new_root
)) sc_in(__string_from_user(put_old
, put_old
))),
521 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(new_root
, new_root
)) sc_in(tp_copy_string_from_user(put_old
, put_old
))),
525 #ifndef OVERRIDE_32_removexattr
526 SC_LTTNG_TRACEPOINT_EVENT(removexattr
,
527 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
528 TP_ARGS(sc_exit(ret
,) pathname
, name
),
529 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
))),
530 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
))),
534 #ifndef OVERRIDE_32_lremovexattr
535 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr
,
536 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
),
537 TP_ARGS(sc_exit(ret
,) pathname
, name
),
538 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
))),
539 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
))),
543 #ifndef OVERRIDE_32_fremovexattr
544 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr
,
545 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
),
546 TP_ARGS(sc_exit(ret
,) fd
, name
),
547 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__string_from_user(name
, name
))),
548 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_copy_string_from_user(name
, name
))),
552 #ifndef OVERRIDE_32_io_setup
553 SC_LTTNG_TRACEPOINT_EVENT(io_setup
,
554 TP_PROTO(sc_exit(long ret
,) unsigned nr_events
, aio_context_t
* ctxp
),
555 TP_ARGS(sc_exit(ret
,) nr_events
, ctxp
),
556 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned, nr_events
)) sc_in(__field_hex(aio_context_t
*, ctxp
))),
557 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(nr_events
, nr_events
)) sc_in(tp_assign(ctxp
, ctxp
))),
561 #ifndef OVERRIDE_32_timer_gettime
562 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime
,
563 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, struct itimerspec
* setting
),
564 TP_ARGS(sc_exit(ret
,) timer_id
, setting
),
565 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(timer_t
, timer_id
)) sc_out(__field_hex(struct itimerspec
*, setting
))),
566 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(timer_id
, timer_id
)) sc_out(tp_assign(setting
, setting
))),
570 #ifndef OVERRIDE_32_clock_settime
571 SC_LTTNG_TRACEPOINT_EVENT(clock_settime
,
572 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, const struct timespec
* tp
),
573 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
574 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_in(__field_hex(const struct timespec
*, tp
))),
575 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_in(tp_assign(tp
, tp
))),
579 #ifndef OVERRIDE_32_clock_gettime
580 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime
,
581 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timespec
* tp
),
582 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
583 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_out(__field_hex(struct timespec
*, tp
))),
584 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_out(tp_assign(tp
, tp
))),
588 #ifndef OVERRIDE_32_clock_getres
589 SC_LTTNG_TRACEPOINT_EVENT(clock_getres
,
590 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timespec
* tp
),
591 TP_ARGS(sc_exit(ret
,) which_clock
, tp
),
592 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_out(__field_hex(struct timespec
*, tp
))),
593 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_out(tp_assign(tp
, tp
))),
597 #ifndef OVERRIDE_32_utimes
598 SC_LTTNG_TRACEPOINT_EVENT(utimes
,
599 TP_PROTO(sc_exit(long ret
,) char * filename
, struct timeval
* utimes
),
600 TP_ARGS(sc_exit(ret
,) filename
, utimes
),
601 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field_hex(struct timeval
*, utimes
))),
602 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(utimes
, utimes
))),
606 #ifndef OVERRIDE_32_mq_notify
607 SC_LTTNG_TRACEPOINT_EVENT(mq_notify
,
608 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct sigevent
* u_notification
),
609 TP_ARGS(sc_exit(ret
,) mqdes
, u_notification
),
610 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(mqd_t
, mqdes
)) sc_in(__field_hex(const struct sigevent
*, u_notification
))),
611 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(mqdes
, mqdes
)) sc_in(tp_assign(u_notification
, u_notification
))),
615 #ifndef OVERRIDE_32_set_robust_list
616 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list
,
617 TP_PROTO(sc_exit(long ret
,) struct robust_list_head
* head
, size_t len
),
618 TP_ARGS(sc_exit(ret
,) head
, len
),
619 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(struct robust_list_head
*, head
)) sc_in(__field(size_t, len
))),
620 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(head
, head
)) sc_in(tp_assign(len
, len
))),
624 #ifndef OVERRIDE_32_timerfd_gettime
625 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime
,
626 TP_PROTO(sc_exit(long ret
,) int ufd
, struct itimerspec
* otmr
),
627 TP_ARGS(sc_exit(ret
,) ufd
, otmr
),
628 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, ufd
)) sc_out(__field_hex(struct itimerspec
*, otmr
))),
629 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ufd
, ufd
)) sc_out(tp_assign(otmr
, otmr
))),
633 #ifndef OVERRIDE_32_pipe2
634 SC_LTTNG_TRACEPOINT_EVENT(pipe2
,
635 TP_PROTO(sc_exit(long ret
,) int * fildes
, int flags
),
636 TP_ARGS(sc_exit(ret
,) fildes
, flags
),
637 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(int *, fildes
)) sc_in(__field(int, flags
))),
638 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(fildes
, fildes
)) sc_in(tp_assign(flags
, flags
))),
642 #ifndef OVERRIDE_32_clock_adjtime
643 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime
,
644 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct timex
* utx
),
645 TP_ARGS(sc_exit(ret
,) which_clock
, utx
),
646 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_inout(__field_hex(struct timex
*, utx
))),
647 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_inout(tp_assign(utx
, utx
))),
651 #ifndef OVERRIDE_32_read
652 SC_LTTNG_TRACEPOINT_EVENT(read
,
653 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, char * buf
, size_t count
),
654 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
655 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_out(__field_hex(char *, buf
)) sc_in(__field(size_t, count
))),
656 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(buf
, buf
)) sc_in(tp_assign(count
, count
))),
660 #ifndef OVERRIDE_32_write
661 SC_LTTNG_TRACEPOINT_EVENT(write
,
662 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, const char * buf
, size_t count
),
663 TP_ARGS(sc_exit(ret
,) fd
, buf
, count
),
664 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_in(__field_hex(const char *, buf
)) sc_in(__field(size_t, count
))),
665 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(buf
, buf
)) sc_in(tp_assign(count
, count
))),
669 #ifndef OVERRIDE_32_open
670 SC_LTTNG_TRACEPOINT_EVENT(open
,
671 TP_PROTO(sc_exit(long ret
,) const char * filename
, int flags
, umode_t mode
),
672 TP_ARGS(sc_exit(ret
,) filename
, flags
, mode
),
673 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(int, flags
)) sc_in(__field(umode_t
, mode
))),
674 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(mode
, mode
))),
678 #ifndef OVERRIDE_32_mknod
679 SC_LTTNG_TRACEPOINT_EVENT(mknod
,
680 TP_PROTO(sc_exit(long ret
,) const char * filename
, umode_t mode
, unsigned dev
),
681 TP_ARGS(sc_exit(ret
,) filename
, mode
, dev
),
682 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(umode_t
, mode
)) sc_in(__field(unsigned, dev
))),
683 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
)) sc_in(tp_assign(dev
, dev
))),
687 #ifndef OVERRIDE_32_lchown16
688 SC_LTTNG_TRACEPOINT_EVENT(lchown16
,
689 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
690 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
691 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__string_from_user(filename
, filename
)) sc_inout(__field(old_uid_t
, user
)) sc_inout(__field(old_gid_t
, group
))),
692 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_copy_string_from_user(filename
, filename
)) sc_inout(tp_assign(user
, user
)) sc_inout(tp_assign(group
, group
))),
696 #ifndef OVERRIDE_32_readlink
697 SC_LTTNG_TRACEPOINT_EVENT(readlink
,
698 TP_PROTO(sc_exit(long ret
,) const char * path
, char * buf
, int bufsiz
),
699 TP_ARGS(sc_exit(ret
,) path
, buf
, bufsiz
),
700 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(path
, path
)) sc_out(__field_hex(char *, buf
)) sc_in(__field(int, bufsiz
))),
701 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(path
, path
)) sc_out(tp_assign(buf
, buf
)) sc_in(tp_assign(bufsiz
, bufsiz
))),
705 #ifndef OVERRIDE_32_syslog
706 SC_LTTNG_TRACEPOINT_EVENT(syslog
,
707 TP_PROTO(sc_exit(long ret
,) int type
, char * buf
, int len
),
708 TP_ARGS(sc_exit(ret
,) type
, buf
, len
),
709 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, type
)) sc_out(__field_hex(char *, buf
)) sc_in(__field(int, len
))),
710 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(type
, type
)) sc_out(tp_assign(buf
, buf
)) sc_in(tp_assign(len
, len
))),
714 #ifndef OVERRIDE_32_setitimer
715 SC_LTTNG_TRACEPOINT_EVENT(setitimer
,
716 TP_PROTO(sc_exit(long ret
,) int which
, struct itimerval
* value
, struct itimerval
* ovalue
),
717 TP_ARGS(sc_exit(ret
,) which
, value
, ovalue
),
718 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, which
)) sc_in(__field_hex(struct itimerval
*, value
)) sc_out(__field_hex(struct itimerval
*, ovalue
))),
719 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which
, which
)) sc_in(tp_assign(value
, value
)) sc_out(tp_assign(ovalue
, ovalue
))),
723 #ifndef OVERRIDE_32_sigprocmask
724 SC_LTTNG_TRACEPOINT_EVENT(sigprocmask
,
725 TP_PROTO(sc_exit(long ret
,) int how
, old_sigset_t
* nset
, old_sigset_t
* oset
),
726 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
),
727 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, how
)) sc_inout(__field_hex(old_sigset_t
*, nset
)) sc_inout(__field_hex(old_sigset_t
*, oset
))),
728 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(how
, how
)) sc_inout(tp_assign(nset
, nset
)) sc_inout(tp_assign(oset
, oset
))),
732 #ifndef OVERRIDE_32_init_module
733 SC_LTTNG_TRACEPOINT_EVENT(init_module
,
734 TP_PROTO(sc_exit(long ret
,) void * umod
, unsigned long len
, const char * uargs
),
735 TP_ARGS(sc_exit(ret
,) umod
, len
, uargs
),
736 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(void *, umod
)) sc_in(__field(unsigned long, len
)) sc_in(__field_hex(const char *, uargs
))),
737 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(umod
, umod
)) sc_in(tp_assign(len
, len
)) sc_in(tp_assign(uargs
, uargs
))),
741 #ifndef OVERRIDE_32_getdents
742 SC_LTTNG_TRACEPOINT_EVENT(getdents
,
743 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent
* dirent
, unsigned int count
),
744 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
745 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_out(__field_hex(struct linux_dirent
*, dirent
)) sc_in(__field(unsigned int, count
))),
746 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(dirent
, dirent
)) sc_in(tp_assign(count
, count
))),
750 #ifndef OVERRIDE_32_readv
751 SC_LTTNG_TRACEPOINT_EVENT(readv
,
752 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
753 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
754 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned long, fd
)) sc_inout(__field_hex(const struct iovec
*, vec
)) sc_in(__field(unsigned long, vlen
))),
755 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_inout(tp_assign(vec
, vec
)) sc_in(tp_assign(vlen
, vlen
))),
759 #ifndef OVERRIDE_32_writev
760 SC_LTTNG_TRACEPOINT_EVENT(writev
,
761 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
),
762 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
),
763 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned long, fd
)) sc_inout(__field_hex(const struct iovec
*, vec
)) sc_in(__field(unsigned long, vlen
))),
764 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_inout(tp_assign(vec
, vec
)) sc_in(tp_assign(vlen
, vlen
))),
768 #ifndef OVERRIDE_32_sched_setscheduler
769 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler
,
770 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int policy
, struct sched_param
* param
),
771 TP_ARGS(sc_exit(ret
,) pid
, policy
, param
),
772 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(int, policy
)) sc_in(__field_hex(struct sched_param
*, param
))),
773 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(policy
, policy
)) sc_in(tp_assign(param
, param
))),
777 #ifndef OVERRIDE_32_getresuid16
778 SC_LTTNG_TRACEPOINT_EVENT(getresuid16
,
779 TP_PROTO(sc_exit(long ret
,) old_uid_t
* ruid
, old_uid_t
* euid
, old_uid_t
* suid
),
780 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
781 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(old_uid_t
*, ruid
)) sc_inout(__field_hex(old_uid_t
*, euid
)) sc_inout(__field_hex(old_uid_t
*, suid
))),
782 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(ruid
, ruid
)) sc_inout(tp_assign(euid
, euid
)) sc_inout(tp_assign(suid
, suid
))),
786 #ifndef OVERRIDE_32_poll
787 SC_LTTNG_TRACEPOINT_EVENT(poll
,
788 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, int timeout_msecs
),
789 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, timeout_msecs
),
790 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(struct pollfd
*, ufds
)) sc_in(__field(unsigned int, nfds
)) sc_in(__field(int, timeout_msecs
))),
791 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(ufds
, ufds
)) sc_in(tp_assign(nfds
, nfds
)) sc_in(tp_assign(timeout_msecs
, timeout_msecs
))),
795 #ifndef OVERRIDE_32_getresgid16
796 SC_LTTNG_TRACEPOINT_EVENT(getresgid16
,
797 TP_PROTO(sc_exit(long ret
,) old_gid_t
* rgid
, old_gid_t
* egid
, old_gid_t
* sgid
),
798 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
799 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(old_gid_t
*, rgid
)) sc_inout(__field_hex(old_gid_t
*, egid
)) sc_inout(__field_hex(old_gid_t
*, sgid
))),
800 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(rgid
, rgid
)) sc_inout(tp_assign(egid
, egid
)) sc_inout(tp_assign(sgid
, sgid
))),
804 #ifndef OVERRIDE_32_rt_sigqueueinfo
805 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo
,
806 TP_PROTO(sc_exit(long ret
,) pid_t pid
, int sig
, siginfo_t
* uinfo
),
807 TP_ARGS(sc_exit(ret
,) pid
, sig
, uinfo
),
808 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(int, sig
)) sc_in(__field_hex(siginfo_t
*, uinfo
))),
809 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(sig
, sig
)) sc_in(tp_assign(uinfo
, uinfo
))),
813 #ifndef OVERRIDE_32_chown16
814 SC_LTTNG_TRACEPOINT_EVENT(chown16
,
815 TP_PROTO(sc_exit(long ret
,) const char * filename
, old_uid_t user
, old_gid_t group
),
816 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
817 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__string_from_user(filename
, filename
)) sc_inout(__field(old_uid_t
, user
)) sc_inout(__field(old_gid_t
, group
))),
818 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_copy_string_from_user(filename
, filename
)) sc_inout(tp_assign(user
, user
)) sc_inout(tp_assign(group
, group
))),
822 #ifndef OVERRIDE_32_lchown
823 SC_LTTNG_TRACEPOINT_EVENT(lchown
,
824 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
825 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
826 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(uid_t
, user
)) sc_in(__field(gid_t
, group
))),
827 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(user
, user
)) sc_in(tp_assign(group
, group
))),
831 #ifndef OVERRIDE_32_getresuid
832 SC_LTTNG_TRACEPOINT_EVENT(getresuid
,
833 TP_PROTO(sc_exit(long ret
,) uid_t
* ruid
, uid_t
* euid
, uid_t
* suid
),
834 TP_ARGS(sc_exit(ret
,) ruid
, euid
, suid
),
835 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(uid_t
*, ruid
)) sc_out(__field_hex(uid_t
*, euid
)) sc_out(__field_hex(uid_t
*, suid
))),
836 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(ruid
, ruid
)) sc_out(tp_assign(euid
, euid
)) sc_out(tp_assign(suid
, suid
))),
840 #ifndef OVERRIDE_32_getresgid
841 SC_LTTNG_TRACEPOINT_EVENT(getresgid
,
842 TP_PROTO(sc_exit(long ret
,) gid_t
* rgid
, gid_t
* egid
, gid_t
* sgid
),
843 TP_ARGS(sc_exit(ret
,) rgid
, egid
, sgid
),
844 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(gid_t
*, rgid
)) sc_out(__field_hex(gid_t
*, egid
)) sc_out(__field_hex(gid_t
*, sgid
))),
845 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(rgid
, rgid
)) sc_out(tp_assign(egid
, egid
)) sc_out(tp_assign(sgid
, sgid
))),
849 #ifndef OVERRIDE_32_chown
850 SC_LTTNG_TRACEPOINT_EVENT(chown
,
851 TP_PROTO(sc_exit(long ret
,) const char * filename
, uid_t user
, gid_t group
),
852 TP_ARGS(sc_exit(ret
,) filename
, user
, group
),
853 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(uid_t
, user
)) sc_in(__field(gid_t
, group
))),
854 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(user
, user
)) sc_in(tp_assign(group
, group
))),
858 #ifndef OVERRIDE_32_getdents64
859 SC_LTTNG_TRACEPOINT_EVENT(getdents64
,
860 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, struct linux_dirent64
* dirent
, unsigned int count
),
861 TP_ARGS(sc_exit(ret
,) fd
, dirent
, count
),
862 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, fd
)) sc_out(__field_hex(struct linux_dirent64
*, dirent
)) sc_in(__field(unsigned int, count
))),
863 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(dirent
, dirent
)) sc_in(tp_assign(count
, count
))),
867 #ifndef OVERRIDE_32_mincore
868 SC_LTTNG_TRACEPOINT_EVENT(mincore
,
869 TP_PROTO(sc_exit(long ret
,) unsigned long start
, size_t len
, unsigned char * vec
),
870 TP_ARGS(sc_exit(ret
,) start
, len
, vec
),
871 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned long, start
)) sc_in(__field(size_t, len
)) sc_out(__field_hex(unsigned char *, vec
))),
872 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(start
, start
)) sc_in(tp_assign(len
, len
)) sc_out(tp_assign(vec
, vec
))),
876 #ifndef OVERRIDE_32_listxattr
877 SC_LTTNG_TRACEPOINT_EVENT(listxattr
,
878 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
879 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
880 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_out(__field_hex(char *, list
)) sc_in(__field(size_t, size
))),
881 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_out(tp_assign(list
, list
)) sc_in(tp_assign(size
, size
))),
885 #ifndef OVERRIDE_32_llistxattr
886 SC_LTTNG_TRACEPOINT_EVENT(llistxattr
,
887 TP_PROTO(sc_exit(long ret
,) const char * pathname
, char * list
, size_t size
),
888 TP_ARGS(sc_exit(ret
,) pathname
, list
, size
),
889 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_out(__field_hex(char *, list
)) sc_in(__field(size_t, size
))),
890 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_out(tp_assign(list
, list
)) sc_in(tp_assign(size
, size
))),
894 #ifndef OVERRIDE_32_flistxattr
895 SC_LTTNG_TRACEPOINT_EVENT(flistxattr
,
896 TP_PROTO(sc_exit(long ret
,) int fd
, char * list
, size_t size
),
897 TP_ARGS(sc_exit(ret
,) fd
, list
, size
),
898 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(char *, list
)) sc_in(__field(size_t, size
))),
899 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(list
, list
)) sc_in(tp_assign(size
, size
))),
903 #ifndef OVERRIDE_32_sched_setaffinity
904 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
905 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
906 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
907 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(unsigned int, len
)) sc_in(__field_hex(unsigned long *, user_mask_ptr
))),
908 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(len
, len
)) sc_in(tp_assign(user_mask_ptr
, user_mask_ptr
))),
912 #ifndef OVERRIDE_32_sched_getaffinity
913 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
914 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
915 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
916 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(unsigned int, len
)) sc_out(__field_hex(unsigned long *, user_mask_ptr
))),
917 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(len
, len
)) sc_out(tp_assign(user_mask_ptr
, user_mask_ptr
))),
921 #ifndef OVERRIDE_32_io_submit
922 SC_LTTNG_TRACEPOINT_EVENT(io_submit
,
923 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long nr
, struct iocb
* * iocbpp
),
924 TP_ARGS(sc_exit(ret
,) ctx_id
, nr
, iocbpp
),
925 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(aio_context_t
, ctx_id
)) sc_in(__field(long, nr
)) sc_in(__field_hex(struct iocb
* *, iocbpp
))),
926 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ctx_id
, ctx_id
)) sc_in(tp_assign(nr
, nr
)) sc_in(tp_assign(iocbpp
, iocbpp
))),
930 #ifndef OVERRIDE_32_io_cancel
931 SC_LTTNG_TRACEPOINT_EVENT(io_cancel
,
932 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, struct iocb
* iocb
, struct io_event
* result
),
933 TP_ARGS(sc_exit(ret
,) ctx_id
, iocb
, result
),
934 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(aio_context_t
, ctx_id
)) sc_in(__field_hex(struct iocb
*, iocb
)) sc_out(__field_hex(struct io_event
*, result
))),
935 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ctx_id
, ctx_id
)) sc_in(tp_assign(iocb
, iocb
)) sc_out(tp_assign(result
, result
))),
939 #ifndef OVERRIDE_32_timer_create
940 SC_LTTNG_TRACEPOINT_EVENT(timer_create
,
941 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, struct sigevent
* timer_event_spec
, timer_t
* created_timer_id
),
942 TP_ARGS(sc_exit(ret
,) which_clock
, timer_event_spec
, created_timer_id
),
943 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_in(__field_hex(struct sigevent
*, timer_event_spec
)) sc_out(__field_hex(timer_t
*, created_timer_id
))),
944 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_in(tp_assign(timer_event_spec
, timer_event_spec
)) sc_out(tp_assign(created_timer_id
, created_timer_id
))),
948 #ifndef OVERRIDE_32_mq_getsetattr
949 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr
,
950 TP_PROTO(sc_exit(long ret
,) mqd_t mqdes
, const struct mq_attr
* u_mqstat
, struct mq_attr
* u_omqstat
),
951 TP_ARGS(sc_exit(ret
,) mqdes
, u_mqstat
, u_omqstat
),
952 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(mqd_t
, mqdes
)) sc_in(__field_hex(const struct mq_attr
*, u_mqstat
)) sc_out(__field_hex(struct mq_attr
*, u_omqstat
))),
953 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(mqdes
, mqdes
)) sc_in(tp_assign(u_mqstat
, u_mqstat
)) sc_out(tp_assign(u_omqstat
, u_omqstat
))),
957 #ifndef OVERRIDE_32_bind
958 SC_LTTNG_TRACEPOINT_EVENT(bind
,
959 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* umyaddr
, int addrlen
),
960 TP_ARGS(sc_exit(ret
,) fd
, umyaddr
, addrlen
),
961 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(struct sockaddr
*, umyaddr
)) sc_in(__field_hex(int, addrlen
))),
962 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(umyaddr
, umyaddr
)) sc_in(tp_assign(addrlen
, addrlen
))),
966 #ifndef OVERRIDE_32_connect
967 SC_LTTNG_TRACEPOINT_EVENT(connect
,
968 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* uservaddr
, int addrlen
),
969 TP_ARGS(sc_exit(ret
,) fd
, uservaddr
, addrlen
),
970 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(struct sockaddr
*, uservaddr
)) sc_in(__field_hex(int, addrlen
))),
971 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(uservaddr
, uservaddr
)) sc_in(tp_assign(addrlen
, addrlen
))),
975 #ifndef OVERRIDE_32_accept
976 SC_LTTNG_TRACEPOINT_EVENT(accept
,
977 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
),
978 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
),
979 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(struct sockaddr
*, upeer_sockaddr
)) sc_inout(__field_hex(int *, upeer_addrlen
))),
980 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(upeer_sockaddr
, upeer_sockaddr
)) sc_inout(tp_assign(upeer_addrlen
, upeer_addrlen
))),
984 #ifndef OVERRIDE_32_getsockname
985 SC_LTTNG_TRACEPOINT_EVENT(getsockname
,
986 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
987 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
988 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(struct sockaddr
*, usockaddr
)) sc_inout(__field_hex(int *, usockaddr_len
))),
989 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(usockaddr
, usockaddr
)) sc_inout(tp_assign(usockaddr_len
, usockaddr_len
))),
993 #ifndef OVERRIDE_32_getpeername
994 SC_LTTNG_TRACEPOINT_EVENT(getpeername
,
995 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* usockaddr
, int * usockaddr_len
),
996 TP_ARGS(sc_exit(ret
,) fd
, usockaddr
, usockaddr_len
),
997 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(struct sockaddr
*, usockaddr
)) sc_inout(__field_hex(int *, usockaddr_len
))),
998 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(usockaddr
, usockaddr
)) sc_inout(tp_assign(usockaddr_len
, usockaddr_len
))),
1002 #ifndef OVERRIDE_32_sendmsg
1003 SC_LTTNG_TRACEPOINT_EVENT(sendmsg
,
1004 TP_PROTO(sc_exit(long ret
,) int fd
, struct msghdr
* msg
, unsigned flags
),
1005 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
1006 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(struct msghdr
*, msg
)) sc_in(__field(unsigned, flags
))),
1007 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(msg
, msg
)) sc_in(tp_assign(flags
, flags
))),
1011 #ifndef OVERRIDE_32_recvmsg
1012 SC_LTTNG_TRACEPOINT_EVENT(recvmsg
,
1013 TP_PROTO(sc_exit(long ret
,) int fd
, struct msghdr
* msg
, unsigned int flags
),
1014 TP_ARGS(sc_exit(ret
,) fd
, msg
, flags
),
1015 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_inout(__field_hex(struct msghdr
*, msg
)) sc_in(__field(unsigned int, flags
))),
1016 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_inout(tp_assign(msg
, msg
)) sc_in(tp_assign(flags
, flags
))),
1020 #ifndef OVERRIDE_32_semop
1021 SC_LTTNG_TRACEPOINT_EVENT(semop
,
1022 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned nsops
),
1023 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
),
1024 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, semid
)) sc_in(__field_hex(struct sembuf
*, tsops
)) sc_in(__field(unsigned, nsops
))),
1025 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(semid
, semid
)) sc_in(tp_assign(tsops
, tsops
)) sc_in(tp_assign(nsops
, nsops
))),
1029 #ifndef OVERRIDE_32_msgctl
1030 SC_LTTNG_TRACEPOINT_EVENT(msgctl
,
1031 TP_PROTO(sc_exit(long ret
,) int msqid
, int cmd
, struct msqid_ds
* buf
),
1032 TP_ARGS(sc_exit(ret
,) msqid
, cmd
, buf
),
1033 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, msqid
)) sc_in(__field(int, cmd
)) sc_inout(__field_hex(struct msqid_ds
*, buf
))),
1034 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(msqid
, msqid
)) sc_in(tp_assign(cmd
, cmd
)) sc_inout(tp_assign(buf
, buf
))),
1038 #ifndef OVERRIDE_32_shmat
1039 SC_LTTNG_TRACEPOINT_EVENT(shmat
,
1040 TP_PROTO(sc_exit(long ret
,) int shmid
, char * shmaddr
, int shmflg
),
1041 TP_ARGS(sc_exit(ret
,) shmid
, shmaddr
, shmflg
),
1042 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, shmid
)) sc_in(__field_hex(char *, shmaddr
)) sc_in(__field(int, shmflg
))),
1043 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(shmid
, shmid
)) sc_in(tp_assign(shmaddr
, shmaddr
)) sc_in(tp_assign(shmflg
, shmflg
))),
1047 #ifndef OVERRIDE_32_shmctl
1048 SC_LTTNG_TRACEPOINT_EVENT(shmctl
,
1049 TP_PROTO(sc_exit(long ret
,) int shmid
, int cmd
, struct shmid_ds
* buf
),
1050 TP_ARGS(sc_exit(ret
,) shmid
, cmd
, buf
),
1051 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, shmid
)) sc_in(__field(int, cmd
)) sc_inout(__field_hex(struct shmid_ds
*, buf
))),
1052 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(shmid
, shmid
)) sc_in(tp_assign(cmd
, cmd
)) sc_inout(tp_assign(buf
, buf
))),
1056 #ifndef OVERRIDE_32_inotify_add_watch
1057 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch
,
1058 TP_PROTO(sc_exit(long ret
,) int fd
, const char * pathname
, u32 mask
),
1059 TP_ARGS(sc_exit(ret
,) fd
, pathname
, mask
),
1060 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__field(u32
, mask
))),
1061 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_assign(mask
, mask
))),
1065 #ifndef OVERRIDE_32_mkdirat
1066 SC_LTTNG_TRACEPOINT_EVENT(mkdirat
,
1067 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, umode_t mode
),
1068 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, mode
),
1069 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__field(umode_t
, mode
))),
1070 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_assign(mode
, mode
))),
1074 #ifndef OVERRIDE_32_futimesat
1075 SC_LTTNG_TRACEPOINT_EVENT(futimesat
,
1076 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct timeval
* utimes
),
1077 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
),
1078 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field_hex(struct timeval
*, utimes
))),
1079 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(utimes
, utimes
))),
1083 #ifndef OVERRIDE_32_unlinkat
1084 SC_LTTNG_TRACEPOINT_EVENT(unlinkat
,
1085 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, int flag
),
1086 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, flag
),
1087 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__field(int, flag
))),
1088 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_assign(flag
, flag
))),
1092 #ifndef OVERRIDE_32_symlinkat
1093 SC_LTTNG_TRACEPOINT_EVENT(symlinkat
,
1094 TP_PROTO(sc_exit(long ret
,) const char * oldname
, int newdfd
, const char * newname
),
1095 TP_ARGS(sc_exit(ret
,) oldname
, newdfd
, newname
),
1096 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__field(int, newdfd
)) sc_in(__string_from_user(newname
, newname
))),
1097 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_assign(newdfd
, newdfd
)) sc_in(tp_copy_string_from_user(newname
, newname
))),
1101 #ifndef OVERRIDE_32_fchmodat
1102 SC_LTTNG_TRACEPOINT_EVENT(fchmodat
,
1103 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
),
1104 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
1105 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(umode_t
, mode
))),
1106 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
))),
1110 #ifndef OVERRIDE_32_faccessat
1111 SC_LTTNG_TRACEPOINT_EVENT(faccessat
,
1112 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int mode
),
1113 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
),
1114 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(int, mode
))),
1115 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
))),
1119 #ifndef OVERRIDE_32_get_robust_list
1120 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list
,
1121 TP_PROTO(sc_exit(long ret
,) int pid
, struct robust_list_head
* * head_ptr
, size_t * len_ptr
),
1122 TP_ARGS(sc_exit(ret
,) pid
, head_ptr
, len_ptr
),
1123 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, pid
)) sc_out(__field_hex(struct robust_list_head
* *, head_ptr
)) sc_out(__field_hex(size_t *, len_ptr
))),
1124 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_out(tp_assign(head_ptr
, head_ptr
)) sc_out(tp_assign(len_ptr
, len_ptr
))),
1128 #ifndef OVERRIDE_32_getcpu
1129 SC_LTTNG_TRACEPOINT_EVENT(getcpu
,
1130 TP_PROTO(sc_exit(long ret
,) unsigned * cpup
, unsigned * nodep
, struct getcpu_cache
* unused
),
1131 TP_ARGS(sc_exit(ret
,) cpup
, nodep
, unused
),
1132 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(unsigned *, cpup
)) sc_out(__field_hex(unsigned *, nodep
)) sc_inout(__field_hex(struct getcpu_cache
*, unused
))),
1133 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(cpup
, cpup
)) sc_out(tp_assign(nodep
, nodep
)) sc_inout(tp_assign(unused
, unused
))),
1137 #ifndef OVERRIDE_32_signalfd
1138 SC_LTTNG_TRACEPOINT_EVENT(signalfd
,
1139 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
),
1140 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
),
1141 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, ufd
)) sc_in(__field_hex(sigset_t
*, user_mask
)) sc_in(__field(size_t, sizemask
))),
1142 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ufd
, ufd
)) sc_in(tp_assign(user_mask
, user_mask
)) sc_in(tp_assign(sizemask
, sizemask
))),
1146 #ifndef OVERRIDE_32_open_by_handle_at
1147 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at
,
1148 TP_PROTO(sc_exit(long ret
,) int mountdirfd
, struct file_handle
* handle
, int flags
),
1149 TP_ARGS(sc_exit(ret
,) mountdirfd
, handle
, flags
),
1150 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, mountdirfd
)) sc_in(__field_hex(struct file_handle
*, handle
)) sc_in(__field(int, flags
))),
1151 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(mountdirfd
, mountdirfd
)) sc_in(tp_assign(handle
, handle
)) sc_in(tp_assign(flags
, flags
))),
1155 #ifndef OVERRIDE_32_reboot
1156 SC_LTTNG_TRACEPOINT_EVENT(reboot
,
1157 TP_PROTO(sc_exit(long ret
,) int magic1
, int magic2
, unsigned int cmd
, void * arg
),
1158 TP_ARGS(sc_exit(ret
,) magic1
, magic2
, cmd
, arg
),
1159 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, magic1
)) sc_in(__field(int, magic2
)) sc_in(__field(unsigned int, cmd
)) sc_in(__field_hex(void *, arg
))),
1160 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(magic1
, magic1
)) sc_in(tp_assign(magic2
, magic2
)) sc_in(tp_assign(cmd
, cmd
)) sc_in(tp_assign(arg
, arg
))),
1164 #ifndef OVERRIDE_32_wait4
1165 SC_LTTNG_TRACEPOINT_EVENT(wait4
,
1166 TP_PROTO(sc_exit(long ret
,) pid_t upid
, int * stat_addr
, int options
, struct rusage
* ru
),
1167 TP_ARGS(sc_exit(ret
,) upid
, stat_addr
, options
, ru
),
1168 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, upid
)) sc_out(__field_hex(int *, stat_addr
)) sc_in(__field(int, options
)) sc_out(__field_hex(struct rusage
*, ru
))),
1169 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(upid
, upid
)) sc_out(tp_assign(stat_addr
, stat_addr
)) sc_in(tp_assign(options
, options
)) sc_out(tp_assign(ru
, ru
))),
1173 #ifndef OVERRIDE_32_quotactl
1174 SC_LTTNG_TRACEPOINT_EVENT(quotactl
,
1175 TP_PROTO(sc_exit(long ret
,) unsigned int cmd
, const char * special
, qid_t id
, void * addr
),
1176 TP_ARGS(sc_exit(ret
,) cmd
, special
, id
, addr
),
1177 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned int, cmd
)) sc_in(__field_hex(const char *, special
)) sc_in(__field(qid_t
, id
)) sc_inout(__field_hex(void *, addr
))),
1178 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(cmd
, cmd
)) sc_in(tp_assign(special
, special
)) sc_in(tp_assign(id
, id
)) sc_inout(tp_assign(addr
, addr
))),
1182 #ifndef OVERRIDE_32_rt_sigaction
1183 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction
,
1184 TP_PROTO(sc_exit(long ret
,) int sig
, const struct sigaction
* act
, struct sigaction
* oact
, size_t sigsetsize
),
1185 TP_ARGS(sc_exit(ret
,) sig
, act
, oact
, sigsetsize
),
1186 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, sig
)) sc_in(__field_hex(const struct sigaction
*, act
)) sc_out(__field_hex(struct sigaction
*, oact
)) sc_in(__field(size_t, sigsetsize
))),
1187 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(sig
, sig
)) sc_in(tp_assign(act
, act
)) sc_out(tp_assign(oact
, oact
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
1191 #ifndef OVERRIDE_32_rt_sigprocmask
1192 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask
,
1193 TP_PROTO(sc_exit(long ret
,) int how
, sigset_t
* nset
, sigset_t
* oset
, size_t sigsetsize
),
1194 TP_ARGS(sc_exit(ret
,) how
, nset
, oset
, sigsetsize
),
1195 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, how
)) sc_in(__field_hex(sigset_t
*, nset
)) sc_out(__field_hex(sigset_t
*, oset
)) sc_in(__field(size_t, sigsetsize
))),
1196 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(how
, how
)) sc_in(tp_assign(nset
, nset
)) sc_out(tp_assign(oset
, oset
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
1200 #ifndef OVERRIDE_32_rt_sigtimedwait
1201 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait
,
1202 TP_PROTO(sc_exit(long ret
,) const sigset_t
* uthese
, siginfo_t
* uinfo
, const struct timespec
* uts
, size_t sigsetsize
),
1203 TP_ARGS(sc_exit(ret
,) uthese
, uinfo
, uts
, sigsetsize
),
1204 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_out(__field_hex(const sigset_t
*, uthese
)) sc_out(__field_hex(siginfo_t
*, uinfo
)) sc_in(__field_hex(const struct timespec
*, uts
)) sc_in(__field(size_t, sigsetsize
))),
1205 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_out(tp_assign(uthese
, uthese
)) sc_out(tp_assign(uinfo
, uinfo
)) sc_in(tp_assign(uts
, uts
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
1209 #ifndef OVERRIDE_32_sendfile
1210 SC_LTTNG_TRACEPOINT_EVENT(sendfile
,
1211 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, off_t
* offset
, size_t count
),
1212 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
1213 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, out_fd
)) sc_inout(__field(int, in_fd
)) sc_inout(__field_hex(off_t
*, offset
)) sc_inout(__field(size_t, count
))),
1214 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(out_fd
, out_fd
)) sc_inout(tp_assign(in_fd
, in_fd
)) sc_inout(tp_assign(offset
, offset
)) sc_inout(tp_assign(count
, count
))),
1218 #ifndef OVERRIDE_32_getxattr
1219 SC_LTTNG_TRACEPOINT_EVENT(getxattr
,
1220 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1221 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1222 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
)) sc_out(__field_hex(void *, value
)) sc_in(__field(size_t, size
))),
1223 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_out(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
))),
1227 #ifndef OVERRIDE_32_lgetxattr
1228 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr
,
1229 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, void * value
, size_t size
),
1230 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
),
1231 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
)) sc_out(__field_hex(void *, value
)) sc_in(__field(size_t, size
))),
1232 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_out(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
))),
1236 #ifndef OVERRIDE_32_fgetxattr
1237 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr
,
1238 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, void * value
, size_t size
),
1239 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
),
1240 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__string_from_user(name
, name
)) sc_out(__field_hex(void *, value
)) sc_in(__field(size_t, size
))),
1241 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_out(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
))),
1245 #ifndef OVERRIDE_32_sendfile64
1246 SC_LTTNG_TRACEPOINT_EVENT(sendfile64
,
1247 TP_PROTO(sc_exit(long ret
,) int out_fd
, int in_fd
, loff_t
* offset
, size_t count
),
1248 TP_ARGS(sc_exit(ret
,) out_fd
, in_fd
, offset
, count
),
1249 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, out_fd
)) sc_in(__field(int, in_fd
)) sc_inout(__field_hex(loff_t
*, offset
)) sc_in(__field(size_t, count
))),
1250 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(out_fd
, out_fd
)) sc_in(tp_assign(in_fd
, in_fd
)) sc_inout(tp_assign(offset
, offset
)) sc_in(tp_assign(count
, count
))),
1254 #ifndef OVERRIDE_32_epoll_ctl
1255 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl
,
1256 TP_PROTO(sc_exit(long ret
,) int epfd
, int op
, int fd
, struct epoll_event
* event
),
1257 TP_ARGS(sc_exit(ret
,) epfd
, op
, fd
, event
),
1258 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, epfd
)) sc_in(__field(int, op
)) sc_in(__field(int, fd
)) sc_in(__field_hex(struct epoll_event
*, event
))),
1259 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(epfd
, epfd
)) sc_in(tp_assign(op
, op
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(event
, event
))),
1263 #ifndef OVERRIDE_32_epoll_wait
1264 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait
,
1265 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
),
1266 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
),
1267 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, epfd
)) sc_out(__field_hex(struct epoll_event
*, events
)) sc_in(__field(int, maxevents
)) sc_in(__field(int, timeout
))),
1268 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(epfd
, epfd
)) sc_out(tp_assign(events
, events
)) sc_in(tp_assign(maxevents
, maxevents
)) sc_in(tp_assign(timeout
, timeout
))),
1272 #ifndef OVERRIDE_32_timer_settime
1273 SC_LTTNG_TRACEPOINT_EVENT(timer_settime
,
1274 TP_PROTO(sc_exit(long ret
,) timer_t timer_id
, int flags
, const struct itimerspec
* new_setting
, struct itimerspec
* old_setting
),
1275 TP_ARGS(sc_exit(ret
,) timer_id
, flags
, new_setting
, old_setting
),
1276 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(timer_t
, timer_id
)) sc_in(__field(int, flags
)) sc_in(__field_hex(const struct itimerspec
*, new_setting
)) sc_out(__field_hex(struct itimerspec
*, old_setting
))),
1277 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(timer_id
, timer_id
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(new_setting
, new_setting
)) sc_out(tp_assign(old_setting
, old_setting
))),
1281 #ifndef OVERRIDE_32_clock_nanosleep
1282 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep
,
1283 TP_PROTO(sc_exit(long ret
,) const clockid_t which_clock
, int flags
, const struct timespec
* rqtp
, struct timespec
* rmtp
),
1284 TP_ARGS(sc_exit(ret
,) which_clock
, flags
, rqtp
, rmtp
),
1285 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(const clockid_t
, which_clock
)) sc_in(__field(int, flags
)) sc_in(__field_hex(const struct timespec
*, rqtp
)) sc_out(__field_hex(struct timespec
*, rmtp
))),
1286 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which_clock
, which_clock
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(rqtp
, rqtp
)) sc_out(tp_assign(rmtp
, rmtp
))),
1290 #ifndef OVERRIDE_32_mq_open
1291 SC_LTTNG_TRACEPOINT_EVENT(mq_open
,
1292 TP_PROTO(sc_exit(long ret
,) const char * u_name
, int oflag
, umode_t mode
, struct mq_attr
* u_attr
),
1293 TP_ARGS(sc_exit(ret
,) u_name
, oflag
, mode
, u_attr
),
1294 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(u_name
, u_name
)) sc_in(__field(int, oflag
)) sc_in(__field(umode_t
, mode
)) sc_in(__field_hex(struct mq_attr
*, u_attr
))),
1295 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(u_name
, u_name
)) sc_in(tp_assign(oflag
, oflag
)) sc_in(tp_assign(mode
, mode
)) sc_in(tp_assign(u_attr
, u_attr
))),
1299 #ifndef OVERRIDE_32_socketpair
1300 SC_LTTNG_TRACEPOINT_EVENT(socketpair
,
1301 TP_PROTO(sc_exit(long ret
,) int family
, int type
, int protocol
, int * usockvec
),
1302 TP_ARGS(sc_exit(ret
,) family
, type
, protocol
, usockvec
),
1303 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, family
)) sc_in(__field(int, type
)) sc_in(__field(int, protocol
)) sc_out(__field_hex(int *, usockvec
))),
1304 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(family
, family
)) sc_in(tp_assign(type
, type
)) sc_in(tp_assign(protocol
, protocol
)) sc_out(tp_assign(usockvec
, usockvec
))),
1308 #ifndef OVERRIDE_32_send
1309 SC_LTTNG_TRACEPOINT_EVENT(send
,
1310 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned flags
),
1311 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
),
1312 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, fd
)) sc_inout(__field_hex(void *, buff
)) sc_inout(__field(size_t, len
)) sc_inout(__field(unsigned, flags
))),
1313 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(fd
, fd
)) sc_inout(tp_assign(buff
, buff
)) sc_inout(tp_assign(len
, len
)) sc_inout(tp_assign(flags
, flags
))),
1317 #ifndef OVERRIDE_32_msgsnd
1318 SC_LTTNG_TRACEPOINT_EVENT(msgsnd
,
1319 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, int msgflg
),
1320 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgflg
),
1321 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, msqid
)) sc_in(__field_hex(struct msgbuf
*, msgp
)) sc_in(__field(size_t, msgsz
)) sc_in(__field(int, msgflg
))),
1322 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(msqid
, msqid
)) sc_in(tp_assign(msgp
, msgp
)) sc_in(tp_assign(msgsz
, msgsz
)) sc_in(tp_assign(msgflg
, msgflg
))),
1326 #ifndef OVERRIDE_32_request_key
1327 SC_LTTNG_TRACEPOINT_EVENT(request_key
,
1328 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const char * _callout_info
, key_serial_t destringid
),
1329 TP_ARGS(sc_exit(ret
,) _type
, _description
, _callout_info
, destringid
),
1330 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(_type
, _type
)) sc_in(__field_hex(const char *, _description
)) sc_in(__field_hex(const char *, _callout_info
)) sc_in(__field(key_serial_t
, destringid
))),
1331 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(_type
, _type
)) sc_in(tp_assign(_description
, _description
)) sc_in(tp_assign(_callout_info
, _callout_info
)) sc_in(tp_assign(destringid
, destringid
))),
1335 #ifndef OVERRIDE_32_semtimedop
1336 SC_LTTNG_TRACEPOINT_EVENT(semtimedop
,
1337 TP_PROTO(sc_exit(long ret
,) int semid
, struct sembuf
* tsops
, unsigned nsops
, const struct timespec
* timeout
),
1338 TP_ARGS(sc_exit(ret
,) semid
, tsops
, nsops
, timeout
),
1339 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, semid
)) sc_in(__field_hex(struct sembuf
*, tsops
)) sc_in(__field(unsigned, nsops
)) sc_inout(__field_hex(const struct timespec
*, timeout
))),
1340 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(semid
, semid
)) sc_in(tp_assign(tsops
, tsops
)) sc_in(tp_assign(nsops
, nsops
)) sc_inout(tp_assign(timeout
, timeout
))),
1344 #ifndef OVERRIDE_32_openat
1345 SC_LTTNG_TRACEPOINT_EVENT(openat
,
1346 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, int flags
, umode_t mode
),
1347 TP_ARGS(sc_exit(ret
,) dfd
, filename
, flags
, mode
),
1348 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(int, flags
)) sc_in(__field(umode_t
, mode
))),
1349 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(mode
, mode
))),
1353 #ifndef OVERRIDE_32_mknodat
1354 SC_LTTNG_TRACEPOINT_EVENT(mknodat
,
1355 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, umode_t mode
, unsigned dev
),
1356 TP_ARGS(sc_exit(ret
,) dfd
, filename
, mode
, dev
),
1357 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(umode_t
, mode
)) sc_in(__field(unsigned, dev
))),
1358 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(mode
, mode
)) sc_in(tp_assign(dev
, dev
))),
1362 #ifndef OVERRIDE_32_fstatat64
1363 SC_LTTNG_TRACEPOINT_EVENT(fstatat64
,
1364 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct stat64
* statbuf
, int flag
),
1365 TP_ARGS(sc_exit(ret
,) dfd
, filename
, statbuf
, flag
),
1366 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(int, dfd
)) sc_inout(__string_from_user(filename
, filename
)) sc_inout(__field_hex(struct stat64
*, statbuf
)) sc_inout(__field(int, flag
))),
1367 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(dfd
, dfd
)) sc_inout(tp_copy_string_from_user(filename
, filename
)) sc_inout(tp_assign(statbuf
, statbuf
)) sc_inout(tp_assign(flag
, flag
))),
1371 #ifndef OVERRIDE_32_renameat
1372 SC_LTTNG_TRACEPOINT_EVENT(renameat
,
1373 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
),
1374 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
),
1375 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, olddfd
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__field(int, newdfd
)) sc_in(__string_from_user(newname
, newname
))),
1376 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(olddfd
, olddfd
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_assign(newdfd
, newdfd
)) sc_in(tp_copy_string_from_user(newname
, newname
))),
1380 #ifndef OVERRIDE_32_readlinkat
1381 SC_LTTNG_TRACEPOINT_EVENT(readlinkat
,
1382 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * pathname
, char * buf
, int bufsiz
),
1383 TP_ARGS(sc_exit(ret
,) dfd
, pathname
, buf
, bufsiz
),
1384 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(pathname
, pathname
)) sc_out(__field_hex(char *, buf
)) sc_in(__field(int, bufsiz
))),
1385 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_out(tp_assign(buf
, buf
)) sc_in(tp_assign(bufsiz
, bufsiz
))),
1389 #ifndef OVERRIDE_32_vmsplice
1390 SC_LTTNG_TRACEPOINT_EVENT(vmsplice
,
1391 TP_PROTO(sc_exit(long ret
,) int fd
, const struct iovec
* iov
, unsigned long nr_segs
, unsigned int flags
),
1392 TP_ARGS(sc_exit(ret
,) fd
, iov
, nr_segs
, flags
),
1393 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(const struct iovec
*, iov
)) sc_in(__field(unsigned long, nr_segs
)) sc_in(__field(unsigned int, flags
))),
1394 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(iov
, iov
)) sc_in(tp_assign(nr_segs
, nr_segs
)) sc_in(tp_assign(flags
, flags
))),
1398 #ifndef OVERRIDE_32_utimensat
1399 SC_LTTNG_TRACEPOINT_EVENT(utimensat
,
1400 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, struct timespec
* utimes
, int flags
),
1401 TP_ARGS(sc_exit(ret
,) dfd
, filename
, utimes
, flags
),
1402 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field_hex(struct timespec
*, utimes
)) sc_in(__field(int, flags
))),
1403 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(utimes
, utimes
)) sc_in(tp_assign(flags
, flags
))),
1407 #ifndef OVERRIDE_32_timerfd_settime
1408 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime
,
1409 TP_PROTO(sc_exit(long ret
,) int ufd
, int flags
, const struct itimerspec
* utmr
, struct itimerspec
* otmr
),
1410 TP_ARGS(sc_exit(ret
,) ufd
, flags
, utmr
, otmr
),
1411 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, ufd
)) sc_in(__field(int, flags
)) sc_in(__field_hex(const struct itimerspec
*, utmr
)) sc_out(__field_hex(struct itimerspec
*, otmr
))),
1412 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ufd
, ufd
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(utmr
, utmr
)) sc_out(tp_assign(otmr
, otmr
))),
1416 #ifndef OVERRIDE_32_signalfd4
1417 SC_LTTNG_TRACEPOINT_EVENT(signalfd4
,
1418 TP_PROTO(sc_exit(long ret
,) int ufd
, sigset_t
* user_mask
, size_t sizemask
, int flags
),
1419 TP_ARGS(sc_exit(ret
,) ufd
, user_mask
, sizemask
, flags
),
1420 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, ufd
)) sc_in(__field_hex(sigset_t
*, user_mask
)) sc_in(__field(size_t, sizemask
)) sc_in(__field(int, flags
))),
1421 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ufd
, ufd
)) sc_in(tp_assign(user_mask
, user_mask
)) sc_in(tp_assign(sizemask
, sizemask
)) sc_in(tp_assign(flags
, flags
))),
1425 #ifndef OVERRIDE_32_rt_tgsigqueueinfo
1426 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo
,
1427 TP_PROTO(sc_exit(long ret
,) pid_t tgid
, pid_t pid
, int sig
, siginfo_t
* uinfo
),
1428 TP_ARGS(sc_exit(ret
,) tgid
, pid
, sig
, uinfo
),
1429 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, tgid
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(int, sig
)) sc_in(__field_hex(siginfo_t
*, uinfo
))),
1430 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(tgid
, tgid
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(sig
, sig
)) sc_in(tp_assign(uinfo
, uinfo
))),
1434 #ifndef OVERRIDE_32_accept4
1435 SC_LTTNG_TRACEPOINT_EVENT(accept4
,
1436 TP_PROTO(sc_exit(long ret
,) int fd
, struct sockaddr
* upeer_sockaddr
, int * upeer_addrlen
, int flags
),
1437 TP_ARGS(sc_exit(ret
,) fd
, upeer_sockaddr
, upeer_addrlen
, flags
),
1438 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(struct sockaddr
*, upeer_sockaddr
)) sc_inout(__field_hex(int *, upeer_addrlen
)) sc_in(__field(int, flags
))),
1439 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(upeer_sockaddr
, upeer_sockaddr
)) sc_inout(tp_assign(upeer_addrlen
, upeer_addrlen
)) sc_in(tp_assign(flags
, flags
))),
1443 #ifndef OVERRIDE_32_prlimit64
1444 SC_LTTNG_TRACEPOINT_EVENT(prlimit64
,
1445 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int resource
, const struct rlimit64
* new_rlim
, struct rlimit64
* old_rlim
),
1446 TP_ARGS(sc_exit(ret
,) pid
, resource
, new_rlim
, old_rlim
),
1447 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(unsigned int, resource
)) sc_in(__field_hex(const struct rlimit64
*, new_rlim
)) sc_out(__field_hex(struct rlimit64
*, old_rlim
))),
1448 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(resource
, resource
)) sc_in(tp_assign(new_rlim
, new_rlim
)) sc_out(tp_assign(old_rlim
, old_rlim
))),
1452 #ifndef OVERRIDE_32_sendmmsg
1453 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg
,
1454 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
),
1455 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
),
1456 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(struct mmsghdr
*, mmsg
)) sc_in(__field(unsigned int, vlen
)) sc_in(__field(unsigned int, flags
))),
1457 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(mmsg
, mmsg
)) sc_in(tp_assign(vlen
, vlen
)) sc_in(tp_assign(flags
, flags
))),
1461 #ifndef OVERRIDE_32_mount
1462 SC_LTTNG_TRACEPOINT_EVENT(mount
,
1463 TP_PROTO(sc_exit(long ret
,) char * dev_name
, char * dir_name
, char * type
, unsigned long flags
, void * data
),
1464 TP_ARGS(sc_exit(ret
,) dev_name
, dir_name
, type
, flags
, data
),
1465 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(dev_name
, dev_name
)) sc_in(__string_from_user(dir_name
, dir_name
)) sc_in(__string_from_user(type
, type
)) sc_in(__field(unsigned long, flags
)) sc_in(__field_hex(void *, data
))),
1466 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(dev_name
, dev_name
)) sc_in(tp_copy_string_from_user(dir_name
, dir_name
)) sc_in(tp_copy_string_from_user(type
, type
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(data
, data
))),
1470 #ifndef OVERRIDE_32_llseek
1471 SC_LTTNG_TRACEPOINT_EVENT(llseek
,
1472 TP_PROTO(sc_exit(long ret
,) unsigned int fd
, unsigned long offset_high
, unsigned long offset_low
, loff_t
* result
, unsigned int origin
),
1473 TP_ARGS(sc_exit(ret
,) fd
, offset_high
, offset_low
, result
, origin
),
1474 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field(unsigned int, fd
)) sc_inout(__field(unsigned long, offset_high
)) sc_inout(__field(unsigned long, offset_low
)) sc_inout(__field_hex(loff_t
*, result
)) sc_inout(__field(unsigned int, origin
))),
1475 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(fd
, fd
)) sc_inout(tp_assign(offset_high
, offset_high
)) sc_inout(tp_assign(offset_low
, offset_low
)) sc_inout(tp_assign(result
, result
)) sc_inout(tp_assign(origin
, origin
))),
1479 #ifndef OVERRIDE_32_select
1480 SC_LTTNG_TRACEPOINT_EVENT(select
,
1481 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct timeval
* tvp
),
1482 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tvp
),
1483 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, n
)) sc_inout(__field_hex(fd_set
*, inp
)) sc_inout(__field_hex(fd_set
*, outp
)) sc_inout(__field_hex(fd_set
*, exp
)) sc_inout(__field_hex(struct timeval
*, tvp
))),
1484 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(n
, n
)) sc_inout(tp_assign(inp
, inp
)) sc_inout(tp_assign(outp
, outp
)) sc_inout(tp_assign(exp
, exp
)) sc_inout(tp_assign(tvp
, tvp
))),
1488 #ifndef OVERRIDE_32_setxattr
1489 SC_LTTNG_TRACEPOINT_EVENT(setxattr
,
1490 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1491 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1492 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
)) sc_in(__field_hex(const void *, value
)) sc_in(__field(size_t, size
)) sc_in(__field(int, flags
))),
1493 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
)) sc_in(tp_assign(flags
, flags
))),
1497 #ifndef OVERRIDE_32_lsetxattr
1498 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr
,
1499 TP_PROTO(sc_exit(long ret
,) const char * pathname
, const char * name
, const void * value
, size_t size
, int flags
),
1500 TP_ARGS(sc_exit(ret
,) pathname
, name
, value
, size
, flags
),
1501 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(pathname
, pathname
)) sc_in(__string_from_user(name
, name
)) sc_in(__field_hex(const void *, value
)) sc_in(__field(size_t, size
)) sc_in(__field(int, flags
))),
1502 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(pathname
, pathname
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
)) sc_in(tp_assign(flags
, flags
))),
1506 #ifndef OVERRIDE_32_fsetxattr
1507 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr
,
1508 TP_PROTO(sc_exit(long ret
,) int fd
, const char * name
, const void * value
, size_t size
, int flags
),
1509 TP_ARGS(sc_exit(ret
,) fd
, name
, value
, size
, flags
),
1510 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__string_from_user(name
, name
)) sc_in(__field_hex(const void *, value
)) sc_in(__field(size_t, size
)) sc_in(__field(int, flags
))),
1511 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_in(tp_assign(value
, value
)) sc_in(tp_assign(size
, size
)) sc_in(tp_assign(flags
, flags
))),
1515 #ifndef OVERRIDE_32_io_getevents
1516 SC_LTTNG_TRACEPOINT_EVENT(io_getevents
,
1517 TP_PROTO(sc_exit(long ret
,) aio_context_t ctx_id
, long min_nr
, long nr
, struct io_event
* events
, struct timespec
* timeout
),
1518 TP_ARGS(sc_exit(ret
,) ctx_id
, min_nr
, nr
, events
, timeout
),
1519 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(aio_context_t
, ctx_id
)) sc_in(__field(long, min_nr
)) sc_in(__field(long, nr
)) sc_out(__field_hex(struct io_event
*, events
)) sc_inout(__field_hex(struct timespec
*, timeout
))),
1520 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(ctx_id
, ctx_id
)) sc_in(tp_assign(min_nr
, min_nr
)) sc_in(tp_assign(nr
, nr
)) sc_out(tp_assign(events
, events
)) sc_inout(tp_assign(timeout
, timeout
))),
1524 #ifndef OVERRIDE_32_mq_timedsend
1525 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend
,
1526 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
),
1527 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, msg_prio
, u_abs_timeout
),
1528 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(mqd_t
, mqdes
)) sc_in(__field_hex(const char *, u_msg_ptr
)) sc_in(__field(size_t, msg_len
)) sc_in(__field(unsigned int, msg_prio
)) sc_in(__field_hex(const struct timespec
*, u_abs_timeout
))),
1529 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(mqdes
, mqdes
)) sc_in(tp_assign(u_msg_ptr
, u_msg_ptr
)) sc_in(tp_assign(msg_len
, msg_len
)) sc_in(tp_assign(msg_prio
, msg_prio
)) sc_in(tp_assign(u_abs_timeout
, u_abs_timeout
))),
1533 #ifndef OVERRIDE_32_mq_timedreceive
1534 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive
,
1535 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
),
1536 TP_ARGS(sc_exit(ret
,) mqdes
, u_msg_ptr
, msg_len
, u_msg_prio
, u_abs_timeout
),
1537 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(mqd_t
, mqdes
)) sc_out(__field_hex(char *, u_msg_ptr
)) sc_in(__field(size_t, msg_len
)) sc_out(__field_hex(unsigned int *, u_msg_prio
)) sc_in(__field_hex(const struct timespec
*, u_abs_timeout
))),
1538 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(mqdes
, mqdes
)) sc_out(tp_assign(u_msg_ptr
, u_msg_ptr
)) sc_in(tp_assign(msg_len
, msg_len
)) sc_out(tp_assign(u_msg_prio
, u_msg_prio
)) sc_in(tp_assign(u_abs_timeout
, u_abs_timeout
))),
1542 #ifndef OVERRIDE_32_waitid
1543 SC_LTTNG_TRACEPOINT_EVENT(waitid
,
1544 TP_PROTO(sc_exit(long ret
,) int which
, pid_t upid
, struct siginfo
* infop
, int options
, struct rusage
* ru
),
1545 TP_ARGS(sc_exit(ret
,) which
, upid
, infop
, options
, ru
),
1546 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, which
)) sc_in(__field(pid_t
, upid
)) sc_out(__field_hex(struct siginfo
*, infop
)) sc_in(__field(int, options
)) sc_out(__field_hex(struct rusage
*, ru
))),
1547 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(which
, which
)) sc_in(tp_assign(upid
, upid
)) sc_out(tp_assign(infop
, infop
)) sc_in(tp_assign(options
, options
)) sc_out(tp_assign(ru
, ru
))),
1551 #ifndef OVERRIDE_32_setsockopt
1552 SC_LTTNG_TRACEPOINT_EVENT(setsockopt
,
1553 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int optlen
),
1554 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1555 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field(int, level
)) sc_in(__field(int, optname
)) sc_in(__field_hex(char *, optval
)) sc_in(__field(int, optlen
))),
1556 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(level
, level
)) sc_in(tp_assign(optname
, optname
)) sc_in(tp_assign(optval
, optval
)) sc_in(tp_assign(optlen
, optlen
))),
1560 #ifndef OVERRIDE_32_getsockopt
1561 SC_LTTNG_TRACEPOINT_EVENT(getsockopt
,
1562 TP_PROTO(sc_exit(long ret
,) int fd
, int level
, int optname
, char * optval
, int * optlen
),
1563 TP_ARGS(sc_exit(ret
,) fd
, level
, optname
, optval
, optlen
),
1564 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field(int, level
)) sc_in(__field(int, optname
)) sc_out(__field_hex(char *, optval
)) sc_inout(__field_hex(int *, optlen
))),
1565 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(level
, level
)) sc_in(tp_assign(optname
, optname
)) sc_out(tp_assign(optval
, optval
)) sc_inout(tp_assign(optlen
, optlen
))),
1569 #ifndef OVERRIDE_32_msgrcv
1570 SC_LTTNG_TRACEPOINT_EVENT(msgrcv
,
1571 TP_PROTO(sc_exit(long ret
,) int msqid
, struct msgbuf
* msgp
, size_t msgsz
, long msgtyp
, int msgflg
),
1572 TP_ARGS(sc_exit(ret
,) msqid
, msgp
, msgsz
, msgtyp
, msgflg
),
1573 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, msqid
)) sc_out(__field_hex(struct msgbuf
*, msgp
)) sc_in(__field(size_t, msgsz
)) sc_in(__field(long, msgtyp
)) sc_in(__field(int, msgflg
))),
1574 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(msqid
, msqid
)) sc_out(tp_assign(msgp
, msgp
)) sc_in(tp_assign(msgsz
, msgsz
)) sc_in(tp_assign(msgtyp
, msgtyp
)) sc_in(tp_assign(msgflg
, msgflg
))),
1578 #ifndef OVERRIDE_32_add_key
1579 SC_LTTNG_TRACEPOINT_EVENT(add_key
,
1580 TP_PROTO(sc_exit(long ret
,) const char * _type
, const char * _description
, const void * _payload
, size_t plen
, key_serial_t ringid
),
1581 TP_ARGS(sc_exit(ret
,) _type
, _description
, _payload
, plen
, ringid
),
1582 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__string_from_user(_type
, _type
)) sc_in(__field_hex(const char *, _description
)) sc_in(__field_hex(const void *, _payload
)) sc_in(__field(size_t, plen
)) sc_in(__field(key_serial_t
, ringid
))),
1583 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_copy_string_from_user(_type
, _type
)) sc_in(tp_assign(_description
, _description
)) sc_in(tp_assign(_payload
, _payload
)) sc_in(tp_assign(plen
, plen
)) sc_in(tp_assign(ringid
, ringid
))),
1587 #ifndef OVERRIDE_32_fchownat
1588 SC_LTTNG_TRACEPOINT_EVENT(fchownat
,
1589 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * filename
, uid_t user
, gid_t group
, int flag
),
1590 TP_ARGS(sc_exit(ret
,) dfd
, filename
, user
, group
, flag
),
1591 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(filename
, filename
)) sc_in(__field(uid_t
, user
)) sc_in(__field(gid_t
, group
)) sc_in(__field(int, flag
))),
1592 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(filename
, filename
)) sc_in(tp_assign(user
, user
)) sc_in(tp_assign(group
, group
)) sc_in(tp_assign(flag
, flag
))),
1596 #ifndef OVERRIDE_32_linkat
1597 SC_LTTNG_TRACEPOINT_EVENT(linkat
,
1598 TP_PROTO(sc_exit(long ret
,) int olddfd
, const char * oldname
, int newdfd
, const char * newname
, int flags
),
1599 TP_ARGS(sc_exit(ret
,) olddfd
, oldname
, newdfd
, newname
, flags
),
1600 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, olddfd
)) sc_in(__string_from_user(oldname
, oldname
)) sc_in(__field(int, newdfd
)) sc_in(__string_from_user(newname
, newname
)) sc_in(__field(int, flags
))),
1601 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(olddfd
, olddfd
)) sc_in(tp_copy_string_from_user(oldname
, oldname
)) sc_in(tp_assign(newdfd
, newdfd
)) sc_in(tp_copy_string_from_user(newname
, newname
)) sc_in(tp_assign(flags
, flags
))),
1605 #ifndef OVERRIDE_32_ppoll
1606 SC_LTTNG_TRACEPOINT_EVENT(ppoll
,
1607 TP_PROTO(sc_exit(long ret
,) struct pollfd
* ufds
, unsigned int nfds
, struct timespec
* tsp
, const sigset_t
* sigmask
, size_t sigsetsize
),
1608 TP_ARGS(sc_exit(ret
,) ufds
, nfds
, tsp
, sigmask
, sigsetsize
),
1609 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(struct pollfd
*, ufds
)) sc_in(__field(unsigned int, nfds
)) sc_in(__field_hex(struct timespec
*, tsp
)) sc_in(__field_hex(const sigset_t
*, sigmask
)) sc_in(__field(size_t, sigsetsize
))),
1610 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(ufds
, ufds
)) sc_in(tp_assign(nfds
, nfds
)) sc_in(tp_assign(tsp
, tsp
)) sc_in(tp_assign(sigmask
, sigmask
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
1614 #ifndef OVERRIDE_32_preadv
1615 SC_LTTNG_TRACEPOINT_EVENT(preadv
,
1616 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1617 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1618 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned long, fd
)) sc_out(__field_hex(const struct iovec
*, vec
)) sc_in(__field(unsigned long, vlen
)) sc_in(__field(unsigned long, pos_l
)) sc_in(__field(unsigned long, pos_h
))),
1619 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(vec
, vec
)) sc_in(tp_assign(vlen
, vlen
)) sc_in(tp_assign(pos_l
, pos_l
)) sc_in(tp_assign(pos_h
, pos_h
))),
1623 #ifndef OVERRIDE_32_pwritev
1624 SC_LTTNG_TRACEPOINT_EVENT(pwritev
,
1625 TP_PROTO(sc_exit(long ret
,) unsigned long fd
, const struct iovec
* vec
, unsigned long vlen
, unsigned long pos_l
, unsigned long pos_h
),
1626 TP_ARGS(sc_exit(ret
,) fd
, vec
, vlen
, pos_l
, pos_h
),
1627 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(unsigned long, fd
)) sc_in(__field_hex(const struct iovec
*, vec
)) sc_in(__field(unsigned long, vlen
)) sc_in(__field(unsigned long, pos_l
)) sc_in(__field(unsigned long, pos_h
))),
1628 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(vec
, vec
)) sc_in(tp_assign(vlen
, vlen
)) sc_in(tp_assign(pos_l
, pos_l
)) sc_in(tp_assign(pos_h
, pos_h
))),
1632 #ifndef OVERRIDE_32_perf_event_open
1633 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open
,
1634 TP_PROTO(sc_exit(long ret
,) struct perf_event_attr
* attr_uptr
, pid_t pid
, int cpu
, int group_fd
, unsigned long flags
),
1635 TP_ARGS(sc_exit(ret
,) attr_uptr
, pid
, cpu
, group_fd
, flags
),
1636 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field_hex(struct perf_event_attr
*, attr_uptr
)) sc_in(__field(pid_t
, pid
)) sc_in(__field(int, cpu
)) sc_in(__field(int, group_fd
)) sc_in(__field(unsigned long, flags
))),
1637 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(attr_uptr
, attr_uptr
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(cpu
, cpu
)) sc_in(tp_assign(group_fd
, group_fd
)) sc_in(tp_assign(flags
, flags
))),
1641 #ifndef OVERRIDE_32_recvmmsg
1642 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg
,
1643 TP_PROTO(sc_exit(long ret
,) int fd
, struct mmsghdr
* mmsg
, unsigned int vlen
, unsigned int flags
, struct timespec
* timeout
),
1644 TP_ARGS(sc_exit(ret
,) fd
, mmsg
, vlen
, flags
, timeout
),
1645 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(struct mmsghdr
*, mmsg
)) sc_in(__field(unsigned int, vlen
)) sc_in(__field(unsigned int, flags
)) sc_inout(__field_hex(struct timespec
*, timeout
))),
1646 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(mmsg
, mmsg
)) sc_in(tp_assign(vlen
, vlen
)) sc_in(tp_assign(flags
, flags
)) sc_inout(tp_assign(timeout
, timeout
))),
1650 #ifndef OVERRIDE_32_name_to_handle_at
1651 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at
,
1652 TP_PROTO(sc_exit(long ret
,) int dfd
, const char * name
, struct file_handle
* handle
, int * mnt_id
, int flag
),
1653 TP_ARGS(sc_exit(ret
,) dfd
, name
, handle
, mnt_id
, flag
),
1654 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, dfd
)) sc_in(__string_from_user(name
, name
)) sc_inout(__field_hex(struct file_handle
*, handle
)) sc_out(__field_hex(int *, mnt_id
)) sc_in(__field(int, flag
))),
1655 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(dfd
, dfd
)) sc_in(tp_copy_string_from_user(name
, name
)) sc_inout(tp_assign(handle
, handle
)) sc_out(tp_assign(mnt_id
, mnt_id
)) sc_in(tp_assign(flag
, flag
))),
1659 #ifndef OVERRIDE_32_futex
1660 SC_LTTNG_TRACEPOINT_EVENT(futex
,
1661 TP_PROTO(sc_exit(long ret
,) u32
* uaddr
, int op
, u32 val
, struct timespec
* utime
, u32
* uaddr2
, u32 val3
),
1662 TP_ARGS(sc_exit(ret
,) uaddr
, op
, val
, utime
, uaddr2
, val3
),
1663 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_inout(__field_hex(u32
*, uaddr
)) sc_in(__field(int, op
)) sc_in(__field(u32
, val
)) sc_in(__field_hex(struct timespec
*, utime
)) sc_inout(__field_hex(u32
*, uaddr2
)) sc_in(__field(u32
, val3
))),
1664 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_inout(tp_assign(uaddr
, uaddr
)) sc_in(tp_assign(op
, op
)) sc_in(tp_assign(val
, val
)) sc_in(tp_assign(utime
, utime
)) sc_inout(tp_assign(uaddr2
, uaddr2
)) sc_in(tp_assign(val3
, val3
))),
1668 #ifndef OVERRIDE_32_sendto
1669 SC_LTTNG_TRACEPOINT_EVENT(sendto
,
1670 TP_PROTO(sc_exit(long ret
,) int fd
, void * buff
, size_t len
, unsigned flags
, struct sockaddr
* addr
, int addr_len
),
1671 TP_ARGS(sc_exit(ret
,) fd
, buff
, len
, flags
, addr
, addr_len
),
1672 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_in(__field_hex(void *, buff
)) sc_in(__field(size_t, len
)) sc_in(__field(unsigned, flags
)) sc_in(__field_hex(struct sockaddr
*, addr
)) sc_in(__field_hex(int, addr_len
))),
1673 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_in(tp_assign(buff
, buff
)) sc_in(tp_assign(len
, len
)) sc_in(tp_assign(flags
, flags
)) sc_in(tp_assign(addr
, addr
)) sc_in(tp_assign(addr_len
, addr_len
))),
1677 #ifndef OVERRIDE_32_recvfrom
1678 SC_LTTNG_TRACEPOINT_EVENT(recvfrom
,
1679 TP_PROTO(sc_exit(long ret
,) int fd
, void * ubuf
, size_t size
, unsigned flags
, struct sockaddr
* addr
, int * addr_len
),
1680 TP_ARGS(sc_exit(ret
,) fd
, ubuf
, size
, flags
, addr
, addr_len
),
1681 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd
)) sc_out(__field_hex(void *, ubuf
)) sc_in(__field(size_t, size
)) sc_in(__field(unsigned, flags
)) sc_out(__field_hex(struct sockaddr
*, addr
)) sc_inout(__field_hex(int *, addr_len
))),
1682 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd
, fd
)) sc_out(tp_assign(ubuf
, ubuf
)) sc_in(tp_assign(size
, size
)) sc_in(tp_assign(flags
, flags
)) sc_out(tp_assign(addr
, addr
)) sc_inout(tp_assign(addr_len
, addr_len
))),
1686 #ifndef OVERRIDE_32_pselect6
1687 SC_LTTNG_TRACEPOINT_EVENT(pselect6
,
1688 TP_PROTO(sc_exit(long ret
,) int n
, fd_set
* inp
, fd_set
* outp
, fd_set
* exp
, struct timespec
* tsp
, void * sig
),
1689 TP_ARGS(sc_exit(ret
,) n
, inp
, outp
, exp
, tsp
, sig
),
1690 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, n
)) sc_inout(__field_hex(fd_set
*, inp
)) sc_inout(__field_hex(fd_set
*, outp
)) sc_inout(__field_hex(fd_set
*, exp
)) sc_inout(__field_hex(struct timespec
*, tsp
)) sc_in(__field_hex(void *, sig
))),
1691 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(n
, n
)) sc_inout(tp_assign(inp
, inp
)) sc_inout(tp_assign(outp
, outp
)) sc_inout(tp_assign(exp
, exp
)) sc_inout(tp_assign(tsp
, tsp
)) sc_in(tp_assign(sig
, sig
))),
1695 #ifndef OVERRIDE_32_splice
1696 SC_LTTNG_TRACEPOINT_EVENT(splice
,
1697 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
),
1698 TP_ARGS(sc_exit(ret
,) fd_in
, off_in
, fd_out
, off_out
, len
, flags
),
1699 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, fd_in
)) sc_in(__field_hex(loff_t
*, off_in
)) sc_in(__field(int, fd_out
)) sc_in(__field_hex(loff_t
*, off_out
)) sc_in(__field(size_t, len
)) sc_in(__field(unsigned int, flags
))),
1700 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(fd_in
, fd_in
)) sc_in(tp_assign(off_in
, off_in
)) sc_in(tp_assign(fd_out
, fd_out
)) sc_in(tp_assign(off_out
, off_out
)) sc_in(tp_assign(len
, len
)) sc_in(tp_assign(flags
, flags
))),
1704 #ifndef OVERRIDE_32_epoll_pwait
1705 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait
,
1706 TP_PROTO(sc_exit(long ret
,) int epfd
, struct epoll_event
* events
, int maxevents
, int timeout
, const sigset_t
* sigmask
, size_t sigsetsize
),
1707 TP_ARGS(sc_exit(ret
,) epfd
, events
, maxevents
, timeout
, sigmask
, sigsetsize
),
1708 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(int, epfd
)) sc_out(__field_hex(struct epoll_event
*, events
)) sc_in(__field(int, maxevents
)) sc_in(__field(int, timeout
)) sc_in(__field_hex(const sigset_t
*, sigmask
)) sc_in(__field(size_t, sigsetsize
))),
1709 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(epfd
, epfd
)) sc_out(tp_assign(events
, events
)) sc_in(tp_assign(maxevents
, maxevents
)) sc_in(tp_assign(timeout
, timeout
)) sc_in(tp_assign(sigmask
, sigmask
)) sc_in(tp_assign(sigsetsize
, sigsetsize
))),
1713 #ifndef OVERRIDE_32_process_vm_readv
1714 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv
,
1715 TP_PROTO(sc_exit(long ret
,) pid_t pid
, const struct iovec
* lvec
, unsigned long liovcnt
, const struct iovec
* rvec
, unsigned long riovcnt
, unsigned long flags
),
1716 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1717 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_out(__field_hex(const struct iovec
*, lvec
)) sc_in(__field(unsigned long, liovcnt
)) sc_in(__field_hex(const struct iovec
*, rvec
)) sc_in(__field(unsigned long, riovcnt
)) sc_in(__field(unsigned long, flags
))),
1718 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_out(tp_assign(lvec
, lvec
)) sc_in(tp_assign(liovcnt
, liovcnt
)) sc_in(tp_assign(rvec
, rvec
)) sc_in(tp_assign(riovcnt
, riovcnt
)) sc_in(tp_assign(flags
, flags
))),
1722 #ifndef OVERRIDE_32_process_vm_writev
1723 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev
,
1724 TP_PROTO(sc_exit(long ret
,) pid_t pid
, const struct iovec
* lvec
, unsigned long liovcnt
, const struct iovec
* rvec
, unsigned long riovcnt
, unsigned long flags
),
1725 TP_ARGS(sc_exit(ret
,) pid
, lvec
, liovcnt
, rvec
, riovcnt
, flags
),
1726 TP_STRUCT__entry(sc_exit(__field(long, ret
)) sc_in(__field(pid_t
, pid
)) sc_in(__field_hex(const struct iovec
*, lvec
)) sc_in(__field(unsigned long, liovcnt
)) sc_in(__field_hex(const struct iovec
*, rvec
)) sc_in(__field(unsigned long, riovcnt
)) sc_in(__field(unsigned long, flags
))),
1727 TP_fast_assign(sc_exit(tp_assign(ret
, ret
)) sc_in(tp_assign(pid
, pid
)) sc_in(tp_assign(lvec
, lvec
)) sc_in(tp_assign(liovcnt
, liovcnt
)) sc_in(tp_assign(rvec
, rvec
)) sc_in(tp_assign(riovcnt
, riovcnt
)) sc_in(tp_assign(flags
, flags
))),
1732 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1734 /* This part must be outside protection */
1735 #include "../../../probes/define_trace.h"
1737 #else /* CREATE_SYSCALL_TABLE */
1739 #include "arm-32-syscalls-3.4.25_pointers_override.h"
1740 #include "syscalls_pointers_override.h"
1742 #ifndef OVERRIDE_TABLE_32_read
1743 TRACE_SYSCALL_TABLE(read
, read
, 3, 3)
1745 #ifndef OVERRIDE_TABLE_32_write
1746 TRACE_SYSCALL_TABLE(write
, write
, 4, 3)
1748 #ifndef OVERRIDE_TABLE_32_open
1749 TRACE_SYSCALL_TABLE(open
, open
, 5, 3)
1751 #ifndef OVERRIDE_TABLE_32_creat
1752 TRACE_SYSCALL_TABLE(creat
, creat
, 8, 2)
1754 #ifndef OVERRIDE_TABLE_32_link
1755 TRACE_SYSCALL_TABLE(link
, link
, 9, 2)
1757 #ifndef OVERRIDE_TABLE_32_unlink
1758 TRACE_SYSCALL_TABLE(unlink
, unlink
, 10, 1)
1760 #ifndef OVERRIDE_TABLE_32_chdir
1761 TRACE_SYSCALL_TABLE(chdir
, chdir
, 12, 1)
1763 #ifndef OVERRIDE_TABLE_32_mknod
1764 TRACE_SYSCALL_TABLE(mknod
, mknod
, 14, 3)
1766 #ifndef OVERRIDE_TABLE_32_chmod
1767 TRACE_SYSCALL_TABLE(chmod
, chmod
, 15, 2)
1769 #ifndef OVERRIDE_TABLE_32_lchown16
1770 TRACE_SYSCALL_TABLE(lchown16
, lchown16
, 16, 3)
1772 #ifndef OVERRIDE_TABLE_32_mount
1773 TRACE_SYSCALL_TABLE(mount
, mount
, 21, 5)
1775 #ifndef OVERRIDE_TABLE_32_access
1776 TRACE_SYSCALL_TABLE(access
, access
, 33, 2)
1778 #ifndef OVERRIDE_TABLE_32_rename
1779 TRACE_SYSCALL_TABLE(rename
, rename
, 38, 2)
1781 #ifndef OVERRIDE_TABLE_32_mkdir
1782 TRACE_SYSCALL_TABLE(mkdir
, mkdir
, 39, 2)
1784 #ifndef OVERRIDE_TABLE_32_rmdir
1785 TRACE_SYSCALL_TABLE(rmdir
, rmdir
, 40, 1)
1787 #ifndef OVERRIDE_TABLE_32_pipe
1788 TRACE_SYSCALL_TABLE(pipe
, pipe
, 42, 1)
1790 #ifndef OVERRIDE_TABLE_32_times
1791 TRACE_SYSCALL_TABLE(times
, times
, 43, 1)
1793 #ifndef OVERRIDE_TABLE_32_acct
1794 TRACE_SYSCALL_TABLE(acct
, acct
, 51, 1)
1796 #ifndef OVERRIDE_TABLE_32_umount
1797 TRACE_SYSCALL_TABLE(umount
, umount
, 52, 2)
1799 #ifndef OVERRIDE_TABLE_32_chroot
1800 TRACE_SYSCALL_TABLE(chroot
, chroot
, 61, 1)
1802 #ifndef OVERRIDE_TABLE_32_ustat
1803 TRACE_SYSCALL_TABLE(ustat
, ustat
, 62, 2)
1805 #ifndef OVERRIDE_TABLE_32_sigpending
1806 TRACE_SYSCALL_TABLE(sigpending
, sigpending
, 73, 1)
1808 #ifndef OVERRIDE_TABLE_32_sethostname
1809 TRACE_SYSCALL_TABLE(sethostname
, sethostname
, 74, 2)
1811 #ifndef OVERRIDE_TABLE_32_setrlimit
1812 TRACE_SYSCALL_TABLE(setrlimit
, setrlimit
, 75, 2)
1814 #ifndef OVERRIDE_TABLE_32_getrusage
1815 TRACE_SYSCALL_TABLE(getrusage
, getrusage
, 77, 2)
1817 #ifndef OVERRIDE_TABLE_32_gettimeofday
1818 TRACE_SYSCALL_TABLE(gettimeofday
, gettimeofday
, 78, 2)
1820 #ifndef OVERRIDE_TABLE_32_settimeofday
1821 TRACE_SYSCALL_TABLE(settimeofday
, settimeofday
, 79, 2)
1823 #ifndef OVERRIDE_TABLE_32_getgroups16
1824 TRACE_SYSCALL_TABLE(getgroups16
, getgroups16
, 80, 2)
1826 #ifndef OVERRIDE_TABLE_32_setgroups16
1827 TRACE_SYSCALL_TABLE(setgroups16
, setgroups16
, 81, 2)
1829 #ifndef OVERRIDE_TABLE_32_symlink
1830 TRACE_SYSCALL_TABLE(symlink
, symlink
, 83, 2)
1832 #ifndef OVERRIDE_TABLE_32_readlink
1833 TRACE_SYSCALL_TABLE(readlink
, readlink
, 85, 3)
1835 #ifndef OVERRIDE_TABLE_32_uselib
1836 TRACE_SYSCALL_TABLE(uselib
, uselib
, 86, 1)
1838 #ifndef OVERRIDE_TABLE_32_swapon
1839 TRACE_SYSCALL_TABLE(swapon
, swapon
, 87, 2)
1841 #ifndef OVERRIDE_TABLE_32_reboot
1842 TRACE_SYSCALL_TABLE(reboot
, reboot
, 88, 4)
1844 #ifndef OVERRIDE_TABLE_32_truncate
1845 TRACE_SYSCALL_TABLE(truncate
, truncate
, 92, 2)
1847 #ifndef OVERRIDE_TABLE_32_statfs
1848 TRACE_SYSCALL_TABLE(statfs
, statfs
, 99, 2)
1850 #ifndef OVERRIDE_TABLE_32_fstatfs
1851 TRACE_SYSCALL_TABLE(fstatfs
, fstatfs
, 100, 2)
1853 #ifndef OVERRIDE_TABLE_32_syslog
1854 TRACE_SYSCALL_TABLE(syslog
, syslog
, 103, 3)
1856 #ifndef OVERRIDE_TABLE_32_setitimer
1857 TRACE_SYSCALL_TABLE(setitimer
, setitimer
, 104, 3)
1859 #ifndef OVERRIDE_TABLE_32_getitimer
1860 TRACE_SYSCALL_TABLE(getitimer
, getitimer
, 105, 2)
1862 #ifndef OVERRIDE_TABLE_32_newstat
1863 TRACE_SYSCALL_TABLE(newstat
, newstat
, 106, 2)
1865 #ifndef OVERRIDE_TABLE_32_newlstat
1866 TRACE_SYSCALL_TABLE(newlstat
, newlstat
, 107, 2)
1868 #ifndef OVERRIDE_TABLE_32_newfstat
1869 TRACE_SYSCALL_TABLE(newfstat
, newfstat
, 108, 2)
1871 #ifndef OVERRIDE_TABLE_32_wait4
1872 TRACE_SYSCALL_TABLE(wait4
, wait4
, 114, 4)
1874 #ifndef OVERRIDE_TABLE_32_swapoff
1875 TRACE_SYSCALL_TABLE(swapoff
, swapoff
, 115, 1)
1877 #ifndef OVERRIDE_TABLE_32_sysinfo
1878 TRACE_SYSCALL_TABLE(sysinfo
, sysinfo
, 116, 1)
1880 #ifndef OVERRIDE_TABLE_32_setdomainname
1881 TRACE_SYSCALL_TABLE(setdomainname
, setdomainname
, 121, 2)
1883 #ifndef OVERRIDE_TABLE_32_newuname
1884 TRACE_SYSCALL_TABLE(newuname
, newuname
, 122, 1)
1886 #ifndef OVERRIDE_TABLE_32_adjtimex
1887 TRACE_SYSCALL_TABLE(adjtimex
, adjtimex
, 124, 1)
1889 #ifndef OVERRIDE_TABLE_32_sigprocmask
1890 TRACE_SYSCALL_TABLE(sigprocmask
, sigprocmask
, 126, 3)
1892 #ifndef OVERRIDE_TABLE_32_init_module
1893 TRACE_SYSCALL_TABLE(init_module
, init_module
, 128, 3)
1895 #ifndef OVERRIDE_TABLE_32_delete_module
1896 TRACE_SYSCALL_TABLE(delete_module
, delete_module
, 129, 2)
1898 #ifndef OVERRIDE_TABLE_32_quotactl
1899 TRACE_SYSCALL_TABLE(quotactl
, quotactl
, 131, 4)
1901 #ifndef OVERRIDE_TABLE_32_llseek
1902 TRACE_SYSCALL_TABLE(llseek
, llseek
, 140, 5)
1904 #ifndef OVERRIDE_TABLE_32_getdents
1905 TRACE_SYSCALL_TABLE(getdents
, getdents
, 141, 3)
1907 #ifndef OVERRIDE_TABLE_32_select
1908 TRACE_SYSCALL_TABLE(select
, select
, 142, 5)
1910 #ifndef OVERRIDE_TABLE_32_readv
1911 TRACE_SYSCALL_TABLE(readv
, readv
, 145, 3)
1913 #ifndef OVERRIDE_TABLE_32_writev
1914 TRACE_SYSCALL_TABLE(writev
, writev
, 146, 3)
1916 #ifndef OVERRIDE_TABLE_32_sysctl
1917 TRACE_SYSCALL_TABLE(sysctl
, sysctl
, 149, 1)
1919 #ifndef OVERRIDE_TABLE_32_sched_setparam
1920 TRACE_SYSCALL_TABLE(sched_setparam
, sched_setparam
, 154, 2)
1922 #ifndef OVERRIDE_TABLE_32_sched_getparam
1923 TRACE_SYSCALL_TABLE(sched_getparam
, sched_getparam
, 155, 2)
1925 #ifndef OVERRIDE_TABLE_32_sched_setscheduler
1926 TRACE_SYSCALL_TABLE(sched_setscheduler
, sched_setscheduler
, 156, 3)
1928 #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval
1929 TRACE_SYSCALL_TABLE(sched_rr_get_interval
, sched_rr_get_interval
, 161, 2)
1931 #ifndef OVERRIDE_TABLE_32_nanosleep
1932 TRACE_SYSCALL_TABLE(nanosleep
, nanosleep
, 162, 2)
1934 #ifndef OVERRIDE_TABLE_32_getresuid16
1935 TRACE_SYSCALL_TABLE(getresuid16
, getresuid16
, 165, 3)
1937 #ifndef OVERRIDE_TABLE_32_poll
1938 TRACE_SYSCALL_TABLE(poll
, poll
, 168, 3)
1940 #ifndef OVERRIDE_TABLE_32_getresgid16
1941 TRACE_SYSCALL_TABLE(getresgid16
, getresgid16
, 171, 3)
1943 #ifndef OVERRIDE_TABLE_32_rt_sigaction
1944 TRACE_SYSCALL_TABLE(rt_sigaction
, rt_sigaction
, 174, 4)
1946 #ifndef OVERRIDE_TABLE_32_rt_sigprocmask
1947 TRACE_SYSCALL_TABLE(rt_sigprocmask
, rt_sigprocmask
, 175, 4)
1949 #ifndef OVERRIDE_TABLE_32_rt_sigpending
1950 TRACE_SYSCALL_TABLE(rt_sigpending
, rt_sigpending
, 176, 2)
1952 #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait
1953 TRACE_SYSCALL_TABLE(rt_sigtimedwait
, rt_sigtimedwait
, 177, 4)
1955 #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo
1956 TRACE_SYSCALL_TABLE(rt_sigqueueinfo
, rt_sigqueueinfo
, 178, 3)
1958 #ifndef OVERRIDE_TABLE_32_rt_sigsuspend
1959 TRACE_SYSCALL_TABLE(rt_sigsuspend
, rt_sigsuspend
, 179, 2)
1961 #ifndef OVERRIDE_TABLE_32_chown16
1962 TRACE_SYSCALL_TABLE(chown16
, chown16
, 182, 3)
1964 #ifndef OVERRIDE_TABLE_32_getcwd
1965 TRACE_SYSCALL_TABLE(getcwd
, getcwd
, 183, 2)
1967 #ifndef OVERRIDE_TABLE_32_sendfile
1968 TRACE_SYSCALL_TABLE(sendfile
, sendfile
, 187, 4)
1970 #ifndef OVERRIDE_TABLE_32_getrlimit
1971 TRACE_SYSCALL_TABLE(getrlimit
, getrlimit
, 191, 2)
1973 #ifndef OVERRIDE_TABLE_32_stat64
1974 TRACE_SYSCALL_TABLE(stat64
, stat64
, 195, 2)
1976 #ifndef OVERRIDE_TABLE_32_lstat64
1977 TRACE_SYSCALL_TABLE(lstat64
, lstat64
, 196, 2)
1979 #ifndef OVERRIDE_TABLE_32_fstat64
1980 TRACE_SYSCALL_TABLE(fstat64
, fstat64
, 197, 2)
1982 #ifndef OVERRIDE_TABLE_32_lchown
1983 TRACE_SYSCALL_TABLE(lchown
, lchown
, 198, 3)
1985 #ifndef OVERRIDE_TABLE_32_getgroups
1986 TRACE_SYSCALL_TABLE(getgroups
, getgroups
, 205, 2)
1988 #ifndef OVERRIDE_TABLE_32_setgroups
1989 TRACE_SYSCALL_TABLE(setgroups
, setgroups
, 206, 2)
1991 #ifndef OVERRIDE_TABLE_32_getresuid
1992 TRACE_SYSCALL_TABLE(getresuid
, getresuid
, 209, 3)
1994 #ifndef OVERRIDE_TABLE_32_getresgid
1995 TRACE_SYSCALL_TABLE(getresgid
, getresgid
, 211, 3)
1997 #ifndef OVERRIDE_TABLE_32_chown
1998 TRACE_SYSCALL_TABLE(chown
, chown
, 212, 3)
2000 #ifndef OVERRIDE_TABLE_32_getdents64
2001 TRACE_SYSCALL_TABLE(getdents64
, getdents64
, 217, 3)
2003 #ifndef OVERRIDE_TABLE_32_pivot_root
2004 TRACE_SYSCALL_TABLE(pivot_root
, pivot_root
, 218, 2)
2006 #ifndef OVERRIDE_TABLE_32_mincore
2007 TRACE_SYSCALL_TABLE(mincore
, mincore
, 219, 3)
2009 #ifndef OVERRIDE_TABLE_32_setxattr
2010 TRACE_SYSCALL_TABLE(setxattr
, setxattr
, 226, 5)
2012 #ifndef OVERRIDE_TABLE_32_lsetxattr
2013 TRACE_SYSCALL_TABLE(lsetxattr
, lsetxattr
, 227, 5)
2015 #ifndef OVERRIDE_TABLE_32_fsetxattr
2016 TRACE_SYSCALL_TABLE(fsetxattr
, fsetxattr
, 228, 5)
2018 #ifndef OVERRIDE_TABLE_32_getxattr
2019 TRACE_SYSCALL_TABLE(getxattr
, getxattr
, 229, 4)
2021 #ifndef OVERRIDE_TABLE_32_lgetxattr
2022 TRACE_SYSCALL_TABLE(lgetxattr
, lgetxattr
, 230, 4)
2024 #ifndef OVERRIDE_TABLE_32_fgetxattr
2025 TRACE_SYSCALL_TABLE(fgetxattr
, fgetxattr
, 231, 4)
2027 #ifndef OVERRIDE_TABLE_32_listxattr
2028 TRACE_SYSCALL_TABLE(listxattr
, listxattr
, 232, 3)
2030 #ifndef OVERRIDE_TABLE_32_llistxattr
2031 TRACE_SYSCALL_TABLE(llistxattr
, llistxattr
, 233, 3)
2033 #ifndef OVERRIDE_TABLE_32_flistxattr
2034 TRACE_SYSCALL_TABLE(flistxattr
, flistxattr
, 234, 3)
2036 #ifndef OVERRIDE_TABLE_32_removexattr
2037 TRACE_SYSCALL_TABLE(removexattr
, removexattr
, 235, 2)
2039 #ifndef OVERRIDE_TABLE_32_lremovexattr
2040 TRACE_SYSCALL_TABLE(lremovexattr
, lremovexattr
, 236, 2)
2042 #ifndef OVERRIDE_TABLE_32_fremovexattr
2043 TRACE_SYSCALL_TABLE(fremovexattr
, fremovexattr
, 237, 2)
2045 #ifndef OVERRIDE_TABLE_32_sendfile64
2046 TRACE_SYSCALL_TABLE(sendfile64
, sendfile64
, 239, 4)
2048 #ifndef OVERRIDE_TABLE_32_futex
2049 TRACE_SYSCALL_TABLE(futex
, futex
, 240, 6)
2051 #ifndef OVERRIDE_TABLE_32_sched_setaffinity
2052 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 241, 3)
2054 #ifndef OVERRIDE_TABLE_32_sched_getaffinity
2055 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 242, 3)
2057 #ifndef OVERRIDE_TABLE_32_io_setup
2058 TRACE_SYSCALL_TABLE(io_setup
, io_setup
, 243, 2)
2060 #ifndef OVERRIDE_TABLE_32_io_getevents
2061 TRACE_SYSCALL_TABLE(io_getevents
, io_getevents
, 245, 5)
2063 #ifndef OVERRIDE_TABLE_32_io_submit
2064 TRACE_SYSCALL_TABLE(io_submit
, io_submit
, 246, 3)
2066 #ifndef OVERRIDE_TABLE_32_io_cancel
2067 TRACE_SYSCALL_TABLE(io_cancel
, io_cancel
, 247, 3)
2069 #ifndef OVERRIDE_TABLE_32_epoll_ctl
2070 TRACE_SYSCALL_TABLE(epoll_ctl
, epoll_ctl
, 251, 4)
2072 #ifndef OVERRIDE_TABLE_32_epoll_wait
2073 TRACE_SYSCALL_TABLE(epoll_wait
, epoll_wait
, 252, 4)
2075 #ifndef OVERRIDE_TABLE_32_set_tid_address
2076 TRACE_SYSCALL_TABLE(set_tid_address
, set_tid_address
, 256, 1)
2078 #ifndef OVERRIDE_TABLE_32_timer_create
2079 TRACE_SYSCALL_TABLE(timer_create
, timer_create
, 257, 3)
2081 #ifndef OVERRIDE_TABLE_32_timer_settime
2082 TRACE_SYSCALL_TABLE(timer_settime
, timer_settime
, 258, 4)
2084 #ifndef OVERRIDE_TABLE_32_timer_gettime
2085 TRACE_SYSCALL_TABLE(timer_gettime
, timer_gettime
, 259, 2)
2087 #ifndef OVERRIDE_TABLE_32_clock_settime
2088 TRACE_SYSCALL_TABLE(clock_settime
, clock_settime
, 262, 2)
2090 #ifndef OVERRIDE_TABLE_32_clock_gettime
2091 TRACE_SYSCALL_TABLE(clock_gettime
, clock_gettime
, 263, 2)
2093 #ifndef OVERRIDE_TABLE_32_clock_getres
2094 TRACE_SYSCALL_TABLE(clock_getres
, clock_getres
, 264, 2)
2096 #ifndef OVERRIDE_TABLE_32_clock_nanosleep
2097 TRACE_SYSCALL_TABLE(clock_nanosleep
, clock_nanosleep
, 265, 4)
2099 #ifndef OVERRIDE_TABLE_32_utimes
2100 TRACE_SYSCALL_TABLE(utimes
, utimes
, 269, 2)
2102 #ifndef OVERRIDE_TABLE_32_mq_open
2103 TRACE_SYSCALL_TABLE(mq_open
, mq_open
, 274, 4)
2105 #ifndef OVERRIDE_TABLE_32_mq_unlink
2106 TRACE_SYSCALL_TABLE(mq_unlink
, mq_unlink
, 275, 1)
2108 #ifndef OVERRIDE_TABLE_32_mq_timedsend
2109 TRACE_SYSCALL_TABLE(mq_timedsend
, mq_timedsend
, 276, 5)
2111 #ifndef OVERRIDE_TABLE_32_mq_timedreceive
2112 TRACE_SYSCALL_TABLE(mq_timedreceive
, mq_timedreceive
, 277, 5)
2114 #ifndef OVERRIDE_TABLE_32_mq_notify
2115 TRACE_SYSCALL_TABLE(mq_notify
, mq_notify
, 278, 2)
2117 #ifndef OVERRIDE_TABLE_32_mq_getsetattr
2118 TRACE_SYSCALL_TABLE(mq_getsetattr
, mq_getsetattr
, 279, 3)
2120 #ifndef OVERRIDE_TABLE_32_waitid
2121 TRACE_SYSCALL_TABLE(waitid
, waitid
, 280, 5)
2123 #ifndef OVERRIDE_TABLE_32_bind
2124 TRACE_SYSCALL_TABLE(bind
, bind
, 282, 3)
2126 #ifndef OVERRIDE_TABLE_32_connect
2127 TRACE_SYSCALL_TABLE(connect
, connect
, 283, 3)
2129 #ifndef OVERRIDE_TABLE_32_accept
2130 TRACE_SYSCALL_TABLE(accept
, accept
, 285, 3)
2132 #ifndef OVERRIDE_TABLE_32_getsockname
2133 TRACE_SYSCALL_TABLE(getsockname
, getsockname
, 286, 3)
2135 #ifndef OVERRIDE_TABLE_32_getpeername
2136 TRACE_SYSCALL_TABLE(getpeername
, getpeername
, 287, 3)
2138 #ifndef OVERRIDE_TABLE_32_socketpair
2139 TRACE_SYSCALL_TABLE(socketpair
, socketpair
, 288, 4)
2141 #ifndef OVERRIDE_TABLE_32_send
2142 TRACE_SYSCALL_TABLE(send
, send
, 289, 4)
2144 #ifndef OVERRIDE_TABLE_32_sendto
2145 TRACE_SYSCALL_TABLE(sendto
, sendto
, 290, 6)
2147 #ifndef OVERRIDE_TABLE_32_recvfrom
2148 TRACE_SYSCALL_TABLE(recvfrom
, recvfrom
, 292, 6)
2150 #ifndef OVERRIDE_TABLE_32_setsockopt
2151 TRACE_SYSCALL_TABLE(setsockopt
, setsockopt
, 294, 5)
2153 #ifndef OVERRIDE_TABLE_32_getsockopt
2154 TRACE_SYSCALL_TABLE(getsockopt
, getsockopt
, 295, 5)
2156 #ifndef OVERRIDE_TABLE_32_sendmsg
2157 TRACE_SYSCALL_TABLE(sendmsg
, sendmsg
, 296, 3)
2159 #ifndef OVERRIDE_TABLE_32_recvmsg
2160 TRACE_SYSCALL_TABLE(recvmsg
, recvmsg
, 297, 3)
2162 #ifndef OVERRIDE_TABLE_32_semop
2163 TRACE_SYSCALL_TABLE(semop
, semop
, 298, 3)
2165 #ifndef OVERRIDE_TABLE_32_msgsnd
2166 TRACE_SYSCALL_TABLE(msgsnd
, msgsnd
, 301, 4)
2168 #ifndef OVERRIDE_TABLE_32_msgrcv
2169 TRACE_SYSCALL_TABLE(msgrcv
, msgrcv
, 302, 5)
2171 #ifndef OVERRIDE_TABLE_32_msgctl
2172 TRACE_SYSCALL_TABLE(msgctl
, msgctl
, 304, 3)
2174 #ifndef OVERRIDE_TABLE_32_shmat
2175 TRACE_SYSCALL_TABLE(shmat
, shmat
, 305, 3)
2177 #ifndef OVERRIDE_TABLE_32_shmdt
2178 TRACE_SYSCALL_TABLE(shmdt
, shmdt
, 306, 1)
2180 #ifndef OVERRIDE_TABLE_32_shmctl
2181 TRACE_SYSCALL_TABLE(shmctl
, shmctl
, 308, 3)
2183 #ifndef OVERRIDE_TABLE_32_add_key
2184 TRACE_SYSCALL_TABLE(add_key
, add_key
, 309, 5)
2186 #ifndef OVERRIDE_TABLE_32_request_key
2187 TRACE_SYSCALL_TABLE(request_key
, request_key
, 310, 4)
2189 #ifndef OVERRIDE_TABLE_32_semtimedop
2190 TRACE_SYSCALL_TABLE(semtimedop
, semtimedop
, 312, 4)
2192 #ifndef OVERRIDE_TABLE_32_inotify_add_watch
2193 TRACE_SYSCALL_TABLE(inotify_add_watch
, inotify_add_watch
, 317, 3)
2195 #ifndef OVERRIDE_TABLE_32_openat
2196 TRACE_SYSCALL_TABLE(openat
, openat
, 322, 4)
2198 #ifndef OVERRIDE_TABLE_32_mkdirat
2199 TRACE_SYSCALL_TABLE(mkdirat
, mkdirat
, 323, 3)
2201 #ifndef OVERRIDE_TABLE_32_mknodat
2202 TRACE_SYSCALL_TABLE(mknodat
, mknodat
, 324, 4)
2204 #ifndef OVERRIDE_TABLE_32_fchownat
2205 TRACE_SYSCALL_TABLE(fchownat
, fchownat
, 325, 5)
2207 #ifndef OVERRIDE_TABLE_32_futimesat
2208 TRACE_SYSCALL_TABLE(futimesat
, futimesat
, 326, 3)
2210 #ifndef OVERRIDE_TABLE_32_fstatat64
2211 TRACE_SYSCALL_TABLE(fstatat64
, fstatat64
, 327, 4)
2213 #ifndef OVERRIDE_TABLE_32_unlinkat
2214 TRACE_SYSCALL_TABLE(unlinkat
, unlinkat
, 328, 3)
2216 #ifndef OVERRIDE_TABLE_32_renameat
2217 TRACE_SYSCALL_TABLE(renameat
, renameat
, 329, 4)
2219 #ifndef OVERRIDE_TABLE_32_linkat
2220 TRACE_SYSCALL_TABLE(linkat
, linkat
, 330, 5)
2222 #ifndef OVERRIDE_TABLE_32_symlinkat
2223 TRACE_SYSCALL_TABLE(symlinkat
, symlinkat
, 331, 3)
2225 #ifndef OVERRIDE_TABLE_32_readlinkat
2226 TRACE_SYSCALL_TABLE(readlinkat
, readlinkat
, 332, 4)
2228 #ifndef OVERRIDE_TABLE_32_fchmodat
2229 TRACE_SYSCALL_TABLE(fchmodat
, fchmodat
, 333, 3)
2231 #ifndef OVERRIDE_TABLE_32_faccessat
2232 TRACE_SYSCALL_TABLE(faccessat
, faccessat
, 334, 3)
2234 #ifndef OVERRIDE_TABLE_32_pselect6
2235 TRACE_SYSCALL_TABLE(pselect6
, pselect6
, 335, 6)
2237 #ifndef OVERRIDE_TABLE_32_ppoll
2238 TRACE_SYSCALL_TABLE(ppoll
, ppoll
, 336, 5)
2240 #ifndef OVERRIDE_TABLE_32_set_robust_list
2241 TRACE_SYSCALL_TABLE(set_robust_list
, set_robust_list
, 338, 2)
2243 #ifndef OVERRIDE_TABLE_32_get_robust_list
2244 TRACE_SYSCALL_TABLE(get_robust_list
, get_robust_list
, 339, 3)
2246 #ifndef OVERRIDE_TABLE_32_splice
2247 TRACE_SYSCALL_TABLE(splice
, splice
, 340, 6)
2249 #ifndef OVERRIDE_TABLE_32_vmsplice
2250 TRACE_SYSCALL_TABLE(vmsplice
, vmsplice
, 343, 4)
2252 #ifndef OVERRIDE_TABLE_32_getcpu
2253 TRACE_SYSCALL_TABLE(getcpu
, getcpu
, 345, 3)
2255 #ifndef OVERRIDE_TABLE_32_epoll_pwait
2256 TRACE_SYSCALL_TABLE(epoll_pwait
, epoll_pwait
, 346, 6)
2258 #ifndef OVERRIDE_TABLE_32_utimensat
2259 TRACE_SYSCALL_TABLE(utimensat
, utimensat
, 348, 4)
2261 #ifndef OVERRIDE_TABLE_32_signalfd
2262 TRACE_SYSCALL_TABLE(signalfd
, signalfd
, 349, 3)
2264 #ifndef OVERRIDE_TABLE_32_timerfd_settime
2265 TRACE_SYSCALL_TABLE(timerfd_settime
, timerfd_settime
, 353, 4)
2267 #ifndef OVERRIDE_TABLE_32_timerfd_gettime
2268 TRACE_SYSCALL_TABLE(timerfd_gettime
, timerfd_gettime
, 354, 2)
2270 #ifndef OVERRIDE_TABLE_32_signalfd4
2271 TRACE_SYSCALL_TABLE(signalfd4
, signalfd4
, 355, 4)
2273 #ifndef OVERRIDE_TABLE_32_pipe2
2274 TRACE_SYSCALL_TABLE(pipe2
, pipe2
, 359, 2)
2276 #ifndef OVERRIDE_TABLE_32_preadv
2277 TRACE_SYSCALL_TABLE(preadv
, preadv
, 361, 5)
2279 #ifndef OVERRIDE_TABLE_32_pwritev
2280 TRACE_SYSCALL_TABLE(pwritev
, pwritev
, 362, 5)
2282 #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo
2283 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo
, rt_tgsigqueueinfo
, 363, 4)
2285 #ifndef OVERRIDE_TABLE_32_perf_event_open
2286 TRACE_SYSCALL_TABLE(perf_event_open
, perf_event_open
, 364, 5)
2288 #ifndef OVERRIDE_TABLE_32_recvmmsg
2289 TRACE_SYSCALL_TABLE(recvmmsg
, recvmmsg
, 365, 5)
2291 #ifndef OVERRIDE_TABLE_32_accept4
2292 TRACE_SYSCALL_TABLE(accept4
, accept4
, 366, 4)
2294 #ifndef OVERRIDE_TABLE_32_prlimit64
2295 TRACE_SYSCALL_TABLE(prlimit64
, prlimit64
, 369, 4)
2297 #ifndef OVERRIDE_TABLE_32_name_to_handle_at
2298 TRACE_SYSCALL_TABLE(name_to_handle_at
, name_to_handle_at
, 370, 5)
2300 #ifndef OVERRIDE_TABLE_32_open_by_handle_at
2301 TRACE_SYSCALL_TABLE(open_by_handle_at
, open_by_handle_at
, 371, 3)
2303 #ifndef OVERRIDE_TABLE_32_clock_adjtime
2304 TRACE_SYSCALL_TABLE(clock_adjtime
, clock_adjtime
, 372, 2)
2306 #ifndef OVERRIDE_TABLE_32_sendmmsg
2307 TRACE_SYSCALL_TABLE(sendmmsg
, sendmmsg
, 374, 4)
2309 #ifndef OVERRIDE_TABLE_32_process_vm_readv
2310 TRACE_SYSCALL_TABLE(process_vm_readv
, process_vm_readv
, 376, 6)
2312 #ifndef OVERRIDE_TABLE_32_process_vm_writev
2313 TRACE_SYSCALL_TABLE(process_vm_writev
, process_vm_writev
, 377, 6)
2316 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.107819 seconds and 4 git commands to generate.