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