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