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