Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / arm-64-syscalls-4.4.0_pointers.h
1 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2 #ifndef CREATE_SYSCALL_TABLE
3
4 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_POINTERS_H
6
7 #include <probes/lttng-tracepoint-event.h>
8 #include <linux/syscalls.h>
9 #include "arm-64-syscalls-4.4.0_pointers_override.h"
10 #include "syscalls_pointers_override.h"
11
12 #ifndef OVERRIDE_64_chdir
13 SC_LTTNG_TRACEPOINT_EVENT(chdir,
14 TP_PROTO(sc_exit(long ret,) const char * filename),
15 TP_ARGS(sc_exit(ret,) filename),
16 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
17 )
18 #endif
19 #ifndef OVERRIDE_64_chroot
20 SC_LTTNG_TRACEPOINT_EVENT(chroot,
21 TP_PROTO(sc_exit(long ret,) const char * filename),
22 TP_ARGS(sc_exit(ret,) filename),
23 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
24 )
25 #endif
26 #ifndef OVERRIDE_64_acct
27 SC_LTTNG_TRACEPOINT_EVENT(acct,
28 TP_PROTO(sc_exit(long ret,) const char * name),
29 TP_ARGS(sc_exit(ret,) name),
30 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)))
31 )
32 #endif
33 #ifndef OVERRIDE_64_set_tid_address
34 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address,
35 TP_PROTO(sc_exit(long ret,) int * tidptr),
36 TP_ARGS(sc_exit(ret,) tidptr),
37 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr)))
38 )
39 #endif
40 #ifndef OVERRIDE_64_times
41 SC_LTTNG_TRACEPOINT_EVENT(times,
42 TP_PROTO(sc_exit(long ret,) struct tms * tbuf),
43 TP_ARGS(sc_exit(ret,) tbuf),
44 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf)))
45 )
46 #endif
47 #ifndef OVERRIDE_64_newuname
48 SC_LTTNG_TRACEPOINT_EVENT(newuname,
49 TP_PROTO(sc_exit(long ret,) struct new_utsname * name),
50 TP_ARGS(sc_exit(ret,) name),
51 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name)))
52 )
53 #endif
54 #ifndef OVERRIDE_64_adjtimex
55 SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
56 TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
57 TP_ARGS(sc_exit(ret,) txc_p),
58 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p)))
59 )
60 #endif
61 #ifndef OVERRIDE_64_sysinfo
62 SC_LTTNG_TRACEPOINT_EVENT(sysinfo,
63 TP_PROTO(sc_exit(long ret,) struct sysinfo * info),
64 TP_ARGS(sc_exit(ret,) info),
65 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info)))
66 )
67 #endif
68 #ifndef OVERRIDE_64_mq_unlink
69 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink,
70 TP_PROTO(sc_exit(long ret,) const char * u_name),
71 TP_ARGS(sc_exit(ret,) u_name),
72 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)))
73 )
74 #endif
75 #ifndef OVERRIDE_64_shmdt
76 SC_LTTNG_TRACEPOINT_EVENT(shmdt,
77 TP_PROTO(sc_exit(long ret,) char * shmaddr),
78 TP_ARGS(sc_exit(ret,) shmaddr),
79 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr)))
80 )
81 #endif
82 #ifndef OVERRIDE_64_swapoff
83 SC_LTTNG_TRACEPOINT_EVENT(swapoff,
84 TP_PROTO(sc_exit(long ret,) const char * specialfile),
85 TP_ARGS(sc_exit(ret,) specialfile),
86 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)))
87 )
88 #endif
89 #ifndef OVERRIDE_64_io_setup
90 SC_LTTNG_TRACEPOINT_EVENT(io_setup,
91 TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp),
92 TP_ARGS(sc_exit(ret,) nr_events, ctxp),
93 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, nr_events, nr_events)) sc_in(ctf_integer(aio_context_t *, ctxp, ctxp)))
94 )
95 #endif
96 #ifndef OVERRIDE_64_removexattr
97 SC_LTTNG_TRACEPOINT_EVENT(removexattr,
98 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
99 TP_ARGS(sc_exit(ret,) pathname, name),
100 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
101 )
102 #endif
103 #ifndef OVERRIDE_64_lremovexattr
104 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr,
105 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
106 TP_ARGS(sc_exit(ret,) pathname, name),
107 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
108 )
109 #endif
110 #ifndef OVERRIDE_64_fremovexattr
111 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr,
112 TP_PROTO(sc_exit(long ret,) int fd, const char * name),
113 TP_ARGS(sc_exit(ret,) fd, name),
114 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)))
115 )
116 #endif
117 #ifndef OVERRIDE_64_getcwd
118 SC_LTTNG_TRACEPOINT_EVENT(getcwd,
119 TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size),
120 TP_ARGS(sc_exit(ret,) buf, size),
121 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size)))
122 )
123 #endif
124 #ifndef OVERRIDE_64_umount
125 SC_LTTNG_TRACEPOINT_EVENT(umount,
126 TP_PROTO(sc_exit(long ret,) char * name, int flags),
127 TP_ARGS(sc_exit(ret,) name, flags),
128 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags)))
129 )
130 #endif
131 #ifndef OVERRIDE_64_pivot_root
132 SC_LTTNG_TRACEPOINT_EVENT(pivot_root,
133 TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old),
134 TP_ARGS(sc_exit(ret,) new_root, put_old),
135 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(new_root, new_root)) sc_in(ctf_user_string(put_old, put_old)))
136 )
137 #endif
138 #ifndef OVERRIDE_64_statfs
139 SC_LTTNG_TRACEPOINT_EVENT(statfs,
140 TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf),
141 TP_ARGS(sc_exit(ret,) pathname, buf),
142 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf)))
143 )
144 #endif
145 #ifndef OVERRIDE_64_fstatfs
146 SC_LTTNG_TRACEPOINT_EVENT(fstatfs,
147 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf),
148 TP_ARGS(sc_exit(ret,) fd, buf),
149 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct statfs *, buf, buf)))
150 )
151 #endif
152 #ifndef OVERRIDE_64_truncate
153 SC_LTTNG_TRACEPOINT_EVENT(truncate,
154 TP_PROTO(sc_exit(long ret,) const char * path, long length),
155 TP_ARGS(sc_exit(ret,) path, length),
156 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length)))
157 )
158 #endif
159 #ifndef OVERRIDE_64_pipe2
160 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
161 TP_PROTO(sc_exit(long ret,) int * fildes, int flags),
162 TP_ARGS(sc_exit(ret,) fildes, flags),
163 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags)))
164 )
165 #endif
166 #ifndef OVERRIDE_64_newfstat
167 SC_LTTNG_TRACEPOINT_EVENT(newfstat,
168 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf),
169 TP_ARGS(sc_exit(ret,) fd, statbuf),
170 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
171 )
172 #endif
173 #ifndef OVERRIDE_64_timerfd_gettime
174 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
175 TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
176 TP_ARGS(sc_exit(ret,) ufd, otmr),
177 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
178 )
179 #endif
180 #ifndef OVERRIDE_64_set_robust_list
181 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
182 TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len),
183 TP_ARGS(sc_exit(ret,) head, len),
184 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct robust_list_head *, head, head)) sc_in(ctf_integer(size_t, len, len)))
185 )
186 #endif
187 #ifndef OVERRIDE_64_nanosleep
188 SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
189 TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
190 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
191 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
192 )
193 #endif
194 #ifndef OVERRIDE_64_getitimer
195 SC_LTTNG_TRACEPOINT_EVENT(getitimer,
196 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
197 TP_ARGS(sc_exit(ret,) which, value),
198 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value)))
199 )
200 #endif
201 #ifndef OVERRIDE_64_delete_module
202 SC_LTTNG_TRACEPOINT_EVENT(delete_module,
203 TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags),
204 TP_ARGS(sc_exit(ret,) name_user, flags),
205 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name_user, name_user)) sc_in(ctf_integer(unsigned int, flags, flags)))
206 )
207 #endif
208 #ifndef OVERRIDE_64_timer_gettime
209 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
210 TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
211 TP_ARGS(sc_exit(ret,) timer_id, setting),
212 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting)))
213 )
214 #endif
215 #ifndef OVERRIDE_64_clock_settime
216 SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
217 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp),
218 TP_ARGS(sc_exit(ret,) which_clock, tp),
219 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(const struct timespec *, tp, tp)))
220 )
221 #endif
222 #ifndef OVERRIDE_64_clock_gettime
223 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
224 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
225 TP_ARGS(sc_exit(ret,) which_clock, tp),
226 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp)))
227 )
228 #endif
229 #ifndef OVERRIDE_64_clock_getres
230 SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
231 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
232 TP_ARGS(sc_exit(ret,) which_clock, tp),
233 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp)))
234 )
235 #endif
236 #ifndef OVERRIDE_64_sched_setparam
237 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam,
238 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
239 TP_ARGS(sc_exit(ret,) pid, param),
240 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(struct sched_param *, param, param)))
241 )
242 #endif
243 #ifndef OVERRIDE_64_sched_getparam
244 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
245 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
246 TP_ARGS(sc_exit(ret,) pid, param),
247 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct sched_param *, param, param)))
248 )
249 #endif
250 #ifndef OVERRIDE_64_sched_rr_get_interval
251 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
252 TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
253 TP_ARGS(sc_exit(ret,) pid, interval),
254 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval)))
255 )
256 #endif
257 #ifndef OVERRIDE_64_sigaltstack
258 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack,
259 TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss),
260 TP_ARGS(sc_exit(ret,) uss, uoss),
261 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss)))
262 )
263 #endif
264 #ifndef OVERRIDE_64_rt_sigsuspend
265 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend,
266 TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize),
267 TP_ARGS(sc_exit(ret,) unewset, sigsetsize),
268 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(sigset_t *, unewset, unewset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
269 )
270 #endif
271 #ifndef OVERRIDE_64_rt_sigpending
272 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
273 TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize),
274 TP_ARGS(sc_exit(ret,) uset, sigsetsize),
275 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
276 )
277 #endif
278 #ifndef OVERRIDE_64_getgroups
279 SC_LTTNG_TRACEPOINT_EVENT(getgroups,
280 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
281 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
282 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist)))
283 )
284 #endif
285 #ifndef OVERRIDE_64_setgroups
286 SC_LTTNG_TRACEPOINT_EVENT(setgroups,
287 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
288 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
289 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist)))
290 )
291 #endif
292 #ifndef OVERRIDE_64_sethostname
293 SC_LTTNG_TRACEPOINT_EVENT(sethostname,
294 TP_PROTO(sc_exit(long ret,) char * name, int len),
295 TP_ARGS(sc_exit(ret,) name, len),
296 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
297 )
298 #endif
299 #ifndef OVERRIDE_64_setdomainname
300 SC_LTTNG_TRACEPOINT_EVENT(setdomainname,
301 TP_PROTO(sc_exit(long ret,) char * name, int len),
302 TP_ARGS(sc_exit(ret,) name, len),
303 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
304 )
305 #endif
306 #ifndef OVERRIDE_64_getrlimit
307 SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
308 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
309 TP_ARGS(sc_exit(ret,) resource, rlim),
310 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_out(ctf_integer(struct rlimit *, rlim, rlim)))
311 )
312 #endif
313 #ifndef OVERRIDE_64_setrlimit
314 SC_LTTNG_TRACEPOINT_EVENT(setrlimit,
315 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
316 TP_ARGS(sc_exit(ret,) resource, rlim),
317 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim)))
318 )
319 #endif
320 #ifndef OVERRIDE_64_getrusage
321 SC_LTTNG_TRACEPOINT_EVENT(getrusage,
322 TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru),
323 TP_ARGS(sc_exit(ret,) who, ru),
324 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru)))
325 )
326 #endif
327 #ifndef OVERRIDE_64_gettimeofday
328 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
329 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
330 TP_ARGS(sc_exit(ret,) tv, tz),
331 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz)))
332 )
333 #endif
334 #ifndef OVERRIDE_64_settimeofday
335 SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
336 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
337 TP_ARGS(sc_exit(ret,) tv, tz),
338 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz)))
339 )
340 #endif
341 #ifndef OVERRIDE_64_mq_notify
342 SC_LTTNG_TRACEPOINT_EVENT(mq_notify,
343 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification),
344 TP_ARGS(sc_exit(ret,) mqdes, u_notification),
345 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct sigevent *, u_notification, u_notification)))
346 )
347 #endif
348 #ifndef OVERRIDE_64_swapon
349 SC_LTTNG_TRACEPOINT_EVENT(swapon,
350 TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags),
351 TP_ARGS(sc_exit(ret,) specialfile, swap_flags),
352 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)) sc_in(ctf_integer(int, swap_flags, swap_flags)))
353 )
354 #endif
355 #ifndef OVERRIDE_64_clock_adjtime
356 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
357 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
358 TP_ARGS(sc_exit(ret,) which_clock, utx),
359 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct timex *, utx, utx)))
360 )
361 #endif
362 #ifndef OVERRIDE_64_memfd_create
363 SC_LTTNG_TRACEPOINT_EVENT(memfd_create,
364 TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags),
365 TP_ARGS(sc_exit(ret,) uname, flags),
366 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags)))
367 )
368 #endif
369 #ifndef OVERRIDE_64_io_submit
370 SC_LTTNG_TRACEPOINT_EVENT(io_submit,
371 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp),
372 TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp),
373 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, nr, nr)) sc_in(ctf_integer(struct iocb * *, iocbpp, iocbpp)))
374 )
375 #endif
376 #ifndef OVERRIDE_64_io_cancel
377 SC_LTTNG_TRACEPOINT_EVENT(io_cancel,
378 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result),
379 TP_ARGS(sc_exit(ret,) ctx_id, iocb, result),
380 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result)))
381 )
382 #endif
383 #ifndef OVERRIDE_64_listxattr
384 SC_LTTNG_TRACEPOINT_EVENT(listxattr,
385 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
386 TP_ARGS(sc_exit(ret,) pathname, list, size),
387 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
388 )
389 #endif
390 #ifndef OVERRIDE_64_llistxattr
391 SC_LTTNG_TRACEPOINT_EVENT(llistxattr,
392 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
393 TP_ARGS(sc_exit(ret,) pathname, list, size),
394 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
395 )
396 #endif
397 #ifndef OVERRIDE_64_flistxattr
398 SC_LTTNG_TRACEPOINT_EVENT(flistxattr,
399 TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size),
400 TP_ARGS(sc_exit(ret,) fd, list, size),
401 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size)))
402 )
403 #endif
404 #ifndef OVERRIDE_64_lookup_dcookie
405 SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie,
406 TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len),
407 TP_ARGS(sc_exit(ret,) cookie64, buf, len),
408 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len)))
409 )
410 #endif
411 #ifndef OVERRIDE_64_inotify_add_watch
412 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch,
413 TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask),
414 TP_ARGS(sc_exit(ret,) fd, pathname, mask),
415 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(u32, mask, mask)))
416 )
417 #endif
418 #ifndef OVERRIDE_64_mkdirat
419 SC_LTTNG_TRACEPOINT_EVENT(mkdirat,
420 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode),
421 TP_ARGS(sc_exit(ret,) dfd, pathname, mode),
422 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
423 )
424 #endif
425 #ifndef OVERRIDE_64_unlinkat
426 SC_LTTNG_TRACEPOINT_EVENT(unlinkat,
427 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag),
428 TP_ARGS(sc_exit(ret,) dfd, pathname, flag),
429 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, flag, flag)))
430 )
431 #endif
432 #ifndef OVERRIDE_64_symlinkat
433 SC_LTTNG_TRACEPOINT_EVENT(symlinkat,
434 TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname),
435 TP_ARGS(sc_exit(ret,) oldname, newdfd, newname),
436 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)))
437 )
438 #endif
439 #ifndef OVERRIDE_64_faccessat
440 SC_LTTNG_TRACEPOINT_EVENT(faccessat,
441 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode),
442 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
443 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)))
444 )
445 #endif
446 #ifndef OVERRIDE_64_fchmodat
447 SC_LTTNG_TRACEPOINT_EVENT(fchmodat,
448 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode),
449 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
450 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
451 )
452 #endif
453 #ifndef OVERRIDE_64_getdents64
454 SC_LTTNG_TRACEPOINT_EVENT(getdents64,
455 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count),
456 TP_ARGS(sc_exit(ret,) fd, dirent, count),
457 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent64 *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count)))
458 )
459 #endif
460 #ifndef OVERRIDE_64_read
461 SC_LTTNG_TRACEPOINT_EVENT(read,
462 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count),
463 TP_ARGS(sc_exit(ret,) fd, buf, count),
464 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)))
465 )
466 #endif
467 #ifndef OVERRIDE_64_write
468 SC_LTTNG_TRACEPOINT_EVENT(write,
469 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count),
470 TP_ARGS(sc_exit(ret,) fd, buf, count),
471 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)))
472 )
473 #endif
474 #ifndef OVERRIDE_64_readv
475 SC_LTTNG_TRACEPOINT_EVENT(readv,
476 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
477 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
478 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)))
479 )
480 #endif
481 #ifndef OVERRIDE_64_writev
482 SC_LTTNG_TRACEPOINT_EVENT(writev,
483 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
484 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
485 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)))
486 )
487 #endif
488 #ifndef OVERRIDE_64_get_robust_list
489 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list,
490 TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr),
491 TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr),
492 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, pid, pid)) sc_out(ctf_integer(struct robust_list_head * *, head_ptr, head_ptr)) sc_out(ctf_integer(size_t *, len_ptr, len_ptr)))
493 )
494 #endif
495 #ifndef OVERRIDE_64_setitimer
496 SC_LTTNG_TRACEPOINT_EVENT(setitimer,
497 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue),
498 TP_ARGS(sc_exit(ret,) which, value, ovalue),
499 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue)))
500 )
501 #endif
502 #ifndef OVERRIDE_64_init_module
503 SC_LTTNG_TRACEPOINT_EVENT(init_module,
504 TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs),
505 TP_ARGS(sc_exit(ret,) umod, len, uargs),
506 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(void *, umod, umod)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(const char *, uargs, uargs)))
507 )
508 #endif
509 #ifndef OVERRIDE_64_timer_create
510 SC_LTTNG_TRACEPOINT_EVENT(timer_create,
511 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id),
512 TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id),
513 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct sigevent *, timer_event_spec, timer_event_spec)) sc_out(ctf_integer(timer_t *, created_timer_id, created_timer_id)))
514 )
515 #endif
516 #ifndef OVERRIDE_64_syslog
517 SC_LTTNG_TRACEPOINT_EVENT(syslog,
518 TP_PROTO(sc_exit(long ret,) int type, char * buf, int len),
519 TP_ARGS(sc_exit(ret,) type, buf, len),
520 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, type, type)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, len, len)))
521 )
522 #endif
523 #ifndef OVERRIDE_64_sched_setscheduler
524 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler,
525 TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param),
526 TP_ARGS(sc_exit(ret,) pid, policy, param),
527 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, policy, policy)) sc_in(ctf_integer(struct sched_param *, param, param)))
528 )
529 #endif
530 #ifndef OVERRIDE_64_sched_setaffinity
531 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity,
532 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
533 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
534 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_in(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr)))
535 )
536 #endif
537 #ifndef OVERRIDE_64_sched_getaffinity
538 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity,
539 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
540 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
541 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_out(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr)))
542 )
543 #endif
544 #ifndef OVERRIDE_64_rt_sigqueueinfo
545 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo,
546 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo),
547 TP_ARGS(sc_exit(ret,) pid, sig, uinfo),
548 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo)))
549 )
550 #endif
551 #ifndef OVERRIDE_64_getresuid
552 SC_LTTNG_TRACEPOINT_EVENT(getresuid,
553 TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp),
554 TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp),
555 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp)))
556 )
557 #endif
558 #ifndef OVERRIDE_64_getresgid
559 SC_LTTNG_TRACEPOINT_EVENT(getresgid,
560 TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp),
561 TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp),
562 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp)))
563 )
564 #endif
565 #ifndef OVERRIDE_64_getcpu
566 SC_LTTNG_TRACEPOINT_EVENT(getcpu,
567 TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused),
568 TP_ARGS(sc_exit(ret,) cpup, nodep, unused),
569 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(unsigned *, cpup, cpup)) sc_out(ctf_integer(unsigned *, nodep, nodep)) sc_inout(ctf_integer(struct getcpu_cache *, unused, unused)))
570 )
571 #endif
572 #ifndef OVERRIDE_64_mq_getsetattr
573 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr,
574 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat),
575 TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat),
576 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct mq_attr *, u_mqstat, u_mqstat)) sc_out(ctf_integer(struct mq_attr *, u_omqstat, u_omqstat)))
577 )
578 #endif
579 #ifndef OVERRIDE_64_msgctl
580 SC_LTTNG_TRACEPOINT_EVENT(msgctl,
581 TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf),
582 TP_ARGS(sc_exit(ret,) msqid, cmd, buf),
583 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf)))
584 )
585 #endif
586 #ifndef OVERRIDE_64_semop
587 SC_LTTNG_TRACEPOINT_EVENT(semop,
588 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops),
589 TP_ARGS(sc_exit(ret,) semid, tsops, nsops),
590 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)))
591 )
592 #endif
593 #ifndef OVERRIDE_64_shmctl
594 SC_LTTNG_TRACEPOINT_EVENT(shmctl,
595 TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf),
596 TP_ARGS(sc_exit(ret,) shmid, cmd, buf),
597 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf)))
598 )
599 #endif
600 #ifndef OVERRIDE_64_shmat
601 SC_LTTNG_TRACEPOINT_EVENT(shmat,
602 TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg),
603 TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg),
604 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg)))
605 )
606 #endif
607 #ifndef OVERRIDE_64_bind
608 SC_LTTNG_TRACEPOINT_EVENT(bind,
609 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen),
610 TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen),
611 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen)))
612 )
613 #endif
614 #ifndef OVERRIDE_64_accept
615 SC_LTTNG_TRACEPOINT_EVENT(accept,
616 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen),
617 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen),
618 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)))
619 )
620 #endif
621 #ifndef OVERRIDE_64_connect
622 SC_LTTNG_TRACEPOINT_EVENT(connect,
623 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen),
624 TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen),
625 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, uservaddr, uservaddr)) sc_in(ctf_integer(int, addrlen, addrlen)))
626 )
627 #endif
628 #ifndef OVERRIDE_64_getsockname
629 SC_LTTNG_TRACEPOINT_EVENT(getsockname,
630 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
631 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
632 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len)))
633 )
634 #endif
635 #ifndef OVERRIDE_64_getpeername
636 SC_LTTNG_TRACEPOINT_EVENT(getpeername,
637 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
638 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
639 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len)))
640 )
641 #endif
642 #ifndef OVERRIDE_64_sendmsg
643 SC_LTTNG_TRACEPOINT_EVENT(sendmsg,
644 TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags),
645 TP_ARGS(sc_exit(ret,) fd, msg, flags),
646 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags)))
647 )
648 #endif
649 #ifndef OVERRIDE_64_recvmsg
650 SC_LTTNG_TRACEPOINT_EVENT(recvmsg,
651 TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags),
652 TP_ARGS(sc_exit(ret,) fd, msg, flags),
653 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags)))
654 )
655 #endif
656 #ifndef OVERRIDE_64_execve
657 SC_LTTNG_TRACEPOINT_EVENT(execve,
658 TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp),
659 TP_ARGS(sc_exit(ret,) filename, argv, envp),
660 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp)))
661 )
662 #endif
663 #ifndef OVERRIDE_64_mincore
664 SC_LTTNG_TRACEPOINT_EVENT(mincore,
665 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec),
666 TP_ARGS(sc_exit(ret,) start, len, vec),
667 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_out(ctf_integer(unsigned char *, vec, vec)))
668 )
669 #endif
670 #ifndef OVERRIDE_64_open_by_handle_at
671 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at,
672 TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags),
673 TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags),
674 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags)))
675 )
676 #endif
677 #ifndef OVERRIDE_64_finit_module
678 SC_LTTNG_TRACEPOINT_EVENT(finit_module,
679 TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags),
680 TP_ARGS(sc_exit(ret,) fd, uargs, flags),
681 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags)))
682 )
683 #endif
684 #ifndef OVERRIDE_64_sched_setattr
685 SC_LTTNG_TRACEPOINT_EVENT(sched_setattr,
686 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags),
687 TP_ARGS(sc_exit(ret,) pid, uattr, flags),
688 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags)))
689 )
690 #endif
691 #ifndef OVERRIDE_64_seccomp
692 SC_LTTNG_TRACEPOINT_EVENT(seccomp,
693 TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs),
694 TP_ARGS(sc_exit(ret,) op, flags, uargs),
695 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs)))
696 )
697 #endif
698 #ifndef OVERRIDE_64_getrandom
699 SC_LTTNG_TRACEPOINT_EVENT(getrandom,
700 TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags),
701 TP_ARGS(sc_exit(ret,) buf, count, flags),
702 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags)))
703 )
704 #endif
705 #ifndef OVERRIDE_64_getxattr
706 SC_LTTNG_TRACEPOINT_EVENT(getxattr,
707 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
708 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
709 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
710 )
711 #endif
712 #ifndef OVERRIDE_64_lgetxattr
713 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr,
714 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
715 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
716 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
717 )
718 #endif
719 #ifndef OVERRIDE_64_fgetxattr
720 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr,
721 TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size),
722 TP_ARGS(sc_exit(ret,) fd, name, value, size),
723 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size)))
724 )
725 #endif
726 #ifndef OVERRIDE_64_epoll_ctl
727 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl,
728 TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event),
729 TP_ARGS(sc_exit(ret,) epfd, op, fd, event),
730 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event)))
731 )
732 #endif
733 #ifndef OVERRIDE_64_mknodat
734 SC_LTTNG_TRACEPOINT_EVENT(mknodat,
735 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev),
736 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
737 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev)))
738 )
739 #endif
740 #ifndef OVERRIDE_64_renameat
741 SC_LTTNG_TRACEPOINT_EVENT(renameat,
742 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname),
743 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname),
744 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)))
745 )
746 #endif
747 #ifndef OVERRIDE_64_openat
748 SC_LTTNG_TRACEPOINT_EVENT(openat,
749 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
750 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
751 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode)))
752 )
753 #endif
754 #ifndef OVERRIDE_64_quotactl
755 SC_LTTNG_TRACEPOINT_EVENT(quotactl,
756 TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr),
757 TP_ARGS(sc_exit(ret,) cmd, special, id, addr),
758 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr)))
759 )
760 #endif
761 #ifndef OVERRIDE_64_pread64
762 SC_LTTNG_TRACEPOINT_EVENT(pread64,
763 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos),
764 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
765 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos)))
766 )
767 #endif
768 #ifndef OVERRIDE_64_pwrite64
769 SC_LTTNG_TRACEPOINT_EVENT(pwrite64,
770 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos),
771 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
772 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos)))
773 )
774 #endif
775 #ifndef OVERRIDE_64_sendfile64
776 SC_LTTNG_TRACEPOINT_EVENT(sendfile64,
777 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count),
778 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
779 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, out_fd, out_fd)) sc_in(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(loff_t *, offset, offset)) sc_in(ctf_integer(size_t, count, count)))
780 )
781 #endif
782 #ifndef OVERRIDE_64_signalfd4
783 SC_LTTNG_TRACEPOINT_EVENT(signalfd4,
784 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags),
785 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags),
786 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)) sc_in(ctf_integer(int, flags, flags)))
787 )
788 #endif
789 #ifndef OVERRIDE_64_vmsplice
790 SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
791 TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
792 TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
793 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags)))
794 )
795 #endif
796 #ifndef OVERRIDE_64_readlinkat
797 SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
798 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz),
799 TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz),
800 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz)))
801 )
802 #endif
803 #ifndef OVERRIDE_64_newfstatat
804 SC_LTTNG_TRACEPOINT_EVENT(newfstatat,
805 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag),
806 TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag),
807 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag)))
808 )
809 #endif
810 #ifndef OVERRIDE_64_timerfd_settime
811 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
812 TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
813 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
814 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
815 )
816 #endif
817 #ifndef OVERRIDE_64_utimensat
818 SC_LTTNG_TRACEPOINT_EVENT(utimensat,
819 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
820 TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
821 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags)))
822 )
823 #endif
824 #ifndef OVERRIDE_64_timer_settime
825 SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
826 TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
827 TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
828 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting)))
829 )
830 #endif
831 #ifndef OVERRIDE_64_clock_nanosleep
832 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
833 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
834 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
835 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp)))
836 )
837 #endif
838 #ifndef OVERRIDE_64_rt_sigaction
839 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction,
840 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize),
841 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
842 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(const struct sigaction *, act, act)) sc_out(ctf_integer(struct sigaction *, oact, oact)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
843 )
844 #endif
845 #ifndef OVERRIDE_64_rt_sigprocmask
846 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
847 TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize),
848 TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize),
849 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, how, how)) sc_in(ctf_integer(sigset_t *, nset, nset)) sc_out(ctf_integer(sigset_t *, oset, oset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
850 )
851 #endif
852 #ifndef OVERRIDE_64_rt_sigtimedwait
853 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
854 TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
855 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
856 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(const sigset_t *, uthese, uthese)) sc_out(ctf_integer(siginfo_t *, uinfo, uinfo)) sc_in(ctf_integer(const struct timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
857 )
858 #endif
859 #ifndef OVERRIDE_64_reboot
860 SC_LTTNG_TRACEPOINT_EVENT(reboot,
861 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
862 TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg),
863 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, magic1, magic1)) sc_in(ctf_integer(int, magic2, magic2)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(void *, arg, arg)))
864 )
865 #endif
866 #ifndef OVERRIDE_64_mq_open
867 SC_LTTNG_TRACEPOINT_EVENT(mq_open,
868 TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr),
869 TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr),
870 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr)))
871 )
872 #endif
873 #ifndef OVERRIDE_64_msgsnd
874 SC_LTTNG_TRACEPOINT_EVENT(msgsnd,
875 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg),
876 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg),
877 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg)))
878 )
879 #endif
880 #ifndef OVERRIDE_64_semtimedop
881 SC_LTTNG_TRACEPOINT_EVENT(semtimedop,
882 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout),
883 TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout),
884 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout)))
885 )
886 #endif
887 #ifndef OVERRIDE_64_socketpair
888 SC_LTTNG_TRACEPOINT_EVENT(socketpair,
889 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
890 TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
891 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol)) sc_out(ctf_integer(int *, usockvec, usockvec)))
892 )
893 #endif
894 #ifndef OVERRIDE_64_request_key
895 SC_LTTNG_TRACEPOINT_EVENT(request_key,
896 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid),
897 TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid),
898 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const char *, _callout_info, _callout_info)) sc_in(ctf_integer(key_serial_t, destringid, destringid)))
899 )
900 #endif
901 #ifndef OVERRIDE_64_rt_tgsigqueueinfo
902 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo,
903 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo),
904 TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo),
905 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo)))
906 )
907 #endif
908 #ifndef OVERRIDE_64_accept4
909 SC_LTTNG_TRACEPOINT_EVENT(accept4,
910 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
911 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
912 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)) sc_in(ctf_integer(int, flags, flags)))
913 )
914 #endif
915 #ifndef OVERRIDE_64_wait4
916 SC_LTTNG_TRACEPOINT_EVENT(wait4,
917 TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru),
918 TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru),
919 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(int *, stat_addr, stat_addr)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru)))
920 )
921 #endif
922 #ifndef OVERRIDE_64_prlimit64
923 SC_LTTNG_TRACEPOINT_EVENT(prlimit64,
924 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim),
925 TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim),
926 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(const struct rlimit64 *, new_rlim, new_rlim)) sc_out(ctf_integer(struct rlimit64 *, old_rlim, old_rlim)))
927 )
928 #endif
929 #ifndef OVERRIDE_64_sendmmsg
930 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
931 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags),
932 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags),
933 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)))
934 )
935 #endif
936 #ifndef OVERRIDE_64_sched_getattr
937 SC_LTTNG_TRACEPOINT_EVENT(sched_getattr,
938 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags),
939 TP_ARGS(sc_exit(ret,) pid, uattr, size, flags),
940 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags)))
941 )
942 #endif
943 #ifndef OVERRIDE_64_io_getevents
944 SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
945 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
946 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
947 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout)))
948 )
949 #endif
950 #ifndef OVERRIDE_64_setxattr
951 SC_LTTNG_TRACEPOINT_EVENT(setxattr,
952 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
953 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
954 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
955 )
956 #endif
957 #ifndef OVERRIDE_64_lsetxattr
958 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr,
959 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
960 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
961 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
962 )
963 #endif
964 #ifndef OVERRIDE_64_fsetxattr
965 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
966 TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags),
967 TP_ARGS(sc_exit(ret,) fd, name, value, size, flags),
968 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
969 )
970 #endif
971 #ifndef OVERRIDE_64_linkat
972 SC_LTTNG_TRACEPOINT_EVENT(linkat,
973 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags),
974 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
975 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)) sc_in(ctf_integer(int, flags, flags)))
976 )
977 #endif
978 #ifndef OVERRIDE_64_mount
979 SC_LTTNG_TRACEPOINT_EVENT(mount,
980 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
981 TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data),
982 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data)))
983 )
984 #endif
985 #ifndef OVERRIDE_64_fchownat
986 SC_LTTNG_TRACEPOINT_EVENT(fchownat,
987 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag),
988 TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag),
989 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)) sc_in(ctf_integer(int, flag, flag)))
990 )
991 #endif
992 #ifndef OVERRIDE_64_preadv
993 SC_LTTNG_TRACEPOINT_EVENT(preadv,
994 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
995 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
996 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_out(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h)))
997 )
998 #endif
999 #ifndef OVERRIDE_64_pwritev
1000 SC_LTTNG_TRACEPOINT_EVENT(pwritev,
1001 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1002 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1003 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h)))
1004 )
1005 #endif
1006 #ifndef OVERRIDE_64_ppoll
1007 SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1008 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1009 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1010 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
1011 )
1012 #endif
1013 #ifndef OVERRIDE_64_waitid
1014 SC_LTTNG_TRACEPOINT_EVENT(waitid,
1015 TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru),
1016 TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru),
1017 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(struct siginfo *, infop, infop)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru)))
1018 )
1019 #endif
1020 #ifndef OVERRIDE_64_mq_timedsend
1021 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend,
1022 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),
1023 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout),
1024 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout)))
1025 )
1026 #endif
1027 #ifndef OVERRIDE_64_mq_timedreceive
1028 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive,
1029 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),
1030 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout),
1031 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_out(ctf_integer(char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout)))
1032 )
1033 #endif
1034 #ifndef OVERRIDE_64_msgrcv
1035 SC_LTTNG_TRACEPOINT_EVENT(msgrcv,
1036 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg),
1037 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg),
1038 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg)))
1039 )
1040 #endif
1041 #ifndef OVERRIDE_64_setsockopt
1042 SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1043 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1044 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1045 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_in(ctf_integer(char *, optval, optval)) sc_in(ctf_integer(int, optlen, optlen)))
1046 )
1047 #endif
1048 #ifndef OVERRIDE_64_getsockopt
1049 SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1050 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1051 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1052 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen)))
1053 )
1054 #endif
1055 #ifndef OVERRIDE_64_add_key
1056 SC_LTTNG_TRACEPOINT_EVENT(add_key,
1057 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid),
1058 TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid),
1059 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const void *, _payload, _payload)) sc_in(ctf_integer(size_t, plen, plen)) sc_in(ctf_integer(key_serial_t, ringid, ringid)))
1060 )
1061 #endif
1062 #ifndef OVERRIDE_64_perf_event_open
1063 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open,
1064 TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags),
1065 TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags),
1066 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct perf_event_attr *, attr_uptr, attr_uptr)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, cpu, cpu)) sc_in(ctf_integer(int, group_fd, group_fd)) sc_in(ctf_integer(unsigned long, flags, flags)))
1067 )
1068 #endif
1069 #ifndef OVERRIDE_64_recvmmsg
1070 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1071 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1072 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1073 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct timespec *, timeout, timeout)))
1074 )
1075 #endif
1076 #ifndef OVERRIDE_64_fanotify_mark
1077 SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark,
1078 TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname),
1079 TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname),
1080 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)))
1081 )
1082 #endif
1083 #ifndef OVERRIDE_64_name_to_handle_at
1084 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at,
1085 TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag),
1086 TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag),
1087 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag)))
1088 )
1089 #endif
1090 #ifndef OVERRIDE_64_renameat2
1091 SC_LTTNG_TRACEPOINT_EVENT(renameat2,
1092 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags),
1093 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
1094 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags)))
1095 )
1096 #endif
1097 #ifndef OVERRIDE_64_execveat
1098 SC_LTTNG_TRACEPOINT_EVENT(execveat,
1099 TP_PROTO(sc_exit(long ret,) int fd, const char * filename, const char *const * argv, const char *const * envp, int flags),
1100 TP_ARGS(sc_exit(ret,) fd, filename, argv, envp, flags),
1101 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp)) sc_inout(ctf_integer(int, flags, flags)))
1102 )
1103 #endif
1104 #ifndef OVERRIDE_64_epoll_pwait
1105 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1106 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize),
1107 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
1108 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
1109 )
1110 #endif
1111 #ifndef OVERRIDE_64_pselect6
1112 SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1113 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1114 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1115 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig)))
1116 )
1117 #endif
1118 #ifndef OVERRIDE_64_splice
1119 SC_LTTNG_TRACEPOINT_EVENT(splice,
1120 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),
1121 TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
1122 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd_in, fd_in)) sc_in(ctf_integer(loff_t *, off_in, off_in)) sc_in(ctf_integer(int, fd_out, fd_out)) sc_in(ctf_integer(loff_t *, off_out, off_out)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)))
1123 )
1124 #endif
1125 #ifndef OVERRIDE_64_futex
1126 SC_LTTNG_TRACEPOINT_EVENT(futex,
1127 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1128 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1129 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(u32, val, val)) sc_in(ctf_integer(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3)))
1130 )
1131 #endif
1132 #ifndef OVERRIDE_64_sendto
1133 SC_LTTNG_TRACEPOINT_EVENT(sendto,
1134 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len),
1135 TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
1136 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len)))
1137 )
1138 #endif
1139 #ifndef OVERRIDE_64_recvfrom
1140 SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1141 TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len),
1142 TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
1143 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len)))
1144 )
1145 #endif
1146 #ifndef OVERRIDE_64_process_vm_readv
1147 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv,
1148 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),
1149 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1150 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags)))
1151 )
1152 #endif
1153 #ifndef OVERRIDE_64_process_vm_writev
1154 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev,
1155 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),
1156 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1157 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags)))
1158 )
1159 #endif
1160
1161 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1162
1163 /* This part must be outside protection */
1164 #include <probes/define_trace.h>
1165
1166 #else /* CREATE_SYSCALL_TABLE */
1167
1168 #include "arm-64-syscalls-4.4.0_pointers_override.h"
1169 #include "syscalls_pointers_override.h"
1170
1171 #ifndef OVERRIDE_TABLE_64_io_setup
1172 TRACE_SYSCALL_TABLE(io_setup, io_setup, 0, 2)
1173 #endif
1174 #ifndef OVERRIDE_TABLE_64_io_submit
1175 TRACE_SYSCALL_TABLE(io_submit, io_submit, 2, 3)
1176 #endif
1177 #ifndef OVERRIDE_TABLE_64_io_cancel
1178 TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 3, 3)
1179 #endif
1180 #ifndef OVERRIDE_TABLE_64_io_getevents
1181 TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4, 5)
1182 #endif
1183 #ifndef OVERRIDE_TABLE_64_setxattr
1184 TRACE_SYSCALL_TABLE(setxattr, setxattr, 5, 5)
1185 #endif
1186 #ifndef OVERRIDE_TABLE_64_lsetxattr
1187 TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6, 5)
1188 #endif
1189 #ifndef OVERRIDE_TABLE_64_fsetxattr
1190 TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 7, 5)
1191 #endif
1192 #ifndef OVERRIDE_TABLE_64_getxattr
1193 TRACE_SYSCALL_TABLE(getxattr, getxattr, 8, 4)
1194 #endif
1195 #ifndef OVERRIDE_TABLE_64_lgetxattr
1196 TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 9, 4)
1197 #endif
1198 #ifndef OVERRIDE_TABLE_64_fgetxattr
1199 TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 10, 4)
1200 #endif
1201 #ifndef OVERRIDE_TABLE_64_listxattr
1202 TRACE_SYSCALL_TABLE(listxattr, listxattr, 11, 3)
1203 #endif
1204 #ifndef OVERRIDE_TABLE_64_llistxattr
1205 TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 12, 3)
1206 #endif
1207 #ifndef OVERRIDE_TABLE_64_flistxattr
1208 TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 13, 3)
1209 #endif
1210 #ifndef OVERRIDE_TABLE_64_removexattr
1211 TRACE_SYSCALL_TABLE(removexattr, removexattr, 14, 2)
1212 #endif
1213 #ifndef OVERRIDE_TABLE_64_lremovexattr
1214 TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 15, 2)
1215 #endif
1216 #ifndef OVERRIDE_TABLE_64_fremovexattr
1217 TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 16, 2)
1218 #endif
1219 #ifndef OVERRIDE_TABLE_64_getcwd
1220 TRACE_SYSCALL_TABLE(getcwd, getcwd, 17, 2)
1221 #endif
1222 #ifndef OVERRIDE_TABLE_64_lookup_dcookie
1223 TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 18, 3)
1224 #endif
1225 #ifndef OVERRIDE_TABLE_64_epoll_ctl
1226 TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 21, 4)
1227 #endif
1228 #ifndef OVERRIDE_TABLE_64_epoll_pwait
1229 TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 22, 6)
1230 #endif
1231 #ifndef OVERRIDE_TABLE_64_inotify_add_watch
1232 TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 27, 3)
1233 #endif
1234 #ifndef OVERRIDE_TABLE_64_mknodat
1235 TRACE_SYSCALL_TABLE(mknodat, mknodat, 33, 4)
1236 #endif
1237 #ifndef OVERRIDE_TABLE_64_mkdirat
1238 TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 34, 3)
1239 #endif
1240 #ifndef OVERRIDE_TABLE_64_unlinkat
1241 TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 35, 3)
1242 #endif
1243 #ifndef OVERRIDE_TABLE_64_symlinkat
1244 TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 36, 3)
1245 #endif
1246 #ifndef OVERRIDE_TABLE_64_linkat
1247 TRACE_SYSCALL_TABLE(linkat, linkat, 37, 5)
1248 #endif
1249 #ifndef OVERRIDE_TABLE_64_renameat
1250 TRACE_SYSCALL_TABLE(renameat, renameat, 38, 4)
1251 #endif
1252 #ifndef OVERRIDE_TABLE_64_umount
1253 TRACE_SYSCALL_TABLE(umount, umount, 39, 2)
1254 #endif
1255 #ifndef OVERRIDE_TABLE_64_mount
1256 TRACE_SYSCALL_TABLE(mount, mount, 40, 5)
1257 #endif
1258 #ifndef OVERRIDE_TABLE_64_pivot_root
1259 TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 41, 2)
1260 #endif
1261 #ifndef OVERRIDE_TABLE_64_statfs
1262 TRACE_SYSCALL_TABLE(statfs, statfs, 43, 2)
1263 #endif
1264 #ifndef OVERRIDE_TABLE_64_fstatfs
1265 TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 44, 2)
1266 #endif
1267 #ifndef OVERRIDE_TABLE_64_truncate
1268 TRACE_SYSCALL_TABLE(truncate, truncate, 45, 2)
1269 #endif
1270 #ifndef OVERRIDE_TABLE_64_faccessat
1271 TRACE_SYSCALL_TABLE(faccessat, faccessat, 48, 3)
1272 #endif
1273 #ifndef OVERRIDE_TABLE_64_chdir
1274 TRACE_SYSCALL_TABLE(chdir, chdir, 49, 1)
1275 #endif
1276 #ifndef OVERRIDE_TABLE_64_chroot
1277 TRACE_SYSCALL_TABLE(chroot, chroot, 51, 1)
1278 #endif
1279 #ifndef OVERRIDE_TABLE_64_fchmodat
1280 TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 53, 3)
1281 #endif
1282 #ifndef OVERRIDE_TABLE_64_fchownat
1283 TRACE_SYSCALL_TABLE(fchownat, fchownat, 54, 5)
1284 #endif
1285 #ifndef OVERRIDE_TABLE_64_openat
1286 TRACE_SYSCALL_TABLE(openat, openat, 56, 4)
1287 #endif
1288 #ifndef OVERRIDE_TABLE_64_pipe2
1289 TRACE_SYSCALL_TABLE(pipe2, pipe2, 59, 2)
1290 #endif
1291 #ifndef OVERRIDE_TABLE_64_quotactl
1292 TRACE_SYSCALL_TABLE(quotactl, quotactl, 60, 4)
1293 #endif
1294 #ifndef OVERRIDE_TABLE_64_getdents64
1295 TRACE_SYSCALL_TABLE(getdents64, getdents64, 61, 3)
1296 #endif
1297 #ifndef OVERRIDE_TABLE_64_read
1298 TRACE_SYSCALL_TABLE(read, read, 63, 3)
1299 #endif
1300 #ifndef OVERRIDE_TABLE_64_write
1301 TRACE_SYSCALL_TABLE(write, write, 64, 3)
1302 #endif
1303 #ifndef OVERRIDE_TABLE_64_readv
1304 TRACE_SYSCALL_TABLE(readv, readv, 65, 3)
1305 #endif
1306 #ifndef OVERRIDE_TABLE_64_writev
1307 TRACE_SYSCALL_TABLE(writev, writev, 66, 3)
1308 #endif
1309 #ifndef OVERRIDE_TABLE_64_pread64
1310 TRACE_SYSCALL_TABLE(pread64, pread64, 67, 4)
1311 #endif
1312 #ifndef OVERRIDE_TABLE_64_pwrite64
1313 TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 68, 4)
1314 #endif
1315 #ifndef OVERRIDE_TABLE_64_preadv
1316 TRACE_SYSCALL_TABLE(preadv, preadv, 69, 5)
1317 #endif
1318 #ifndef OVERRIDE_TABLE_64_pwritev
1319 TRACE_SYSCALL_TABLE(pwritev, pwritev, 70, 5)
1320 #endif
1321 #ifndef OVERRIDE_TABLE_64_sendfile64
1322 TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 71, 4)
1323 #endif
1324 #ifndef OVERRIDE_TABLE_64_pselect6
1325 TRACE_SYSCALL_TABLE(pselect6, pselect6, 72, 6)
1326 #endif
1327 #ifndef OVERRIDE_TABLE_64_ppoll
1328 TRACE_SYSCALL_TABLE(ppoll, ppoll, 73, 5)
1329 #endif
1330 #ifndef OVERRIDE_TABLE_64_signalfd4
1331 TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 74, 4)
1332 #endif
1333 #ifndef OVERRIDE_TABLE_64_vmsplice
1334 TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 75, 4)
1335 #endif
1336 #ifndef OVERRIDE_TABLE_64_splice
1337 TRACE_SYSCALL_TABLE(splice, splice, 76, 6)
1338 #endif
1339 #ifndef OVERRIDE_TABLE_64_readlinkat
1340 TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 78, 4)
1341 #endif
1342 #ifndef OVERRIDE_TABLE_64_newfstatat
1343 TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 79, 4)
1344 #endif
1345 #ifndef OVERRIDE_TABLE_64_newfstat
1346 TRACE_SYSCALL_TABLE(newfstat, newfstat, 80, 2)
1347 #endif
1348 #ifndef OVERRIDE_TABLE_64_timerfd_settime
1349 TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 86, 4)
1350 #endif
1351 #ifndef OVERRIDE_TABLE_64_timerfd_gettime
1352 TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 87, 2)
1353 #endif
1354 #ifndef OVERRIDE_TABLE_64_utimensat
1355 TRACE_SYSCALL_TABLE(utimensat, utimensat, 88, 4)
1356 #endif
1357 #ifndef OVERRIDE_TABLE_64_acct
1358 TRACE_SYSCALL_TABLE(acct, acct, 89, 1)
1359 #endif
1360 #ifndef OVERRIDE_TABLE_64_waitid
1361 TRACE_SYSCALL_TABLE(waitid, waitid, 95, 5)
1362 #endif
1363 #ifndef OVERRIDE_TABLE_64_set_tid_address
1364 TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 96, 1)
1365 #endif
1366 #ifndef OVERRIDE_TABLE_64_futex
1367 TRACE_SYSCALL_TABLE(futex, futex, 98, 6)
1368 #endif
1369 #ifndef OVERRIDE_TABLE_64_set_robust_list
1370 TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 99, 2)
1371 #endif
1372 #ifndef OVERRIDE_TABLE_64_get_robust_list
1373 TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 100, 3)
1374 #endif
1375 #ifndef OVERRIDE_TABLE_64_nanosleep
1376 TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 101, 2)
1377 #endif
1378 #ifndef OVERRIDE_TABLE_64_getitimer
1379 TRACE_SYSCALL_TABLE(getitimer, getitimer, 102, 2)
1380 #endif
1381 #ifndef OVERRIDE_TABLE_64_setitimer
1382 TRACE_SYSCALL_TABLE(setitimer, setitimer, 103, 3)
1383 #endif
1384 #ifndef OVERRIDE_TABLE_64_init_module
1385 TRACE_SYSCALL_TABLE(init_module, init_module, 105, 3)
1386 #endif
1387 #ifndef OVERRIDE_TABLE_64_delete_module
1388 TRACE_SYSCALL_TABLE(delete_module, delete_module, 106, 2)
1389 #endif
1390 #ifndef OVERRIDE_TABLE_64_timer_create
1391 TRACE_SYSCALL_TABLE(timer_create, timer_create, 107, 3)
1392 #endif
1393 #ifndef OVERRIDE_TABLE_64_timer_gettime
1394 TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 108, 2)
1395 #endif
1396 #ifndef OVERRIDE_TABLE_64_timer_settime
1397 TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 110, 4)
1398 #endif
1399 #ifndef OVERRIDE_TABLE_64_clock_settime
1400 TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 112, 2)
1401 #endif
1402 #ifndef OVERRIDE_TABLE_64_clock_gettime
1403 TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 113, 2)
1404 #endif
1405 #ifndef OVERRIDE_TABLE_64_clock_getres
1406 TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 114, 2)
1407 #endif
1408 #ifndef OVERRIDE_TABLE_64_clock_nanosleep
1409 TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 115, 4)
1410 #endif
1411 #ifndef OVERRIDE_TABLE_64_syslog
1412 TRACE_SYSCALL_TABLE(syslog, syslog, 116, 3)
1413 #endif
1414 #ifndef OVERRIDE_TABLE_64_sched_setparam
1415 TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 118, 2)
1416 #endif
1417 #ifndef OVERRIDE_TABLE_64_sched_setscheduler
1418 TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 119, 3)
1419 #endif
1420 #ifndef OVERRIDE_TABLE_64_sched_getparam
1421 TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 121, 2)
1422 #endif
1423 #ifndef OVERRIDE_TABLE_64_sched_setaffinity
1424 TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 122, 3)
1425 #endif
1426 #ifndef OVERRIDE_TABLE_64_sched_getaffinity
1427 TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 123, 3)
1428 #endif
1429 #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval
1430 TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 127, 2)
1431 #endif
1432 #ifndef OVERRIDE_TABLE_64_sigaltstack
1433 TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 132, 2)
1434 #endif
1435 #ifndef OVERRIDE_TABLE_64_rt_sigsuspend
1436 TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 133, 2)
1437 #endif
1438 #ifndef OVERRIDE_TABLE_64_rt_sigaction
1439 TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 134, 4)
1440 #endif
1441 #ifndef OVERRIDE_TABLE_64_rt_sigprocmask
1442 TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 135, 4)
1443 #endif
1444 #ifndef OVERRIDE_TABLE_64_rt_sigpending
1445 TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 136, 2)
1446 #endif
1447 #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait
1448 TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 137, 4)
1449 #endif
1450 #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo
1451 TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 138, 3)
1452 #endif
1453 #ifndef OVERRIDE_TABLE_64_reboot
1454 TRACE_SYSCALL_TABLE(reboot, reboot, 142, 4)
1455 #endif
1456 #ifndef OVERRIDE_TABLE_64_getresuid
1457 TRACE_SYSCALL_TABLE(getresuid, getresuid, 148, 3)
1458 #endif
1459 #ifndef OVERRIDE_TABLE_64_getresgid
1460 TRACE_SYSCALL_TABLE(getresgid, getresgid, 150, 3)
1461 #endif
1462 #ifndef OVERRIDE_TABLE_64_times
1463 TRACE_SYSCALL_TABLE(times, times, 153, 1)
1464 #endif
1465 #ifndef OVERRIDE_TABLE_64_getgroups
1466 TRACE_SYSCALL_TABLE(getgroups, getgroups, 158, 2)
1467 #endif
1468 #ifndef OVERRIDE_TABLE_64_setgroups
1469 TRACE_SYSCALL_TABLE(setgroups, setgroups, 159, 2)
1470 #endif
1471 #ifndef OVERRIDE_TABLE_64_newuname
1472 TRACE_SYSCALL_TABLE(newuname, newuname, 160, 1)
1473 #endif
1474 #ifndef OVERRIDE_TABLE_64_sethostname
1475 TRACE_SYSCALL_TABLE(sethostname, sethostname, 161, 2)
1476 #endif
1477 #ifndef OVERRIDE_TABLE_64_setdomainname
1478 TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 162, 2)
1479 #endif
1480 #ifndef OVERRIDE_TABLE_64_getrlimit
1481 TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 163, 2)
1482 #endif
1483 #ifndef OVERRIDE_TABLE_64_setrlimit
1484 TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 164, 2)
1485 #endif
1486 #ifndef OVERRIDE_TABLE_64_getrusage
1487 TRACE_SYSCALL_TABLE(getrusage, getrusage, 165, 2)
1488 #endif
1489 #ifndef OVERRIDE_TABLE_64_getcpu
1490 TRACE_SYSCALL_TABLE(getcpu, getcpu, 168, 3)
1491 #endif
1492 #ifndef OVERRIDE_TABLE_64_gettimeofday
1493 TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 169, 2)
1494 #endif
1495 #ifndef OVERRIDE_TABLE_64_settimeofday
1496 TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 170, 2)
1497 #endif
1498 #ifndef OVERRIDE_TABLE_64_adjtimex
1499 TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 171, 1)
1500 #endif
1501 #ifndef OVERRIDE_TABLE_64_sysinfo
1502 TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 179, 1)
1503 #endif
1504 #ifndef OVERRIDE_TABLE_64_mq_open
1505 TRACE_SYSCALL_TABLE(mq_open, mq_open, 180, 4)
1506 #endif
1507 #ifndef OVERRIDE_TABLE_64_mq_unlink
1508 TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 181, 1)
1509 #endif
1510 #ifndef OVERRIDE_TABLE_64_mq_timedsend
1511 TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 182, 5)
1512 #endif
1513 #ifndef OVERRIDE_TABLE_64_mq_timedreceive
1514 TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 183, 5)
1515 #endif
1516 #ifndef OVERRIDE_TABLE_64_mq_notify
1517 TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 184, 2)
1518 #endif
1519 #ifndef OVERRIDE_TABLE_64_mq_getsetattr
1520 TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 185, 3)
1521 #endif
1522 #ifndef OVERRIDE_TABLE_64_msgctl
1523 TRACE_SYSCALL_TABLE(msgctl, msgctl, 187, 3)
1524 #endif
1525 #ifndef OVERRIDE_TABLE_64_msgrcv
1526 TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 188, 5)
1527 #endif
1528 #ifndef OVERRIDE_TABLE_64_msgsnd
1529 TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 189, 4)
1530 #endif
1531 #ifndef OVERRIDE_TABLE_64_semtimedop
1532 TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 192, 4)
1533 #endif
1534 #ifndef OVERRIDE_TABLE_64_semop
1535 TRACE_SYSCALL_TABLE(semop, semop, 193, 3)
1536 #endif
1537 #ifndef OVERRIDE_TABLE_64_shmctl
1538 TRACE_SYSCALL_TABLE(shmctl, shmctl, 195, 3)
1539 #endif
1540 #ifndef OVERRIDE_TABLE_64_shmat
1541 TRACE_SYSCALL_TABLE(shmat, shmat, 196, 3)
1542 #endif
1543 #ifndef OVERRIDE_TABLE_64_shmdt
1544 TRACE_SYSCALL_TABLE(shmdt, shmdt, 197, 1)
1545 #endif
1546 #ifndef OVERRIDE_TABLE_64_socketpair
1547 TRACE_SYSCALL_TABLE(socketpair, socketpair, 199, 4)
1548 #endif
1549 #ifndef OVERRIDE_TABLE_64_bind
1550 TRACE_SYSCALL_TABLE(bind, bind, 200, 3)
1551 #endif
1552 #ifndef OVERRIDE_TABLE_64_accept
1553 TRACE_SYSCALL_TABLE(accept, accept, 202, 3)
1554 #endif
1555 #ifndef OVERRIDE_TABLE_64_connect
1556 TRACE_SYSCALL_TABLE(connect, connect, 203, 3)
1557 #endif
1558 #ifndef OVERRIDE_TABLE_64_getsockname
1559 TRACE_SYSCALL_TABLE(getsockname, getsockname, 204, 3)
1560 #endif
1561 #ifndef OVERRIDE_TABLE_64_getpeername
1562 TRACE_SYSCALL_TABLE(getpeername, getpeername, 205, 3)
1563 #endif
1564 #ifndef OVERRIDE_TABLE_64_sendto
1565 TRACE_SYSCALL_TABLE(sendto, sendto, 206, 6)
1566 #endif
1567 #ifndef OVERRIDE_TABLE_64_recvfrom
1568 TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 207, 6)
1569 #endif
1570 #ifndef OVERRIDE_TABLE_64_setsockopt
1571 TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 208, 5)
1572 #endif
1573 #ifndef OVERRIDE_TABLE_64_getsockopt
1574 TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 209, 5)
1575 #endif
1576 #ifndef OVERRIDE_TABLE_64_sendmsg
1577 TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 211, 3)
1578 #endif
1579 #ifndef OVERRIDE_TABLE_64_recvmsg
1580 TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 212, 3)
1581 #endif
1582 #ifndef OVERRIDE_TABLE_64_add_key
1583 TRACE_SYSCALL_TABLE(add_key, add_key, 217, 5)
1584 #endif
1585 #ifndef OVERRIDE_TABLE_64_request_key
1586 TRACE_SYSCALL_TABLE(request_key, request_key, 218, 4)
1587 #endif
1588 #ifndef OVERRIDE_TABLE_64_execve
1589 TRACE_SYSCALL_TABLE(execve, execve, 221, 3)
1590 #endif
1591 #ifndef OVERRIDE_TABLE_64_swapon
1592 TRACE_SYSCALL_TABLE(swapon, swapon, 224, 2)
1593 #endif
1594 #ifndef OVERRIDE_TABLE_64_swapoff
1595 TRACE_SYSCALL_TABLE(swapoff, swapoff, 225, 1)
1596 #endif
1597 #ifndef OVERRIDE_TABLE_64_mincore
1598 TRACE_SYSCALL_TABLE(mincore, mincore, 232, 3)
1599 #endif
1600 #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo
1601 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 240, 4)
1602 #endif
1603 #ifndef OVERRIDE_TABLE_64_perf_event_open
1604 TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 241, 5)
1605 #endif
1606 #ifndef OVERRIDE_TABLE_64_accept4
1607 TRACE_SYSCALL_TABLE(accept4, accept4, 242, 4)
1608 #endif
1609 #ifndef OVERRIDE_TABLE_64_recvmmsg
1610 TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 243, 5)
1611 #endif
1612 #ifndef OVERRIDE_TABLE_64_wait4
1613 TRACE_SYSCALL_TABLE(wait4, wait4, 260, 4)
1614 #endif
1615 #ifndef OVERRIDE_TABLE_64_prlimit64
1616 TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 261, 4)
1617 #endif
1618 #ifndef OVERRIDE_TABLE_64_fanotify_mark
1619 TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 263, 5)
1620 #endif
1621 #ifndef OVERRIDE_TABLE_64_name_to_handle_at
1622 TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 264, 5)
1623 #endif
1624 #ifndef OVERRIDE_TABLE_64_open_by_handle_at
1625 TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 265, 3)
1626 #endif
1627 #ifndef OVERRIDE_TABLE_64_clock_adjtime
1628 TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 266, 2)
1629 #endif
1630 #ifndef OVERRIDE_TABLE_64_sendmmsg
1631 TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 269, 4)
1632 #endif
1633 #ifndef OVERRIDE_TABLE_64_process_vm_readv
1634 TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 270, 6)
1635 #endif
1636 #ifndef OVERRIDE_TABLE_64_process_vm_writev
1637 TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 271, 6)
1638 #endif
1639 #ifndef OVERRIDE_TABLE_64_finit_module
1640 TRACE_SYSCALL_TABLE(finit_module, finit_module, 273, 3)
1641 #endif
1642 #ifndef OVERRIDE_TABLE_64_sched_setattr
1643 TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 274, 3)
1644 #endif
1645 #ifndef OVERRIDE_TABLE_64_sched_getattr
1646 TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 275, 4)
1647 #endif
1648 #ifndef OVERRIDE_TABLE_64_renameat2
1649 TRACE_SYSCALL_TABLE(renameat2, renameat2, 276, 5)
1650 #endif
1651 #ifndef OVERRIDE_TABLE_64_seccomp
1652 TRACE_SYSCALL_TABLE(seccomp, seccomp, 277, 3)
1653 #endif
1654 #ifndef OVERRIDE_TABLE_64_getrandom
1655 TRACE_SYSCALL_TABLE(getrandom, getrandom, 278, 3)
1656 #endif
1657 #ifndef OVERRIDE_TABLE_64_memfd_create
1658 TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 279, 2)
1659 #endif
1660 #ifndef OVERRIDE_TABLE_64_execveat
1661 TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5)
1662 #endif
1663
1664 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.110371 seconds and 4 git commands to generate.