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