Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / include / instrumentation / syscalls / headers / mips-64-syscalls_pointers.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
2
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
4
5 /* Generated from mips-64-syscalls 3.5.0 */
6
7 #ifndef CREATE_SYSCALL_TABLE
8
9 #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_SYSCALLS_POINTERS_H
11
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "mips-64-syscalls_pointers_override.h"
15 #include "syscalls_pointers_override.h"
16
17 #ifndef OVERRIDE_64_oldumount
18 SC_LTTNG_TRACEPOINT_EVENT(oldumount,
19 TP_PROTO(sc_exit(long ret,) char * name),
20 TP_ARGS(sc_exit(ret,) name),
21 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name)))
22 )
23 #endif
24 #ifndef OVERRIDE_64_olduname
25 SC_LTTNG_TRACEPOINT_EVENT(olduname,
26 TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name),
27 TP_ARGS(sc_exit(ret,) name),
28 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name)))
29 )
30 #endif
31 #ifndef OVERRIDE_64_uselib
32 SC_LTTNG_TRACEPOINT_EVENT(uselib,
33 TP_PROTO(sc_exit(long ret,) const char * library),
34 TP_ARGS(sc_exit(ret,) library),
35 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library)))
36 )
37 #endif
38 #ifndef OVERRIDE_64_uname
39 SC_LTTNG_TRACEPOINT_EVENT(uname,
40 TP_PROTO(sc_exit(long ret,) struct old_utsname * name),
41 TP_ARGS(sc_exit(ret,) name),
42 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name)))
43 )
44 #endif
45 #ifndef OVERRIDE_64_sysinfo
46 SC_LTTNG_TRACEPOINT_EVENT(sysinfo,
47 TP_PROTO(sc_exit(long ret,) struct sysinfo * info),
48 TP_ARGS(sc_exit(ret,) info),
49 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info)))
50 )
51 #endif
52 #ifndef OVERRIDE_64_times
53 SC_LTTNG_TRACEPOINT_EVENT(times,
54 TP_PROTO(sc_exit(long ret,) struct tms * tbuf),
55 TP_ARGS(sc_exit(ret,) tbuf),
56 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf)))
57 )
58 #endif
59 #ifndef OVERRIDE_64_sysctl
60 SC_LTTNG_TRACEPOINT_EVENT(sysctl,
61 TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args),
62 TP_ARGS(sc_exit(ret,) args),
63 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args)))
64 )
65 #endif
66 #ifndef OVERRIDE_64_adjtimex
67 SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
68 TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
69 TP_ARGS(sc_exit(ret,) txc_p),
70 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p)))
71 )
72 #endif
73 #ifndef OVERRIDE_64_newuname
74 SC_LTTNG_TRACEPOINT_EVENT(newuname,
75 TP_PROTO(sc_exit(long ret,) struct new_utsname * name),
76 TP_ARGS(sc_exit(ret,) name),
77 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name)))
78 )
79 #endif
80 #ifndef OVERRIDE_64_shmdt
81 SC_LTTNG_TRACEPOINT_EVENT(shmdt,
82 TP_PROTO(sc_exit(long ret,) char * shmaddr),
83 TP_ARGS(sc_exit(ret,) shmaddr),
84 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr)))
85 )
86 #endif
87 #ifndef OVERRIDE_64_chdir
88 SC_LTTNG_TRACEPOINT_EVENT(chdir,
89 TP_PROTO(sc_exit(long ret,) const char * filename),
90 TP_ARGS(sc_exit(ret,) filename),
91 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
92 )
93 #endif
94 #ifndef OVERRIDE_64_rmdir
95 SC_LTTNG_TRACEPOINT_EVENT(rmdir,
96 TP_PROTO(sc_exit(long ret,) const char * pathname),
97 TP_ARGS(sc_exit(ret,) pathname),
98 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)))
99 )
100 #endif
101 #ifndef OVERRIDE_64_unlink
102 SC_LTTNG_TRACEPOINT_EVENT(unlink,
103 TP_PROTO(sc_exit(long ret,) const char * pathname),
104 TP_ARGS(sc_exit(ret,) pathname),
105 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)))
106 )
107 #endif
108 #ifndef OVERRIDE_64_chroot
109 SC_LTTNG_TRACEPOINT_EVENT(chroot,
110 TP_PROTO(sc_exit(long ret,) const char * filename),
111 TP_ARGS(sc_exit(ret,) filename),
112 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)))
113 )
114 #endif
115 #ifndef OVERRIDE_64_swapoff
116 SC_LTTNG_TRACEPOINT_EVENT(swapoff,
117 TP_PROTO(sc_exit(long ret,) const char * specialfile),
118 TP_ARGS(sc_exit(ret,) specialfile),
119 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)))
120 )
121 #endif
122 #ifndef OVERRIDE_64_set_tid_address
123 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address,
124 TP_PROTO(sc_exit(long ret,) int * tidptr),
125 TP_ARGS(sc_exit(ret,) tidptr),
126 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr)))
127 )
128 #endif
129 #ifndef OVERRIDE_64_nanosleep
130 SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
131 TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
132 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
133 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)))
134 )
135 #endif
136 #ifndef OVERRIDE_64_getitimer
137 SC_LTTNG_TRACEPOINT_EVENT(getitimer,
138 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
139 TP_ARGS(sc_exit(ret,) which, value),
140 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value)))
141 )
142 #endif
143 #ifndef OVERRIDE_64_gettimeofday
144 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
145 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
146 TP_ARGS(sc_exit(ret,) tv, tz),
147 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)))
148 )
149 #endif
150 #ifndef OVERRIDE_64_getrlimit
151 SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
152 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
153 TP_ARGS(sc_exit(ret,) resource, rlim),
154 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)))
155 )
156 #endif
157 #ifndef OVERRIDE_64_getrusage
158 SC_LTTNG_TRACEPOINT_EVENT(getrusage,
159 TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru),
160 TP_ARGS(sc_exit(ret,) who, ru),
161 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru)))
162 )
163 #endif
164 #ifndef OVERRIDE_64_rt_sigpending
165 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
166 TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize),
167 TP_ARGS(sc_exit(ret,) set, sigsetsize),
168 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, set, set)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize)))
169 )
170 #endif
171 #ifndef OVERRIDE_64_utime
172 SC_LTTNG_TRACEPOINT_EVENT(utime,
173 TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times),
174 TP_ARGS(sc_exit(ret,) filename, times),
175 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times)))
176 )
177 #endif
178 #ifndef OVERRIDE_64_ustat
179 SC_LTTNG_TRACEPOINT_EVENT(ustat,
180 TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf),
181 TP_ARGS(sc_exit(ret,) dev, ubuf),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf)))
183 )
184 #endif
185 #ifndef OVERRIDE_64_statfs
186 SC_LTTNG_TRACEPOINT_EVENT(statfs,
187 TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf),
188 TP_ARGS(sc_exit(ret,) pathname, buf),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf)))
190 )
191 #endif
192 #ifndef OVERRIDE_64_fstatfs
193 SC_LTTNG_TRACEPOINT_EVENT(fstatfs,
194 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf),
195 TP_ARGS(sc_exit(ret,) fd, buf),
196 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)))
197 )
198 #endif
199 #ifndef OVERRIDE_64_sched_rr_get_interval
200 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
201 TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
202 TP_ARGS(sc_exit(ret,) pid, interval),
203 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)))
204 )
205 #endif
206 #ifndef OVERRIDE_64_setrlimit
207 SC_LTTNG_TRACEPOINT_EVENT(setrlimit,
208 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
209 TP_ARGS(sc_exit(ret,) resource, rlim),
210 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)))
211 )
212 #endif
213 #ifndef OVERRIDE_64_settimeofday
214 SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
215 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
216 TP_ARGS(sc_exit(ret,) tv, tz),
217 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)))
218 )
219 #endif
220 #ifndef OVERRIDE_64_io_setup
221 SC_LTTNG_TRACEPOINT_EVENT(io_setup,
222 TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp),
223 TP_ARGS(sc_exit(ret,) nr_events, ctxp),
224 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)))
225 )
226 #endif
227 #ifndef OVERRIDE_64_timer_gettime
228 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
229 TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
230 TP_ARGS(sc_exit(ret,) timer_id, setting),
231 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)))
232 )
233 #endif
234 #ifndef OVERRIDE_64_clock_settime
235 SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
236 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp),
237 TP_ARGS(sc_exit(ret,) which_clock, tp),
238 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)))
239 )
240 #endif
241 #ifndef OVERRIDE_64_clock_gettime
242 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
243 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
244 TP_ARGS(sc_exit(ret,) which_clock, tp),
245 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)))
246 )
247 #endif
248 #ifndef OVERRIDE_64_clock_getres
249 SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
250 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
251 TP_ARGS(sc_exit(ret,) which_clock, tp),
252 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)))
253 )
254 #endif
255 #ifndef OVERRIDE_64_utimes
256 SC_LTTNG_TRACEPOINT_EVENT(utimes,
257 TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes),
258 TP_ARGS(sc_exit(ret,) filename, utimes),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
260 )
261 #endif
262 #ifndef OVERRIDE_64_set_robust_list
263 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
264 TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len),
265 TP_ARGS(sc_exit(ret,) head, len),
266 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)))
267 )
268 #endif
269 #ifndef OVERRIDE_64_timerfd_gettime
270 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
271 TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
272 TP_ARGS(sc_exit(ret,) ufd, otmr),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr)))
274 )
275 #endif
276 #ifndef OVERRIDE_64_clock_adjtime
277 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
278 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
279 TP_ARGS(sc_exit(ret,) which_clock, utx),
280 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)))
281 )
282 #endif
283 #ifndef OVERRIDE_64_newstat
284 SC_LTTNG_TRACEPOINT_EVENT(newstat,
285 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
286 TP_ARGS(sc_exit(ret,) filename, statbuf),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
288 )
289 #endif
290 #ifndef OVERRIDE_64_newfstat
291 SC_LTTNG_TRACEPOINT_EVENT(newfstat,
292 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf),
293 TP_ARGS(sc_exit(ret,) fd, statbuf),
294 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)))
295 )
296 #endif
297 #ifndef OVERRIDE_64_newlstat
298 SC_LTTNG_TRACEPOINT_EVENT(newlstat,
299 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
300 TP_ARGS(sc_exit(ret,) filename, statbuf),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)))
302 )
303 #endif
304 #ifndef OVERRIDE_64_access
305 SC_LTTNG_TRACEPOINT_EVENT(access,
306 TP_PROTO(sc_exit(long ret,) const char * filename, int mode),
307 TP_ARGS(sc_exit(ret,) filename, mode),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)))
309 )
310 #endif
311 #ifndef OVERRIDE_64_truncate
312 SC_LTTNG_TRACEPOINT_EVENT(truncate,
313 TP_PROTO(sc_exit(long ret,) const char * path, long length),
314 TP_ARGS(sc_exit(ret,) path, length),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length)))
316 )
317 #endif
318 #ifndef OVERRIDE_64_getcwd
319 SC_LTTNG_TRACEPOINT_EVENT(getcwd,
320 TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size),
321 TP_ARGS(sc_exit(ret,) buf, size),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size)))
323 )
324 #endif
325 #ifndef OVERRIDE_64_rename
326 SC_LTTNG_TRACEPOINT_EVENT(rename,
327 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
328 TP_ARGS(sc_exit(ret,) oldname, newname),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
330 )
331 #endif
332 #ifndef OVERRIDE_64_mkdir
333 SC_LTTNG_TRACEPOINT_EVENT(mkdir,
334 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
335 TP_ARGS(sc_exit(ret,) pathname, mode),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
337 )
338 #endif
339 #ifndef OVERRIDE_64_creat
340 SC_LTTNG_TRACEPOINT_EVENT(creat,
341 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
342 TP_ARGS(sc_exit(ret,) pathname, mode),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode)))
344 )
345 #endif
346 #ifndef OVERRIDE_64_link
347 SC_LTTNG_TRACEPOINT_EVENT(link,
348 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
349 TP_ARGS(sc_exit(ret,) oldname, newname),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
351 )
352 #endif
353 #ifndef OVERRIDE_64_symlink
354 SC_LTTNG_TRACEPOINT_EVENT(symlink,
355 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
356 TP_ARGS(sc_exit(ret,) oldname, newname),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname)))
358 )
359 #endif
360 #ifndef OVERRIDE_64_chmod
361 SC_LTTNG_TRACEPOINT_EVENT(chmod,
362 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode),
363 TP_ARGS(sc_exit(ret,) filename, mode),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)))
365 )
366 #endif
367 #ifndef OVERRIDE_64_getgroups
368 SC_LTTNG_TRACEPOINT_EVENT(getgroups,
369 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
370 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist)))
372 )
373 #endif
374 #ifndef OVERRIDE_64_setgroups
375 SC_LTTNG_TRACEPOINT_EVENT(setgroups,
376 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
377 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist)))
379 )
380 #endif
381 #ifndef OVERRIDE_64_32_rt_sigpending
382 SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigpending,
383 TP_PROTO(sc_exit(long ret,) compat_sigset_t * uset, unsigned int sigsetsize),
384 TP_ARGS(sc_exit(ret,) uset, sigsetsize),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_sigset_t *, uset, uset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize)))
386 )
387 #endif
388 #ifndef OVERRIDE_64_sched_setparam
389 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam,
390 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
391 TP_ARGS(sc_exit(ret,) pid, param),
392 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)))
393 )
394 #endif
395 #ifndef OVERRIDE_64_sched_getparam
396 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
397 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
398 TP_ARGS(sc_exit(ret,) pid, param),
399 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)))
400 )
401 #endif
402 #ifndef OVERRIDE_64_32_sched_rr_get_interval
403 SC_LTTNG_TRACEPOINT_EVENT(32_sched_rr_get_interval,
404 TP_PROTO(sc_exit(long ret,) compat_pid_t pid, struct compat_timespec * interval),
405 TP_ARGS(sc_exit(ret,) pid, interval),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(struct compat_timespec *, interval, interval)))
407 )
408 #endif
409 #ifndef OVERRIDE_64_pivot_root
410 SC_LTTNG_TRACEPOINT_EVENT(pivot_root,
411 TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old),
412 TP_ARGS(sc_exit(ret,) new_root, put_old),
413 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)))
414 )
415 #endif
416 #ifndef OVERRIDE_64_umount
417 SC_LTTNG_TRACEPOINT_EVENT(umount,
418 TP_PROTO(sc_exit(long ret,) char * name, int flags),
419 TP_ARGS(sc_exit(ret,) name, flags),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags)))
421 )
422 #endif
423 #ifndef OVERRIDE_64_swapon
424 SC_LTTNG_TRACEPOINT_EVENT(swapon,
425 TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags),
426 TP_ARGS(sc_exit(ret,) specialfile, swap_flags),
427 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)))
428 )
429 #endif
430 #ifndef OVERRIDE_64_sethostname
431 SC_LTTNG_TRACEPOINT_EVENT(sethostname,
432 TP_PROTO(sc_exit(long ret,) char * name, int len),
433 TP_ARGS(sc_exit(ret,) name, len),
434 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
435 )
436 #endif
437 #ifndef OVERRIDE_64_setdomainname
438 SC_LTTNG_TRACEPOINT_EVENT(setdomainname,
439 TP_PROTO(sc_exit(long ret,) char * name, int len),
440 TP_ARGS(sc_exit(ret,) name, len),
441 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len)))
442 )
443 #endif
444 #ifndef OVERRIDE_64_delete_module
445 SC_LTTNG_TRACEPOINT_EVENT(delete_module,
446 TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags),
447 TP_ARGS(sc_exit(ret,) name_user, flags),
448 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)))
449 )
450 #endif
451 #ifndef OVERRIDE_64_removexattr
452 SC_LTTNG_TRACEPOINT_EVENT(removexattr,
453 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
454 TP_ARGS(sc_exit(ret,) pathname, name),
455 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
456 )
457 #endif
458 #ifndef OVERRIDE_64_lremovexattr
459 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr,
460 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
461 TP_ARGS(sc_exit(ret,) pathname, name),
462 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)))
463 )
464 #endif
465 #ifndef OVERRIDE_64_fremovexattr
466 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr,
467 TP_PROTO(sc_exit(long ret,) int fd, const char * name),
468 TP_ARGS(sc_exit(ret,) fd, name),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)))
470 )
471 #endif
472 #ifndef OVERRIDE_64_pipe2
473 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
474 TP_PROTO(sc_exit(long ret,) int * fildes, int flags),
475 TP_ARGS(sc_exit(ret,) fildes, flags),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags)))
477 )
478 #endif
479 #ifndef OVERRIDE_64_waitpid
480 SC_LTTNG_TRACEPOINT_EVENT(waitpid,
481 TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options),
482 TP_ARGS(sc_exit(ret,) pid, stat_addr, options),
483 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options)))
484 )
485 #endif
486 #ifndef OVERRIDE_64_32_sigaction
487 SC_LTTNG_TRACEPOINT_EVENT(32_sigaction,
488 TP_PROTO(sc_exit(long ret,) long sig, const struct sigaction32 * act, struct sigaction32 * oact),
489 TP_ARGS(sc_exit(ret,) sig, act, oact),
490 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact)))
491 )
492 #endif
493 #ifndef OVERRIDE_64_readv
494 SC_LTTNG_TRACEPOINT_EVENT(readv,
495 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
496 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
497 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)))
498 )
499 #endif
500 #ifndef OVERRIDE_64_writev
501 SC_LTTNG_TRACEPOINT_EVENT(writev,
502 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
503 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
504 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)))
505 )
506 #endif
507 #ifndef OVERRIDE_64_shmctl
508 SC_LTTNG_TRACEPOINT_EVENT(shmctl,
509 TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf),
510 TP_ARGS(sc_exit(ret,) shmid, cmd, buf),
511 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)))
512 )
513 #endif
514 #ifndef OVERRIDE_64_setitimer
515 SC_LTTNG_TRACEPOINT_EVENT(setitimer,
516 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue),
517 TP_ARGS(sc_exit(ret,) which, value, ovalue),
518 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)))
519 )
520 #endif
521 #ifndef OVERRIDE_64_sendmsg
522 SC_LTTNG_TRACEPOINT_EVENT(sendmsg,
523 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags),
524 TP_ARGS(sc_exit(ret,) fd, msg, flags),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags)))
526 )
527 #endif
528 #ifndef OVERRIDE_64_recvmsg
529 SC_LTTNG_TRACEPOINT_EVENT(recvmsg,
530 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags),
531 TP_ARGS(sc_exit(ret,) fd, msg, flags),
532 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags)))
533 )
534 #endif
535 #ifndef OVERRIDE_64_msgctl
536 SC_LTTNG_TRACEPOINT_EVENT(msgctl,
537 TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf),
538 TP_ARGS(sc_exit(ret,) msqid, cmd, buf),
539 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)))
540 )
541 #endif
542 #ifndef OVERRIDE_64_getdents
543 SC_LTTNG_TRACEPOINT_EVENT(getdents,
544 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count),
545 TP_ARGS(sc_exit(ret,) fd, dirent, count),
546 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count)))
547 )
548 #endif
549 #ifndef OVERRIDE_64_rt_sigqueueinfo
550 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo,
551 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo),
552 TP_ARGS(sc_exit(ret,) pid, sig, uinfo),
553 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)))
554 )
555 #endif
556 #ifndef OVERRIDE_64_sched_setaffinity
557 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity,
558 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
559 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
560 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)))
561 )
562 #endif
563 #ifndef OVERRIDE_64_sched_getaffinity
564 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity,
565 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
566 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
567 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)))
568 )
569 #endif
570 #ifndef OVERRIDE_64_io_submit
571 SC_LTTNG_TRACEPOINT_EVENT(io_submit,
572 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp),
573 TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp),
574 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)))
575 )
576 #endif
577 #ifndef OVERRIDE_64_timer_create
578 SC_LTTNG_TRACEPOINT_EVENT(timer_create,
579 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id),
580 TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id),
581 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)))
582 )
583 #endif
584 #ifndef OVERRIDE_64_futimesat
585 SC_LTTNG_TRACEPOINT_EVENT(futimesat,
586 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes),
587 TP_ARGS(sc_exit(ret,) dfd, filename, utimes),
588 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes)))
589 )
590 #endif
591 #ifndef OVERRIDE_64_get_robust_list
592 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list,
593 TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr),
594 TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr),
595 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)))
596 )
597 #endif
598 #ifndef OVERRIDE_64_signalfd
599 SC_LTTNG_TRACEPOINT_EVENT(signalfd,
600 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask),
601 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask),
602 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)))
603 )
604 #endif
605 #ifndef OVERRIDE_64_read
606 SC_LTTNG_TRACEPOINT_EVENT(read,
607 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count),
608 TP_ARGS(sc_exit(ret,) fd, buf, count),
609 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)))
610 )
611 #endif
612 #ifndef OVERRIDE_64_write
613 SC_LTTNG_TRACEPOINT_EVENT(write,
614 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count),
615 TP_ARGS(sc_exit(ret,) fd, buf, count),
616 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)))
617 )
618 #endif
619 #ifndef OVERRIDE_64_open
620 SC_LTTNG_TRACEPOINT_EVENT(open,
621 TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode),
622 TP_ARGS(sc_exit(ret,) filename, flags, mode),
623 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode)))
624 )
625 #endif
626 #ifndef OVERRIDE_64_poll
627 SC_LTTNG_TRACEPOINT_EVENT(poll,
628 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs),
629 TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs),
630 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs)))
631 )
632 #endif
633 #ifndef OVERRIDE_64_mincore
634 SC_LTTNG_TRACEPOINT_EVENT(mincore,
635 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec),
636 TP_ARGS(sc_exit(ret,) start, len, vec),
637 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)))
638 )
639 #endif
640 #ifndef OVERRIDE_64_shmat
641 SC_LTTNG_TRACEPOINT_EVENT(shmat,
642 TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg),
643 TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg),
644 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)))
645 )
646 #endif
647 #ifndef OVERRIDE_64_connect
648 SC_LTTNG_TRACEPOINT_EVENT(connect,
649 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen),
650 TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen),
651 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)))
652 )
653 #endif
654 #ifndef OVERRIDE_64_accept
655 SC_LTTNG_TRACEPOINT_EVENT(accept,
656 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen),
657 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen),
658 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)))
659 )
660 #endif
661 #ifndef OVERRIDE_64_bind
662 SC_LTTNG_TRACEPOINT_EVENT(bind,
663 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen),
664 TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen),
665 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)))
666 )
667 #endif
668 #ifndef OVERRIDE_64_getsockname
669 SC_LTTNG_TRACEPOINT_EVENT(getsockname,
670 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
671 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
672 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)))
673 )
674 #endif
675 #ifndef OVERRIDE_64_getpeername
676 SC_LTTNG_TRACEPOINT_EVENT(getpeername,
677 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
678 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
679 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)))
680 )
681 #endif
682 #ifndef OVERRIDE_64_semop
683 SC_LTTNG_TRACEPOINT_EVENT(semop,
684 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops),
685 TP_ARGS(sc_exit(ret,) semid, tsops, nsops),
686 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)))
687 )
688 #endif
689 #ifndef OVERRIDE_64_readlink
690 SC_LTTNG_TRACEPOINT_EVENT(readlink,
691 TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz),
692 TP_ARGS(sc_exit(ret,) path, buf, bufsiz),
693 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz)))
694 )
695 #endif
696 #ifndef OVERRIDE_64_chown
697 SC_LTTNG_TRACEPOINT_EVENT(chown,
698 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
699 TP_ARGS(sc_exit(ret,) filename, user, group),
700 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)))
701 )
702 #endif
703 #ifndef OVERRIDE_64_lchown
704 SC_LTTNG_TRACEPOINT_EVENT(lchown,
705 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
706 TP_ARGS(sc_exit(ret,) filename, user, group),
707 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)))
708 )
709 #endif
710 #ifndef OVERRIDE_64_syslog
711 SC_LTTNG_TRACEPOINT_EVENT(syslog,
712 TP_PROTO(sc_exit(long ret,) int type, char * buf, int len),
713 TP_ARGS(sc_exit(ret,) type, buf, len),
714 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)))
715 )
716 #endif
717 #ifndef OVERRIDE_64_getresuid
718 SC_LTTNG_TRACEPOINT_EVENT(getresuid,
719 TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp),
720 TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp),
721 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)))
722 )
723 #endif
724 #ifndef OVERRIDE_64_getresgid
725 SC_LTTNG_TRACEPOINT_EVENT(getresgid,
726 TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp),
727 TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp),
728 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)))
729 )
730 #endif
731 #ifndef OVERRIDE_64_32_rt_sigqueueinfo
732 SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigqueueinfo,
733 TP_PROTO(sc_exit(long ret,) int pid, int sig, compat_siginfo_t * uinfo),
734 TP_ARGS(sc_exit(ret,) pid, sig, uinfo),
735 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pid, pid)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo)))
736 )
737 #endif
738 #ifndef OVERRIDE_64_mknod
739 SC_LTTNG_TRACEPOINT_EVENT(mknod,
740 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev),
741 TP_ARGS(sc_exit(ret,) filename, mode, dev),
742 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev)))
743 )
744 #endif
745 #ifndef OVERRIDE_64_sched_setscheduler
746 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler,
747 TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param),
748 TP_ARGS(sc_exit(ret,) pid, policy, param),
749 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)))
750 )
751 #endif
752 #ifndef OVERRIDE_64_init_module
753 SC_LTTNG_TRACEPOINT_EVENT(init_module,
754 TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs),
755 TP_ARGS(sc_exit(ret,) umod, len, uargs),
756 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)))
757 )
758 #endif
759 #ifndef OVERRIDE_64_listxattr
760 SC_LTTNG_TRACEPOINT_EVENT(listxattr,
761 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
762 TP_ARGS(sc_exit(ret,) pathname, list, size),
763 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)))
764 )
765 #endif
766 #ifndef OVERRIDE_64_llistxattr
767 SC_LTTNG_TRACEPOINT_EVENT(llistxattr,
768 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
769 TP_ARGS(sc_exit(ret,) pathname, list, size),
770 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)))
771 )
772 #endif
773 #ifndef OVERRIDE_64_flistxattr
774 SC_LTTNG_TRACEPOINT_EVENT(flistxattr,
775 TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size),
776 TP_ARGS(sc_exit(ret,) fd, list, size),
777 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)))
778 )
779 #endif
780 #ifndef OVERRIDE_64_cachectl
781 SC_LTTNG_TRACEPOINT_EVENT(cachectl,
782 TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op),
783 TP_ARGS(sc_exit(ret,) addr, nbytes, op),
784 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op)))
785 )
786 #endif
787 #ifndef OVERRIDE_64_io_cancel
788 SC_LTTNG_TRACEPOINT_EVENT(io_cancel,
789 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result),
790 TP_ARGS(sc_exit(ret,) ctx_id, iocb, result),
791 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)))
792 )
793 #endif
794 #ifndef OVERRIDE_64_inotify_add_watch
795 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch,
796 TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask),
797 TP_ARGS(sc_exit(ret,) fd, pathname, mask),
798 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)))
799 )
800 #endif
801 #ifndef OVERRIDE_64_mkdirat
802 SC_LTTNG_TRACEPOINT_EVENT(mkdirat,
803 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode),
804 TP_ARGS(sc_exit(ret,) dfd, pathname, mode),
805 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)))
806 )
807 #endif
808 #ifndef OVERRIDE_64_unlinkat
809 SC_LTTNG_TRACEPOINT_EVENT(unlinkat,
810 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag),
811 TP_ARGS(sc_exit(ret,) dfd, pathname, flag),
812 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)))
813 )
814 #endif
815 #ifndef OVERRIDE_64_symlinkat
816 SC_LTTNG_TRACEPOINT_EVENT(symlinkat,
817 TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname),
818 TP_ARGS(sc_exit(ret,) oldname, newdfd, newname),
819 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)))
820 )
821 #endif
822 #ifndef OVERRIDE_64_fchmodat
823 SC_LTTNG_TRACEPOINT_EVENT(fchmodat,
824 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode),
825 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
826 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)))
827 )
828 #endif
829 #ifndef OVERRIDE_64_faccessat
830 SC_LTTNG_TRACEPOINT_EVENT(faccessat,
831 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode),
832 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
833 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)))
834 )
835 #endif
836 #ifndef OVERRIDE_64_getcpu
837 SC_LTTNG_TRACEPOINT_EVENT(getcpu,
838 TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused),
839 TP_ARGS(sc_exit(ret,) cpup, nodep, unused),
840 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)))
841 )
842 #endif
843 #ifndef OVERRIDE_64_getdents64
844 SC_LTTNG_TRACEPOINT_EVENT(getdents64,
845 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count),
846 TP_ARGS(sc_exit(ret,) fd, dirent, count),
847 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)))
848 )
849 #endif
850 #ifndef OVERRIDE_64_send
851 SC_LTTNG_TRACEPOINT_EVENT(send,
852 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags),
853 TP_ARGS(sc_exit(ret,) fd, buff, len, flags),
854 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags)))
855 )
856 #endif
857 #ifndef OVERRIDE_64_32_truncate64
858 SC_LTTNG_TRACEPOINT_EVENT(32_truncate64,
859 TP_PROTO(sc_exit(long ret,) const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3),
860 TP_ARGS(sc_exit(ret,) path, __dummy, a2, a3),
861 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned long, __dummy, __dummy)) sc_inout(ctf_integer(unsigned long, a2, a2)) sc_inout(ctf_integer(unsigned long, a3, a3)))
862 )
863 #endif
864 #ifndef OVERRIDE_64_rt_sigaction
865 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction,
866 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize),
867 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
868 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)))
869 )
870 #endif
871 #ifndef OVERRIDE_64_rt_sigprocmask
872 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
873 TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize),
874 TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize),
875 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)))
876 )
877 #endif
878 #ifndef OVERRIDE_64_wait4
879 SC_LTTNG_TRACEPOINT_EVENT(wait4,
880 TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru),
881 TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru),
882 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)))
883 )
884 #endif
885 #ifndef OVERRIDE_64_msgsnd
886 SC_LTTNG_TRACEPOINT_EVENT(msgsnd,
887 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg),
888 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg),
889 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)))
890 )
891 #endif
892 #ifndef OVERRIDE_64_rt_sigtimedwait
893 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
894 TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
895 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
896 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)))
897 )
898 #endif
899 #ifndef OVERRIDE_64_semtimedop
900 SC_LTTNG_TRACEPOINT_EVENT(semtimedop,
901 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout),
902 TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout),
903 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)))
904 )
905 #endif
906 #ifndef OVERRIDE_64_timer_settime
907 SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
908 TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
909 TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
910 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)))
911 )
912 #endif
913 #ifndef OVERRIDE_64_clock_nanosleep
914 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
915 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
916 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
917 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)))
918 )
919 #endif
920 #ifndef OVERRIDE_64_vmsplice
921 SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
922 TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
923 TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
924 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)))
925 )
926 #endif
927 #ifndef OVERRIDE_64_utimensat
928 SC_LTTNG_TRACEPOINT_EVENT(utimensat,
929 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
930 TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
931 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)))
932 )
933 #endif
934 #ifndef OVERRIDE_64_timerfd_settime
935 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
936 TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
937 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
938 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)))
939 )
940 #endif
941 #ifndef OVERRIDE_64_rt_tgsigqueueinfo
942 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo,
943 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo),
944 TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo),
945 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)))
946 )
947 #endif
948 #ifndef OVERRIDE_64_sendmmsg
949 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
950 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags),
951 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags),
952 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)))
953 )
954 #endif
955 #ifndef OVERRIDE_64_32_rt_sigaction
956 SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigaction,
957 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize),
958 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
959 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize)))
960 )
961 #endif
962 #ifndef OVERRIDE_64_32_rt_sigprocmask
963 SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigprocmask,
964 TP_PROTO(sc_exit(long ret,) int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize),
965 TP_ARGS(sc_exit(ret,) how, set, oset, sigsetsize),
966 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(compat_sigset_t *, set, set)) sc_inout(ctf_integer(compat_sigset_t *, oset, oset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize)))
967 )
968 #endif
969 #ifndef OVERRIDE_64_32_sendfile
970 SC_LTTNG_TRACEPOINT_EVENT(32_sendfile,
971 TP_PROTO(sc_exit(long ret,) long out_fd, long in_fd, compat_off_t * offset, s32 count),
972 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
973 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, out_fd, out_fd)) sc_inout(ctf_integer(long, in_fd, in_fd)) sc_inout(ctf_integer(compat_off_t *, offset, offset)) sc_inout(ctf_integer(s32, count, count)))
974 )
975 #endif
976 #ifndef OVERRIDE_64_socketpair
977 SC_LTTNG_TRACEPOINT_EVENT(socketpair,
978 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
979 TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
980 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)))
981 )
982 #endif
983 #ifndef OVERRIDE_64_reboot
984 SC_LTTNG_TRACEPOINT_EVENT(reboot,
985 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
986 TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg),
987 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)))
988 )
989 #endif
990 #ifndef OVERRIDE_64_quotactl
991 SC_LTTNG_TRACEPOINT_EVENT(quotactl,
992 TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr),
993 TP_ARGS(sc_exit(ret,) cmd, special, id, addr),
994 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)))
995 )
996 #endif
997 #ifndef OVERRIDE_64_getxattr
998 SC_LTTNG_TRACEPOINT_EVENT(getxattr,
999 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
1000 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
1001 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)))
1002 )
1003 #endif
1004 #ifndef OVERRIDE_64_lgetxattr
1005 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr,
1006 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
1007 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
1008 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)))
1009 )
1010 #endif
1011 #ifndef OVERRIDE_64_fgetxattr
1012 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr,
1013 TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size),
1014 TP_ARGS(sc_exit(ret,) fd, name, value, size),
1015 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)))
1016 )
1017 #endif
1018 #ifndef OVERRIDE_64_epoll_ctl
1019 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl,
1020 TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event),
1021 TP_ARGS(sc_exit(ret,) epfd, op, fd, event),
1022 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)))
1023 )
1024 #endif
1025 #ifndef OVERRIDE_64_epoll_wait
1026 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait,
1027 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout),
1028 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout),
1029 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)))
1030 )
1031 #endif
1032 #ifndef OVERRIDE_64_sendfile64
1033 SC_LTTNG_TRACEPOINT_EVENT(sendfile64,
1034 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count),
1035 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
1036 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)))
1037 )
1038 #endif
1039 #ifndef OVERRIDE_64_openat
1040 SC_LTTNG_TRACEPOINT_EVENT(openat,
1041 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
1042 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
1043 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)))
1044 )
1045 #endif
1046 #ifndef OVERRIDE_64_mknodat
1047 SC_LTTNG_TRACEPOINT_EVENT(mknodat,
1048 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev),
1049 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
1050 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)))
1051 )
1052 #endif
1053 #ifndef OVERRIDE_64_newfstatat
1054 SC_LTTNG_TRACEPOINT_EVENT(newfstatat,
1055 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag),
1056 TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag),
1057 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)))
1058 )
1059 #endif
1060 #ifndef OVERRIDE_64_renameat
1061 SC_LTTNG_TRACEPOINT_EVENT(renameat,
1062 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname),
1063 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname),
1064 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)))
1065 )
1066 #endif
1067 #ifndef OVERRIDE_64_readlinkat
1068 SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
1069 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz),
1070 TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz),
1071 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)))
1072 )
1073 #endif
1074 #ifndef OVERRIDE_64_signalfd4
1075 SC_LTTNG_TRACEPOINT_EVENT(signalfd4,
1076 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags),
1077 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags),
1078 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)))
1079 )
1080 #endif
1081 #ifndef OVERRIDE_64_accept4
1082 SC_LTTNG_TRACEPOINT_EVENT(accept4,
1083 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
1084 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
1085 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)))
1086 )
1087 #endif
1088 #ifndef OVERRIDE_64_prlimit64
1089 SC_LTTNG_TRACEPOINT_EVENT(prlimit64,
1090 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim),
1091 TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim),
1092 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)))
1093 )
1094 #endif
1095 #ifndef OVERRIDE_64_32_llseek
1096 SC_LTTNG_TRACEPOINT_EVENT(32_llseek,
1097 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin),
1098 TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin),
1099 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_high, offset_high)) sc_inout(ctf_integer(unsigned int, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, origin, origin)))
1100 )
1101 #endif
1102 #ifndef OVERRIDE_64_32_waitid
1103 SC_LTTNG_TRACEPOINT_EVENT(32_waitid,
1104 TP_PROTO(sc_exit(long ret,) int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru),
1105 TP_ARGS(sc_exit(ret,) which, pid, uinfo, options, uru),
1106 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, which, which)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo)) sc_inout(ctf_integer(int, options, options)) sc_inout(ctf_integer(struct compat_rusage *, uru, uru)))
1107 )
1108 #endif
1109 #ifndef OVERRIDE_64_select
1110 SC_LTTNG_TRACEPOINT_EVENT(select,
1111 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp),
1112 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp),
1113 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timeval *, tvp, tvp)))
1114 )
1115 #endif
1116 #ifndef OVERRIDE_64_setsockopt
1117 SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1118 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1119 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1120 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)))
1121 )
1122 #endif
1123 #ifndef OVERRIDE_64_msgrcv
1124 SC_LTTNG_TRACEPOINT_EVENT(msgrcv,
1125 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg),
1126 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg),
1127 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)))
1128 )
1129 #endif
1130 #ifndef OVERRIDE_64_mount
1131 SC_LTTNG_TRACEPOINT_EVENT(mount,
1132 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
1133 TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data),
1134 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)))
1135 )
1136 #endif
1137 #ifndef OVERRIDE_64_io_getevents
1138 SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
1139 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
1140 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
1141 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)))
1142 )
1143 #endif
1144 #ifndef OVERRIDE_64_waitid
1145 SC_LTTNG_TRACEPOINT_EVENT(waitid,
1146 TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru),
1147 TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru),
1148 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)))
1149 )
1150 #endif
1151 #ifndef OVERRIDE_64_ppoll
1152 SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1153 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1154 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1155 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)))
1156 )
1157 #endif
1158 #ifndef OVERRIDE_64_recvmmsg
1159 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1160 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1161 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1162 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)))
1163 )
1164 #endif
1165 #ifndef OVERRIDE_64_getsockopt
1166 SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1167 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1168 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1169 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)))
1170 )
1171 #endif
1172 #ifndef OVERRIDE_64_setxattr
1173 SC_LTTNG_TRACEPOINT_EVENT(setxattr,
1174 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1175 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1176 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags)))
1177 )
1178 #endif
1179 #ifndef OVERRIDE_64_lsetxattr
1180 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr,
1181 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1182 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1183 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)))
1184 )
1185 #endif
1186 #ifndef OVERRIDE_64_fsetxattr
1187 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
1188 TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags),
1189 TP_ARGS(sc_exit(ret,) fd, name, value, size, flags),
1190 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)))
1191 )
1192 #endif
1193 #ifndef OVERRIDE_64_fchownat
1194 SC_LTTNG_TRACEPOINT_EVENT(fchownat,
1195 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag),
1196 TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag),
1197 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)))
1198 )
1199 #endif
1200 #ifndef OVERRIDE_64_linkat
1201 SC_LTTNG_TRACEPOINT_EVENT(linkat,
1202 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags),
1203 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
1204 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)))
1205 )
1206 #endif
1207 #ifndef OVERRIDE_64_preadv
1208 SC_LTTNG_TRACEPOINT_EVENT(preadv,
1209 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1210 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1211 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)))
1212 )
1213 #endif
1214 #ifndef OVERRIDE_64_pwritev
1215 SC_LTTNG_TRACEPOINT_EVENT(pwritev,
1216 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1217 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1218 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)))
1219 )
1220 #endif
1221 #ifndef OVERRIDE_64_32_pread
1222 SC_LTTNG_TRACEPOINT_EVENT(32_pread,
1223 TP_PROTO(sc_exit(long ret,) unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5),
1224 TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5),
1225 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned long, unused, unused)) sc_inout(ctf_integer(unsigned long, a4, a4)) sc_inout(ctf_integer(unsigned long, a5, a5)))
1226 )
1227 #endif
1228 #ifndef OVERRIDE_64_32_pwrite
1229 SC_LTTNG_TRACEPOINT_EVENT(32_pwrite,
1230 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5),
1231 TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5),
1232 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(u32, unused, unused)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(u64, a5, a5)))
1233 )
1234 #endif
1235 #ifndef OVERRIDE_64_32_fanotify_mark
1236 SC_LTTNG_TRACEPOINT_EVENT(32_fanotify_mark,
1237 TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname),
1238 TP_ARGS(sc_exit(ret,) fanotify_fd, flags, a3, a4, dfd, pathname),
1239 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(u64, a3, a3)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(pathname, pathname)))
1240 )
1241 #endif
1242 #ifndef OVERRIDE_64_recvfrom
1243 SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1244 TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len),
1245 TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
1246 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)))
1247 )
1248 #endif
1249 #ifndef OVERRIDE_64_futex
1250 SC_LTTNG_TRACEPOINT_EVENT(futex,
1251 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1252 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1253 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)))
1254 )
1255 #endif
1256 #ifndef OVERRIDE_64_pselect6
1257 SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1258 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1259 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1260 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)))
1261 )
1262 #endif
1263 #ifndef OVERRIDE_64_epoll_pwait
1264 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1265 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize),
1266 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
1267 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)))
1268 )
1269 #endif
1270 #ifndef OVERRIDE_64_process_vm_readv
1271 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv,
1272 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),
1273 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1274 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)))
1275 )
1276 #endif
1277 #ifndef OVERRIDE_64_process_vm_writev
1278 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev,
1279 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),
1280 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1281 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)))
1282 )
1283 #endif
1284 #ifndef OVERRIDE_64_sendto
1285 SC_LTTNG_TRACEPOINT_EVENT(sendto,
1286 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len),
1287 TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
1288 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)))
1289 )
1290 #endif
1291 #ifndef OVERRIDE_64_32_futex
1292 SC_LTTNG_TRACEPOINT_EVENT(32_futex,
1293 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3),
1294 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1295 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_inout(ctf_integer(int, op, op)) sc_inout(ctf_integer(u32, val, val)) sc_inout(ctf_integer(struct compat_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_inout(ctf_integer(u32, val3, val3)))
1296 )
1297 #endif
1298 #ifndef OVERRIDE_64_splice
1299 SC_LTTNG_TRACEPOINT_EVENT(splice,
1300 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),
1301 TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
1302 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)))
1303 )
1304 #endif
1305
1306 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1307
1308 /* This part must be outside protection */
1309 #include <lttng/define_trace.h>
1310
1311 #else /* CREATE_SYSCALL_TABLE */
1312
1313 #include "mips-64-syscalls_pointers_override.h"
1314 #include "syscalls_pointers_override.h"
1315
1316 #ifndef OVERRIDE_TABLE_64_waitpid
1317 TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3)
1318 #endif
1319 #ifndef OVERRIDE_TABLE_64_oldumount
1320 TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1)
1321 #endif
1322 #ifndef OVERRIDE_TABLE_64_olduname
1323 TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1)
1324 #endif
1325 #ifndef OVERRIDE_TABLE_64_32_sigaction
1326 TRACE_SYSCALL_TABLE(32_sigaction, 32_sigaction, 4067, 3)
1327 #endif
1328 #ifndef OVERRIDE_TABLE_64_uselib
1329 TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1)
1330 #endif
1331 #ifndef OVERRIDE_TABLE_64_uname
1332 TRACE_SYSCALL_TABLE(uname, uname, 4109, 1)
1333 #endif
1334 #ifndef OVERRIDE_TABLE_64_32_llseek
1335 TRACE_SYSCALL_TABLE(32_llseek, 32_llseek, 4140, 5)
1336 #endif
1337 #ifndef OVERRIDE_TABLE_64_send
1338 TRACE_SYSCALL_TABLE(send, send, 4178, 4)
1339 #endif
1340 #ifndef OVERRIDE_TABLE_64_32_pread
1341 TRACE_SYSCALL_TABLE(32_pread, 32_pread, 4200, 6)
1342 #endif
1343 #ifndef OVERRIDE_TABLE_64_32_pwrite
1344 TRACE_SYSCALL_TABLE(32_pwrite, 32_pwrite, 4201, 6)
1345 #endif
1346 #ifndef OVERRIDE_TABLE_64_32_truncate64
1347 TRACE_SYSCALL_TABLE(32_truncate64, 32_truncate64, 4211, 4)
1348 #endif
1349 #ifndef OVERRIDE_TABLE_64_32_waitid
1350 TRACE_SYSCALL_TABLE(32_waitid, 32_waitid, 4278, 5)
1351 #endif
1352 #ifndef OVERRIDE_TABLE_64_32_fanotify_mark
1353 TRACE_SYSCALL_TABLE(32_fanotify_mark, 32_fanotify_mark, 4337, 6)
1354 #endif
1355 #ifndef OVERRIDE_TABLE_64_rt_sigaction
1356 TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 5013, 4)
1357 #endif
1358 #ifndef OVERRIDE_TABLE_64_rt_sigprocmask
1359 TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 5014, 4)
1360 #endif
1361 #ifndef OVERRIDE_TABLE_64_readv
1362 TRACE_SYSCALL_TABLE(readv, readv, 5018, 3)
1363 #endif
1364 #ifndef OVERRIDE_TABLE_64_writev
1365 TRACE_SYSCALL_TABLE(writev, writev, 5019, 3)
1366 #endif
1367 #ifndef OVERRIDE_TABLE_64_select
1368 TRACE_SYSCALL_TABLE(select, select, 5022, 5)
1369 #endif
1370 #ifndef OVERRIDE_TABLE_64_shmctl
1371 TRACE_SYSCALL_TABLE(shmctl, shmctl, 5030, 3)
1372 #endif
1373 #ifndef OVERRIDE_TABLE_64_nanosleep
1374 TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 5034, 2)
1375 #endif
1376 #ifndef OVERRIDE_TABLE_64_getitimer
1377 TRACE_SYSCALL_TABLE(getitimer, getitimer, 5035, 2)
1378 #endif
1379 #ifndef OVERRIDE_TABLE_64_setitimer
1380 TRACE_SYSCALL_TABLE(setitimer, setitimer, 5036, 3)
1381 #endif
1382 #ifndef OVERRIDE_TABLE_64_recvfrom
1383 TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 5044, 6)
1384 #endif
1385 #ifndef OVERRIDE_TABLE_64_sendmsg
1386 TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 5045, 3)
1387 #endif
1388 #ifndef OVERRIDE_TABLE_64_recvmsg
1389 TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 5046, 3)
1390 #endif
1391 #ifndef OVERRIDE_TABLE_64_setsockopt
1392 TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 5053, 5)
1393 #endif
1394 #ifndef OVERRIDE_TABLE_64_wait4
1395 TRACE_SYSCALL_TABLE(wait4, wait4, 5059, 4)
1396 #endif
1397 #ifndef OVERRIDE_TABLE_64_msgsnd
1398 TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 5067, 4)
1399 #endif
1400 #ifndef OVERRIDE_TABLE_64_msgrcv
1401 TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 5068, 5)
1402 #endif
1403 #ifndef OVERRIDE_TABLE_64_msgctl
1404 TRACE_SYSCALL_TABLE(msgctl, msgctl, 5069, 3)
1405 #endif
1406 #ifndef OVERRIDE_TABLE_64_getdents
1407 TRACE_SYSCALL_TABLE(getdents, getdents, 5076, 3)
1408 #endif
1409 #ifndef OVERRIDE_TABLE_64_gettimeofday
1410 TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 5094, 2)
1411 #endif
1412 #ifndef OVERRIDE_TABLE_64_getrlimit
1413 TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 5095, 2)
1414 #endif
1415 #ifndef OVERRIDE_TABLE_64_getrusage
1416 TRACE_SYSCALL_TABLE(getrusage, getrusage, 5096, 2)
1417 #endif
1418 #ifndef OVERRIDE_TABLE_64_sysinfo
1419 TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 5097, 1)
1420 #endif
1421 #ifndef OVERRIDE_TABLE_64_times
1422 TRACE_SYSCALL_TABLE(times, times, 5098, 1)
1423 #endif
1424 #ifndef OVERRIDE_TABLE_64_rt_sigpending
1425 TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 5125, 2)
1426 #endif
1427 #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait
1428 TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 5126, 4)
1429 #endif
1430 #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo
1431 TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 5127, 3)
1432 #endif
1433 #ifndef OVERRIDE_TABLE_64_utime
1434 TRACE_SYSCALL_TABLE(utime, utime, 5130, 2)
1435 #endif
1436 #ifndef OVERRIDE_TABLE_64_ustat
1437 TRACE_SYSCALL_TABLE(ustat, ustat, 5133, 2)
1438 #endif
1439 #ifndef OVERRIDE_TABLE_64_statfs
1440 TRACE_SYSCALL_TABLE(statfs, statfs, 5134, 2)
1441 #endif
1442 #ifndef OVERRIDE_TABLE_64_fstatfs
1443 TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 5135, 2)
1444 #endif
1445 #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval
1446 TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 5145, 2)
1447 #endif
1448 #ifndef OVERRIDE_TABLE_64_sysctl
1449 TRACE_SYSCALL_TABLE(sysctl, sysctl, 5152, 1)
1450 #endif
1451 #ifndef OVERRIDE_TABLE_64_adjtimex
1452 TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 5154, 1)
1453 #endif
1454 #ifndef OVERRIDE_TABLE_64_setrlimit
1455 TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 5155, 2)
1456 #endif
1457 #ifndef OVERRIDE_TABLE_64_settimeofday
1458 TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 5159, 2)
1459 #endif
1460 #ifndef OVERRIDE_TABLE_64_mount
1461 TRACE_SYSCALL_TABLE(mount, mount, 5160, 5)
1462 #endif
1463 #ifndef OVERRIDE_TABLE_64_futex
1464 TRACE_SYSCALL_TABLE(futex, futex, 5194, 6)
1465 #endif
1466 #ifndef OVERRIDE_TABLE_64_sched_setaffinity
1467 TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 5195, 3)
1468 #endif
1469 #ifndef OVERRIDE_TABLE_64_sched_getaffinity
1470 TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 5196, 3)
1471 #endif
1472 #ifndef OVERRIDE_TABLE_64_io_setup
1473 TRACE_SYSCALL_TABLE(io_setup, io_setup, 5200, 2)
1474 #endif
1475 #ifndef OVERRIDE_TABLE_64_io_getevents
1476 TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 5202, 5)
1477 #endif
1478 #ifndef OVERRIDE_TABLE_64_io_submit
1479 TRACE_SYSCALL_TABLE(io_submit, io_submit, 5203, 3)
1480 #endif
1481 #ifndef OVERRIDE_TABLE_64_semtimedop
1482 TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 5214, 4)
1483 #endif
1484 #ifndef OVERRIDE_TABLE_64_timer_create
1485 TRACE_SYSCALL_TABLE(timer_create, timer_create, 5216, 3)
1486 #endif
1487 #ifndef OVERRIDE_TABLE_64_timer_settime
1488 TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 5217, 4)
1489 #endif
1490 #ifndef OVERRIDE_TABLE_64_timer_gettime
1491 TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 5218, 2)
1492 #endif
1493 #ifndef OVERRIDE_TABLE_64_clock_settime
1494 TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 5221, 2)
1495 #endif
1496 #ifndef OVERRIDE_TABLE_64_clock_gettime
1497 TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 5222, 2)
1498 #endif
1499 #ifndef OVERRIDE_TABLE_64_clock_getres
1500 TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 5223, 2)
1501 #endif
1502 #ifndef OVERRIDE_TABLE_64_clock_nanosleep
1503 TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 5224, 4)
1504 #endif
1505 #ifndef OVERRIDE_TABLE_64_utimes
1506 TRACE_SYSCALL_TABLE(utimes, utimes, 5226, 2)
1507 #endif
1508 #ifndef OVERRIDE_TABLE_64_waitid
1509 TRACE_SYSCALL_TABLE(waitid, waitid, 5237, 5)
1510 #endif
1511 #ifndef OVERRIDE_TABLE_64_futimesat
1512 TRACE_SYSCALL_TABLE(futimesat, futimesat, 5251, 3)
1513 #endif
1514 #ifndef OVERRIDE_TABLE_64_pselect6
1515 TRACE_SYSCALL_TABLE(pselect6, pselect6, 5260, 6)
1516 #endif
1517 #ifndef OVERRIDE_TABLE_64_ppoll
1518 TRACE_SYSCALL_TABLE(ppoll, ppoll, 5261, 5)
1519 #endif
1520 #ifndef OVERRIDE_TABLE_64_vmsplice
1521 TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 5266, 4)
1522 #endif
1523 #ifndef OVERRIDE_TABLE_64_set_robust_list
1524 TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 5268, 2)
1525 #endif
1526 #ifndef OVERRIDE_TABLE_64_get_robust_list
1527 TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 5269, 3)
1528 #endif
1529 #ifndef OVERRIDE_TABLE_64_epoll_pwait
1530 TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 5272, 6)
1531 #endif
1532 #ifndef OVERRIDE_TABLE_64_utimensat
1533 TRACE_SYSCALL_TABLE(utimensat, utimensat, 5275, 4)
1534 #endif
1535 #ifndef OVERRIDE_TABLE_64_signalfd
1536 TRACE_SYSCALL_TABLE(signalfd, signalfd, 5276, 3)
1537 #endif
1538 #ifndef OVERRIDE_TABLE_64_timerfd_gettime
1539 TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 5281, 2)
1540 #endif
1541 #ifndef OVERRIDE_TABLE_64_timerfd_settime
1542 TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 5282, 4)
1543 #endif
1544 #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo
1545 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 5291, 4)
1546 #endif
1547 #ifndef OVERRIDE_TABLE_64_recvmmsg
1548 TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 5294, 5)
1549 #endif
1550 #ifndef OVERRIDE_TABLE_64_clock_adjtime
1551 TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 5300, 2)
1552 #endif
1553 #ifndef OVERRIDE_TABLE_64_sendmmsg
1554 TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 5302, 4)
1555 #endif
1556 #ifndef OVERRIDE_TABLE_64_process_vm_readv
1557 TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 5304, 6)
1558 #endif
1559 #ifndef OVERRIDE_TABLE_64_process_vm_writev
1560 TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 5305, 6)
1561 #endif
1562 #ifndef OVERRIDE_TABLE_64_read
1563 TRACE_SYSCALL_TABLE(read, read, 6000, 3)
1564 #endif
1565 #ifndef OVERRIDE_TABLE_64_write
1566 TRACE_SYSCALL_TABLE(write, write, 6001, 3)
1567 #endif
1568 #ifndef OVERRIDE_TABLE_64_open
1569 TRACE_SYSCALL_TABLE(open, open, 6002, 3)
1570 #endif
1571 #ifndef OVERRIDE_TABLE_64_newstat
1572 TRACE_SYSCALL_TABLE(newstat, newstat, 6004, 2)
1573 #endif
1574 #ifndef OVERRIDE_TABLE_64_newfstat
1575 TRACE_SYSCALL_TABLE(newfstat, newfstat, 6005, 2)
1576 #endif
1577 #ifndef OVERRIDE_TABLE_64_newlstat
1578 TRACE_SYSCALL_TABLE(newlstat, newlstat, 6006, 2)
1579 #endif
1580 #ifndef OVERRIDE_TABLE_64_poll
1581 TRACE_SYSCALL_TABLE(poll, poll, 6007, 3)
1582 #endif
1583 #ifndef OVERRIDE_TABLE_64_32_rt_sigaction
1584 TRACE_SYSCALL_TABLE(32_rt_sigaction, 32_rt_sigaction, 6013, 4)
1585 #endif
1586 #ifndef OVERRIDE_TABLE_64_32_rt_sigprocmask
1587 TRACE_SYSCALL_TABLE(32_rt_sigprocmask, 32_rt_sigprocmask, 6014, 4)
1588 #endif
1589 #ifndef OVERRIDE_TABLE_64_access
1590 TRACE_SYSCALL_TABLE(access, access, 6020, 2)
1591 #endif
1592 #ifndef OVERRIDE_TABLE_64_mincore
1593 TRACE_SYSCALL_TABLE(mincore, mincore, 6026, 3)
1594 #endif
1595 #ifndef OVERRIDE_TABLE_64_shmat
1596 TRACE_SYSCALL_TABLE(shmat, shmat, 6029, 3)
1597 #endif
1598 #ifndef OVERRIDE_TABLE_64_32_sendfile
1599 TRACE_SYSCALL_TABLE(32_sendfile, 32_sendfile, 6039, 4)
1600 #endif
1601 #ifndef OVERRIDE_TABLE_64_connect
1602 TRACE_SYSCALL_TABLE(connect, connect, 6041, 3)
1603 #endif
1604 #ifndef OVERRIDE_TABLE_64_accept
1605 TRACE_SYSCALL_TABLE(accept, accept, 6042, 3)
1606 #endif
1607 #ifndef OVERRIDE_TABLE_64_sendto
1608 TRACE_SYSCALL_TABLE(sendto, sendto, 6043, 6)
1609 #endif
1610 #ifndef OVERRIDE_TABLE_64_bind
1611 TRACE_SYSCALL_TABLE(bind, bind, 6048, 3)
1612 #endif
1613 #ifndef OVERRIDE_TABLE_64_getsockname
1614 TRACE_SYSCALL_TABLE(getsockname, getsockname, 6050, 3)
1615 #endif
1616 #ifndef OVERRIDE_TABLE_64_getpeername
1617 TRACE_SYSCALL_TABLE(getpeername, getpeername, 6051, 3)
1618 #endif
1619 #ifndef OVERRIDE_TABLE_64_socketpair
1620 TRACE_SYSCALL_TABLE(socketpair, socketpair, 6052, 4)
1621 #endif
1622 #ifndef OVERRIDE_TABLE_64_getsockopt
1623 TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 6054, 5)
1624 #endif
1625 #ifndef OVERRIDE_TABLE_64_newuname
1626 TRACE_SYSCALL_TABLE(newuname, newuname, 6061, 1)
1627 #endif
1628 #ifndef OVERRIDE_TABLE_64_semop
1629 TRACE_SYSCALL_TABLE(semop, semop, 6063, 3)
1630 #endif
1631 #ifndef OVERRIDE_TABLE_64_shmdt
1632 TRACE_SYSCALL_TABLE(shmdt, shmdt, 6065, 1)
1633 #endif
1634 #ifndef OVERRIDE_TABLE_64_truncate
1635 TRACE_SYSCALL_TABLE(truncate, truncate, 6074, 2)
1636 #endif
1637 #ifndef OVERRIDE_TABLE_64_getcwd
1638 TRACE_SYSCALL_TABLE(getcwd, getcwd, 6077, 2)
1639 #endif
1640 #ifndef OVERRIDE_TABLE_64_chdir
1641 TRACE_SYSCALL_TABLE(chdir, chdir, 6078, 1)
1642 #endif
1643 #ifndef OVERRIDE_TABLE_64_rename
1644 TRACE_SYSCALL_TABLE(rename, rename, 6080, 2)
1645 #endif
1646 #ifndef OVERRIDE_TABLE_64_mkdir
1647 TRACE_SYSCALL_TABLE(mkdir, mkdir, 6081, 2)
1648 #endif
1649 #ifndef OVERRIDE_TABLE_64_rmdir
1650 TRACE_SYSCALL_TABLE(rmdir, rmdir, 6082, 1)
1651 #endif
1652 #ifndef OVERRIDE_TABLE_64_creat
1653 TRACE_SYSCALL_TABLE(creat, creat, 6083, 2)
1654 #endif
1655 #ifndef OVERRIDE_TABLE_64_link
1656 TRACE_SYSCALL_TABLE(link, link, 6084, 2)
1657 #endif
1658 #ifndef OVERRIDE_TABLE_64_unlink
1659 TRACE_SYSCALL_TABLE(unlink, unlink, 6085, 1)
1660 #endif
1661 #ifndef OVERRIDE_TABLE_64_symlink
1662 TRACE_SYSCALL_TABLE(symlink, symlink, 6086, 2)
1663 #endif
1664 #ifndef OVERRIDE_TABLE_64_readlink
1665 TRACE_SYSCALL_TABLE(readlink, readlink, 6087, 3)
1666 #endif
1667 #ifndef OVERRIDE_TABLE_64_chmod
1668 TRACE_SYSCALL_TABLE(chmod, chmod, 6088, 2)
1669 #endif
1670 #ifndef OVERRIDE_TABLE_64_chown
1671 TRACE_SYSCALL_TABLE(chown, chown, 6090, 3)
1672 #endif
1673 #ifndef OVERRIDE_TABLE_64_lchown
1674 TRACE_SYSCALL_TABLE(lchown, lchown, 6092, 3)
1675 #endif
1676 #ifndef OVERRIDE_TABLE_64_syslog
1677 TRACE_SYSCALL_TABLE(syslog, syslog, 6101, 3)
1678 #endif
1679 #ifndef OVERRIDE_TABLE_64_getgroups
1680 TRACE_SYSCALL_TABLE(getgroups, getgroups, 6113, 2)
1681 #endif
1682 #ifndef OVERRIDE_TABLE_64_setgroups
1683 TRACE_SYSCALL_TABLE(setgroups, setgroups, 6114, 2)
1684 #endif
1685 #ifndef OVERRIDE_TABLE_64_getresuid
1686 TRACE_SYSCALL_TABLE(getresuid, getresuid, 6116, 3)
1687 #endif
1688 #ifndef OVERRIDE_TABLE_64_getresgid
1689 TRACE_SYSCALL_TABLE(getresgid, getresgid, 6118, 3)
1690 #endif
1691 #ifndef OVERRIDE_TABLE_64_32_rt_sigpending
1692 TRACE_SYSCALL_TABLE(32_rt_sigpending, 32_rt_sigpending, 6125, 2)
1693 #endif
1694 #ifndef OVERRIDE_TABLE_64_32_rt_sigqueueinfo
1695 TRACE_SYSCALL_TABLE(32_rt_sigqueueinfo, 32_rt_sigqueueinfo, 6127, 3)
1696 #endif
1697 #ifndef OVERRIDE_TABLE_64_mknod
1698 TRACE_SYSCALL_TABLE(mknod, mknod, 6131, 3)
1699 #endif
1700 #ifndef OVERRIDE_TABLE_64_sched_setparam
1701 TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 6139, 2)
1702 #endif
1703 #ifndef OVERRIDE_TABLE_64_sched_getparam
1704 TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 6140, 2)
1705 #endif
1706 #ifndef OVERRIDE_TABLE_64_sched_setscheduler
1707 TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 6141, 3)
1708 #endif
1709 #ifndef OVERRIDE_TABLE_64_32_sched_rr_get_interval
1710 TRACE_SYSCALL_TABLE(32_sched_rr_get_interval, 32_sched_rr_get_interval, 6145, 2)
1711 #endif
1712 #ifndef OVERRIDE_TABLE_64_pivot_root
1713 TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 6151, 2)
1714 #endif
1715 #ifndef OVERRIDE_TABLE_64_chroot
1716 TRACE_SYSCALL_TABLE(chroot, chroot, 6156, 1)
1717 #endif
1718 #ifndef OVERRIDE_TABLE_64_umount
1719 TRACE_SYSCALL_TABLE(umount, umount, 6161, 2)
1720 #endif
1721 #ifndef OVERRIDE_TABLE_64_swapon
1722 TRACE_SYSCALL_TABLE(swapon, swapon, 6162, 2)
1723 #endif
1724 #ifndef OVERRIDE_TABLE_64_swapoff
1725 TRACE_SYSCALL_TABLE(swapoff, swapoff, 6163, 1)
1726 #endif
1727 #ifndef OVERRIDE_TABLE_64_reboot
1728 TRACE_SYSCALL_TABLE(reboot, reboot, 6164, 4)
1729 #endif
1730 #ifndef OVERRIDE_TABLE_64_sethostname
1731 TRACE_SYSCALL_TABLE(sethostname, sethostname, 6165, 2)
1732 #endif
1733 #ifndef OVERRIDE_TABLE_64_setdomainname
1734 TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 6166, 2)
1735 #endif
1736 #ifndef OVERRIDE_TABLE_64_init_module
1737 TRACE_SYSCALL_TABLE(init_module, init_module, 6168, 3)
1738 #endif
1739 #ifndef OVERRIDE_TABLE_64_delete_module
1740 TRACE_SYSCALL_TABLE(delete_module, delete_module, 6169, 2)
1741 #endif
1742 #ifndef OVERRIDE_TABLE_64_quotactl
1743 TRACE_SYSCALL_TABLE(quotactl, quotactl, 6172, 4)
1744 #endif
1745 #ifndef OVERRIDE_TABLE_64_setxattr
1746 TRACE_SYSCALL_TABLE(setxattr, setxattr, 6180, 5)
1747 #endif
1748 #ifndef OVERRIDE_TABLE_64_lsetxattr
1749 TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6181, 5)
1750 #endif
1751 #ifndef OVERRIDE_TABLE_64_fsetxattr
1752 TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 6182, 5)
1753 #endif
1754 #ifndef OVERRIDE_TABLE_64_getxattr
1755 TRACE_SYSCALL_TABLE(getxattr, getxattr, 6183, 4)
1756 #endif
1757 #ifndef OVERRIDE_TABLE_64_lgetxattr
1758 TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 6184, 4)
1759 #endif
1760 #ifndef OVERRIDE_TABLE_64_fgetxattr
1761 TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 6185, 4)
1762 #endif
1763 #ifndef OVERRIDE_TABLE_64_listxattr
1764 TRACE_SYSCALL_TABLE(listxattr, listxattr, 6186, 3)
1765 #endif
1766 #ifndef OVERRIDE_TABLE_64_llistxattr
1767 TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 6187, 3)
1768 #endif
1769 #ifndef OVERRIDE_TABLE_64_flistxattr
1770 TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 6188, 3)
1771 #endif
1772 #ifndef OVERRIDE_TABLE_64_removexattr
1773 TRACE_SYSCALL_TABLE(removexattr, removexattr, 6189, 2)
1774 #endif
1775 #ifndef OVERRIDE_TABLE_64_lremovexattr
1776 TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 6190, 2)
1777 #endif
1778 #ifndef OVERRIDE_TABLE_64_fremovexattr
1779 TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 6191, 2)
1780 #endif
1781 #ifndef OVERRIDE_TABLE_64_32_futex
1782 TRACE_SYSCALL_TABLE(32_futex, 32_futex, 6194, 6)
1783 #endif
1784 #ifndef OVERRIDE_TABLE_64_cachectl
1785 TRACE_SYSCALL_TABLE(cachectl, cachectl, 6198, 3)
1786 #endif
1787 #ifndef OVERRIDE_TABLE_64_io_cancel
1788 TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 6204, 3)
1789 #endif
1790 #ifndef OVERRIDE_TABLE_64_epoll_ctl
1791 TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 6208, 4)
1792 #endif
1793 #ifndef OVERRIDE_TABLE_64_epoll_wait
1794 TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 6209, 4)
1795 #endif
1796 #ifndef OVERRIDE_TABLE_64_set_tid_address
1797 TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 6213, 1)
1798 #endif
1799 #ifndef OVERRIDE_TABLE_64_sendfile64
1800 TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 6219, 4)
1801 #endif
1802 #ifndef OVERRIDE_TABLE_64_inotify_add_watch
1803 TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 6248, 3)
1804 #endif
1805 #ifndef OVERRIDE_TABLE_64_openat
1806 TRACE_SYSCALL_TABLE(openat, openat, 6251, 4)
1807 #endif
1808 #ifndef OVERRIDE_TABLE_64_mkdirat
1809 TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 6252, 3)
1810 #endif
1811 #ifndef OVERRIDE_TABLE_64_mknodat
1812 TRACE_SYSCALL_TABLE(mknodat, mknodat, 6253, 4)
1813 #endif
1814 #ifndef OVERRIDE_TABLE_64_fchownat
1815 TRACE_SYSCALL_TABLE(fchownat, fchownat, 6254, 5)
1816 #endif
1817 #ifndef OVERRIDE_TABLE_64_newfstatat
1818 TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 6256, 4)
1819 #endif
1820 #ifndef OVERRIDE_TABLE_64_unlinkat
1821 TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 6257, 3)
1822 #endif
1823 #ifndef OVERRIDE_TABLE_64_renameat
1824 TRACE_SYSCALL_TABLE(renameat, renameat, 6258, 4)
1825 #endif
1826 #ifndef OVERRIDE_TABLE_64_linkat
1827 TRACE_SYSCALL_TABLE(linkat, linkat, 6259, 5)
1828 #endif
1829 #ifndef OVERRIDE_TABLE_64_symlinkat
1830 TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 6260, 3)
1831 #endif
1832 #ifndef OVERRIDE_TABLE_64_readlinkat
1833 TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 6261, 4)
1834 #endif
1835 #ifndef OVERRIDE_TABLE_64_fchmodat
1836 TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 6262, 3)
1837 #endif
1838 #ifndef OVERRIDE_TABLE_64_faccessat
1839 TRACE_SYSCALL_TABLE(faccessat, faccessat, 6263, 3)
1840 #endif
1841 #ifndef OVERRIDE_TABLE_64_splice
1842 TRACE_SYSCALL_TABLE(splice, splice, 6267, 6)
1843 #endif
1844 #ifndef OVERRIDE_TABLE_64_getcpu
1845 TRACE_SYSCALL_TABLE(getcpu, getcpu, 6275, 3)
1846 #endif
1847 #ifndef OVERRIDE_TABLE_64_signalfd4
1848 TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 6287, 4)
1849 #endif
1850 #ifndef OVERRIDE_TABLE_64_pipe2
1851 TRACE_SYSCALL_TABLE(pipe2, pipe2, 6291, 2)
1852 #endif
1853 #ifndef OVERRIDE_TABLE_64_preadv
1854 TRACE_SYSCALL_TABLE(preadv, preadv, 6293, 5)
1855 #endif
1856 #ifndef OVERRIDE_TABLE_64_pwritev
1857 TRACE_SYSCALL_TABLE(pwritev, pwritev, 6294, 5)
1858 #endif
1859 #ifndef OVERRIDE_TABLE_64_accept4
1860 TRACE_SYSCALL_TABLE(accept4, accept4, 6297, 4)
1861 #endif
1862 #ifndef OVERRIDE_TABLE_64_getdents64
1863 TRACE_SYSCALL_TABLE(getdents64, getdents64, 6299, 3)
1864 #endif
1865 #ifndef OVERRIDE_TABLE_64_prlimit64
1866 TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 6302, 4)
1867 #endif
1868
1869 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.245693 seconds and 4 git commands to generate.