| 1 | // SPDX-FileCopyrightText: 2012 Ralf Baechle <ralf@linux-mips.org> |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only |
| 4 | |
| 5 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
| 6 | |
| 7 | /* Generated from mips-32-syscalls 3.18.0 */ |
| 8 | |
| 9 | #ifndef CREATE_SYSCALL_TABLE |
| 10 | |
| 11 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) |
| 12 | #define _TRACE_SYSCALLS_POINTERS_H |
| 13 | |
| 14 | #include <lttng/tracepoint-event.h> |
| 15 | #include <linux/syscalls.h> |
| 16 | #include "mips-32-syscalls_pointers_override.h" |
| 17 | #include "syscalls_pointers_override.h" |
| 18 | |
| 19 | #ifndef OVERRIDE_32_unlink |
| 20 | SC_LTTNG_TRACEPOINT_EVENT(unlink, |
| 21 | TP_PROTO(sc_exit(long ret,) const char * pathname), |
| 22 | TP_ARGS(sc_exit(ret,) pathname), |
| 23 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) |
| 24 | ) |
| 25 | #endif |
| 26 | #ifndef OVERRIDE_32_chdir |
| 27 | SC_LTTNG_TRACEPOINT_EVENT(chdir, |
| 28 | TP_PROTO(sc_exit(long ret,) const char * filename), |
| 29 | TP_ARGS(sc_exit(ret,) filename), |
| 30 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) |
| 31 | ) |
| 32 | #endif |
| 33 | #ifndef OVERRIDE_32_time |
| 34 | SC_LTTNG_TRACEPOINT_EVENT(time, |
| 35 | TP_PROTO(sc_exit(long ret,) time_t * tloc), |
| 36 | TP_ARGS(sc_exit(ret,) tloc), |
| 37 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) |
| 38 | ) |
| 39 | #endif |
| 40 | #ifndef OVERRIDE_32_oldumount |
| 41 | SC_LTTNG_TRACEPOINT_EVENT(oldumount, |
| 42 | TP_PROTO(sc_exit(long ret,) char * name), |
| 43 | TP_ARGS(sc_exit(ret,) name), |
| 44 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) |
| 45 | ) |
| 46 | #endif |
| 47 | #ifndef OVERRIDE_32_stime |
| 48 | SC_LTTNG_TRACEPOINT_EVENT(stime, |
| 49 | TP_PROTO(sc_exit(long ret,) time_t * tptr), |
| 50 | TP_ARGS(sc_exit(ret,) tptr), |
| 51 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) |
| 52 | ) |
| 53 | #endif |
| 54 | #ifndef OVERRIDE_32_rmdir |
| 55 | SC_LTTNG_TRACEPOINT_EVENT(rmdir, |
| 56 | TP_PROTO(sc_exit(long ret,) const char * pathname), |
| 57 | TP_ARGS(sc_exit(ret,) pathname), |
| 58 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) |
| 59 | ) |
| 60 | #endif |
| 61 | #ifndef OVERRIDE_32_times |
| 62 | SC_LTTNG_TRACEPOINT_EVENT(times, |
| 63 | TP_PROTO(sc_exit(long ret,) struct tms * tbuf), |
| 64 | TP_ARGS(sc_exit(ret,) tbuf), |
| 65 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) |
| 66 | ) |
| 67 | #endif |
| 68 | #ifndef OVERRIDE_32_olduname |
| 69 | SC_LTTNG_TRACEPOINT_EVENT(olduname, |
| 70 | TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), |
| 71 | TP_ARGS(sc_exit(ret,) name), |
| 72 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) |
| 73 | ) |
| 74 | #endif |
| 75 | #ifndef OVERRIDE_32_chroot |
| 76 | SC_LTTNG_TRACEPOINT_EVENT(chroot, |
| 77 | TP_PROTO(sc_exit(long ret,) const char * filename), |
| 78 | TP_ARGS(sc_exit(ret,) filename), |
| 79 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) |
| 80 | ) |
| 81 | #endif |
| 82 | #ifndef OVERRIDE_32_sigsuspend |
| 83 | SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, |
| 84 | TP_PROTO(sc_exit(long ret,) sigset_t * uset), |
| 85 | TP_ARGS(sc_exit(ret,) uset), |
| 86 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) |
| 87 | ) |
| 88 | #endif |
| 89 | #ifndef OVERRIDE_32_sigpending |
| 90 | SC_LTTNG_TRACEPOINT_EVENT(sigpending, |
| 91 | TP_PROTO(sc_exit(long ret,) old_sigset_t * set), |
| 92 | TP_ARGS(sc_exit(ret,) set), |
| 93 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) |
| 94 | ) |
| 95 | #endif |
| 96 | #ifndef OVERRIDE_32_uname |
| 97 | SC_LTTNG_TRACEPOINT_EVENT(uname, |
| 98 | TP_PROTO(sc_exit(long ret,) struct old_utsname * name), |
| 99 | TP_ARGS(sc_exit(ret,) name), |
| 100 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) |
| 101 | ) |
| 102 | #endif |
| 103 | #ifndef OVERRIDE_32_sysinfo |
| 104 | SC_LTTNG_TRACEPOINT_EVENT(sysinfo, |
| 105 | TP_PROTO(sc_exit(long ret,) struct sysinfo * info), |
| 106 | TP_ARGS(sc_exit(ret,) info), |
| 107 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) |
| 108 | ) |
| 109 | #endif |
| 110 | #ifndef OVERRIDE_32_newuname |
| 111 | SC_LTTNG_TRACEPOINT_EVENT(newuname, |
| 112 | TP_PROTO(sc_exit(long ret,) struct new_utsname * name), |
| 113 | TP_ARGS(sc_exit(ret,) name), |
| 114 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) |
| 115 | ) |
| 116 | #endif |
| 117 | #ifndef OVERRIDE_32_adjtimex |
| 118 | SC_LTTNG_TRACEPOINT_EVENT(adjtimex, |
| 119 | TP_PROTO(sc_exit(long ret,) struct timex * txc_p), |
| 120 | TP_ARGS(sc_exit(ret,) txc_p), |
| 121 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) |
| 122 | ) |
| 123 | #endif |
| 124 | #ifndef OVERRIDE_32_sysctl |
| 125 | SC_LTTNG_TRACEPOINT_EVENT(sysctl, |
| 126 | TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), |
| 127 | TP_ARGS(sc_exit(ret,) args), |
| 128 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) |
| 129 | ) |
| 130 | #endif |
| 131 | #ifndef OVERRIDE_32_set_tid_address |
| 132 | SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, |
| 133 | TP_PROTO(sc_exit(long ret,) int * tidptr), |
| 134 | TP_ARGS(sc_exit(ret,) tidptr), |
| 135 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) |
| 136 | ) |
| 137 | #endif |
| 138 | #ifndef OVERRIDE_32_creat |
| 139 | SC_LTTNG_TRACEPOINT_EVENT(creat, |
| 140 | TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), |
| 141 | TP_ARGS(sc_exit(ret,) pathname, mode), |
| 142 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) |
| 143 | ) |
| 144 | #endif |
| 145 | #ifndef OVERRIDE_32_link |
| 146 | SC_LTTNG_TRACEPOINT_EVENT(link, |
| 147 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
| 148 | TP_ARGS(sc_exit(ret,) oldname, newname), |
| 149 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
| 150 | ) |
| 151 | #endif |
| 152 | #ifndef OVERRIDE_32_chmod |
| 153 | SC_LTTNG_TRACEPOINT_EVENT(chmod, |
| 154 | TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), |
| 155 | TP_ARGS(sc_exit(ret,) filename, mode), |
| 156 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) |
| 157 | ) |
| 158 | #endif |
| 159 | #ifndef OVERRIDE_32_utime |
| 160 | SC_LTTNG_TRACEPOINT_EVENT(utime, |
| 161 | TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), |
| 162 | TP_ARGS(sc_exit(ret,) filename, times), |
| 163 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) |
| 164 | ) |
| 165 | #endif |
| 166 | #ifndef OVERRIDE_32_access |
| 167 | SC_LTTNG_TRACEPOINT_EVENT(access, |
| 168 | TP_PROTO(sc_exit(long ret,) const char * filename, int mode), |
| 169 | TP_ARGS(sc_exit(ret,) filename, mode), |
| 170 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) |
| 171 | ) |
| 172 | #endif |
| 173 | #ifndef OVERRIDE_32_rename |
| 174 | SC_LTTNG_TRACEPOINT_EVENT(rename, |
| 175 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
| 176 | TP_ARGS(sc_exit(ret,) oldname, newname), |
| 177 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
| 178 | ) |
| 179 | #endif |
| 180 | #ifndef OVERRIDE_32_mkdir |
| 181 | SC_LTTNG_TRACEPOINT_EVENT(mkdir, |
| 182 | TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), |
| 183 | TP_ARGS(sc_exit(ret,) pathname, mode), |
| 184 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) |
| 185 | ) |
| 186 | #endif |
| 187 | #ifndef OVERRIDE_32_umount |
| 188 | SC_LTTNG_TRACEPOINT_EVENT(umount, |
| 189 | TP_PROTO(sc_exit(long ret,) char * name, int flags), |
| 190 | TP_ARGS(sc_exit(ret,) name, flags), |
| 191 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) |
| 192 | ) |
| 193 | #endif |
| 194 | #ifndef OVERRIDE_32_ustat |
| 195 | SC_LTTNG_TRACEPOINT_EVENT(ustat, |
| 196 | TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), |
| 197 | TP_ARGS(sc_exit(ret,) dev, ubuf), |
| 198 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) |
| 199 | ) |
| 200 | #endif |
| 201 | #ifndef OVERRIDE_32_sethostname |
| 202 | SC_LTTNG_TRACEPOINT_EVENT(sethostname, |
| 203 | TP_PROTO(sc_exit(long ret,) char * name, int len), |
| 204 | TP_ARGS(sc_exit(ret,) name, len), |
| 205 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) |
| 206 | ) |
| 207 | #endif |
| 208 | #ifndef OVERRIDE_32_setrlimit |
| 209 | SC_LTTNG_TRACEPOINT_EVENT(setrlimit, |
| 210 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), |
| 211 | TP_ARGS(sc_exit(ret,) resource, rlim), |
| 212 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim))) |
| 213 | ) |
| 214 | #endif |
| 215 | #ifndef OVERRIDE_32_getrlimit |
| 216 | SC_LTTNG_TRACEPOINT_EVENT(getrlimit, |
| 217 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), |
| 218 | TP_ARGS(sc_exit(ret,) resource, rlim), |
| 219 | 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))) |
| 220 | ) |
| 221 | #endif |
| 222 | #ifndef OVERRIDE_32_getrusage |
| 223 | SC_LTTNG_TRACEPOINT_EVENT(getrusage, |
| 224 | TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), |
| 225 | TP_ARGS(sc_exit(ret,) who, ru), |
| 226 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) |
| 227 | ) |
| 228 | #endif |
| 229 | #ifndef OVERRIDE_32_gettimeofday |
| 230 | SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, |
| 231 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), |
| 232 | TP_ARGS(sc_exit(ret,) tv, tz), |
| 233 | 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))) |
| 234 | ) |
| 235 | #endif |
| 236 | #ifndef OVERRIDE_32_settimeofday |
| 237 | SC_LTTNG_TRACEPOINT_EVENT(settimeofday, |
| 238 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), |
| 239 | TP_ARGS(sc_exit(ret,) tv, tz), |
| 240 | 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))) |
| 241 | ) |
| 242 | #endif |
| 243 | #ifndef OVERRIDE_32_getgroups |
| 244 | SC_LTTNG_TRACEPOINT_EVENT(getgroups, |
| 245 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), |
| 246 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), |
| 247 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) |
| 248 | ) |
| 249 | #endif |
| 250 | #ifndef OVERRIDE_32_setgroups |
| 251 | SC_LTTNG_TRACEPOINT_EVENT(setgroups, |
| 252 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), |
| 253 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), |
| 254 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) |
| 255 | ) |
| 256 | #endif |
| 257 | #ifndef OVERRIDE_32_symlink |
| 258 | SC_LTTNG_TRACEPOINT_EVENT(symlink, |
| 259 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
| 260 | TP_ARGS(sc_exit(ret,) oldname, newname), |
| 261 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
| 262 | ) |
| 263 | #endif |
| 264 | #ifndef OVERRIDE_32_truncate |
| 265 | SC_LTTNG_TRACEPOINT_EVENT(truncate, |
| 266 | TP_PROTO(sc_exit(long ret,) const char * path, long length), |
| 267 | TP_ARGS(sc_exit(ret,) path, length), |
| 268 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) |
| 269 | ) |
| 270 | #endif |
| 271 | #ifndef OVERRIDE_32_statfs |
| 272 | SC_LTTNG_TRACEPOINT_EVENT(statfs, |
| 273 | TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), |
| 274 | TP_ARGS(sc_exit(ret,) pathname, buf), |
| 275 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) |
| 276 | ) |
| 277 | #endif |
| 278 | #ifndef OVERRIDE_32_fstatfs |
| 279 | SC_LTTNG_TRACEPOINT_EVENT(fstatfs, |
| 280 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), |
| 281 | TP_ARGS(sc_exit(ret,) fd, buf), |
| 282 | 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))) |
| 283 | ) |
| 284 | #endif |
| 285 | #ifndef OVERRIDE_32_socketcall |
| 286 | SC_LTTNG_TRACEPOINT_EVENT(socketcall, |
| 287 | TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), |
| 288 | TP_ARGS(sc_exit(ret,) call, args), |
| 289 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) |
| 290 | ) |
| 291 | #endif |
| 292 | #ifndef OVERRIDE_32_getitimer |
| 293 | SC_LTTNG_TRACEPOINT_EVENT(getitimer, |
| 294 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), |
| 295 | TP_ARGS(sc_exit(ret,) which, value), |
| 296 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) |
| 297 | ) |
| 298 | #endif |
| 299 | #ifndef OVERRIDE_32_newstat |
| 300 | SC_LTTNG_TRACEPOINT_EVENT(newstat, |
| 301 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), |
| 302 | TP_ARGS(sc_exit(ret,) filename, statbuf), |
| 303 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) |
| 304 | ) |
| 305 | #endif |
| 306 | #ifndef OVERRIDE_32_newlstat |
| 307 | SC_LTTNG_TRACEPOINT_EVENT(newlstat, |
| 308 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), |
| 309 | TP_ARGS(sc_exit(ret,) filename, statbuf), |
| 310 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) |
| 311 | ) |
| 312 | #endif |
| 313 | #ifndef OVERRIDE_32_newfstat |
| 314 | SC_LTTNG_TRACEPOINT_EVENT(newfstat, |
| 315 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), |
| 316 | TP_ARGS(sc_exit(ret,) fd, statbuf), |
| 317 | 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))) |
| 318 | ) |
| 319 | #endif |
| 320 | #ifndef OVERRIDE_32_setdomainname |
| 321 | SC_LTTNG_TRACEPOINT_EVENT(setdomainname, |
| 322 | TP_PROTO(sc_exit(long ret,) char * name, int len), |
| 323 | TP_ARGS(sc_exit(ret,) name, len), |
| 324 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) |
| 325 | ) |
| 326 | #endif |
| 327 | #ifndef OVERRIDE_32_delete_module |
| 328 | SC_LTTNG_TRACEPOINT_EVENT(delete_module, |
| 329 | TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), |
| 330 | TP_ARGS(sc_exit(ret,) name_user, flags), |
| 331 | 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))) |
| 332 | ) |
| 333 | #endif |
| 334 | #ifndef OVERRIDE_32_sched_setparam |
| 335 | SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, |
| 336 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), |
| 337 | TP_ARGS(sc_exit(ret,) pid, param), |
| 338 | 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))) |
| 339 | ) |
| 340 | #endif |
| 341 | #ifndef OVERRIDE_32_sched_getparam |
| 342 | SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, |
| 343 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), |
| 344 | TP_ARGS(sc_exit(ret,) pid, param), |
| 345 | 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))) |
| 346 | ) |
| 347 | #endif |
| 348 | #ifndef OVERRIDE_32_sched_rr_get_interval |
| 349 | SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, |
| 350 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), |
| 351 | TP_ARGS(sc_exit(ret,) pid, interval), |
| 352 | 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))) |
| 353 | ) |
| 354 | #endif |
| 355 | #ifndef OVERRIDE_32_nanosleep |
| 356 | SC_LTTNG_TRACEPOINT_EVENT(nanosleep, |
| 357 | TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), |
| 358 | TP_ARGS(sc_exit(ret,) rqtp, rmtp), |
| 359 | 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))) |
| 360 | ) |
| 361 | #endif |
| 362 | #ifndef OVERRIDE_32_rt_sigpending |
| 363 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, |
| 364 | TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), |
| 365 | TP_ARGS(sc_exit(ret,) uset, sigsetsize), |
| 366 | 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))) |
| 367 | ) |
| 368 | #endif |
| 369 | #ifndef OVERRIDE_32_rt_sigsuspend |
| 370 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, |
| 371 | TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), |
| 372 | TP_ARGS(sc_exit(ret,) unewset, sigsetsize), |
| 373 | 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))) |
| 374 | ) |
| 375 | #endif |
| 376 | #ifndef OVERRIDE_32_getcwd |
| 377 | SC_LTTNG_TRACEPOINT_EVENT(getcwd, |
| 378 | TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), |
| 379 | TP_ARGS(sc_exit(ret,) buf, size), |
| 380 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) |
| 381 | ) |
| 382 | #endif |
| 383 | #ifndef OVERRIDE_32_sigaltstack |
| 384 | SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, |
| 385 | TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), |
| 386 | TP_ARGS(sc_exit(ret,) uss, uoss), |
| 387 | 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))) |
| 388 | ) |
| 389 | #endif |
| 390 | #ifndef OVERRIDE_32_truncate64 |
| 391 | SC_LTTNG_TRACEPOINT_EVENT(truncate64, |
| 392 | TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), |
| 393 | TP_ARGS(sc_exit(ret,) path, length), |
| 394 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) |
| 395 | ) |
| 396 | #endif |
| 397 | #ifndef OVERRIDE_32_stat64 |
| 398 | SC_LTTNG_TRACEPOINT_EVENT(stat64, |
| 399 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), |
| 400 | TP_ARGS(sc_exit(ret,) filename, statbuf), |
| 401 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
| 402 | ) |
| 403 | #endif |
| 404 | #ifndef OVERRIDE_32_lstat64 |
| 405 | SC_LTTNG_TRACEPOINT_EVENT(lstat64, |
| 406 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), |
| 407 | TP_ARGS(sc_exit(ret,) filename, statbuf), |
| 408 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
| 409 | ) |
| 410 | #endif |
| 411 | #ifndef OVERRIDE_32_fstat64 |
| 412 | SC_LTTNG_TRACEPOINT_EVENT(fstat64, |
| 413 | TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), |
| 414 | TP_ARGS(sc_exit(ret,) fd, statbuf), |
| 415 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
| 416 | ) |
| 417 | #endif |
| 418 | #ifndef OVERRIDE_32_pivot_root |
| 419 | SC_LTTNG_TRACEPOINT_EVENT(pivot_root, |
| 420 | TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), |
| 421 | TP_ARGS(sc_exit(ret,) new_root, put_old), |
| 422 | 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))) |
| 423 | ) |
| 424 | #endif |
| 425 | #ifndef OVERRIDE_32_removexattr |
| 426 | SC_LTTNG_TRACEPOINT_EVENT(removexattr, |
| 427 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), |
| 428 | TP_ARGS(sc_exit(ret,) pathname, name), |
| 429 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) |
| 430 | ) |
| 431 | #endif |
| 432 | #ifndef OVERRIDE_32_lremovexattr |
| 433 | SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, |
| 434 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), |
| 435 | TP_ARGS(sc_exit(ret,) pathname, name), |
| 436 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) |
| 437 | ) |
| 438 | #endif |
| 439 | #ifndef OVERRIDE_32_fremovexattr |
| 440 | SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, |
| 441 | TP_PROTO(sc_exit(long ret,) int fd, const char * name), |
| 442 | TP_ARGS(sc_exit(ret,) fd, name), |
| 443 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) |
| 444 | ) |
| 445 | #endif |
| 446 | #ifndef OVERRIDE_32_io_setup |
| 447 | SC_LTTNG_TRACEPOINT_EVENT(io_setup, |
| 448 | TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), |
| 449 | TP_ARGS(sc_exit(ret,) nr_events, ctxp), |
| 450 | 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))) |
| 451 | ) |
| 452 | #endif |
| 453 | #ifndef OVERRIDE_32_timer_gettime |
| 454 | SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, |
| 455 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), |
| 456 | TP_ARGS(sc_exit(ret,) timer_id, setting), |
| 457 | 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))) |
| 458 | ) |
| 459 | #endif |
| 460 | #ifndef OVERRIDE_32_clock_settime |
| 461 | SC_LTTNG_TRACEPOINT_EVENT(clock_settime, |
| 462 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), |
| 463 | TP_ARGS(sc_exit(ret,) which_clock, tp), |
| 464 | 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))) |
| 465 | ) |
| 466 | #endif |
| 467 | #ifndef OVERRIDE_32_clock_gettime |
| 468 | SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, |
| 469 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), |
| 470 | TP_ARGS(sc_exit(ret,) which_clock, tp), |
| 471 | 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))) |
| 472 | ) |
| 473 | #endif |
| 474 | #ifndef OVERRIDE_32_clock_getres |
| 475 | SC_LTTNG_TRACEPOINT_EVENT(clock_getres, |
| 476 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), |
| 477 | TP_ARGS(sc_exit(ret,) which_clock, tp), |
| 478 | 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))) |
| 479 | ) |
| 480 | #endif |
| 481 | #ifndef OVERRIDE_32_utimes |
| 482 | SC_LTTNG_TRACEPOINT_EVENT(utimes, |
| 483 | TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), |
| 484 | TP_ARGS(sc_exit(ret,) filename, utimes), |
| 485 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) |
| 486 | ) |
| 487 | #endif |
| 488 | #ifndef OVERRIDE_32_set_robust_list |
| 489 | SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, |
| 490 | TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), |
| 491 | TP_ARGS(sc_exit(ret,) head, len), |
| 492 | 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))) |
| 493 | ) |
| 494 | #endif |
| 495 | #ifndef OVERRIDE_32_timerfd_gettime |
| 496 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, |
| 497 | TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), |
| 498 | TP_ARGS(sc_exit(ret,) ufd, otmr), |
| 499 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) |
| 500 | ) |
| 501 | #endif |
| 502 | #ifndef OVERRIDE_32_pipe2 |
| 503 | SC_LTTNG_TRACEPOINT_EVENT(pipe2, |
| 504 | TP_PROTO(sc_exit(long ret,) int * fildes, int flags), |
| 505 | TP_ARGS(sc_exit(ret,) fildes, flags), |
| 506 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) |
| 507 | ) |
| 508 | #endif |
| 509 | #ifndef OVERRIDE_32_clock_adjtime |
| 510 | SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, |
| 511 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), |
| 512 | TP_ARGS(sc_exit(ret,) which_clock, utx), |
| 513 | 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))) |
| 514 | ) |
| 515 | #endif |
| 516 | #ifndef OVERRIDE_32_memfd_create |
| 517 | SC_LTTNG_TRACEPOINT_EVENT(memfd_create, |
| 518 | TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), |
| 519 | TP_ARGS(sc_exit(ret,) uname, flags), |
| 520 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 521 | ) |
| 522 | #endif |
| 523 | #ifndef OVERRIDE_32_read |
| 524 | SC_LTTNG_TRACEPOINT_EVENT(read, |
| 525 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), |
| 526 | TP_ARGS(sc_exit(ret,) fd, buf, count), |
| 527 | 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))) |
| 528 | ) |
| 529 | #endif |
| 530 | #ifndef OVERRIDE_32_write |
| 531 | SC_LTTNG_TRACEPOINT_EVENT(write, |
| 532 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), |
| 533 | TP_ARGS(sc_exit(ret,) fd, buf, count), |
| 534 | 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))) |
| 535 | ) |
| 536 | #endif |
| 537 | #ifndef OVERRIDE_32_open |
| 538 | SC_LTTNG_TRACEPOINT_EVENT(open, |
| 539 | TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), |
| 540 | TP_ARGS(sc_exit(ret,) filename, flags, mode), |
| 541 | 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))) |
| 542 | ) |
| 543 | #endif |
| 544 | #ifndef OVERRIDE_32_waitpid |
| 545 | SC_LTTNG_TRACEPOINT_EVENT(waitpid, |
| 546 | TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), |
| 547 | TP_ARGS(sc_exit(ret,) pid, stat_addr, options), |
| 548 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options))) |
| 549 | ) |
| 550 | #endif |
| 551 | #ifndef OVERRIDE_32_execve |
| 552 | SC_LTTNG_TRACEPOINT_EVENT(execve, |
| 553 | TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), |
| 554 | TP_ARGS(sc_exit(ret,) filename, argv, envp), |
| 555 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) |
| 556 | ) |
| 557 | #endif |
| 558 | #ifndef OVERRIDE_32_mknod |
| 559 | SC_LTTNG_TRACEPOINT_EVENT(mknod, |
| 560 | TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), |
| 561 | TP_ARGS(sc_exit(ret,) filename, mode, dev), |
| 562 | 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))) |
| 563 | ) |
| 564 | #endif |
| 565 | #ifndef OVERRIDE_32_lchown |
| 566 | SC_LTTNG_TRACEPOINT_EVENT(lchown, |
| 567 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), |
| 568 | TP_ARGS(sc_exit(ret,) filename, user, group), |
| 569 | 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))) |
| 570 | ) |
| 571 | #endif |
| 572 | #ifndef OVERRIDE_32_sigaction |
| 573 | SC_LTTNG_TRACEPOINT_EVENT(sigaction, |
| 574 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), |
| 575 | TP_ARGS(sc_exit(ret,) sig, act, oact), |
| 576 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) |
| 577 | ) |
| 578 | #endif |
| 579 | #ifndef OVERRIDE_32_readlink |
| 580 | SC_LTTNG_TRACEPOINT_EVENT(readlink, |
| 581 | TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), |
| 582 | TP_ARGS(sc_exit(ret,) path, buf, bufsiz), |
| 583 | 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))) |
| 584 | ) |
| 585 | #endif |
| 586 | #ifndef OVERRIDE_32_old_readdir |
| 587 | SC_LTTNG_TRACEPOINT_EVENT(old_readdir, |
| 588 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), |
| 589 | TP_ARGS(sc_exit(ret,) fd, dirent, count), |
| 590 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct old_linux_dirent *, dirent, dirent)) sc_inout(ctf_integer(unsigned int, count, count))) |
| 591 | ) |
| 592 | #endif |
| 593 | #ifndef OVERRIDE_32_syslog |
| 594 | SC_LTTNG_TRACEPOINT_EVENT(syslog, |
| 595 | TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), |
| 596 | TP_ARGS(sc_exit(ret,) type, buf, len), |
| 597 | 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))) |
| 598 | ) |
| 599 | #endif |
| 600 | #ifndef OVERRIDE_32_setitimer |
| 601 | SC_LTTNG_TRACEPOINT_EVENT(setitimer, |
| 602 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), |
| 603 | TP_ARGS(sc_exit(ret,) which, value, ovalue), |
| 604 | 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))) |
| 605 | ) |
| 606 | #endif |
| 607 | #ifndef OVERRIDE_32_sigprocmask |
| 608 | SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, |
| 609 | TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), |
| 610 | TP_ARGS(sc_exit(ret,) how, nset, oset), |
| 611 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(old_sigset_t *, nset, nset)) sc_inout(ctf_integer(old_sigset_t *, oset, oset))) |
| 612 | ) |
| 613 | #endif |
| 614 | #ifndef OVERRIDE_32_init_module |
| 615 | SC_LTTNG_TRACEPOINT_EVENT(init_module, |
| 616 | TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), |
| 617 | TP_ARGS(sc_exit(ret,) umod, len, uargs), |
| 618 | 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))) |
| 619 | ) |
| 620 | #endif |
| 621 | #ifndef OVERRIDE_32_getdents |
| 622 | SC_LTTNG_TRACEPOINT_EVENT(getdents, |
| 623 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), |
| 624 | TP_ARGS(sc_exit(ret,) fd, dirent, count), |
| 625 | 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))) |
| 626 | ) |
| 627 | #endif |
| 628 | #ifndef OVERRIDE_32_readv |
| 629 | SC_LTTNG_TRACEPOINT_EVENT(readv, |
| 630 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), |
| 631 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), |
| 632 | 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))) |
| 633 | ) |
| 634 | #endif |
| 635 | #ifndef OVERRIDE_32_writev |
| 636 | SC_LTTNG_TRACEPOINT_EVENT(writev, |
| 637 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), |
| 638 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), |
| 639 | 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))) |
| 640 | ) |
| 641 | #endif |
| 642 | #ifndef OVERRIDE_32_cachectl |
| 643 | SC_LTTNG_TRACEPOINT_EVENT(cachectl, |
| 644 | TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), |
| 645 | TP_ARGS(sc_exit(ret,) addr, nbytes, op), |
| 646 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) |
| 647 | ) |
| 648 | #endif |
| 649 | #ifndef OVERRIDE_32_sched_setscheduler |
| 650 | SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, |
| 651 | TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), |
| 652 | TP_ARGS(sc_exit(ret,) pid, policy, param), |
| 653 | 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))) |
| 654 | ) |
| 655 | #endif |
| 656 | #ifndef OVERRIDE_32_accept |
| 657 | SC_LTTNG_TRACEPOINT_EVENT(accept, |
| 658 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), |
| 659 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), |
| 660 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen))) |
| 661 | ) |
| 662 | #endif |
| 663 | #ifndef OVERRIDE_32_bind |
| 664 | SC_LTTNG_TRACEPOINT_EVENT(bind, |
| 665 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), |
| 666 | TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), |
| 667 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) |
| 668 | ) |
| 669 | #endif |
| 670 | #ifndef OVERRIDE_32_connect |
| 671 | SC_LTTNG_TRACEPOINT_EVENT(connect, |
| 672 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), |
| 673 | TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), |
| 674 | 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))) |
| 675 | ) |
| 676 | #endif |
| 677 | #ifndef OVERRIDE_32_getpeername |
| 678 | SC_LTTNG_TRACEPOINT_EVENT(getpeername, |
| 679 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), |
| 680 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), |
| 681 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) |
| 682 | ) |
| 683 | #endif |
| 684 | #ifndef OVERRIDE_32_getsockname |
| 685 | SC_LTTNG_TRACEPOINT_EVENT(getsockname, |
| 686 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), |
| 687 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), |
| 688 | 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))) |
| 689 | ) |
| 690 | #endif |
| 691 | #ifndef OVERRIDE_32_recvmsg |
| 692 | SC_LTTNG_TRACEPOINT_EVENT(recvmsg, |
| 693 | TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), |
| 694 | TP_ARGS(sc_exit(ret,) fd, msg, flags), |
| 695 | 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))) |
| 696 | ) |
| 697 | #endif |
| 698 | #ifndef OVERRIDE_32_sendmsg |
| 699 | SC_LTTNG_TRACEPOINT_EVENT(sendmsg, |
| 700 | TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), |
| 701 | TP_ARGS(sc_exit(ret,) fd, msg, flags), |
| 702 | 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))) |
| 703 | ) |
| 704 | #endif |
| 705 | #ifndef OVERRIDE_32_getresuid |
| 706 | SC_LTTNG_TRACEPOINT_EVENT(getresuid, |
| 707 | TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), |
| 708 | TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), |
| 709 | 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))) |
| 710 | ) |
| 711 | #endif |
| 712 | #ifndef OVERRIDE_32_poll |
| 713 | SC_LTTNG_TRACEPOINT_EVENT(poll, |
| 714 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), |
| 715 | TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), |
| 716 | 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))) |
| 717 | ) |
| 718 | #endif |
| 719 | #ifndef OVERRIDE_32_getresgid |
| 720 | SC_LTTNG_TRACEPOINT_EVENT(getresgid, |
| 721 | TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), |
| 722 | TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), |
| 723 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) |
| 724 | ) |
| 725 | #endif |
| 726 | #ifndef OVERRIDE_32_rt_sigqueueinfo |
| 727 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, |
| 728 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), |
| 729 | TP_ARGS(sc_exit(ret,) pid, sig, uinfo), |
| 730 | 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))) |
| 731 | ) |
| 732 | #endif |
| 733 | #ifndef OVERRIDE_32_chown |
| 734 | SC_LTTNG_TRACEPOINT_EVENT(chown, |
| 735 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), |
| 736 | TP_ARGS(sc_exit(ret,) filename, user, group), |
| 737 | 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))) |
| 738 | ) |
| 739 | #endif |
| 740 | #ifndef OVERRIDE_32_mincore |
| 741 | SC_LTTNG_TRACEPOINT_EVENT(mincore, |
| 742 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), |
| 743 | TP_ARGS(sc_exit(ret,) start, len, vec), |
| 744 | 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))) |
| 745 | ) |
| 746 | #endif |
| 747 | #ifndef OVERRIDE_32_getdents64 |
| 748 | SC_LTTNG_TRACEPOINT_EVENT(getdents64, |
| 749 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), |
| 750 | TP_ARGS(sc_exit(ret,) fd, dirent, count), |
| 751 | 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))) |
| 752 | ) |
| 753 | #endif |
| 754 | #ifndef OVERRIDE_32_listxattr |
| 755 | SC_LTTNG_TRACEPOINT_EVENT(listxattr, |
| 756 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), |
| 757 | TP_ARGS(sc_exit(ret,) pathname, list, size), |
| 758 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) |
| 759 | ) |
| 760 | #endif |
| 761 | #ifndef OVERRIDE_32_llistxattr |
| 762 | SC_LTTNG_TRACEPOINT_EVENT(llistxattr, |
| 763 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), |
| 764 | TP_ARGS(sc_exit(ret,) pathname, list, size), |
| 765 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) |
| 766 | ) |
| 767 | #endif |
| 768 | #ifndef OVERRIDE_32_flistxattr |
| 769 | SC_LTTNG_TRACEPOINT_EVENT(flistxattr, |
| 770 | TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), |
| 771 | TP_ARGS(sc_exit(ret,) fd, list, size), |
| 772 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) |
| 773 | ) |
| 774 | #endif |
| 775 | #ifndef OVERRIDE_32_io_submit |
| 776 | SC_LTTNG_TRACEPOINT_EVENT(io_submit, |
| 777 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), |
| 778 | TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), |
| 779 | 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))) |
| 780 | ) |
| 781 | #endif |
| 782 | #ifndef OVERRIDE_32_io_cancel |
| 783 | SC_LTTNG_TRACEPOINT_EVENT(io_cancel, |
| 784 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), |
| 785 | TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), |
| 786 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result))) |
| 787 | ) |
| 788 | #endif |
| 789 | #ifndef OVERRIDE_32_statfs64 |
| 790 | SC_LTTNG_TRACEPOINT_EVENT(statfs64, |
| 791 | TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), |
| 792 | TP_ARGS(sc_exit(ret,) pathname, sz, buf), |
| 793 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(pathname, pathname)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) |
| 794 | ) |
| 795 | #endif |
| 796 | #ifndef OVERRIDE_32_fstatfs64 |
| 797 | SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, |
| 798 | TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), |
| 799 | TP_ARGS(sc_exit(ret,) fd, sz, buf), |
| 800 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) |
| 801 | ) |
| 802 | #endif |
| 803 | #ifndef OVERRIDE_32_timer_create |
| 804 | SC_LTTNG_TRACEPOINT_EVENT(timer_create, |
| 805 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), |
| 806 | TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), |
| 807 | 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))) |
| 808 | ) |
| 809 | #endif |
| 810 | #ifndef OVERRIDE_32_inotify_add_watch |
| 811 | SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, |
| 812 | TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), |
| 813 | TP_ARGS(sc_exit(ret,) fd, pathname, mask), |
| 814 | 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))) |
| 815 | ) |
| 816 | #endif |
| 817 | #ifndef OVERRIDE_32_mkdirat |
| 818 | SC_LTTNG_TRACEPOINT_EVENT(mkdirat, |
| 819 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), |
| 820 | TP_ARGS(sc_exit(ret,) dfd, pathname, mode), |
| 821 | 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))) |
| 822 | ) |
| 823 | #endif |
| 824 | #ifndef OVERRIDE_32_futimesat |
| 825 | SC_LTTNG_TRACEPOINT_EVENT(futimesat, |
| 826 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), |
| 827 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes), |
| 828 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) |
| 829 | ) |
| 830 | #endif |
| 831 | #ifndef OVERRIDE_32_unlinkat |
| 832 | SC_LTTNG_TRACEPOINT_EVENT(unlinkat, |
| 833 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), |
| 834 | TP_ARGS(sc_exit(ret,) dfd, pathname, flag), |
| 835 | 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))) |
| 836 | ) |
| 837 | #endif |
| 838 | #ifndef OVERRIDE_32_symlinkat |
| 839 | SC_LTTNG_TRACEPOINT_EVENT(symlinkat, |
| 840 | TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), |
| 841 | TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), |
| 842 | 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))) |
| 843 | ) |
| 844 | #endif |
| 845 | #ifndef OVERRIDE_32_fchmodat |
| 846 | SC_LTTNG_TRACEPOINT_EVENT(fchmodat, |
| 847 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), |
| 848 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), |
| 849 | 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))) |
| 850 | ) |
| 851 | #endif |
| 852 | #ifndef OVERRIDE_32_faccessat |
| 853 | SC_LTTNG_TRACEPOINT_EVENT(faccessat, |
| 854 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), |
| 855 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), |
| 856 | 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))) |
| 857 | ) |
| 858 | #endif |
| 859 | #ifndef OVERRIDE_32_get_robust_list |
| 860 | SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, |
| 861 | TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), |
| 862 | TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), |
| 863 | 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))) |
| 864 | ) |
| 865 | #endif |
| 866 | #ifndef OVERRIDE_32_getcpu |
| 867 | SC_LTTNG_TRACEPOINT_EVENT(getcpu, |
| 868 | TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), |
| 869 | TP_ARGS(sc_exit(ret,) cpup, nodep, unused), |
| 870 | 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))) |
| 871 | ) |
| 872 | #endif |
| 873 | #ifndef OVERRIDE_32_signalfd |
| 874 | SC_LTTNG_TRACEPOINT_EVENT(signalfd, |
| 875 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), |
| 876 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), |
| 877 | 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))) |
| 878 | ) |
| 879 | #endif |
| 880 | #ifndef OVERRIDE_32_open_by_handle_at |
| 881 | SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, |
| 882 | TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), |
| 883 | TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), |
| 884 | 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))) |
| 885 | ) |
| 886 | #endif |
| 887 | #ifndef OVERRIDE_32_finit_module |
| 888 | SC_LTTNG_TRACEPOINT_EVENT(finit_module, |
| 889 | TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), |
| 890 | TP_ARGS(sc_exit(ret,) fd, uargs, flags), |
| 891 | 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))) |
| 892 | ) |
| 893 | #endif |
| 894 | #ifndef OVERRIDE_32_sched_setattr |
| 895 | SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, |
| 896 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), |
| 897 | TP_ARGS(sc_exit(ret,) pid, uattr, flags), |
| 898 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 899 | ) |
| 900 | #endif |
| 901 | #ifndef OVERRIDE_32_seccomp |
| 902 | SC_LTTNG_TRACEPOINT_EVENT(seccomp, |
| 903 | TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), |
| 904 | TP_ARGS(sc_exit(ret,) op, flags, uargs), |
| 905 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) |
| 906 | ) |
| 907 | #endif |
| 908 | #ifndef OVERRIDE_32_getrandom |
| 909 | SC_LTTNG_TRACEPOINT_EVENT(getrandom, |
| 910 | TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), |
| 911 | TP_ARGS(sc_exit(ret,) buf, count, flags), |
| 912 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 913 | ) |
| 914 | #endif |
| 915 | #ifndef OVERRIDE_32_reboot |
| 916 | SC_LTTNG_TRACEPOINT_EVENT(reboot, |
| 917 | TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), |
| 918 | TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), |
| 919 | 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))) |
| 920 | ) |
| 921 | #endif |
| 922 | #ifndef OVERRIDE_32_wait4 |
| 923 | SC_LTTNG_TRACEPOINT_EVENT(wait4, |
| 924 | TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), |
| 925 | TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), |
| 926 | 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))) |
| 927 | ) |
| 928 | #endif |
| 929 | #ifndef OVERRIDE_32_recv |
| 930 | SC_LTTNG_TRACEPOINT_EVENT(recv, |
| 931 | TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags), |
| 932 | TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags), |
| 933 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 934 | ) |
| 935 | #endif |
| 936 | #ifndef OVERRIDE_32_send |
| 937 | SC_LTTNG_TRACEPOINT_EVENT(send, |
| 938 | TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), |
| 939 | TP_ARGS(sc_exit(ret,) fd, buff, len, flags), |
| 940 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 941 | ) |
| 942 | #endif |
| 943 | #ifndef OVERRIDE_32_socketpair |
| 944 | SC_LTTNG_TRACEPOINT_EVENT(socketpair, |
| 945 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), |
| 946 | TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), |
| 947 | 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))) |
| 948 | ) |
| 949 | #endif |
| 950 | #ifndef OVERRIDE_32_rt_sigaction |
| 951 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, |
| 952 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), |
| 953 | TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), |
| 954 | 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))) |
| 955 | ) |
| 956 | #endif |
| 957 | #ifndef OVERRIDE_32_rt_sigprocmask |
| 958 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, |
| 959 | TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), |
| 960 | TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), |
| 961 | 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))) |
| 962 | ) |
| 963 | #endif |
| 964 | #ifndef OVERRIDE_32_rt_sigtimedwait |
| 965 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, |
| 966 | TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), |
| 967 | TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), |
| 968 | 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))) |
| 969 | ) |
| 970 | #endif |
| 971 | #ifndef OVERRIDE_32_pread64 |
| 972 | SC_LTTNG_TRACEPOINT_EVENT(pread64, |
| 973 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), |
| 974 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), |
| 975 | 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))) |
| 976 | ) |
| 977 | #endif |
| 978 | #ifndef OVERRIDE_32_pwrite64 |
| 979 | SC_LTTNG_TRACEPOINT_EVENT(pwrite64, |
| 980 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), |
| 981 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), |
| 982 | 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))) |
| 983 | ) |
| 984 | #endif |
| 985 | #ifndef OVERRIDE_32_sendfile |
| 986 | SC_LTTNG_TRACEPOINT_EVENT(sendfile, |
| 987 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), |
| 988 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), |
| 989 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, out_fd, out_fd)) sc_inout(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(off_t *, offset, offset)) sc_inout(ctf_integer(size_t, count, count))) |
| 990 | ) |
| 991 | #endif |
| 992 | #ifndef OVERRIDE_32_getxattr |
| 993 | SC_LTTNG_TRACEPOINT_EVENT(getxattr, |
| 994 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), |
| 995 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), |
| 996 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) |
| 997 | ) |
| 998 | #endif |
| 999 | #ifndef OVERRIDE_32_lgetxattr |
| 1000 | SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, |
| 1001 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), |
| 1002 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), |
| 1003 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) |
| 1004 | ) |
| 1005 | #endif |
| 1006 | #ifndef OVERRIDE_32_fgetxattr |
| 1007 | SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, |
| 1008 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), |
| 1009 | TP_ARGS(sc_exit(ret,) fd, name, value, size), |
| 1010 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) |
| 1011 | ) |
| 1012 | #endif |
| 1013 | #ifndef OVERRIDE_32_sendfile64 |
| 1014 | SC_LTTNG_TRACEPOINT_EVENT(sendfile64, |
| 1015 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), |
| 1016 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), |
| 1017 | 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))) |
| 1018 | ) |
| 1019 | #endif |
| 1020 | #ifndef OVERRIDE_32_epoll_ctl |
| 1021 | SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, |
| 1022 | TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), |
| 1023 | TP_ARGS(sc_exit(ret,) epfd, op, fd, event), |
| 1024 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event))) |
| 1025 | ) |
| 1026 | #endif |
| 1027 | #ifndef OVERRIDE_32_epoll_wait |
| 1028 | SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, |
| 1029 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), |
| 1030 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), |
| 1031 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout))) |
| 1032 | ) |
| 1033 | #endif |
| 1034 | #ifndef OVERRIDE_32_timer_settime |
| 1035 | SC_LTTNG_TRACEPOINT_EVENT(timer_settime, |
| 1036 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), |
| 1037 | TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), |
| 1038 | 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))) |
| 1039 | ) |
| 1040 | #endif |
| 1041 | #ifndef OVERRIDE_32_clock_nanosleep |
| 1042 | SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, |
| 1043 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), |
| 1044 | TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), |
| 1045 | 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))) |
| 1046 | ) |
| 1047 | #endif |
| 1048 | #ifndef OVERRIDE_32_openat |
| 1049 | SC_LTTNG_TRACEPOINT_EVENT(openat, |
| 1050 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), |
| 1051 | TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), |
| 1052 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) |
| 1053 | ) |
| 1054 | #endif |
| 1055 | #ifndef OVERRIDE_32_mknodat |
| 1056 | SC_LTTNG_TRACEPOINT_EVENT(mknodat, |
| 1057 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), |
| 1058 | TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), |
| 1059 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) |
| 1060 | ) |
| 1061 | #endif |
| 1062 | #ifndef OVERRIDE_32_fstatat64 |
| 1063 | SC_LTTNG_TRACEPOINT_EVENT(fstatat64, |
| 1064 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), |
| 1065 | TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), |
| 1066 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)) sc_inout(ctf_integer(int, flag, flag))) |
| 1067 | ) |
| 1068 | #endif |
| 1069 | #ifndef OVERRIDE_32_renameat |
| 1070 | SC_LTTNG_TRACEPOINT_EVENT(renameat, |
| 1071 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), |
| 1072 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), |
| 1073 | 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))) |
| 1074 | ) |
| 1075 | #endif |
| 1076 | #ifndef OVERRIDE_32_readlinkat |
| 1077 | SC_LTTNG_TRACEPOINT_EVENT(readlinkat, |
| 1078 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), |
| 1079 | TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), |
| 1080 | 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))) |
| 1081 | ) |
| 1082 | #endif |
| 1083 | #ifndef OVERRIDE_32_vmsplice |
| 1084 | SC_LTTNG_TRACEPOINT_EVENT(vmsplice, |
| 1085 | TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), |
| 1086 | TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), |
| 1087 | 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))) |
| 1088 | ) |
| 1089 | #endif |
| 1090 | #ifndef OVERRIDE_32_utimensat |
| 1091 | SC_LTTNG_TRACEPOINT_EVENT(utimensat, |
| 1092 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), |
| 1093 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), |
| 1094 | 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))) |
| 1095 | ) |
| 1096 | #endif |
| 1097 | #ifndef OVERRIDE_32_timerfd_settime |
| 1098 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, |
| 1099 | TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), |
| 1100 | TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), |
| 1101 | 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))) |
| 1102 | ) |
| 1103 | #endif |
| 1104 | #ifndef OVERRIDE_32_signalfd4 |
| 1105 | SC_LTTNG_TRACEPOINT_EVENT(signalfd4, |
| 1106 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), |
| 1107 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), |
| 1108 | 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))) |
| 1109 | ) |
| 1110 | #endif |
| 1111 | #ifndef OVERRIDE_32_rt_tgsigqueueinfo |
| 1112 | SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, |
| 1113 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), |
| 1114 | TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), |
| 1115 | 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))) |
| 1116 | ) |
| 1117 | #endif |
| 1118 | #ifndef OVERRIDE_32_accept4 |
| 1119 | SC_LTTNG_TRACEPOINT_EVENT(accept4, |
| 1120 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), |
| 1121 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), |
| 1122 | 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))) |
| 1123 | ) |
| 1124 | #endif |
| 1125 | #ifndef OVERRIDE_32_prlimit64 |
| 1126 | SC_LTTNG_TRACEPOINT_EVENT(prlimit64, |
| 1127 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), |
| 1128 | TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), |
| 1129 | 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))) |
| 1130 | ) |
| 1131 | #endif |
| 1132 | #ifndef OVERRIDE_32_sendmmsg |
| 1133 | SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, |
| 1134 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), |
| 1135 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), |
| 1136 | 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))) |
| 1137 | ) |
| 1138 | #endif |
| 1139 | #ifndef OVERRIDE_32_sched_getattr |
| 1140 | SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, |
| 1141 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), |
| 1142 | TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), |
| 1143 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 1144 | ) |
| 1145 | #endif |
| 1146 | #ifndef OVERRIDE_32_mount |
| 1147 | SC_LTTNG_TRACEPOINT_EVENT(mount, |
| 1148 | TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), |
| 1149 | TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), |
| 1150 | 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))) |
| 1151 | ) |
| 1152 | #endif |
| 1153 | #ifndef OVERRIDE_32_llseek |
| 1154 | SC_LTTNG_TRACEPOINT_EVENT(llseek, |
| 1155 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), |
| 1156 | TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), |
| 1157 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) |
| 1158 | ) |
| 1159 | #endif |
| 1160 | #ifndef OVERRIDE_32_select |
| 1161 | SC_LTTNG_TRACEPOINT_EVENT(select, |
| 1162 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), |
| 1163 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), |
| 1164 | 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))) |
| 1165 | ) |
| 1166 | #endif |
| 1167 | #ifndef OVERRIDE_32_getsockopt |
| 1168 | SC_LTTNG_TRACEPOINT_EVENT(getsockopt, |
| 1169 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), |
| 1170 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), |
| 1171 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen))) |
| 1172 | ) |
| 1173 | #endif |
| 1174 | #ifndef OVERRIDE_32_setsockopt |
| 1175 | SC_LTTNG_TRACEPOINT_EVENT(setsockopt, |
| 1176 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), |
| 1177 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), |
| 1178 | 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))) |
| 1179 | ) |
| 1180 | #endif |
| 1181 | #ifndef OVERRIDE_32_setxattr |
| 1182 | SC_LTTNG_TRACEPOINT_EVENT(setxattr, |
| 1183 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), |
| 1184 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), |
| 1185 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) |
| 1186 | ) |
| 1187 | #endif |
| 1188 | #ifndef OVERRIDE_32_lsetxattr |
| 1189 | SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, |
| 1190 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), |
| 1191 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), |
| 1192 | 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))) |
| 1193 | ) |
| 1194 | #endif |
| 1195 | #ifndef OVERRIDE_32_fsetxattr |
| 1196 | SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, |
| 1197 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), |
| 1198 | TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), |
| 1199 | 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))) |
| 1200 | ) |
| 1201 | #endif |
| 1202 | #ifndef OVERRIDE_32_io_getevents |
| 1203 | SC_LTTNG_TRACEPOINT_EVENT(io_getevents, |
| 1204 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), |
| 1205 | TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), |
| 1206 | 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))) |
| 1207 | ) |
| 1208 | #endif |
| 1209 | #ifndef OVERRIDE_32_waitid |
| 1210 | SC_LTTNG_TRACEPOINT_EVENT(waitid, |
| 1211 | TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), |
| 1212 | TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), |
| 1213 | 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))) |
| 1214 | ) |
| 1215 | #endif |
| 1216 | #ifndef OVERRIDE_32_fchownat |
| 1217 | SC_LTTNG_TRACEPOINT_EVENT(fchownat, |
| 1218 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), |
| 1219 | TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), |
| 1220 | 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))) |
| 1221 | ) |
| 1222 | #endif |
| 1223 | #ifndef OVERRIDE_32_linkat |
| 1224 | SC_LTTNG_TRACEPOINT_EVENT(linkat, |
| 1225 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), |
| 1226 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), |
| 1227 | 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))) |
| 1228 | ) |
| 1229 | #endif |
| 1230 | #ifndef OVERRIDE_32_ppoll |
| 1231 | SC_LTTNG_TRACEPOINT_EVENT(ppoll, |
| 1232 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), |
| 1233 | TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), |
| 1234 | 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))) |
| 1235 | ) |
| 1236 | #endif |
| 1237 | #ifndef OVERRIDE_32_preadv |
| 1238 | SC_LTTNG_TRACEPOINT_EVENT(preadv, |
| 1239 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
| 1240 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), |
| 1241 | 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))) |
| 1242 | ) |
| 1243 | #endif |
| 1244 | #ifndef OVERRIDE_32_pwritev |
| 1245 | SC_LTTNG_TRACEPOINT_EVENT(pwritev, |
| 1246 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
| 1247 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), |
| 1248 | 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))) |
| 1249 | ) |
| 1250 | #endif |
| 1251 | #ifndef OVERRIDE_32_perf_event_open |
| 1252 | SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, |
| 1253 | TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), |
| 1254 | TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), |
| 1255 | 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))) |
| 1256 | ) |
| 1257 | #endif |
| 1258 | #ifndef OVERRIDE_32_recvmmsg |
| 1259 | SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, |
| 1260 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), |
| 1261 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), |
| 1262 | 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))) |
| 1263 | ) |
| 1264 | #endif |
| 1265 | #ifndef OVERRIDE_32_name_to_handle_at |
| 1266 | SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, |
| 1267 | TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), |
| 1268 | TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), |
| 1269 | 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))) |
| 1270 | ) |
| 1271 | #endif |
| 1272 | #ifndef OVERRIDE_32_renameat2 |
| 1273 | SC_LTTNG_TRACEPOINT_EVENT(renameat2, |
| 1274 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), |
| 1275 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), |
| 1276 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 1277 | ) |
| 1278 | #endif |
| 1279 | #ifndef OVERRIDE_32_ipc |
| 1280 | SC_LTTNG_TRACEPOINT_EVENT(ipc, |
| 1281 | TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), |
| 1282 | TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), |
| 1283 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, call, call)) sc_inout(ctf_integer(int, first, first)) sc_inout(ctf_integer(unsigned long, second, second)) sc_inout(ctf_integer(unsigned long, third, third)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(long, fifth, fifth))) |
| 1284 | ) |
| 1285 | #endif |
| 1286 | #ifndef OVERRIDE_32_recvfrom |
| 1287 | SC_LTTNG_TRACEPOINT_EVENT(recvfrom, |
| 1288 | TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), |
| 1289 | TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), |
| 1290 | 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))) |
| 1291 | ) |
| 1292 | #endif |
| 1293 | #ifndef OVERRIDE_32_sendto |
| 1294 | SC_LTTNG_TRACEPOINT_EVENT(sendto, |
| 1295 | TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), |
| 1296 | TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), |
| 1297 | 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))) |
| 1298 | ) |
| 1299 | #endif |
| 1300 | #ifndef OVERRIDE_32_futex |
| 1301 | SC_LTTNG_TRACEPOINT_EVENT(futex, |
| 1302 | TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), |
| 1303 | TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), |
| 1304 | 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))) |
| 1305 | ) |
| 1306 | #endif |
| 1307 | #ifndef OVERRIDE_32_pselect6 |
| 1308 | SC_LTTNG_TRACEPOINT_EVENT(pselect6, |
| 1309 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), |
| 1310 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), |
| 1311 | 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))) |
| 1312 | ) |
| 1313 | #endif |
| 1314 | #ifndef OVERRIDE_32_splice |
| 1315 | SC_LTTNG_TRACEPOINT_EVENT(splice, |
| 1316 | 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), |
| 1317 | TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), |
| 1318 | 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))) |
| 1319 | ) |
| 1320 | #endif |
| 1321 | #ifndef OVERRIDE_32_epoll_pwait |
| 1322 | SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, |
| 1323 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), |
| 1324 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), |
| 1325 | 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))) |
| 1326 | ) |
| 1327 | #endif |
| 1328 | |
| 1329 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ |
| 1330 | |
| 1331 | /* This part must be outside protection */ |
| 1332 | #include <lttng/define_trace.h> |
| 1333 | |
| 1334 | #else /* CREATE_SYSCALL_TABLE */ |
| 1335 | |
| 1336 | #include "mips-32-syscalls_pointers_override.h" |
| 1337 | #include "syscalls_pointers_override.h" |
| 1338 | |
| 1339 | #ifndef OVERRIDE_TABLE_32_read |
| 1340 | TRACE_SYSCALL_TABLE(read, read, 4003, 3) |
| 1341 | #endif |
| 1342 | #ifndef OVERRIDE_TABLE_32_write |
| 1343 | TRACE_SYSCALL_TABLE(write, write, 4004, 3) |
| 1344 | #endif |
| 1345 | #ifndef OVERRIDE_TABLE_32_open |
| 1346 | TRACE_SYSCALL_TABLE(open, open, 4005, 3) |
| 1347 | #endif |
| 1348 | #ifndef OVERRIDE_TABLE_32_waitpid |
| 1349 | TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) |
| 1350 | #endif |
| 1351 | #ifndef OVERRIDE_TABLE_32_creat |
| 1352 | TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) |
| 1353 | #endif |
| 1354 | #ifndef OVERRIDE_TABLE_32_link |
| 1355 | TRACE_SYSCALL_TABLE(link, link, 4009, 2) |
| 1356 | #endif |
| 1357 | #ifndef OVERRIDE_TABLE_32_unlink |
| 1358 | TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) |
| 1359 | #endif |
| 1360 | #ifndef OVERRIDE_TABLE_32_execve |
| 1361 | TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) |
| 1362 | #endif |
| 1363 | #ifndef OVERRIDE_TABLE_32_chdir |
| 1364 | TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) |
| 1365 | #endif |
| 1366 | #ifndef OVERRIDE_TABLE_32_time |
| 1367 | TRACE_SYSCALL_TABLE(time, time, 4013, 1) |
| 1368 | #endif |
| 1369 | #ifndef OVERRIDE_TABLE_32_mknod |
| 1370 | TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) |
| 1371 | #endif |
| 1372 | #ifndef OVERRIDE_TABLE_32_chmod |
| 1373 | TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) |
| 1374 | #endif |
| 1375 | #ifndef OVERRIDE_TABLE_32_lchown |
| 1376 | TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) |
| 1377 | #endif |
| 1378 | #ifndef OVERRIDE_TABLE_32_mount |
| 1379 | TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) |
| 1380 | #endif |
| 1381 | #ifndef OVERRIDE_TABLE_32_oldumount |
| 1382 | TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) |
| 1383 | #endif |
| 1384 | #ifndef OVERRIDE_TABLE_32_stime |
| 1385 | TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) |
| 1386 | #endif |
| 1387 | #ifndef OVERRIDE_TABLE_32_utime |
| 1388 | TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) |
| 1389 | #endif |
| 1390 | #ifndef OVERRIDE_TABLE_32_access |
| 1391 | TRACE_SYSCALL_TABLE(access, access, 4033, 2) |
| 1392 | #endif |
| 1393 | #ifndef OVERRIDE_TABLE_32_rename |
| 1394 | TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) |
| 1395 | #endif |
| 1396 | #ifndef OVERRIDE_TABLE_32_mkdir |
| 1397 | TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) |
| 1398 | #endif |
| 1399 | #ifndef OVERRIDE_TABLE_32_rmdir |
| 1400 | TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) |
| 1401 | #endif |
| 1402 | #ifndef OVERRIDE_TABLE_32_times |
| 1403 | TRACE_SYSCALL_TABLE(times, times, 4043, 1) |
| 1404 | #endif |
| 1405 | #ifndef OVERRIDE_TABLE_32_umount |
| 1406 | TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) |
| 1407 | #endif |
| 1408 | #ifndef OVERRIDE_TABLE_32_olduname |
| 1409 | TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) |
| 1410 | #endif |
| 1411 | #ifndef OVERRIDE_TABLE_32_chroot |
| 1412 | TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) |
| 1413 | #endif |
| 1414 | #ifndef OVERRIDE_TABLE_32_ustat |
| 1415 | TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) |
| 1416 | #endif |
| 1417 | #ifndef OVERRIDE_TABLE_32_sigaction |
| 1418 | TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) |
| 1419 | #endif |
| 1420 | #ifndef OVERRIDE_TABLE_32_sigsuspend |
| 1421 | TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) |
| 1422 | #endif |
| 1423 | #ifndef OVERRIDE_TABLE_32_sigpending |
| 1424 | TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) |
| 1425 | #endif |
| 1426 | #ifndef OVERRIDE_TABLE_32_sethostname |
| 1427 | TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) |
| 1428 | #endif |
| 1429 | #ifndef OVERRIDE_TABLE_32_setrlimit |
| 1430 | TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) |
| 1431 | #endif |
| 1432 | #ifndef OVERRIDE_TABLE_32_getrlimit |
| 1433 | TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) |
| 1434 | #endif |
| 1435 | #ifndef OVERRIDE_TABLE_32_getrusage |
| 1436 | TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) |
| 1437 | #endif |
| 1438 | #ifndef OVERRIDE_TABLE_32_gettimeofday |
| 1439 | TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) |
| 1440 | #endif |
| 1441 | #ifndef OVERRIDE_TABLE_32_settimeofday |
| 1442 | TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) |
| 1443 | #endif |
| 1444 | #ifndef OVERRIDE_TABLE_32_getgroups |
| 1445 | TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) |
| 1446 | #endif |
| 1447 | #ifndef OVERRIDE_TABLE_32_setgroups |
| 1448 | TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) |
| 1449 | #endif |
| 1450 | #ifndef OVERRIDE_TABLE_32_symlink |
| 1451 | TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) |
| 1452 | #endif |
| 1453 | #ifndef OVERRIDE_TABLE_32_readlink |
| 1454 | TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) |
| 1455 | #endif |
| 1456 | #ifndef OVERRIDE_TABLE_32_reboot |
| 1457 | TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) |
| 1458 | #endif |
| 1459 | #ifndef OVERRIDE_TABLE_32_old_readdir |
| 1460 | TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) |
| 1461 | #endif |
| 1462 | #ifndef OVERRIDE_TABLE_32_truncate |
| 1463 | TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) |
| 1464 | #endif |
| 1465 | #ifndef OVERRIDE_TABLE_32_statfs |
| 1466 | TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) |
| 1467 | #endif |
| 1468 | #ifndef OVERRIDE_TABLE_32_fstatfs |
| 1469 | TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) |
| 1470 | #endif |
| 1471 | #ifndef OVERRIDE_TABLE_32_socketcall |
| 1472 | TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) |
| 1473 | #endif |
| 1474 | #ifndef OVERRIDE_TABLE_32_syslog |
| 1475 | TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) |
| 1476 | #endif |
| 1477 | #ifndef OVERRIDE_TABLE_32_setitimer |
| 1478 | TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) |
| 1479 | #endif |
| 1480 | #ifndef OVERRIDE_TABLE_32_getitimer |
| 1481 | TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) |
| 1482 | #endif |
| 1483 | #ifndef OVERRIDE_TABLE_32_newstat |
| 1484 | TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) |
| 1485 | #endif |
| 1486 | #ifndef OVERRIDE_TABLE_32_newlstat |
| 1487 | TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) |
| 1488 | #endif |
| 1489 | #ifndef OVERRIDE_TABLE_32_newfstat |
| 1490 | TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) |
| 1491 | #endif |
| 1492 | #ifndef OVERRIDE_TABLE_32_uname |
| 1493 | TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) |
| 1494 | #endif |
| 1495 | #ifndef OVERRIDE_TABLE_32_wait4 |
| 1496 | TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) |
| 1497 | #endif |
| 1498 | #ifndef OVERRIDE_TABLE_32_sysinfo |
| 1499 | TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) |
| 1500 | #endif |
| 1501 | #ifndef OVERRIDE_TABLE_32_ipc |
| 1502 | TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) |
| 1503 | #endif |
| 1504 | #ifndef OVERRIDE_TABLE_32_setdomainname |
| 1505 | TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) |
| 1506 | #endif |
| 1507 | #ifndef OVERRIDE_TABLE_32_newuname |
| 1508 | TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) |
| 1509 | #endif |
| 1510 | #ifndef OVERRIDE_TABLE_32_adjtimex |
| 1511 | TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) |
| 1512 | #endif |
| 1513 | #ifndef OVERRIDE_TABLE_32_sigprocmask |
| 1514 | TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) |
| 1515 | #endif |
| 1516 | #ifndef OVERRIDE_TABLE_32_init_module |
| 1517 | TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) |
| 1518 | #endif |
| 1519 | #ifndef OVERRIDE_TABLE_32_delete_module |
| 1520 | TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) |
| 1521 | #endif |
| 1522 | #ifndef OVERRIDE_TABLE_32_llseek |
| 1523 | TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) |
| 1524 | #endif |
| 1525 | #ifndef OVERRIDE_TABLE_32_getdents |
| 1526 | TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) |
| 1527 | #endif |
| 1528 | #ifndef OVERRIDE_TABLE_32_select |
| 1529 | TRACE_SYSCALL_TABLE(select, select, 4142, 5) |
| 1530 | #endif |
| 1531 | #ifndef OVERRIDE_TABLE_32_readv |
| 1532 | TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) |
| 1533 | #endif |
| 1534 | #ifndef OVERRIDE_TABLE_32_writev |
| 1535 | TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) |
| 1536 | #endif |
| 1537 | #ifndef OVERRIDE_TABLE_32_cachectl |
| 1538 | TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) |
| 1539 | #endif |
| 1540 | #ifndef OVERRIDE_TABLE_32_sysctl |
| 1541 | TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) |
| 1542 | #endif |
| 1543 | #ifndef OVERRIDE_TABLE_32_sched_setparam |
| 1544 | TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) |
| 1545 | #endif |
| 1546 | #ifndef OVERRIDE_TABLE_32_sched_getparam |
| 1547 | TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) |
| 1548 | #endif |
| 1549 | #ifndef OVERRIDE_TABLE_32_sched_setscheduler |
| 1550 | TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) |
| 1551 | #endif |
| 1552 | #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval |
| 1553 | TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) |
| 1554 | #endif |
| 1555 | #ifndef OVERRIDE_TABLE_32_nanosleep |
| 1556 | TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) |
| 1557 | #endif |
| 1558 | #ifndef OVERRIDE_TABLE_32_accept |
| 1559 | TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) |
| 1560 | #endif |
| 1561 | #ifndef OVERRIDE_TABLE_32_bind |
| 1562 | TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) |
| 1563 | #endif |
| 1564 | #ifndef OVERRIDE_TABLE_32_connect |
| 1565 | TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) |
| 1566 | #endif |
| 1567 | #ifndef OVERRIDE_TABLE_32_getpeername |
| 1568 | TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) |
| 1569 | #endif |
| 1570 | #ifndef OVERRIDE_TABLE_32_getsockname |
| 1571 | TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) |
| 1572 | #endif |
| 1573 | #ifndef OVERRIDE_TABLE_32_getsockopt |
| 1574 | TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) |
| 1575 | #endif |
| 1576 | #ifndef OVERRIDE_TABLE_32_recv |
| 1577 | TRACE_SYSCALL_TABLE(recv, recv, 4175, 4) |
| 1578 | #endif |
| 1579 | #ifndef OVERRIDE_TABLE_32_recvfrom |
| 1580 | TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) |
| 1581 | #endif |
| 1582 | #ifndef OVERRIDE_TABLE_32_recvmsg |
| 1583 | TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) |
| 1584 | #endif |
| 1585 | #ifndef OVERRIDE_TABLE_32_send |
| 1586 | TRACE_SYSCALL_TABLE(send, send, 4178, 4) |
| 1587 | #endif |
| 1588 | #ifndef OVERRIDE_TABLE_32_sendmsg |
| 1589 | TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) |
| 1590 | #endif |
| 1591 | #ifndef OVERRIDE_TABLE_32_sendto |
| 1592 | TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) |
| 1593 | #endif |
| 1594 | #ifndef OVERRIDE_TABLE_32_setsockopt |
| 1595 | TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) |
| 1596 | #endif |
| 1597 | #ifndef OVERRIDE_TABLE_32_socketpair |
| 1598 | TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) |
| 1599 | #endif |
| 1600 | #ifndef OVERRIDE_TABLE_32_getresuid |
| 1601 | TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) |
| 1602 | #endif |
| 1603 | #ifndef OVERRIDE_TABLE_32_poll |
| 1604 | TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) |
| 1605 | #endif |
| 1606 | #ifndef OVERRIDE_TABLE_32_getresgid |
| 1607 | TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) |
| 1608 | #endif |
| 1609 | #ifndef OVERRIDE_TABLE_32_rt_sigaction |
| 1610 | TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) |
| 1611 | #endif |
| 1612 | #ifndef OVERRIDE_TABLE_32_rt_sigprocmask |
| 1613 | TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) |
| 1614 | #endif |
| 1615 | #ifndef OVERRIDE_TABLE_32_rt_sigpending |
| 1616 | TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) |
| 1617 | #endif |
| 1618 | #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait |
| 1619 | TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) |
| 1620 | #endif |
| 1621 | #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo |
| 1622 | TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) |
| 1623 | #endif |
| 1624 | #ifndef OVERRIDE_TABLE_32_rt_sigsuspend |
| 1625 | TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) |
| 1626 | #endif |
| 1627 | #ifndef OVERRIDE_TABLE_32_pread64 |
| 1628 | TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) |
| 1629 | #endif |
| 1630 | #ifndef OVERRIDE_TABLE_32_pwrite64 |
| 1631 | TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) |
| 1632 | #endif |
| 1633 | #ifndef OVERRIDE_TABLE_32_chown |
| 1634 | TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) |
| 1635 | #endif |
| 1636 | #ifndef OVERRIDE_TABLE_32_getcwd |
| 1637 | TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) |
| 1638 | #endif |
| 1639 | #ifndef OVERRIDE_TABLE_32_sigaltstack |
| 1640 | TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) |
| 1641 | #endif |
| 1642 | #ifndef OVERRIDE_TABLE_32_sendfile |
| 1643 | TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) |
| 1644 | #endif |
| 1645 | #ifndef OVERRIDE_TABLE_32_truncate64 |
| 1646 | TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) |
| 1647 | #endif |
| 1648 | #ifndef OVERRIDE_TABLE_32_stat64 |
| 1649 | TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) |
| 1650 | #endif |
| 1651 | #ifndef OVERRIDE_TABLE_32_lstat64 |
| 1652 | TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) |
| 1653 | #endif |
| 1654 | #ifndef OVERRIDE_TABLE_32_fstat64 |
| 1655 | TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) |
| 1656 | #endif |
| 1657 | #ifndef OVERRIDE_TABLE_32_pivot_root |
| 1658 | TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) |
| 1659 | #endif |
| 1660 | #ifndef OVERRIDE_TABLE_32_mincore |
| 1661 | TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) |
| 1662 | #endif |
| 1663 | #ifndef OVERRIDE_TABLE_32_getdents64 |
| 1664 | TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) |
| 1665 | #endif |
| 1666 | #ifndef OVERRIDE_TABLE_32_setxattr |
| 1667 | TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) |
| 1668 | #endif |
| 1669 | #ifndef OVERRIDE_TABLE_32_lsetxattr |
| 1670 | TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) |
| 1671 | #endif |
| 1672 | #ifndef OVERRIDE_TABLE_32_fsetxattr |
| 1673 | TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) |
| 1674 | #endif |
| 1675 | #ifndef OVERRIDE_TABLE_32_getxattr |
| 1676 | TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) |
| 1677 | #endif |
| 1678 | #ifndef OVERRIDE_TABLE_32_lgetxattr |
| 1679 | TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) |
| 1680 | #endif |
| 1681 | #ifndef OVERRIDE_TABLE_32_fgetxattr |
| 1682 | TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) |
| 1683 | #endif |
| 1684 | #ifndef OVERRIDE_TABLE_32_listxattr |
| 1685 | TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) |
| 1686 | #endif |
| 1687 | #ifndef OVERRIDE_TABLE_32_llistxattr |
| 1688 | TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) |
| 1689 | #endif |
| 1690 | #ifndef OVERRIDE_TABLE_32_flistxattr |
| 1691 | TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) |
| 1692 | #endif |
| 1693 | #ifndef OVERRIDE_TABLE_32_removexattr |
| 1694 | TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) |
| 1695 | #endif |
| 1696 | #ifndef OVERRIDE_TABLE_32_lremovexattr |
| 1697 | TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) |
| 1698 | #endif |
| 1699 | #ifndef OVERRIDE_TABLE_32_fremovexattr |
| 1700 | TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) |
| 1701 | #endif |
| 1702 | #ifndef OVERRIDE_TABLE_32_sendfile64 |
| 1703 | TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) |
| 1704 | #endif |
| 1705 | #ifndef OVERRIDE_TABLE_32_futex |
| 1706 | TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) |
| 1707 | #endif |
| 1708 | #ifndef OVERRIDE_TABLE_32_io_setup |
| 1709 | TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) |
| 1710 | #endif |
| 1711 | #ifndef OVERRIDE_TABLE_32_io_getevents |
| 1712 | TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) |
| 1713 | #endif |
| 1714 | #ifndef OVERRIDE_TABLE_32_io_submit |
| 1715 | TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) |
| 1716 | #endif |
| 1717 | #ifndef OVERRIDE_TABLE_32_io_cancel |
| 1718 | TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) |
| 1719 | #endif |
| 1720 | #ifndef OVERRIDE_TABLE_32_epoll_ctl |
| 1721 | TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) |
| 1722 | #endif |
| 1723 | #ifndef OVERRIDE_TABLE_32_epoll_wait |
| 1724 | TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) |
| 1725 | #endif |
| 1726 | #ifndef OVERRIDE_TABLE_32_set_tid_address |
| 1727 | TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) |
| 1728 | #endif |
| 1729 | #ifndef OVERRIDE_TABLE_32_statfs64 |
| 1730 | TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) |
| 1731 | #endif |
| 1732 | #ifndef OVERRIDE_TABLE_32_fstatfs64 |
| 1733 | TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) |
| 1734 | #endif |
| 1735 | #ifndef OVERRIDE_TABLE_32_timer_create |
| 1736 | TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) |
| 1737 | #endif |
| 1738 | #ifndef OVERRIDE_TABLE_32_timer_settime |
| 1739 | TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) |
| 1740 | #endif |
| 1741 | #ifndef OVERRIDE_TABLE_32_timer_gettime |
| 1742 | TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) |
| 1743 | #endif |
| 1744 | #ifndef OVERRIDE_TABLE_32_clock_settime |
| 1745 | TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) |
| 1746 | #endif |
| 1747 | #ifndef OVERRIDE_TABLE_32_clock_gettime |
| 1748 | TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) |
| 1749 | #endif |
| 1750 | #ifndef OVERRIDE_TABLE_32_clock_getres |
| 1751 | TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) |
| 1752 | #endif |
| 1753 | #ifndef OVERRIDE_TABLE_32_clock_nanosleep |
| 1754 | TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) |
| 1755 | #endif |
| 1756 | #ifndef OVERRIDE_TABLE_32_utimes |
| 1757 | TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) |
| 1758 | #endif |
| 1759 | #ifndef OVERRIDE_TABLE_32_waitid |
| 1760 | TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) |
| 1761 | #endif |
| 1762 | #ifndef OVERRIDE_TABLE_32_inotify_add_watch |
| 1763 | TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) |
| 1764 | #endif |
| 1765 | #ifndef OVERRIDE_TABLE_32_openat |
| 1766 | TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) |
| 1767 | #endif |
| 1768 | #ifndef OVERRIDE_TABLE_32_mkdirat |
| 1769 | TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) |
| 1770 | #endif |
| 1771 | #ifndef OVERRIDE_TABLE_32_mknodat |
| 1772 | TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) |
| 1773 | #endif |
| 1774 | #ifndef OVERRIDE_TABLE_32_fchownat |
| 1775 | TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) |
| 1776 | #endif |
| 1777 | #ifndef OVERRIDE_TABLE_32_futimesat |
| 1778 | TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) |
| 1779 | #endif |
| 1780 | #ifndef OVERRIDE_TABLE_32_fstatat64 |
| 1781 | TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) |
| 1782 | #endif |
| 1783 | #ifndef OVERRIDE_TABLE_32_unlinkat |
| 1784 | TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) |
| 1785 | #endif |
| 1786 | #ifndef OVERRIDE_TABLE_32_renameat |
| 1787 | TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) |
| 1788 | #endif |
| 1789 | #ifndef OVERRIDE_TABLE_32_linkat |
| 1790 | TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) |
| 1791 | #endif |
| 1792 | #ifndef OVERRIDE_TABLE_32_symlinkat |
| 1793 | TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) |
| 1794 | #endif |
| 1795 | #ifndef OVERRIDE_TABLE_32_readlinkat |
| 1796 | TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) |
| 1797 | #endif |
| 1798 | #ifndef OVERRIDE_TABLE_32_fchmodat |
| 1799 | TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) |
| 1800 | #endif |
| 1801 | #ifndef OVERRIDE_TABLE_32_faccessat |
| 1802 | TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) |
| 1803 | #endif |
| 1804 | #ifndef OVERRIDE_TABLE_32_pselect6 |
| 1805 | TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) |
| 1806 | #endif |
| 1807 | #ifndef OVERRIDE_TABLE_32_ppoll |
| 1808 | TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) |
| 1809 | #endif |
| 1810 | #ifndef OVERRIDE_TABLE_32_splice |
| 1811 | TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) |
| 1812 | #endif |
| 1813 | #ifndef OVERRIDE_TABLE_32_vmsplice |
| 1814 | TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) |
| 1815 | #endif |
| 1816 | #ifndef OVERRIDE_TABLE_32_set_robust_list |
| 1817 | TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) |
| 1818 | #endif |
| 1819 | #ifndef OVERRIDE_TABLE_32_get_robust_list |
| 1820 | TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) |
| 1821 | #endif |
| 1822 | #ifndef OVERRIDE_TABLE_32_getcpu |
| 1823 | TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) |
| 1824 | #endif |
| 1825 | #ifndef OVERRIDE_TABLE_32_epoll_pwait |
| 1826 | TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) |
| 1827 | #endif |
| 1828 | #ifndef OVERRIDE_TABLE_32_utimensat |
| 1829 | TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) |
| 1830 | #endif |
| 1831 | #ifndef OVERRIDE_TABLE_32_signalfd |
| 1832 | TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) |
| 1833 | #endif |
| 1834 | #ifndef OVERRIDE_TABLE_32_timerfd_gettime |
| 1835 | TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) |
| 1836 | #endif |
| 1837 | #ifndef OVERRIDE_TABLE_32_timerfd_settime |
| 1838 | TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) |
| 1839 | #endif |
| 1840 | #ifndef OVERRIDE_TABLE_32_signalfd4 |
| 1841 | TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) |
| 1842 | #endif |
| 1843 | #ifndef OVERRIDE_TABLE_32_pipe2 |
| 1844 | TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) |
| 1845 | #endif |
| 1846 | #ifndef OVERRIDE_TABLE_32_preadv |
| 1847 | TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) |
| 1848 | #endif |
| 1849 | #ifndef OVERRIDE_TABLE_32_pwritev |
| 1850 | TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) |
| 1851 | #endif |
| 1852 | #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo |
| 1853 | TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) |
| 1854 | #endif |
| 1855 | #ifndef OVERRIDE_TABLE_32_perf_event_open |
| 1856 | TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) |
| 1857 | #endif |
| 1858 | #ifndef OVERRIDE_TABLE_32_accept4 |
| 1859 | TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) |
| 1860 | #endif |
| 1861 | #ifndef OVERRIDE_TABLE_32_recvmmsg |
| 1862 | TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) |
| 1863 | #endif |
| 1864 | #ifndef OVERRIDE_TABLE_32_prlimit64 |
| 1865 | TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) |
| 1866 | #endif |
| 1867 | #ifndef OVERRIDE_TABLE_32_name_to_handle_at |
| 1868 | TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) |
| 1869 | #endif |
| 1870 | #ifndef OVERRIDE_TABLE_32_open_by_handle_at |
| 1871 | TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) |
| 1872 | #endif |
| 1873 | #ifndef OVERRIDE_TABLE_32_clock_adjtime |
| 1874 | TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) |
| 1875 | #endif |
| 1876 | #ifndef OVERRIDE_TABLE_32_sendmmsg |
| 1877 | TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) |
| 1878 | #endif |
| 1879 | #ifndef OVERRIDE_TABLE_32_finit_module |
| 1880 | TRACE_SYSCALL_TABLE(finit_module, finit_module, 4348, 3) |
| 1881 | #endif |
| 1882 | #ifndef OVERRIDE_TABLE_32_sched_setattr |
| 1883 | TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 4349, 3) |
| 1884 | #endif |
| 1885 | #ifndef OVERRIDE_TABLE_32_sched_getattr |
| 1886 | TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 4350, 4) |
| 1887 | #endif |
| 1888 | #ifndef OVERRIDE_TABLE_32_renameat2 |
| 1889 | TRACE_SYSCALL_TABLE(renameat2, renameat2, 4351, 5) |
| 1890 | #endif |
| 1891 | #ifndef OVERRIDE_TABLE_32_seccomp |
| 1892 | TRACE_SYSCALL_TABLE(seccomp, seccomp, 4352, 3) |
| 1893 | #endif |
| 1894 | #ifndef OVERRIDE_TABLE_32_getrandom |
| 1895 | TRACE_SYSCALL_TABLE(getrandom, getrandom, 4353, 3) |
| 1896 | #endif |
| 1897 | #ifndef OVERRIDE_TABLE_32_memfd_create |
| 1898 | TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 4354, 2) |
| 1899 | #endif |
| 1900 | |
| 1901 | #endif /* CREATE_SYSCALL_TABLE */ |