From: Michael Jeanson Date: Wed, 4 Mar 2020 20:45:18 +0000 (-0500) Subject: Remove kernel version from syscall headers name X-Git-Tag: before-upstreaming~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6314c2d3a4ad617f5f122083a7fda007d4319b92;p=lttng-modules.git Remove kernel version from syscall headers name This will reduce the delta when updating the syscall headers and make it easier to track the changes. Add a comment in the headers to track the version they were generated from. Change-Id: I939e1ebd8ab18d880ff1394e771982b5491d3b19 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/3.0.34/powerpc-32-syscalls b/instrumentation/syscalls/3.0.34/powerpc-32-syscalls new file mode 100644 index 00000000..f951c7ad --- /dev/null +++ b/instrumentation/syscalls/3.0.34/powerpc-32-syscalls @@ -0,0 +1,286 @@ +syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () +syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 5 nbargs 3 types: (const char *, int, int) args: (filename, flags, mode) +syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 7 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 8 nbargs 2 types: (const char *, int) args: (pathname, mode) +syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) +syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 13 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 14 nbargs 3 types: (const char *, int, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 15 nbargs 2 types: (const char *, mode_t) args: (filename, mode) +syscall sys_lchown nr 16 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_stat nr 18 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) +syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) +syscall sys_getpid nr 20 nbargs 0 types: () args: () +syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 22 nbargs 1 types: (char *) args: (name) +syscall sys_setuid nr 23 nbargs 1 types: (uid_t) args: (uid) +syscall sys_getuid nr 24 nbargs 0 types: () args: () +syscall sys_stime nr 25 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 27 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_fstat nr 28 nbargs 2 types: (unsigned int, struct __old_kernel_stat *) args: (fd, statbuf) +syscall sys_pause nr 29 nbargs 0 types: () args: () +syscall sys_utime nr 30 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 36 nbargs 0 types: () args: () +syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 39 nbargs 2 types: (const char *, int) args: (pathname, mode) +syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) +syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid nr 46 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getgid nr 47 nbargs 0 types: () args: () +syscall sys_signal nr 48 nbargs 2 types: (int, __sighandler_t) args: (sig, handler) +syscall sys_geteuid nr 49 nbargs 0 types: () args: () +syscall sys_getegid nr 50 nbargs 0 types: () args: () +syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) +syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 59 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 64 nbargs 0 types: () args: () +syscall sys_getpgrp nr 65 nbargs 0 types: () args: () +syscall sys_setsid nr 66 nbargs 0 types: () args: () +syscall sys_sgetmask nr 68 nbargs 0 types: () args: () +syscall sys_ssetmask nr 69 nbargs 1 types: (int) args: (newmask) +syscall sys_setreuid nr 70 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 71 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_old_getrlimit nr 76 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups nr 80 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 81 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_lstat nr 84 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) +syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) +syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 89 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, mode_t) args: (fd, mode) +syscall sys_fchown nr 95 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 102 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 111 nbargs 0 types: () args: () +syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid nr 138 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 139 nbargs 1 types: (gid_t) args: (gid) +syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) +syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 153 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 158 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_setresuid nr 164 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 165 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) +syscall sys_poll nr 167 nbargs 3 types: (struct pollfd *, unsigned int, long) args: (ufds, nfds, timeout_msecs) +syscall sys_nfsservctl nr 168 nbargs 3 types: (int, struct nfsctl_arg *, void *) args: (cmd, arg, res) +syscall sys_setresgid nr 169 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 170 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) +syscall sys_prctl nr 171 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 173 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 174 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 175 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) +syscall sys_rt_sigtimedwait nr 176 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 177 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 178 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_chown nr 181 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getcwd nr 182 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 183 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 184 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sendfile nr 186 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_getrlimit nr 190 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_pciconfig_read nr 198 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) +syscall sys_pciconfig_write nr 199 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) +syscall sys_getdents64 nr 202 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_pivot_root nr 203 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_fcntl64 nr 204 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_madvise nr 205 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_mincore nr 206 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_gettid nr 207 nbargs 0 types: () args: () +syscall sys_tkill nr 208 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_setxattr nr 209 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 210 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 211 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 212 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 213 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 214 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 215 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 216 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 217 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 218 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 219 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 220 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_futex nr 221 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_setaffinity nr 222 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 223 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sendfile64 nr 226 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_io_setup nr 227 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 228 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 229 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 230 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 231 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_set_tid_address nr 232 nbargs 1 types: (int *) args: (tidptr) +syscall sys_exit_group nr 234 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 236 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 237 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 238 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 239 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_timer_create nr 240 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 241 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 242 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 243 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 244 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 245 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 246 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 247 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 248 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_tgkill nr 250 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 251 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_statfs64 nr 252 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 253 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_mq_open nr 262 nbargs 4 types: (const char *, int, mode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) +syscall sys_mq_unlink nr 263 nbargs 1 types: (const char *) args: (u_name) +syscall sys_mq_timedsend nr 264 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 265 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_mq_notify nr 266 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) +syscall sys_mq_getsetattr nr 267 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) +syscall sys_add_key nr 269 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) +syscall sys_request_key nr 270 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) +syscall sys_keyctl nr 271 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_waitid nr 272 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_ioprio_set nr 273 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 274 nbargs 2 types: (int, int) args: (which, who) +syscall sys_inotify_init nr 275 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 276 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 277 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_pselect6 nr 280 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 281 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 282 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_splice nr 283 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 284 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 285 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_openat nr 286 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 287 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, mode) +syscall sys_mknodat nr 288 nbargs 4 types: (int, const char *, int, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 289 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 290 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 291 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 292 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 293 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 294 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 295 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 296 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 297 nbargs 3 types: (int, const char *, mode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 298 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_get_robust_list nr 299 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_set_robust_list nr 300 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_getcpu nr 302 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 303 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_utimensat nr 304 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 305 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_timerfd_create nr 306 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_eventfd nr 307 nbargs 1 types: (unsigned int) args: (count) +syscall sys_timerfd_settime nr 311 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 312 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_signalfd4 nr 313 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 314 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 315 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 316 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 317 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 318 nbargs 1 types: (int) args: (flags) +syscall sys_perf_event_open nr 319 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_preadv nr 320 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 321 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 322 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_prlimit64 nr 325 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_socket nr 326 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_bind nr 327 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 328 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_listen nr 329 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_accept nr 330 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_getsockname nr 331 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 332 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_socketpair nr 333 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_send nr 334 nbargs 4 types: (int, void *, size_t, unsigned) args: (fd, buff, len, flags) +syscall sys_sendto nr 335 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_recvfrom nr 337 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_shutdown nr 338 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_setsockopt nr 339 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_getsockopt nr 340 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_sendmsg nr 341 nbargs 3 types: (int, struct msghdr *, unsigned) args: (fd, msg, flags) +syscall sys_recvmsg nr 342 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmmsg nr 343 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_accept4 nr 344 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_clock_adjtime nr 347 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 348 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 349 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 350 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.0.34/powerpc-32-syscalls-3.0.34 b/instrumentation/syscalls/3.0.34/powerpc-32-syscalls-3.0.34 deleted file mode 100644 index f951c7ad..00000000 --- a/instrumentation/syscalls/3.0.34/powerpc-32-syscalls-3.0.34 +++ /dev/null @@ -1,286 +0,0 @@ -syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () -syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 5 nbargs 3 types: (const char *, int, int) args: (filename, flags, mode) -syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_waitpid nr 7 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_creat nr 8 nbargs 2 types: (const char *, int) args: (pathname, mode) -syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) -syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) -syscall sys_time nr 13 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_mknod nr 14 nbargs 3 types: (const char *, int, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 15 nbargs 2 types: (const char *, mode_t) args: (filename, mode) -syscall sys_lchown nr 16 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_stat nr 18 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) -syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) -syscall sys_getpid nr 20 nbargs 0 types: () args: () -syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_oldumount nr 22 nbargs 1 types: (char *) args: (name) -syscall sys_setuid nr 23 nbargs 1 types: (uid_t) args: (uid) -syscall sys_getuid nr 24 nbargs 0 types: () args: () -syscall sys_stime nr 25 nbargs 1 types: (time_t *) args: (tptr) -syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_alarm nr 27 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_fstat nr 28 nbargs 2 types: (unsigned int, struct __old_kernel_stat *) args: (fd, statbuf) -syscall sys_pause nr 29 nbargs 0 types: () args: () -syscall sys_utime nr 30 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 36 nbargs 0 types: () args: () -syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 39 nbargs 2 types: (const char *, int) args: (pathname, mode) -syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) -syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid nr 46 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getgid nr 47 nbargs 0 types: () args: () -syscall sys_signal nr 48 nbargs 2 types: (int, __sighandler_t) args: (sig, handler) -syscall sys_geteuid nr 49 nbargs 0 types: () args: () -syscall sys_getegid nr 50 nbargs 0 types: () args: () -syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) -syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_olduname nr 59 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 64 nbargs 0 types: () args: () -syscall sys_getpgrp nr 65 nbargs 0 types: () args: () -syscall sys_setsid nr 66 nbargs 0 types: () args: () -syscall sys_sgetmask nr 68 nbargs 0 types: () args: () -syscall sys_ssetmask nr 69 nbargs 1 types: (int) args: (newmask) -syscall sys_setreuid nr 70 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 71 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_old_getrlimit nr 76 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups nr 80 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 81 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_lstat nr 84 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) -syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) -syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_old_readdir nr 89 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, mode_t) args: (fd, mode) -syscall sys_fchown nr 95 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_socketcall nr 102 nbargs 2 types: (int, unsigned long *) args: (call, args) -syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_uname nr 109 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_vhangup nr 111 nbargs 0 types: () args: () -syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_ipc nr 117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) -syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid nr 138 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 139 nbargs 1 types: (gid_t) args: (gid) -syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) -syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 153 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 158 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_setresuid nr 164 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 165 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) -syscall sys_poll nr 167 nbargs 3 types: (struct pollfd *, unsigned int, long) args: (ufds, nfds, timeout_msecs) -syscall sys_nfsservctl nr 168 nbargs 3 types: (int, struct nfsctl_arg *, void *) args: (cmd, arg, res) -syscall sys_setresgid nr 169 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 170 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) -syscall sys_prctl nr 171 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_rt_sigaction nr 173 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 174 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 175 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) -syscall sys_rt_sigtimedwait nr 176 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 177 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 178 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_chown nr 181 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_getcwd nr 182 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_capget nr 183 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 184 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_sendfile nr 186 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_getrlimit nr 190 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) -syscall sys_pciconfig_read nr 198 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) -syscall sys_pciconfig_write nr 199 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, void *) args: (bus, dfn, off, len, buf) -syscall sys_getdents64 nr 202 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_pivot_root nr 203 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_fcntl64 nr 204 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_madvise nr 205 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_mincore nr 206 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_gettid nr 207 nbargs 0 types: () args: () -syscall sys_tkill nr 208 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_setxattr nr 209 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 210 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 211 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 212 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 213 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 214 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 215 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 216 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 217 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 218 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 219 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 220 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_futex nr 221 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_setaffinity nr 222 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 223 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sendfile64 nr 226 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_io_setup nr 227 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 228 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 229 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 230 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 231 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_set_tid_address nr 232 nbargs 1 types: (int *) args: (tidptr) -syscall sys_exit_group nr 234 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 236 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 237 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 238 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 239 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_timer_create nr 240 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 241 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 242 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 243 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 244 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 245 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 246 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 247 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 248 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_tgkill nr 250 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 251 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_statfs64 nr 252 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) -syscall sys_fstatfs64 nr 253 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) -syscall sys_mq_open nr 262 nbargs 4 types: (const char *, int, mode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) -syscall sys_mq_unlink nr 263 nbargs 1 types: (const char *) args: (u_name) -syscall sys_mq_timedsend nr 264 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 265 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_mq_notify nr 266 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) -syscall sys_mq_getsetattr nr 267 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) -syscall sys_add_key nr 269 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) -syscall sys_request_key nr 270 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) -syscall sys_keyctl nr 271 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_waitid nr 272 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_ioprio_set nr 273 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 274 nbargs 2 types: (int, int) args: (which, who) -syscall sys_inotify_init nr 275 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 276 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 277 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_pselect6 nr 280 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 281 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 282 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_splice nr 283 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 284 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_vmsplice nr 285 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_openat nr 286 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 287 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, mode) -syscall sys_mknodat nr 288 nbargs 4 types: (int, const char *, int, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 289 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 290 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_fstatat64 nr 291 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 292 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 293 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 294 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 295 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 296 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 297 nbargs 3 types: (int, const char *, mode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 298 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_get_robust_list nr 299 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_set_robust_list nr 300 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_getcpu nr 302 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_epoll_pwait nr 303 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_utimensat nr 304 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 305 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_timerfd_create nr 306 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_eventfd nr 307 nbargs 1 types: (unsigned int) args: (count) -syscall sys_timerfd_settime nr 311 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 312 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_signalfd4 nr 313 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 314 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 315 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 316 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 317 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 318 nbargs 1 types: (int) args: (flags) -syscall sys_perf_event_open nr 319 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_preadv nr 320 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 321 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 322 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_prlimit64 nr 325 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_socket nr 326 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_bind nr 327 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 328 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_listen nr 329 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_accept nr 330 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_getsockname nr 331 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 332 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_socketpair nr 333 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_send nr 334 nbargs 4 types: (int, void *, size_t, unsigned) args: (fd, buff, len, flags) -syscall sys_sendto nr 335 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_recvfrom nr 337 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_shutdown nr 338 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_setsockopt nr 339 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_getsockopt nr 340 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_sendmsg nr 341 nbargs 3 types: (int, struct msghdr *, unsigned) args: (fd, msg, flags) -syscall sys_recvmsg nr 342 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmmsg nr 343 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_accept4 nr 344 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_clock_adjtime nr 347 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 348 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 349 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 350 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls b/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls new file mode 100644 index 00000000..130c1e3e --- /dev/null +++ b/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls @@ -0,0 +1,291 @@ +syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () +syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 5 nbargs 3 types: (const char *, int, int) args: (filename, flags, mode) +syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 7 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 8 nbargs 2 types: (const char *, int) args: (pathname, mode) +syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) +syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 13 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 14 nbargs 3 types: (const char *, int, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 15 nbargs 2 types: (const char *, mode_t) args: (filename, mode) +syscall sys_lchown16 nr 16 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) +syscall sys_stat nr 18 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) +syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) +syscall sys_getpid nr 20 nbargs 0 types: () args: () +syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 22 nbargs 1 types: (char *) args: (name) +syscall sys_setuid16 nr 23 nbargs 1 types: (old_uid_t) args: (uid) +syscall sys_getuid16 nr 24 nbargs 0 types: () args: () +syscall sys_stime nr 25 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 27 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_fstat nr 28 nbargs 2 types: (unsigned int, struct __old_kernel_stat *) args: (fd, statbuf) +syscall sys_pause nr 29 nbargs 0 types: () args: () +syscall sys_utime nr 30 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 36 nbargs 0 types: () args: () +syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 39 nbargs 2 types: (const char *, int) args: (pathname, mode) +syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) +syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid16 nr 46 nbargs 1 types: (old_gid_t) args: (gid) +syscall sys_getgid16 nr 47 nbargs 0 types: () args: () +syscall sys_signal nr 48 nbargs 2 types: (int, __sighandler_t) args: (sig, handler) +syscall sys_geteuid16 nr 49 nbargs 0 types: () args: () +syscall sys_getegid16 nr 50 nbargs 0 types: () args: () +syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) +syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 59 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 64 nbargs 0 types: () args: () +syscall sys_getpgrp nr 65 nbargs 0 types: () args: () +syscall sys_setsid nr 66 nbargs 0 types: () args: () +syscall sys_sgetmask nr 68 nbargs 0 types: () args: () +syscall sys_ssetmask nr 69 nbargs 1 types: (int) args: (newmask) +syscall sys_setreuid16 nr 70 nbargs 2 types: (old_uid_t, old_uid_t) args: (ruid, euid) +syscall sys_setregid16 nr 71 nbargs 2 types: (old_gid_t, old_gid_t) args: (rgid, egid) +syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_old_getrlimit nr 76 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups16 nr 80 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups16 nr 81 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) +syscall sys_old_select nr 82 nbargs 1 types: (struct sel_arg_struct *) args: (arg) +syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_lstat nr 84 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) +syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) +syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 89 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_old_mmap nr 90 nbargs 1 types: (struct mmap_arg_struct *) args: (arg) +syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, mode_t) args: (fd, mode) +syscall sys_fchown16 nr 95 nbargs 3 types: (unsigned int, old_uid_t, old_gid_t) args: (fd, user, group) +syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 102 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 111 nbargs 0 types: () args: () +syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_quotactl nr 131 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid16 nr 138 nbargs 1 types: (old_uid_t) args: (uid) +syscall sys_setfsgid16 nr 139 nbargs 1 types: (old_gid_t) args: (gid) +syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) +syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 153 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 158 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_setresuid16 nr 164 nbargs 3 types: (old_uid_t, old_uid_t, old_uid_t) args: (ruid, euid, suid) +syscall sys_getresuid16 nr 165 nbargs 3 types: (old_uid_t *, old_uid_t *, old_uid_t *) args: (ruid, euid, suid) +syscall sys_poll nr 168 nbargs 3 types: (struct pollfd *, unsigned int, long) args: (ufds, nfds, timeout_msecs) +syscall sys_setresgid16 nr 170 nbargs 3 types: (old_gid_t, old_gid_t, old_gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid16 nr 171 nbargs 3 types: (old_gid_t *, old_gid_t *, old_gid_t *) args: (rgid, egid, sgid) +syscall sys_prctl nr 172 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 174 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 175 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 176 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) +syscall sys_rt_sigtimedwait nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 178 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 179 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_chown16 nr 182 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) +syscall sys_getcwd nr 183 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 184 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 185 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_getrlimit nr 191 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_mmap_pgoff nr 192 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) +syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_lchown nr 198 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getuid nr 199 nbargs 0 types: () args: () +syscall sys_getgid nr 200 nbargs 0 types: () args: () +syscall sys_geteuid nr 201 nbargs 0 types: () args: () +syscall sys_getegid nr 202 nbargs 0 types: () args: () +syscall sys_setreuid nr 203 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 204 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_getgroups nr 205 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 206 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_fchown nr 207 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_setresuid nr 208 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 209 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) +syscall sys_setresgid nr 210 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 211 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) +syscall sys_chown nr 212 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_setuid nr 213 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setgid nr 214 nbargs 1 types: (gid_t) args: (gid) +syscall sys_setfsuid nr 215 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 216 nbargs 1 types: (gid_t) args: (gid) +syscall sys_pivot_root nr 217 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_mincore nr 218 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 219 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_getdents64 nr 220 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_fcntl64 nr 221 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_gettid nr 224 nbargs 0 types: () args: () +syscall sys_setxattr nr 226 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 227 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 228 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 229 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 230 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 231 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 232 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 233 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 234 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 235 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 236 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 237 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 238 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_sendfile64 nr 239 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_futex nr 240 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_setaffinity nr 241 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 242 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_io_setup nr 245 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 246 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 247 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 248 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 249 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 252 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 254 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 255 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 256 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 257 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 258 nbargs 1 types: (int *) args: (tidptr) +syscall sys_timer_create nr 259 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 260 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 261 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 262 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 263 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 264 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 265 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 266 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 267 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_statfs64 nr 268 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 269 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_tgkill nr 270 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 271 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_mq_open nr 277 nbargs 4 types: (const char *, int, mode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) +syscall sys_mq_unlink nr 278 nbargs 1 types: (const char *) args: (u_name) +syscall sys_mq_timedsend nr 279 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 280 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_mq_notify nr 281 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) +syscall sys_mq_getsetattr nr 282 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) +syscall sys_kexec_load nr 283 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) +syscall sys_waitid nr 284 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_add_key nr 286 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) +syscall sys_request_key nr 287 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) +syscall sys_keyctl nr 288 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_ioprio_set nr 289 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 290 nbargs 2 types: (int, int) args: (which, who) +syscall sys_inotify_init nr 291 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 292 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 293 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 295 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 296 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, mode) +syscall sys_mknodat nr 297 nbargs 4 types: (int, const char *, int, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 298 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 299 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 300 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 301 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 302 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 303 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 304 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 305 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 306 nbargs 3 types: (int, const char *, mode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 307 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 308 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 309 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 310 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_set_robust_list nr 311 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 312 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_splice nr 313 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 315 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 316 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_getcpu nr 318 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 319 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_utimensat nr 320 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 321 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_timerfd_create nr 322 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_eventfd nr 323 nbargs 1 types: (unsigned int) args: (count) +syscall sys_timerfd_settime nr 325 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 326 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_signalfd4 nr 327 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 328 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 329 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 330 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 331 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 332 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 333 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 334 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 335 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 336 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_recvmmsg nr 337 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_fanotify_init nr 338 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) +syscall sys_prlimit64 nr 340 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_clock_adjtime nr 343 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 344 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 345 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 346 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls-3.1.0-rc6 b/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls-3.1.0-rc6 deleted file mode 100644 index 130c1e3e..00000000 --- a/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls-3.1.0-rc6 +++ /dev/null @@ -1,291 +0,0 @@ -syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () -syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 5 nbargs 3 types: (const char *, int, int) args: (filename, flags, mode) -syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_waitpid nr 7 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_creat nr 8 nbargs 2 types: (const char *, int) args: (pathname, mode) -syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) -syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) -syscall sys_time nr 13 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_mknod nr 14 nbargs 3 types: (const char *, int, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 15 nbargs 2 types: (const char *, mode_t) args: (filename, mode) -syscall sys_lchown16 nr 16 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) -syscall sys_stat nr 18 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) -syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) -syscall sys_getpid nr 20 nbargs 0 types: () args: () -syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_oldumount nr 22 nbargs 1 types: (char *) args: (name) -syscall sys_setuid16 nr 23 nbargs 1 types: (old_uid_t) args: (uid) -syscall sys_getuid16 nr 24 nbargs 0 types: () args: () -syscall sys_stime nr 25 nbargs 1 types: (time_t *) args: (tptr) -syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_alarm nr 27 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_fstat nr 28 nbargs 2 types: (unsigned int, struct __old_kernel_stat *) args: (fd, statbuf) -syscall sys_pause nr 29 nbargs 0 types: () args: () -syscall sys_utime nr 30 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 36 nbargs 0 types: () args: () -syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 39 nbargs 2 types: (const char *, int) args: (pathname, mode) -syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) -syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid16 nr 46 nbargs 1 types: (old_gid_t) args: (gid) -syscall sys_getgid16 nr 47 nbargs 0 types: () args: () -syscall sys_signal nr 48 nbargs 2 types: (int, __sighandler_t) args: (sig, handler) -syscall sys_geteuid16 nr 49 nbargs 0 types: () args: () -syscall sys_getegid16 nr 50 nbargs 0 types: () args: () -syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) -syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_olduname nr 59 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 64 nbargs 0 types: () args: () -syscall sys_getpgrp nr 65 nbargs 0 types: () args: () -syscall sys_setsid nr 66 nbargs 0 types: () args: () -syscall sys_sgetmask nr 68 nbargs 0 types: () args: () -syscall sys_ssetmask nr 69 nbargs 1 types: (int) args: (newmask) -syscall sys_setreuid16 nr 70 nbargs 2 types: (old_uid_t, old_uid_t) args: (ruid, euid) -syscall sys_setregid16 nr 71 nbargs 2 types: (old_gid_t, old_gid_t) args: (rgid, egid) -syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_old_getrlimit nr 76 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups16 nr 80 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups16 nr 81 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) -syscall sys_old_select nr 82 nbargs 1 types: (struct sel_arg_struct *) args: (arg) -syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_lstat nr 84 nbargs 2 types: (const char *, struct __old_kernel_stat *) args: (filename, statbuf) -syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) -syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_old_readdir nr 89 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_old_mmap nr 90 nbargs 1 types: (struct mmap_arg_struct *) args: (arg) -syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, mode_t) args: (fd, mode) -syscall sys_fchown16 nr 95 nbargs 3 types: (unsigned int, old_uid_t, old_gid_t) args: (fd, user, group) -syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_socketcall nr 102 nbargs 2 types: (int, unsigned long *) args: (call, args) -syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_uname nr 109 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_vhangup nr 111 nbargs 0 types: () args: () -syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_ipc nr 117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) -syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_quotactl nr 131 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid16 nr 138 nbargs 1 types: (old_uid_t) args: (uid) -syscall sys_setfsgid16 nr 139 nbargs 1 types: (old_gid_t) args: (gid) -syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) -syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 153 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 158 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_setresuid16 nr 164 nbargs 3 types: (old_uid_t, old_uid_t, old_uid_t) args: (ruid, euid, suid) -syscall sys_getresuid16 nr 165 nbargs 3 types: (old_uid_t *, old_uid_t *, old_uid_t *) args: (ruid, euid, suid) -syscall sys_poll nr 168 nbargs 3 types: (struct pollfd *, unsigned int, long) args: (ufds, nfds, timeout_msecs) -syscall sys_setresgid16 nr 170 nbargs 3 types: (old_gid_t, old_gid_t, old_gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid16 nr 171 nbargs 3 types: (old_gid_t *, old_gid_t *, old_gid_t *) args: (rgid, egid, sgid) -syscall sys_prctl nr 172 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_rt_sigaction nr 174 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 175 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 176 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) -syscall sys_rt_sigtimedwait nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 178 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 179 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_chown16 nr 182 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) -syscall sys_getcwd nr 183 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_capget nr 184 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 185 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_getrlimit nr 191 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_mmap_pgoff nr 192 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) -syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) -syscall sys_lchown nr 198 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_getuid nr 199 nbargs 0 types: () args: () -syscall sys_getgid nr 200 nbargs 0 types: () args: () -syscall sys_geteuid nr 201 nbargs 0 types: () args: () -syscall sys_getegid nr 202 nbargs 0 types: () args: () -syscall sys_setreuid nr 203 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 204 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_getgroups nr 205 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 206 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_fchown nr 207 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_setresuid nr 208 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 209 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) -syscall sys_setresgid nr 210 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 211 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) -syscall sys_chown nr 212 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_setuid nr 213 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setgid nr 214 nbargs 1 types: (gid_t) args: (gid) -syscall sys_setfsuid nr 215 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 216 nbargs 1 types: (gid_t) args: (gid) -syscall sys_pivot_root nr 217 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_mincore nr 218 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 219 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_getdents64 nr 220 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_fcntl64 nr 221 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_gettid nr 224 nbargs 0 types: () args: () -syscall sys_setxattr nr 226 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 227 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 228 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 229 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 230 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 231 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 232 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 233 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 234 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 235 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 236 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 237 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 238 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_sendfile64 nr 239 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_futex nr 240 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_setaffinity nr 241 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 242 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_io_setup nr 245 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 246 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 247 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 248 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 249 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_exit_group nr 252 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 254 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 255 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 256 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 257 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_set_tid_address nr 258 nbargs 1 types: (int *) args: (tidptr) -syscall sys_timer_create nr 259 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 260 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 261 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 262 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 263 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 264 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 265 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 266 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 267 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_statfs64 nr 268 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) -syscall sys_fstatfs64 nr 269 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) -syscall sys_tgkill nr 270 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 271 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_mq_open nr 277 nbargs 4 types: (const char *, int, mode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) -syscall sys_mq_unlink nr 278 nbargs 1 types: (const char *) args: (u_name) -syscall sys_mq_timedsend nr 279 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 280 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_mq_notify nr 281 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) -syscall sys_mq_getsetattr nr 282 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) -syscall sys_kexec_load nr 283 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) -syscall sys_waitid nr 284 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_add_key nr 286 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) -syscall sys_request_key nr 287 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) -syscall sys_keyctl nr 288 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_ioprio_set nr 289 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 290 nbargs 2 types: (int, int) args: (which, who) -syscall sys_inotify_init nr 291 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 292 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 293 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_openat nr 295 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 296 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, mode) -syscall sys_mknodat nr 297 nbargs 4 types: (int, const char *, int, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 298 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 299 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_fstatat64 nr 300 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 301 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 302 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 303 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 304 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 305 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 306 nbargs 3 types: (int, const char *, mode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 307 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6 nr 308 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 309 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 310 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_set_robust_list nr 311 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 312 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_splice nr 313 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 315 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_vmsplice nr 316 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_getcpu nr 318 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_epoll_pwait nr 319 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_utimensat nr 320 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 321 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_timerfd_create nr 322 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_eventfd nr 323 nbargs 1 types: (unsigned int) args: (count) -syscall sys_timerfd_settime nr 325 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 326 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_signalfd4 nr 327 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 328 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 329 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 330 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 331 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 332 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 333 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 334 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 335 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 336 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_recvmmsg nr 337 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_fanotify_init nr 338 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) -syscall sys_prlimit64 nr 340 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_clock_adjtime nr 343 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 344 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 345 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 346 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls b/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls new file mode 100644 index 00000000..5db1a4f1 --- /dev/null +++ b/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls @@ -0,0 +1,289 @@ +syscall sys_read nr 0 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 1 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 2 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 3 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_newstat nr 4 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 5 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_newlstat nr 6 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_poll nr 7 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_lseek nr 8 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) +syscall sys_mmap nr 9 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, off) +syscall sys_mprotect nr 10 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_munmap nr 11 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_brk nr 12 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_rt_sigaction nr 13 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 14 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_ioctl nr 16 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_pread64 nr 17 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 18 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_readv nr 19 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 20 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_access nr 21 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_pipe nr 22 nbargs 1 types: (int *) args: (fildes) +syscall sys_select nr 23 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_sched_yield nr 24 nbargs 0 types: () args: () +syscall sys_mremap nr 25 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_msync nr 26 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_mincore nr 27 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 28 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_shmget nr 29 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) +syscall sys_shmat nr 30 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) +syscall sys_shmctl nr 31 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) +syscall sys_dup nr 32 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_dup2 nr 33 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_pause nr 34 nbargs 0 types: () args: () +syscall sys_nanosleep nr 35 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_getitimer nr 36 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_alarm nr 37 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_setitimer nr 38 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getpid nr 39 nbargs 0 types: () args: () +syscall sys_sendfile64 nr 40 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_socket nr 41 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_connect nr 42 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_accept nr 43 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_sendto nr 44 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_recvfrom nr 45 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_sendmsg nr 46 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmsg nr 47 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_shutdown nr 48 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_bind nr 49 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_listen nr 50 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_getsockname nr 51 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 52 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_socketpair nr 53 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_setsockopt nr 54 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_getsockopt nr 55 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_exit nr 60 nbargs 1 types: (int) args: (error_code) +syscall sys_wait4 nr 61 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_kill nr 62 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_newuname nr 63 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_semget nr 64 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) +syscall sys_semop nr 65 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) +syscall sys_semctl nr 66 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) +syscall sys_shmdt nr 67 nbargs 1 types: (char *) args: (shmaddr) +syscall sys_msgget nr 68 nbargs 2 types: (key_t, int) args: (key, msgflg) +syscall sys_msgsnd nr 69 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_msgrcv nr 70 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_msgctl nr 71 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) +syscall sys_fcntl nr 72 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_flock nr 73 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_fsync nr 74 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_fdatasync nr 75 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_truncate nr 76 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 77 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_getdents nr 78 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_getcwd nr 79 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_chdir nr 80 nbargs 1 types: (const char *) args: (filename) +syscall sys_fchdir nr 81 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_rename nr 82 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 83 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 84 nbargs 1 types: (const char *) args: (pathname) +syscall sys_creat nr 85 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 86 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 87 nbargs 1 types: (const char *) args: (pathname) +syscall sys_symlink nr 88 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 89 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_chmod nr 90 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_fchmod nr 91 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_chown nr 92 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_fchown nr 93 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_lchown nr 94 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_umask nr 95 nbargs 1 types: (int) args: (mask) +syscall sys_gettimeofday nr 96 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getrlimit nr 97 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 98 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_sysinfo nr 99 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_times nr 100 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_ptrace nr 101 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_getuid nr 102 nbargs 0 types: () args: () +syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_getgid nr 104 nbargs 0 types: () args: () +syscall sys_setuid nr 105 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setgid nr 106 nbargs 1 types: (gid_t) args: (gid) +syscall sys_geteuid nr 107 nbargs 0 types: () args: () +syscall sys_getegid nr 108 nbargs 0 types: () args: () +syscall sys_setpgid nr 109 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_getppid nr 110 nbargs 0 types: () args: () +syscall sys_getpgrp nr 111 nbargs 0 types: () args: () +syscall sys_setsid nr 112 nbargs 0 types: () args: () +syscall sys_setreuid nr 113 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 114 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_getgroups nr 115 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 116 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setresuid nr 117 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 118 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_setresgid nr 119 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 120 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_getpgid nr 121 nbargs 1 types: (pid_t) args: (pid) +syscall sys_setfsuid nr 122 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 123 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getsid nr 124 nbargs 1 types: (pid_t) args: (pid) +syscall sys_capget nr 125 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 126 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_rt_sigpending nr 127 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) +syscall sys_rt_sigtimedwait nr 128 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 129 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 130 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_sigaltstack nr 131 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_utime nr 132 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_mknod nr 133 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_personality nr 135 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_ustat nr 136 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_statfs nr 137 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 138 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_sysfs nr 139 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_getpriority nr 140 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 141 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_sched_setparam nr 142 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 143 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 144 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 145 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_get_priority_max nr 146 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 147 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 148 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_mlock nr 149 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 151 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 152 nbargs 0 types: () args: () +syscall sys_vhangup nr 153 nbargs 0 types: () args: () +syscall sys_pivot_root nr 155 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_sysctl nr 156 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_prctl nr 157 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_adjtimex nr 159 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_setrlimit nr 160 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_chroot nr 161 nbargs 1 types: (const char *) args: (filename) +syscall sys_sync nr 162 nbargs 0 types: () args: () +syscall sys_acct nr 163 nbargs 1 types: (const char *) args: (name) +syscall sys_settimeofday nr 164 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_mount nr 165 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_umount nr 166 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_swapon nr 167 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_swapoff nr 168 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_reboot nr 169 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_sethostname nr 170 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setdomainname nr 171 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_init_module nr 175 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 176 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_quotactl nr 179 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_gettid nr 186 nbargs 0 types: () args: () +syscall sys_readahead nr 187 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +syscall sys_setxattr nr 188 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 189 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 190 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 191 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 192 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 193 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 194 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 195 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 196 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 197 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 198 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 199 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 200 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_time nr 201 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_futex nr 202 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_setaffinity nr 203 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 204 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_io_setup nr 206 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 207 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 208 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 209 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 210 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_lookup_dcookie nr 212 nbargs 3 types: (u64, char *, size_t) args: (cookie64, buf, len) +syscall sys_epoll_create nr 213 nbargs 1 types: (int) args: (size) +syscall sys_remap_file_pages nr 216 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_getdents64 nr 217 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_set_tid_address nr 218 nbargs 1 types: (int *) args: (tidptr) +syscall sys_restart_syscall nr 219 nbargs 0 types: () args: () +syscall sys_semtimedop nr 220 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_fadvise64 nr 221 nbargs 4 types: (int, loff_t, size_t, int) args: (fd, offset, len, advice) +syscall sys_timer_create nr 222 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 223 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 224 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 225 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 226 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 227 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 228 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 229 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 230 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_exit_group nr 231 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_wait nr 232 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_epoll_ctl nr 233 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_tgkill nr 234 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 235 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_mbind nr 237 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long *, unsigned long, unsigned) args: (start, len, mode, nmask, maxnode, flags) +syscall sys_set_mempolicy nr 238 nbargs 3 types: (int, unsigned long *, unsigned long) args: (mode, nmask, maxnode) +syscall sys_get_mempolicy nr 239 nbargs 5 types: (int *, unsigned long *, unsigned long, unsigned long, unsigned long) args: (policy, nmask, maxnode, addr, flags) +syscall sys_mq_open nr 240 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) +syscall sys_mq_unlink nr 241 nbargs 1 types: (const char *) args: (u_name) +syscall sys_mq_timedsend nr 242 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 243 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_mq_notify nr 244 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) +syscall sys_mq_getsetattr nr 245 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) +syscall sys_kexec_load nr 246 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) +syscall sys_waitid nr 247 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_add_key nr 248 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) +syscall sys_request_key nr 249 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) +syscall sys_keyctl nr 250 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_ioprio_set nr 251 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 252 nbargs 2 types: (int, int) args: (which, who) +syscall sys_inotify_init nr 253 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 254 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 255 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_migrate_pages nr 256 nbargs 4 types: (pid_t, unsigned long, const unsigned long *, const unsigned long *) args: (pid, maxnode, old_nodes, new_nodes) +syscall sys_openat nr 257 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 258 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 259 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 260 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 261 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_newfstatat nr 262 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 263 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 264 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 265 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 266 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 267 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 268 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 269 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 270 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 271 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 272 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_set_robust_list nr 273 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 274 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_splice nr 275 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 276 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_sync_file_range nr 277 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) +syscall sys_vmsplice nr 278 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_move_pages nr 279 nbargs 6 types: (pid_t, unsigned long, const void * *, const int *, int *, int) args: (pid, nr_pages, pages, nodes, status, flags) +syscall sys_utimensat nr 280 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_epoll_pwait nr 281 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_signalfd nr 282 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_timerfd_create nr 283 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_eventfd nr 284 nbargs 1 types: (unsigned int) args: (count) +syscall sys_fallocate nr 285 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_timerfd_settime nr 286 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 287 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_accept4 nr 288 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_signalfd4 nr 289 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 290 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 291 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 292 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 293 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 294 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 295 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 296 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 297 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 298 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_recvmmsg nr 299 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_fanotify_init nr 300 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) +syscall sys_fanotify_mark nr 301 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) +syscall sys_prlimit64 nr 302 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_name_to_handle_at nr 303 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 304 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 305 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 306 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 307 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 308 nbargs 2 types: (int, int) args: (fd, nstype) +syscall sys_getcpu nr 309 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_process_vm_readv nr 310 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_process_vm_writev nr 311 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_finit_module nr 313 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) diff --git a/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls-3.10.0-rc7 b/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls-3.10.0-rc7 deleted file mode 100644 index 5db1a4f1..00000000 --- a/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls-3.10.0-rc7 +++ /dev/null @@ -1,289 +0,0 @@ -syscall sys_read nr 0 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 1 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 2 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 3 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_newstat nr 4 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 5 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_newlstat nr 6 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_poll nr 7 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) -syscall sys_lseek nr 8 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) -syscall sys_mmap nr 9 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, off) -syscall sys_mprotect nr 10 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_munmap nr 11 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_brk nr 12 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_rt_sigaction nr 13 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 14 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_ioctl nr 16 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_pread64 nr 17 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_pwrite64 nr 18 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_readv nr 19 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 20 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_access nr 21 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_pipe nr 22 nbargs 1 types: (int *) args: (fildes) -syscall sys_select nr 23 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_sched_yield nr 24 nbargs 0 types: () args: () -syscall sys_mremap nr 25 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_msync nr 26 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_mincore nr 27 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 28 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_shmget nr 29 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) -syscall sys_shmat nr 30 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) -syscall sys_shmctl nr 31 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) -syscall sys_dup nr 32 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_dup2 nr 33 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_pause nr 34 nbargs 0 types: () args: () -syscall sys_nanosleep nr 35 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_getitimer nr 36 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_alarm nr 37 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_setitimer nr 38 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getpid nr 39 nbargs 0 types: () args: () -syscall sys_sendfile64 nr 40 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_socket nr 41 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_connect nr 42 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_accept nr 43 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_sendto nr 44 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_recvfrom nr 45 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_sendmsg nr 46 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmsg nr 47 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_shutdown nr 48 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_bind nr 49 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_listen nr 50 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_getsockname nr 51 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 52 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_socketpair nr 53 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_setsockopt nr 54 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_getsockopt nr 55 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_exit nr 60 nbargs 1 types: (int) args: (error_code) -syscall sys_wait4 nr 61 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_kill nr 62 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_newuname nr 63 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_semget nr 64 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) -syscall sys_semop nr 65 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) -syscall sys_semctl nr 66 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) -syscall sys_shmdt nr 67 nbargs 1 types: (char *) args: (shmaddr) -syscall sys_msgget nr 68 nbargs 2 types: (key_t, int) args: (key, msgflg) -syscall sys_msgsnd nr 69 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_msgrcv nr 70 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_msgctl nr 71 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) -syscall sys_fcntl nr 72 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_flock nr 73 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_fsync nr 74 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_fdatasync nr 75 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_truncate nr 76 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 77 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_getdents nr 78 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_getcwd nr 79 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_chdir nr 80 nbargs 1 types: (const char *) args: (filename) -syscall sys_fchdir nr 81 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_rename nr 82 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 83 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 84 nbargs 1 types: (const char *) args: (pathname) -syscall sys_creat nr 85 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 86 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 87 nbargs 1 types: (const char *) args: (pathname) -syscall sys_symlink nr 88 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 89 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_chmod nr 90 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_fchmod nr 91 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_chown nr 92 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_fchown nr 93 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_lchown nr 94 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_umask nr 95 nbargs 1 types: (int) args: (mask) -syscall sys_gettimeofday nr 96 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getrlimit nr 97 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 98 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_sysinfo nr 99 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_times nr 100 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_ptrace nr 101 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_getuid nr 102 nbargs 0 types: () args: () -syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_getgid nr 104 nbargs 0 types: () args: () -syscall sys_setuid nr 105 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setgid nr 106 nbargs 1 types: (gid_t) args: (gid) -syscall sys_geteuid nr 107 nbargs 0 types: () args: () -syscall sys_getegid nr 108 nbargs 0 types: () args: () -syscall sys_setpgid nr 109 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_getppid nr 110 nbargs 0 types: () args: () -syscall sys_getpgrp nr 111 nbargs 0 types: () args: () -syscall sys_setsid nr 112 nbargs 0 types: () args: () -syscall sys_setreuid nr 113 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 114 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_getgroups nr 115 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 116 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setresuid nr 117 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 118 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) -syscall sys_setresgid nr 119 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 120 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) -syscall sys_getpgid nr 121 nbargs 1 types: (pid_t) args: (pid) -syscall sys_setfsuid nr 122 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 123 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getsid nr 124 nbargs 1 types: (pid_t) args: (pid) -syscall sys_capget nr 125 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 126 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_rt_sigpending nr 127 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) -syscall sys_rt_sigtimedwait nr 128 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 129 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 130 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_sigaltstack nr 131 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_utime nr 132 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_mknod nr 133 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_personality nr 135 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_ustat nr 136 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_statfs nr 137 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 138 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_sysfs nr 139 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_getpriority nr 140 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 141 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_sched_setparam nr 142 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 143 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 144 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 145 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_get_priority_max nr 146 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 147 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 148 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_mlock nr 149 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 151 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 152 nbargs 0 types: () args: () -syscall sys_vhangup nr 153 nbargs 0 types: () args: () -syscall sys_pivot_root nr 155 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_sysctl nr 156 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_prctl nr 157 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_adjtimex nr 159 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_setrlimit nr 160 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_chroot nr 161 nbargs 1 types: (const char *) args: (filename) -syscall sys_sync nr 162 nbargs 0 types: () args: () -syscall sys_acct nr 163 nbargs 1 types: (const char *) args: (name) -syscall sys_settimeofday nr 164 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_mount nr 165 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_umount nr 166 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_swapon nr 167 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_swapoff nr 168 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_reboot nr 169 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_sethostname nr 170 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setdomainname nr 171 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_init_module nr 175 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 176 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_quotactl nr 179 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_gettid nr 186 nbargs 0 types: () args: () -syscall sys_readahead nr 187 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) -syscall sys_setxattr nr 188 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 189 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 190 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 191 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 192 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 193 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 194 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 195 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 196 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 197 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 198 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 199 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 200 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_time nr 201 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_futex nr 202 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_setaffinity nr 203 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 204 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_io_setup nr 206 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 207 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 208 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 209 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 210 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_lookup_dcookie nr 212 nbargs 3 types: (u64, char *, size_t) args: (cookie64, buf, len) -syscall sys_epoll_create nr 213 nbargs 1 types: (int) args: (size) -syscall sys_remap_file_pages nr 216 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_getdents64 nr 217 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_set_tid_address nr 218 nbargs 1 types: (int *) args: (tidptr) -syscall sys_restart_syscall nr 219 nbargs 0 types: () args: () -syscall sys_semtimedop nr 220 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_fadvise64 nr 221 nbargs 4 types: (int, loff_t, size_t, int) args: (fd, offset, len, advice) -syscall sys_timer_create nr 222 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 223 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 224 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 225 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 226 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 227 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 228 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 229 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 230 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_exit_group nr 231 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_wait nr 232 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_epoll_ctl nr 233 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_tgkill nr 234 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 235 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_mbind nr 237 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long *, unsigned long, unsigned) args: (start, len, mode, nmask, maxnode, flags) -syscall sys_set_mempolicy nr 238 nbargs 3 types: (int, unsigned long *, unsigned long) args: (mode, nmask, maxnode) -syscall sys_get_mempolicy nr 239 nbargs 5 types: (int *, unsigned long *, unsigned long, unsigned long, unsigned long) args: (policy, nmask, maxnode, addr, flags) -syscall sys_mq_open nr 240 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) -syscall sys_mq_unlink nr 241 nbargs 1 types: (const char *) args: (u_name) -syscall sys_mq_timedsend nr 242 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 243 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_mq_notify nr 244 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) -syscall sys_mq_getsetattr nr 245 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) -syscall sys_kexec_load nr 246 nbargs 4 types: (unsigned long, unsigned long, struct kexec_segment *, unsigned long) args: (entry, nr_segments, segments, flags) -syscall sys_waitid nr 247 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_add_key nr 248 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) -syscall sys_request_key nr 249 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) -syscall sys_keyctl nr 250 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_ioprio_set nr 251 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 252 nbargs 2 types: (int, int) args: (which, who) -syscall sys_inotify_init nr 253 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 254 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 255 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_migrate_pages nr 256 nbargs 4 types: (pid_t, unsigned long, const unsigned long *, const unsigned long *) args: (pid, maxnode, old_nodes, new_nodes) -syscall sys_openat nr 257 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 258 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 259 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 260 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 261 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_newfstatat nr 262 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 263 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 264 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 265 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 266 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 267 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 268 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 269 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6 nr 270 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 271 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 272 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_set_robust_list nr 273 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 274 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_splice nr 275 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 276 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_sync_file_range nr 277 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) -syscall sys_vmsplice nr 278 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_move_pages nr 279 nbargs 6 types: (pid_t, unsigned long, const void * *, const int *, int *, int) args: (pid, nr_pages, pages, nodes, status, flags) -syscall sys_utimensat nr 280 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_epoll_pwait nr 281 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_signalfd nr 282 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_timerfd_create nr 283 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_eventfd nr 284 nbargs 1 types: (unsigned int) args: (count) -syscall sys_fallocate nr 285 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) -syscall sys_timerfd_settime nr 286 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 287 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_accept4 nr 288 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_signalfd4 nr 289 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 290 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 291 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 292 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 293 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 294 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 295 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 296 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 297 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 298 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_recvmmsg nr 299 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_fanotify_init nr 300 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) -syscall sys_fanotify_mark nr 301 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) -syscall sys_prlimit64 nr 302 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_name_to_handle_at nr 303 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) -syscall sys_open_by_handle_at nr 304 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime nr 305 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 306 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 307 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 308 nbargs 2 types: (int, int) args: (fd, nstype) -syscall sys_getcpu nr 309 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_process_vm_readv nr 310 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_process_vm_writev nr 311 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_finit_module nr 313 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) diff --git a/instrumentation/syscalls/3.13.0/mips-32-syscalls b/instrumentation/syscalls/3.13.0/mips-32-syscalls new file mode 100644 index 00000000..e815a989 --- /dev/null +++ b/instrumentation/syscalls/3.13.0/mips-32-syscalls @@ -0,0 +1,283 @@ +syscall sys_exit nr 4001 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 4003 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4004 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 4005 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 4006 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 4008 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 4009 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 4010 nbargs 1 types: (const char *) args: (pathname) +syscall sys_execve nr 4011 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_chdir nr 4012 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 4013 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 4014 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 4015 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_lchown nr 4016 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_lseek nr 4019 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) +syscall sys_getpid nr 4020 nbargs 0 types: () args: () +syscall sys_mount nr 4021 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) +syscall sys_setuid nr 4023 nbargs 1 types: (uid_t) args: (uid) +syscall sys_getuid nr 4024 nbargs 0 types: () args: () +syscall sys_stime nr 4025 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 4026 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 4027 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_pause nr 4029 nbargs 0 types: () args: () +syscall sys_utime nr 4030 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 4033 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 4036 nbargs 0 types: () args: () +syscall sys_kill nr 4037 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 4038 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 4039 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 4040 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 4041 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_times nr 4043 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 4045 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid nr 4046 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getgid nr 4047 nbargs 0 types: () args: () +syscall sys_geteuid nr 4049 nbargs 0 types: () args: () +syscall sys_getegid nr 4050 nbargs 0 types: () args: () +syscall sys_umount nr 4052 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 4054 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 4055 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 4057 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 4060 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 4061 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 4062 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 4063 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 4064 nbargs 0 types: () args: () +syscall sys_getpgrp nr 4065 nbargs 0 types: () args: () +syscall sys_setsid nr 4066 nbargs 0 types: () args: () +syscall sys_sigaction nr 4067 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) +syscall sys_sgetmask nr 4068 nbargs 0 types: () args: () +syscall sys_ssetmask nr 4069 nbargs 1 types: (int) args: (newmask) +syscall sys_setreuid nr 4070 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 4071 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_sigsuspend nr 4072 nbargs 1 types: (sigset_t *) args: (uset) +syscall sys_sigpending nr 4073 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 4074 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 4075 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrlimit nr 4076 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 4077 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 4078 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 4079 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups nr 4080 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 4081 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 4083 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 4085 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_uselib nr 4086 nbargs 1 types: (const char *) args: (library) +syscall sys_reboot nr 4088 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 4089 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_mips_mmap nr 4090 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) +syscall sys_munmap nr 4091 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 4092 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 4093 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 4094 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchown nr 4095 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_getpriority nr 4096 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 4097 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 4099 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 4100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 4102 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 4103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 4104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 4105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 4106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 4107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 4108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 4111 nbargs 0 types: () args: () +syscall sys_wait4 nr 4114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_sysinfo nr 4116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 4117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 4118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 4121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 4122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 4124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 4125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 4126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 4128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 4129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_getpgid nr 4132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 4133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_sysfs nr 4135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_personality nr 4136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid nr 4138 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 4139 nbargs 1 types: (gid_t) args: (gid) +syscall sys_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, whence) +syscall sys_getdents nr 4141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 4142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 4143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 4144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 4145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 4146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_cacheflush nr 4147 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) +syscall sys_cachectl nr 4148 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) +syscall sys_sysmips nr 4149 nbargs 3 types: (long, long, long) args: (cmd, arg1, arg2) +syscall sys_getsid nr 4151 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 4152 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 4153 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 4154 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 4155 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 4156 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 4157 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 4158 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 4159 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 4160 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 4161 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 4162 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 4163 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 4164 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 4165 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 4166 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 4167 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_accept nr 4168 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_bind nr 4169 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 4170 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_getpeername nr 4171 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockname nr 4172 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockopt nr 4173 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_listen nr 4174 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_recvfrom nr 4176 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_recvmsg nr 4177 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) +syscall sys_sendmsg nr 4179 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_sendto nr 4180 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_setsockopt nr 4181 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_shutdown nr 4182 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_socket nr 4183 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_socketpair nr 4184 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_setresuid nr 4185 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 4186 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_poll nr 4188 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_setresgid nr 4190 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 4191 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_prctl nr 4192 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 4194 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 4195 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 4196 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) +syscall sys_rt_sigtimedwait nr 4197 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 4198 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 4199 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_pread64 nr 4200 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 4201 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_chown nr 4202 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getcwd nr 4203 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 4204 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 4205 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sigaltstack nr 4206 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_sendfile nr 4207 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) +syscall sys_truncate64 nr 4211 nbargs 2 types: (const char *, loff_t) args: (path, length) +syscall sys_ftruncate64 nr 4212 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) +syscall sys_stat64 nr 4213 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 4214 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 4215 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_pivot_root nr 4216 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_mincore nr 4217 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 4218 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_getdents64 nr 4219 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_fcntl64 nr 4220 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_gettid nr 4222 nbargs 0 types: () args: () +syscall sys_readahead nr 4223 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +syscall sys_setxattr nr 4224 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 4225 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 4226 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 4227 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 4228 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 4229 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 4230 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 4231 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 4232 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 4233 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 4234 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 4235 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 4236 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_sendfile64 nr 4237 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_futex nr 4238 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_io_setup nr 4241 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 4242 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 4243 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 4244 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 4245 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 4246 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 4248 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 4249 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 4250 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 4251 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 4252 nbargs 1 types: (int *) args: (tidptr) +syscall sys_restart_syscall nr 4253 nbargs 0 types: () args: () +syscall sys_fadvise64_64 nr 4254 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) +syscall sys_statfs64 nr 4255 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 4256 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_timer_create nr 4257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 4258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 4259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 4260 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 4261 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 4262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 4263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 4264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 4265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_tgkill nr 4266 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 4267 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_waitid nr 4278 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_set_thread_area nr 4283 nbargs 1 types: (unsigned long) args: (addr) +syscall sys_inotify_init nr 4284 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 4285 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 4286 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 4288 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 4289 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 4290 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 4291 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 4292 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 4293 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 4294 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 4295 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 4296 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 4297 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 4298 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 4299 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 4300 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 4301 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 4302 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 4303 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_splice nr 4304 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_sync_file_range nr 4305 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) +syscall sys_tee nr 4306 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 4307 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_set_robust_list nr 4309 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 4310 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_getcpu nr 4312 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 4313 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_ioprio_set nr 4314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 4315 nbargs 2 types: (int, int) args: (which, who) +syscall sys_utimensat nr 4316 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 4317 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_eventfd nr 4319 nbargs 1 types: (unsigned int) args: (count) +syscall sys_fallocate nr 4320 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_timerfd_create nr 4321 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_timerfd_gettime nr 4322 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 4323 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_signalfd4 nr 4324 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 4325 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 4326 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 4327 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 4328 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 4329 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 4330 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 4331 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 4332 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 4333 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_accept4 nr 4334 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_recvmmsg nr 4335 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_prlimit64 nr 4338 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_name_to_handle_at nr 4339 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 4340 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 4341 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 4342 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 4343 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 4344 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.13.0/mips-32-syscalls-3.13.0 b/instrumentation/syscalls/3.13.0/mips-32-syscalls-3.13.0 deleted file mode 100644 index e815a989..00000000 --- a/instrumentation/syscalls/3.13.0/mips-32-syscalls-3.13.0 +++ /dev/null @@ -1,283 +0,0 @@ -syscall sys_exit nr 4001 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 4003 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4004 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 4005 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 4006 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_creat nr 4008 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 4009 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 4010 nbargs 1 types: (const char *) args: (pathname) -syscall sys_execve nr 4011 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -syscall sys_chdir nr 4012 nbargs 1 types: (const char *) args: (filename) -syscall sys_time nr 4013 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_mknod nr 4014 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 4015 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_lchown nr 4016 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_lseek nr 4019 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) -syscall sys_getpid nr 4020 nbargs 0 types: () args: () -syscall sys_mount nr 4021 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) -syscall sys_setuid nr 4023 nbargs 1 types: (uid_t) args: (uid) -syscall sys_getuid nr 4024 nbargs 0 types: () args: () -syscall sys_stime nr 4025 nbargs 1 types: (time_t *) args: (tptr) -syscall sys_ptrace nr 4026 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_alarm nr 4027 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_pause nr 4029 nbargs 0 types: () args: () -syscall sys_utime nr 4030 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_access nr 4033 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 4036 nbargs 0 types: () args: () -syscall sys_kill nr 4037 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 4038 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 4039 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 4040 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 4041 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_times nr 4043 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 4045 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid nr 4046 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getgid nr 4047 nbargs 0 types: () args: () -syscall sys_geteuid nr 4049 nbargs 0 types: () args: () -syscall sys_getegid nr 4050 nbargs 0 types: () args: () -syscall sys_umount nr 4052 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 4054 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 4055 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 4057 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_umask nr 4060 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 4061 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 4062 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 4063 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 4064 nbargs 0 types: () args: () -syscall sys_getpgrp nr 4065 nbargs 0 types: () args: () -syscall sys_setsid nr 4066 nbargs 0 types: () args: () -syscall sys_sigaction nr 4067 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) -syscall sys_sgetmask nr 4068 nbargs 0 types: () args: () -syscall sys_ssetmask nr 4069 nbargs 1 types: (int) args: (newmask) -syscall sys_setreuid nr 4070 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 4071 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_sigsuspend nr 4072 nbargs 1 types: (sigset_t *) args: (uset) -syscall sys_sigpending nr 4073 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 4074 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 4075 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrlimit nr 4076 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 4077 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 4078 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 4079 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups nr 4080 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 4081 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_symlink nr 4083 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 4085 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_uselib nr 4086 nbargs 1 types: (const char *) args: (library) -syscall sys_reboot nr 4088 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_old_readdir nr 4089 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_mips_mmap nr 4090 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) -syscall sys_munmap nr 4091 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 4092 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 4093 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 4094 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_fchown nr 4095 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_getpriority nr 4096 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 4097 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 4099 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 4100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_socketcall nr 4102 nbargs 2 types: (int, unsigned long *) args: (call, args) -syscall sys_syslog nr 4103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 4104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 4105 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 4106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 4107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 4108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_vhangup nr 4111 nbargs 0 types: () args: () -syscall sys_wait4 nr 4114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_sysinfo nr 4116 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_ipc nr 4117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) -syscall sys_fsync nr 4118 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 4121 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 4122 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 4124 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 4125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 4126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 4128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 4129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_getpgid nr 4132 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 4133 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_sysfs nr 4135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_personality nr 4136 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid nr 4138 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 4139 nbargs 1 types: (gid_t) args: (gid) -syscall sys_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, whence) -syscall sys_getdents nr 4141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 4142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 4143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 4144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 4145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 4146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_cacheflush nr 4147 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) -syscall sys_cachectl nr 4148 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) -syscall sys_sysmips nr 4149 nbargs 3 types: (long, long, long) args: (cmd, arg1, arg2) -syscall sys_getsid nr 4151 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 4152 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 4153 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 4154 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 4155 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 4156 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 4157 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 4158 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 4159 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 4160 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 4161 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 4162 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 4163 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 4164 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 4165 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 4166 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 4167 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_accept nr 4168 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_bind nr 4169 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 4170 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_getpeername nr 4171 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getsockname nr 4172 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getsockopt nr 4173 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_listen nr 4174 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_recvfrom nr 4176 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_recvmsg nr 4177 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) -syscall sys_sendmsg nr 4179 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_sendto nr 4180 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_setsockopt nr 4181 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_shutdown nr 4182 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_socket nr 4183 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_socketpair nr 4184 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_setresuid nr 4185 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 4186 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) -syscall sys_poll nr 4188 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) -syscall sys_setresgid nr 4190 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 4191 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) -syscall sys_prctl nr 4192 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_rt_sigaction nr 4194 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 4195 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 4196 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) -syscall sys_rt_sigtimedwait nr 4197 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 4198 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 4199 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_pread64 nr 4200 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_pwrite64 nr 4201 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_chown nr 4202 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_getcwd nr 4203 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_capget nr 4204 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 4205 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_sigaltstack nr 4206 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_sendfile nr 4207 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) -syscall sys_truncate64 nr 4211 nbargs 2 types: (const char *, loff_t) args: (path, length) -syscall sys_ftruncate64 nr 4212 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) -syscall sys_stat64 nr 4213 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_lstat64 nr 4214 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_fstat64 nr 4215 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) -syscall sys_pivot_root nr 4216 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_mincore nr 4217 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 4218 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_getdents64 nr 4219 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_fcntl64 nr 4220 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_gettid nr 4222 nbargs 0 types: () args: () -syscall sys_readahead nr 4223 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) -syscall sys_setxattr nr 4224 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 4225 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 4226 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 4227 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 4228 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 4229 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 4230 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 4231 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 4232 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 4233 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 4234 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 4235 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 4236 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_sendfile64 nr 4237 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_futex nr 4238 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_io_setup nr 4241 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 4242 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 4243 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 4244 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 4245 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_exit_group nr 4246 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 4248 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 4249 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 4250 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 4251 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_set_tid_address nr 4252 nbargs 1 types: (int *) args: (tidptr) -syscall sys_restart_syscall nr 4253 nbargs 0 types: () args: () -syscall sys_fadvise64_64 nr 4254 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) -syscall sys_statfs64 nr 4255 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) -syscall sys_fstatfs64 nr 4256 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) -syscall sys_timer_create nr 4257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 4258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 4259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 4260 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 4261 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 4262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 4263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 4264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 4265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_tgkill nr 4266 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 4267 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_waitid nr 4278 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_set_thread_area nr 4283 nbargs 1 types: (unsigned long) args: (addr) -syscall sys_inotify_init nr 4284 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 4285 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 4286 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_openat nr 4288 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 4289 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 4290 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 4291 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 4292 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_fstatat64 nr 4293 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 4294 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 4295 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 4296 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 4297 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 4298 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 4299 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 4300 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6 nr 4301 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 4302 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 4303 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_splice nr 4304 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_sync_file_range nr 4305 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) -syscall sys_tee nr 4306 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_vmsplice nr 4307 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_set_robust_list nr 4309 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 4310 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_getcpu nr 4312 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_epoll_pwait nr 4313 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_ioprio_set nr 4314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 4315 nbargs 2 types: (int, int) args: (which, who) -syscall sys_utimensat nr 4316 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 4317 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_eventfd nr 4319 nbargs 1 types: (unsigned int) args: (count) -syscall sys_fallocate nr 4320 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) -syscall sys_timerfd_create nr 4321 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_timerfd_gettime nr 4322 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_timerfd_settime nr 4323 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_signalfd4 nr 4324 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 4325 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 4326 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 4327 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 4328 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 4329 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 4330 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 4331 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 4332 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 4333 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_accept4 nr 4334 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_recvmmsg nr 4335 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_prlimit64 nr 4338 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_name_to_handle_at nr 4339 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) -syscall sys_open_by_handle_at nr 4340 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime nr 4341 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 4342 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 4343 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 4344 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.18.0/mips-32-syscalls b/instrumentation/syscalls/3.18.0/mips-32-syscalls new file mode 100644 index 00000000..d0b35a67 --- /dev/null +++ b/instrumentation/syscalls/3.18.0/mips-32-syscalls @@ -0,0 +1,287 @@ +syscall sys_exit nr 4001 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 4003 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4004 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 4005 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 4006 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 4008 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 4009 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 4010 nbargs 1 types: (const char *) args: (pathname) +syscall sys_execve nr 4011 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_chdir nr 4012 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 4013 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 4014 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 4015 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_lchown nr 4016 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_lseek nr 4019 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) +syscall sys_getpid nr 4020 nbargs 0 types: () args: () +syscall sys_mount nr 4021 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) +syscall sys_setuid nr 4023 nbargs 1 types: (uid_t) args: (uid) +syscall sys_getuid nr 4024 nbargs 0 types: () args: () +syscall sys_stime nr 4025 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 4026 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 4027 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_pause nr 4029 nbargs 0 types: () args: () +syscall sys_utime nr 4030 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 4033 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 4036 nbargs 0 types: () args: () +syscall sys_kill nr 4037 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 4038 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 4039 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 4040 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 4041 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_times nr 4043 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 4045 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid nr 4046 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getgid nr 4047 nbargs 0 types: () args: () +syscall sys_geteuid nr 4049 nbargs 0 types: () args: () +syscall sys_getegid nr 4050 nbargs 0 types: () args: () +syscall sys_umount nr 4052 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 4054 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 4055 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 4057 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 4060 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 4061 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 4062 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 4063 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 4064 nbargs 0 types: () args: () +syscall sys_getpgrp nr 4065 nbargs 0 types: () args: () +syscall sys_setsid nr 4066 nbargs 0 types: () args: () +syscall sys_sigaction nr 4067 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) +syscall sys_setreuid nr 4070 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 4071 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_sigsuspend nr 4072 nbargs 1 types: (sigset_t *) args: (uset) +syscall sys_sigpending nr 4073 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 4074 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 4075 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrlimit nr 4076 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 4077 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 4078 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 4079 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups nr 4080 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 4081 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 4083 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 4085 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_reboot nr 4088 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 4089 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_mmap nr 4090 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) +syscall sys_munmap nr 4091 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 4092 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 4093 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 4094 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchown nr 4095 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_getpriority nr 4096 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 4097 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 4099 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 4100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 4102 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 4103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 4104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 4105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 4106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 4107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 4108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 4111 nbargs 0 types: () args: () +syscall sys_wait4 nr 4114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_sysinfo nr 4116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 4117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 4118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 4121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 4122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 4124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 4125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 4126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 4128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 4129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_getpgid nr 4132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 4133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_personality nr 4136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid nr 4138 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 4139 nbargs 1 types: (gid_t) args: (gid) +syscall sys_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, whence) +syscall sys_getdents nr 4141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 4142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 4143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 4144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 4145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 4146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_cacheflush nr 4147 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) +syscall sys_cachectl nr 4148 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) +syscall sys_sysmips nr 4149 nbargs 3 types: (long, long, long) args: (cmd, arg1, arg2) +syscall sys_getsid nr 4151 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 4152 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 4153 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 4154 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 4155 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 4156 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 4157 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 4158 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 4159 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 4160 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 4161 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 4162 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 4163 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 4164 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 4165 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 4166 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 4167 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_accept nr 4168 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_bind nr 4169 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 4170 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_getpeername nr 4171 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockname nr 4172 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockopt nr 4173 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_listen nr 4174 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_recv nr 4175 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, ubuf, size, flags) +syscall sys_recvfrom nr 4176 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_recvmsg nr 4177 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) +syscall sys_sendmsg nr 4179 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_sendto nr 4180 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_setsockopt nr 4181 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_shutdown nr 4182 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_socket nr 4183 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_socketpair nr 4184 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_setresuid nr 4185 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 4186 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_poll nr 4188 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_setresgid nr 4190 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 4191 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_prctl nr 4192 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 4194 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 4195 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 4196 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) +syscall sys_rt_sigtimedwait nr 4197 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 4198 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 4199 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_pread64 nr 4200 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 4201 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_chown nr 4202 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getcwd nr 4203 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 4204 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 4205 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sigaltstack nr 4206 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_sendfile nr 4207 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) +syscall sys_truncate64 nr 4211 nbargs 2 types: (const char *, loff_t) args: (path, length) +syscall sys_ftruncate64 nr 4212 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) +syscall sys_stat64 nr 4213 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 4214 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 4215 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_pivot_root nr 4216 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_mincore nr 4217 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 4218 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_getdents64 nr 4219 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_fcntl64 nr 4220 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_gettid nr 4222 nbargs 0 types: () args: () +syscall sys_readahead nr 4223 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +syscall sys_setxattr nr 4224 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 4225 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 4226 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 4227 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 4228 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 4229 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 4230 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 4231 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 4232 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 4233 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 4234 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 4235 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 4236 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_sendfile64 nr 4237 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_futex nr 4238 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_io_setup nr 4241 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 4242 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 4243 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 4244 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 4245 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 4246 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 4248 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 4249 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 4250 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 4251 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 4252 nbargs 1 types: (int *) args: (tidptr) +syscall sys_restart_syscall nr 4253 nbargs 0 types: () args: () +syscall sys_fadvise64_64 nr 4254 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) +syscall sys_statfs64 nr 4255 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) +syscall sys_fstatfs64 nr 4256 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) +syscall sys_timer_create nr 4257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 4258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 4259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 4260 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 4261 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 4262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 4263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 4264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 4265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_tgkill nr 4266 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 4267 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_waitid nr 4278 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_set_thread_area nr 4283 nbargs 1 types: (unsigned long) args: (addr) +syscall sys_inotify_init nr 4284 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 4285 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 4286 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 4288 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 4289 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 4290 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 4291 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 4292 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 4293 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 4294 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 4295 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 4296 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 4297 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 4298 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 4299 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 4300 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 4301 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 4302 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 4303 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_splice nr 4304 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_sync_file_range nr 4305 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) +syscall sys_tee nr 4306 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 4307 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_set_robust_list nr 4309 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 4310 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_getcpu nr 4312 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 4313 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_ioprio_set nr 4314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 4315 nbargs 2 types: (int, int) args: (which, who) +syscall sys_utimensat nr 4316 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 4317 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_eventfd nr 4319 nbargs 1 types: (unsigned int) args: (count) +syscall sys_fallocate nr 4320 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_timerfd_create nr 4321 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_timerfd_gettime nr 4322 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 4323 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_signalfd4 nr 4324 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 4325 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 4326 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 4327 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 4328 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 4329 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 4330 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 4331 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 4332 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 4333 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_accept4 nr 4334 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_recvmmsg nr 4335 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_prlimit64 nr 4338 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_name_to_handle_at nr 4339 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 4340 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 4341 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 4342 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 4343 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 4344 nbargs 2 types: (int, int) args: (fd, nstype) +syscall sys_finit_module nr 4348 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 4349 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 4350 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, size, flags) +syscall sys_renameat2 nr 4351 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 4352 nbargs 3 types: (unsigned int, unsigned int, const char *) args: (op, flags, uargs) +syscall sys_getrandom nr 4353 nbargs 3 types: (char *, size_t, unsigned int) args: (buf, count, flags) +syscall sys_memfd_create nr 4354 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) diff --git a/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 b/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 deleted file mode 100644 index d0b35a67..00000000 --- a/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 +++ /dev/null @@ -1,287 +0,0 @@ -syscall sys_exit nr 4001 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 4003 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4004 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 4005 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 4006 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_creat nr 4008 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 4009 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 4010 nbargs 1 types: (const char *) args: (pathname) -syscall sys_execve nr 4011 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -syscall sys_chdir nr 4012 nbargs 1 types: (const char *) args: (filename) -syscall sys_time nr 4013 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_mknod nr 4014 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 4015 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_lchown nr 4016 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_lseek nr 4019 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) -syscall sys_getpid nr 4020 nbargs 0 types: () args: () -syscall sys_mount nr 4021 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) -syscall sys_setuid nr 4023 nbargs 1 types: (uid_t) args: (uid) -syscall sys_getuid nr 4024 nbargs 0 types: () args: () -syscall sys_stime nr 4025 nbargs 1 types: (time_t *) args: (tptr) -syscall sys_ptrace nr 4026 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_alarm nr 4027 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_pause nr 4029 nbargs 0 types: () args: () -syscall sys_utime nr 4030 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_access nr 4033 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 4036 nbargs 0 types: () args: () -syscall sys_kill nr 4037 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 4038 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 4039 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 4040 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 4041 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_times nr 4043 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 4045 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid nr 4046 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getgid nr 4047 nbargs 0 types: () args: () -syscall sys_geteuid nr 4049 nbargs 0 types: () args: () -syscall sys_getegid nr 4050 nbargs 0 types: () args: () -syscall sys_umount nr 4052 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 4054 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 4055 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 4057 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_umask nr 4060 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 4061 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 4062 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 4063 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 4064 nbargs 0 types: () args: () -syscall sys_getpgrp nr 4065 nbargs 0 types: () args: () -syscall sys_setsid nr 4066 nbargs 0 types: () args: () -syscall sys_sigaction nr 4067 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) -syscall sys_setreuid nr 4070 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 4071 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_sigsuspend nr 4072 nbargs 1 types: (sigset_t *) args: (uset) -syscall sys_sigpending nr 4073 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 4074 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 4075 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrlimit nr 4076 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 4077 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 4078 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 4079 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups nr 4080 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 4081 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_symlink nr 4083 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 4085 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_reboot nr 4088 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_old_readdir nr 4089 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_mmap nr 4090 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) -syscall sys_munmap nr 4091 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 4092 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 4093 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 4094 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_fchown nr 4095 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_getpriority nr 4096 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 4097 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 4099 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 4100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_socketcall nr 4102 nbargs 2 types: (int, unsigned long *) args: (call, args) -syscall sys_syslog nr 4103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 4104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 4105 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 4106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 4107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 4108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_vhangup nr 4111 nbargs 0 types: () args: () -syscall sys_wait4 nr 4114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_sysinfo nr 4116 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_ipc nr 4117 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) -syscall sys_fsync nr 4118 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 4121 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 4122 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 4124 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 4125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 4126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 4128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 4129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_getpgid nr 4132 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 4133 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_personality nr 4136 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid nr 4138 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 4139 nbargs 1 types: (gid_t) args: (gid) -syscall sys_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, whence) -syscall sys_getdents nr 4141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 4142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 4143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 4144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 4145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 4146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_cacheflush nr 4147 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) -syscall sys_cachectl nr 4148 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) -syscall sys_sysmips nr 4149 nbargs 3 types: (long, long, long) args: (cmd, arg1, arg2) -syscall sys_getsid nr 4151 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 4152 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 4153 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 4154 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 4155 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 4156 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 4157 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 4158 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 4159 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 4160 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 4161 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 4162 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 4163 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 4164 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 4165 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 4166 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 4167 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_accept nr 4168 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_bind nr 4169 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 4170 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_getpeername nr 4171 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getsockname nr 4172 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getsockopt nr 4173 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_listen nr 4174 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_recv nr 4175 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, ubuf, size, flags) -syscall sys_recvfrom nr 4176 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_recvmsg nr 4177 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) -syscall sys_sendmsg nr 4179 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_sendto nr 4180 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_setsockopt nr 4181 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_shutdown nr 4182 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_socket nr 4183 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_socketpair nr 4184 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_setresuid nr 4185 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 4186 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) -syscall sys_poll nr 4188 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) -syscall sys_setresgid nr 4190 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 4191 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) -syscall sys_prctl nr 4192 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_rt_sigaction nr 4194 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 4195 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 4196 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) -syscall sys_rt_sigtimedwait nr 4197 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 4198 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 4199 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_pread64 nr 4200 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_pwrite64 nr 4201 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_chown nr 4202 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_getcwd nr 4203 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_capget nr 4204 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 4205 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_sigaltstack nr 4206 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_sendfile nr 4207 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) -syscall sys_truncate64 nr 4211 nbargs 2 types: (const char *, loff_t) args: (path, length) -syscall sys_ftruncate64 nr 4212 nbargs 2 types: (unsigned int, loff_t) args: (fd, length) -syscall sys_stat64 nr 4213 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_lstat64 nr 4214 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_fstat64 nr 4215 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) -syscall sys_pivot_root nr 4216 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_mincore nr 4217 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 4218 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_getdents64 nr 4219 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_fcntl64 nr 4220 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_gettid nr 4222 nbargs 0 types: () args: () -syscall sys_readahead nr 4223 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) -syscall sys_setxattr nr 4224 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 4225 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 4226 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 4227 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 4228 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 4229 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 4230 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 4231 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 4232 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 4233 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 4234 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 4235 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 4236 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_sendfile64 nr 4237 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_futex nr 4238 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_io_setup nr 4241 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 4242 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 4243 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 4244 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 4245 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_exit_group nr 4246 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 4248 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 4249 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 4250 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 4251 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_set_tid_address nr 4252 nbargs 1 types: (int *) args: (tidptr) -syscall sys_restart_syscall nr 4253 nbargs 0 types: () args: () -syscall sys_fadvise64_64 nr 4254 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) -syscall sys_statfs64 nr 4255 nbargs 3 types: (const char *, size_t, struct statfs64 *) args: (pathname, sz, buf) -syscall sys_fstatfs64 nr 4256 nbargs 3 types: (unsigned int, size_t, struct statfs64 *) args: (fd, sz, buf) -syscall sys_timer_create nr 4257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 4258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 4259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 4260 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 4261 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 4262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 4263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 4264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 4265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_tgkill nr 4266 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 4267 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_waitid nr 4278 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_set_thread_area nr 4283 nbargs 1 types: (unsigned long) args: (addr) -syscall sys_inotify_init nr 4284 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 4285 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 4286 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_openat nr 4288 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 4289 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 4290 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 4291 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 4292 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_fstatat64 nr 4293 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 4294 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 4295 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 4296 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 4297 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 4298 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 4299 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 4300 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6 nr 4301 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 4302 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 4303 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_splice nr 4304 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_sync_file_range nr 4305 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) -syscall sys_tee nr 4306 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_vmsplice nr 4307 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_set_robust_list nr 4309 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 4310 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_getcpu nr 4312 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_epoll_pwait nr 4313 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_ioprio_set nr 4314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 4315 nbargs 2 types: (int, int) args: (which, who) -syscall sys_utimensat nr 4316 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 4317 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_eventfd nr 4319 nbargs 1 types: (unsigned int) args: (count) -syscall sys_fallocate nr 4320 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) -syscall sys_timerfd_create nr 4321 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_timerfd_gettime nr 4322 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_timerfd_settime nr 4323 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_signalfd4 nr 4324 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 4325 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 4326 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 4327 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 4328 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 4329 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 4330 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 4331 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 4332 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 4333 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_accept4 nr 4334 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_recvmmsg nr 4335 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_prlimit64 nr 4338 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_name_to_handle_at nr 4339 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) -syscall sys_open_by_handle_at nr 4340 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime nr 4341 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 4342 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 4343 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 4344 nbargs 2 types: (int, int) args: (fd, nstype) -syscall sys_finit_module nr 4348 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) -syscall sys_sched_setattr nr 4349 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) -syscall sys_sched_getattr nr 4350 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, size, flags) -syscall sys_renameat2 nr 4351 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_seccomp nr 4352 nbargs 3 types: (unsigned int, unsigned int, const char *) args: (op, flags, uargs) -syscall sys_getrandom nr 4353 nbargs 3 types: (char *, size_t, unsigned int) args: (buf, count, flags) -syscall sys_memfd_create nr 4354 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) diff --git a/instrumentation/syscalls/3.4.25/arm-32-syscalls b/instrumentation/syscalls/3.4.25/arm-32-syscalls new file mode 100644 index 00000000..65c3973d --- /dev/null +++ b/instrumentation/syscalls/3.4.25/arm-32-syscalls @@ -0,0 +1,299 @@ +syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () +syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 5 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_creat nr 8 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) +syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) +syscall sys_mknod nr 14 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 15 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_lchown16 nr 16 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) +syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) +syscall sys_getpid nr 20 nbargs 0 types: () args: () +syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_setuid16 nr 23 nbargs 1 types: (old_uid_t) args: (uid) +syscall sys_getuid16 nr 24 nbargs 0 types: () args: () +syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_pause nr 29 nbargs 0 types: () args: () +syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 36 nbargs 0 types: () args: () +syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 39 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) +syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid16 nr 46 nbargs 1 types: (old_gid_t) args: (gid) +syscall sys_getgid16 nr 47 nbargs 0 types: () args: () +syscall sys_geteuid16 nr 49 nbargs 0 types: () args: () +syscall sys_getegid16 nr 50 nbargs 0 types: () args: () +syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) +syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 64 nbargs 0 types: () args: () +syscall sys_getpgrp nr 65 nbargs 0 types: () args: () +syscall sys_setsid nr 66 nbargs 0 types: () args: () +syscall sys_setreuid16 nr 70 nbargs 2 types: (old_uid_t, old_uid_t) args: (ruid, euid) +syscall sys_setregid16 nr 71 nbargs 2 types: (old_gid_t, old_gid_t) args: (rgid, egid) +syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups16 nr 80 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups16 nr 81 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) +syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchown16 nr 95 nbargs 3 types: (unsigned int, old_uid_t, old_gid_t) args: (fd, user, group) +syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_vhangup nr 111 nbargs 0 types: () args: () +syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_quotactl nr 131 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid16 nr 138 nbargs 1 types: (old_uid_t) args: (uid) +syscall sys_setfsgid16 nr 139 nbargs 1 types: (old_gid_t) args: (gid) +syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) +syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 153 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 158 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_setresuid16 nr 164 nbargs 3 types: (old_uid_t, old_uid_t, old_uid_t) args: (ruid, euid, suid) +syscall sys_getresuid16 nr 165 nbargs 3 types: (old_uid_t *, old_uid_t *, old_uid_t *) args: (ruid, euid, suid) +syscall sys_poll nr 168 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_setresgid16 nr 170 nbargs 3 types: (old_gid_t, old_gid_t, old_gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid16 nr 171 nbargs 3 types: (old_gid_t *, old_gid_t *, old_gid_t *) args: (rgid, egid, sgid) +syscall sys_prctl nr 172 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_rt_sigaction nr 174 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 175 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 176 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) +syscall sys_rt_sigtimedwait nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 178 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_rt_sigsuspend nr 179 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_chown16 nr 182 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) +syscall sys_getcwd nr 183 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_capget nr 184 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 185 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_getrlimit nr 191 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) +syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) +syscall sys_lchown nr 198 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_getuid nr 199 nbargs 0 types: () args: () +syscall sys_getgid nr 200 nbargs 0 types: () args: () +syscall sys_geteuid nr 201 nbargs 0 types: () args: () +syscall sys_getegid nr 202 nbargs 0 types: () args: () +syscall sys_setreuid nr 203 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 204 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_getgroups nr 205 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 206 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_fchown nr 207 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_setresuid nr 208 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 209 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) +syscall sys_setresgid nr 210 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 211 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) +syscall sys_chown nr 212 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_setuid nr 213 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setgid nr 214 nbargs 1 types: (gid_t) args: (gid) +syscall sys_setfsuid nr 215 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 216 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getdents64 nr 217 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_pivot_root nr 218 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_mincore nr 219 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 220 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_fcntl64 nr 221 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_gettid nr 224 nbargs 0 types: () args: () +syscall sys_setxattr nr 226 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 227 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 228 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 229 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 230 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 231 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 232 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 233 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 234 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 235 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 236 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 237 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 238 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_sendfile64 nr 239 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_futex nr 240 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_setaffinity nr 241 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 242 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_io_setup nr 243 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 244 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_getevents nr 245 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 246 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 247 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 248 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 250 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 251 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 252 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 253 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 256 nbargs 1 types: (int *) args: (tidptr) +syscall sys_timer_create nr 257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 260 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 261 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_tgkill nr 268 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_utimes nr 269 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_mq_open nr 274 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) +syscall sys_mq_unlink nr 275 nbargs 1 types: (const char *) args: (u_name) +syscall sys_mq_timedsend nr 276 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 277 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_mq_notify nr 278 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) +syscall sys_mq_getsetattr nr 279 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) +syscall sys_waitid nr 280 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_socket nr 281 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_bind nr 282 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 283 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_listen nr 284 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_accept nr 285 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_getsockname nr 286 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 287 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_socketpair nr 288 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_send nr 289 nbargs 4 types: (int, void *, size_t, unsigned) args: (fd, buff, len, flags) +syscall sys_sendto nr 290 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_recvfrom nr 292 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_shutdown nr 293 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_setsockopt nr 294 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_getsockopt nr 295 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_sendmsg nr 296 nbargs 3 types: (int, struct msghdr *, unsigned) args: (fd, msg, flags) +syscall sys_recvmsg nr 297 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_semop nr 298 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) +syscall sys_semget nr 299 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) +syscall sys_msgsnd nr 301 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_msgrcv nr 302 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_msgget nr 303 nbargs 2 types: (key_t, int) args: (key, msgflg) +syscall sys_msgctl nr 304 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) +syscall sys_shmat nr 305 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) +syscall sys_shmdt nr 306 nbargs 1 types: (char *) args: (shmaddr) +syscall sys_shmget nr 307 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) +syscall sys_shmctl nr 308 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) +syscall sys_add_key nr 309 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) +syscall sys_request_key nr 310 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) +syscall sys_keyctl nr 311 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_semtimedop nr 312 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_ioprio_set nr 314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 315 nbargs 2 types: (int, int) args: (which, who) +syscall sys_inotify_init nr 316 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 317 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 318 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 322 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 323 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 324 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 325 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_futimesat nr 326 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_fstatat64 nr 327 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 328 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 329 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 330 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 331 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 332 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 333 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 334 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_pselect6 nr 335 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 336 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_unshare nr 337 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_set_robust_list nr 338 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 339 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_splice nr 340 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 342 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_vmsplice nr 343 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_getcpu nr 345 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_epoll_pwait nr 346 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_utimensat nr 348 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 349 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_timerfd_create nr 350 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_eventfd nr 351 nbargs 1 types: (unsigned int) args: (count) +syscall sys_timerfd_settime nr 353 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 354 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_signalfd4 nr 355 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 356 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 357 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 358 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 359 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 360 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 361 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 362 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_rt_tgsigqueueinfo nr 363 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 364 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_recvmmsg nr 365 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_accept4 nr 366 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_fanotify_init nr 367 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) +syscall sys_prlimit64 nr 369 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_name_to_handle_at nr 370 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 371 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 372 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 373 nbargs 1 types: (int) args: (fd) +syscall sys_sendmmsg nr 374 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_setns nr 375 nbargs 2 types: (int, int) args: (fd, nstype) +syscall sys_process_vm_readv nr 376 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_process_vm_writev nr 377 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) diff --git a/instrumentation/syscalls/3.4.25/arm-32-syscalls-3.4.25 b/instrumentation/syscalls/3.4.25/arm-32-syscalls-3.4.25 deleted file mode 100644 index 65c3973d..00000000 --- a/instrumentation/syscalls/3.4.25/arm-32-syscalls-3.4.25 +++ /dev/null @@ -1,299 +0,0 @@ -syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () -syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 5 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_creat nr 8 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) -syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) -syscall sys_mknod nr 14 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 15 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_lchown16 nr 16 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) -syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) -syscall sys_getpid nr 20 nbargs 0 types: () args: () -syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_setuid16 nr 23 nbargs 1 types: (old_uid_t) args: (uid) -syscall sys_getuid16 nr 24 nbargs 0 types: () args: () -syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_pause nr 29 nbargs 0 types: () args: () -syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 36 nbargs 0 types: () args: () -syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 39 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) -syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid16 nr 46 nbargs 1 types: (old_gid_t) args: (gid) -syscall sys_getgid16 nr 47 nbargs 0 types: () args: () -syscall sys_geteuid16 nr 49 nbargs 0 types: () args: () -syscall sys_getegid16 nr 50 nbargs 0 types: () args: () -syscall sys_acct nr 51 nbargs 1 types: (const char *) args: (name) -syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 64 nbargs 0 types: () args: () -syscall sys_getpgrp nr 65 nbargs 0 types: () args: () -syscall sys_setsid nr 66 nbargs 0 types: () args: () -syscall sys_setreuid16 nr 70 nbargs 2 types: (old_uid_t, old_uid_t) args: (ruid, euid) -syscall sys_setregid16 nr 71 nbargs 2 types: (old_gid_t, old_gid_t) args: (rgid, egid) -syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups16 nr 80 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups16 nr 81 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) -syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) -syscall sys_swapon nr 87 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_fchown16 nr 95 nbargs 3 types: (unsigned int, old_uid_t, old_gid_t) args: (fd, user, group) -syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_vhangup nr 111 nbargs 0 types: () args: () -syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_swapoff nr 115 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_quotactl nr 131 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid16 nr 138 nbargs 1 types: (old_uid_t) args: (uid) -syscall sys_setfsgid16 nr 139 nbargs 1 types: (old_gid_t) args: (gid) -syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) -syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 153 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 158 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_setresuid16 nr 164 nbargs 3 types: (old_uid_t, old_uid_t, old_uid_t) args: (ruid, euid, suid) -syscall sys_getresuid16 nr 165 nbargs 3 types: (old_uid_t *, old_uid_t *, old_uid_t *) args: (ruid, euid, suid) -syscall sys_poll nr 168 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) -syscall sys_setresgid16 nr 170 nbargs 3 types: (old_gid_t, old_gid_t, old_gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid16 nr 171 nbargs 3 types: (old_gid_t *, old_gid_t *, old_gid_t *) args: (rgid, egid, sgid) -syscall sys_prctl nr 172 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_rt_sigaction nr 174 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 175 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 176 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) -syscall sys_rt_sigtimedwait nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 178 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_rt_sigsuspend nr 179 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_chown16 nr 182 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) -syscall sys_getcwd nr 183 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_capget nr 184 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 185 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_getrlimit nr 191 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) -syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) -syscall sys_lchown nr 198 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_getuid nr 199 nbargs 0 types: () args: () -syscall sys_getgid nr 200 nbargs 0 types: () args: () -syscall sys_geteuid nr 201 nbargs 0 types: () args: () -syscall sys_getegid nr 202 nbargs 0 types: () args: () -syscall sys_setreuid nr 203 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 204 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_getgroups nr 205 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 206 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_fchown nr 207 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_setresuid nr 208 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 209 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) -syscall sys_setresgid nr 210 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 211 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) -syscall sys_chown nr 212 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_setuid nr 213 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setgid nr 214 nbargs 1 types: (gid_t) args: (gid) -syscall sys_setfsuid nr 215 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 216 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getdents64 nr 217 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_pivot_root nr 218 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_mincore nr 219 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 220 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_fcntl64 nr 221 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_gettid nr 224 nbargs 0 types: () args: () -syscall sys_setxattr nr 226 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 227 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 228 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 229 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 230 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 231 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 232 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 233 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 234 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 235 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 236 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 237 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 238 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_sendfile64 nr 239 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_futex nr 240 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_setaffinity nr 241 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 242 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_io_setup nr 243 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 244 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_getevents nr 245 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 246 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 247 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_exit_group nr 248 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 250 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 251 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 252 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 253 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_set_tid_address nr 256 nbargs 1 types: (int *) args: (tidptr) -syscall sys_timer_create nr 257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 260 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 261 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_tgkill nr 268 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_utimes nr 269 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_mq_open nr 274 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) -syscall sys_mq_unlink nr 275 nbargs 1 types: (const char *) args: (u_name) -syscall sys_mq_timedsend nr 276 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 277 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_mq_notify nr 278 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) -syscall sys_mq_getsetattr nr 279 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) -syscall sys_waitid nr 280 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_socket nr 281 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_bind nr 282 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 283 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_listen nr 284 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_accept nr 285 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_getsockname nr 286 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 287 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_socketpair nr 288 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_send nr 289 nbargs 4 types: (int, void *, size_t, unsigned) args: (fd, buff, len, flags) -syscall sys_sendto nr 290 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_recvfrom nr 292 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_shutdown nr 293 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_setsockopt nr 294 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_getsockopt nr 295 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_sendmsg nr 296 nbargs 3 types: (int, struct msghdr *, unsigned) args: (fd, msg, flags) -syscall sys_recvmsg nr 297 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_semop nr 298 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) -syscall sys_semget nr 299 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) -syscall sys_msgsnd nr 301 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_msgrcv nr 302 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_msgget nr 303 nbargs 2 types: (key_t, int) args: (key, msgflg) -syscall sys_msgctl nr 304 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) -syscall sys_shmat nr 305 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) -syscall sys_shmdt nr 306 nbargs 1 types: (char *) args: (shmaddr) -syscall sys_shmget nr 307 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) -syscall sys_shmctl nr 308 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) -syscall sys_add_key nr 309 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) -syscall sys_request_key nr 310 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) -syscall sys_keyctl nr 311 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_semtimedop nr 312 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_ioprio_set nr 314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 315 nbargs 2 types: (int, int) args: (which, who) -syscall sys_inotify_init nr 316 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 317 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 318 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_openat nr 322 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 323 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 324 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 325 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_futimesat nr 326 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_fstatat64 nr 327 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 328 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 329 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 330 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 331 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 332 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 333 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 334 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_pselect6 nr 335 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 336 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_unshare nr 337 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_set_robust_list nr 338 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 339 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_splice nr 340 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 342 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_vmsplice nr 343 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_getcpu nr 345 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_epoll_pwait nr 346 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_utimensat nr 348 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 349 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_timerfd_create nr 350 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_eventfd nr 351 nbargs 1 types: (unsigned int) args: (count) -syscall sys_timerfd_settime nr 353 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 354 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_signalfd4 nr 355 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 356 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 357 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 358 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 359 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 360 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 361 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 362 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_rt_tgsigqueueinfo nr 363 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 364 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_recvmmsg nr 365 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_accept4 nr 366 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_fanotify_init nr 367 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) -syscall sys_prlimit64 nr 369 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_name_to_handle_at nr 370 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) -syscall sys_open_by_handle_at nr 371 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime nr 372 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 373 nbargs 1 types: (int) args: (fd) -syscall sys_sendmmsg nr 374 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_setns nr 375 nbargs 2 types: (int, int) args: (fd, nstype) -syscall sys_process_vm_readv nr 376 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_process_vm_writev nr 377 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) diff --git a/instrumentation/syscalls/3.5.0/mips-32-syscalls b/instrumentation/syscalls/3.5.0/mips-32-syscalls new file mode 100644 index 00000000..5b62cc7b --- /dev/null +++ b/instrumentation/syscalls/3.5.0/mips-32-syscalls @@ -0,0 +1,141 @@ +syscall sys_exit nr 4003 nbargs 1 types: (int) args: (error_code) +syscall sys_read nr 4007 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 4009 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 4011 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 4013 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_waitpid nr 4015 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_creat nr 4017 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 4019 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 4021 nbargs 1 types: (const char *) args: (pathname) +syscall sys_chdir nr 4025 nbargs 1 types: (const char *) args: (filename) +syscall sys_time nr 4027 nbargs 1 types: (time_t *) args: (tloc) +syscall sys_mknod nr 4029 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_chmod nr 4031 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_lchown nr 4033 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_lseek nr 4039 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) +syscall sys_getpid nr 4041 nbargs 0 types: () args: () +syscall sys_mount nr 4043 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_oldumount nr 4045 nbargs 1 types: (char *) args: (name) +syscall sys_setuid nr 4047 nbargs 1 types: (uid_t) args: (uid) +syscall sys_getuid nr 4049 nbargs 0 types: () args: () +syscall sys_stime nr 4051 nbargs 1 types: (time_t *) args: (tptr) +syscall sys_ptrace nr 4053 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_alarm nr 4055 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_pause nr 4059 nbargs 0 types: () args: () +syscall sys_utime nr 4061 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_access nr 4067 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_nice nr 4069 nbargs 1 types: (int) args: (increment) +syscall sys_sync nr 4073 nbargs 0 types: () args: () +syscall sys_kill nr 4075 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_rename nr 4077 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 4079 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 4081 nbargs 1 types: (const char *) args: (pathname) +syscall sys_dup nr 4083 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_times nr 4087 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_brk nr 4091 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_setgid nr 4093 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getgid nr 4095 nbargs 0 types: () args: () +syscall sys_geteuid nr 4099 nbargs 0 types: () args: () +syscall sys_getegid nr 4101 nbargs 0 types: () args: () +syscall sys_umount nr 4105 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_ioctl nr 4109 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_fcntl nr 4111 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_setpgid nr 4115 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_olduname nr 4119 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_umask nr 4121 nbargs 1 types: (int) args: (mask) +syscall sys_chroot nr 4123 nbargs 1 types: (const char *) args: (filename) +syscall sys_ustat nr 4125 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_dup2 nr 4127 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_getppid nr 4129 nbargs 0 types: () args: () +syscall sys_getpgrp nr 4131 nbargs 0 types: () args: () +syscall sys_setsid nr 4133 nbargs 0 types: () args: () +syscall sys_sigaction nr 4135 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) +syscall sys_sgetmask nr 4137 nbargs 0 types: () args: () +syscall sys_ssetmask nr 4139 nbargs 1 types: (int) args: (newmask) +syscall sys_setreuid nr 4141 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 4143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_sigpending nr 4147 nbargs 1 types: (old_sigset_t *) args: (set) +syscall sys_sethostname nr 4149 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setrlimit nr 4151 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrlimit nr 4153 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 4155 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_gettimeofday nr 4157 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 4159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getgroups nr 4161 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 4163 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_symlink nr 4167 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 4171 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_uselib nr 4173 nbargs 1 types: (const char *) args: (library) +syscall sys_swapon nr 4175 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_reboot nr 4177 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_old_readdir nr 4179 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_mips_mmap nr 4181 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) +syscall sys_munmap nr 4183 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_truncate nr 4185 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 4187 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fchmod nr 4189 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchown nr 4191 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_getpriority nr 4193 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 4195 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_statfs nr 4199 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 4201 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_socketcall nr 4205 nbargs 2 types: (int, unsigned long *) args: (call, args) +syscall sys_syslog nr 4207 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_setitimer nr 4209 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_getitimer nr 4211 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_newstat nr 4213 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newlstat nr 4215 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 4217 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_uname nr 4219 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_vhangup nr 4223 nbargs 0 types: () args: () +syscall sys_wait4 nr 4229 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_swapoff nr 4231 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_sysinfo nr 4233 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_ipc nr 4235 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) +syscall sys_fsync nr 4237 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_setdomainname nr 4243 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_newuname nr 4245 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_adjtimex nr 4249 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_mprotect nr 4251 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_sigprocmask nr 4253 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) +syscall sys_init_module nr 4257 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 4259 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_quotactl nr 4263 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_getpgid nr 4265 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fchdir nr 4267 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_bdflush nr 4269 nbargs 2 types: (int, long) args: (func, data) +syscall sys_sysfs nr 4271 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_personality nr 4273 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_setfsuid nr 4277 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 4279 nbargs 1 types: (gid_t) args: (gid) +syscall sys_llseek nr 4281 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) +syscall sys_getdents nr 4283 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_select nr 4285 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_flock nr 4287 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_msync nr 4289 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_readv nr 4291 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 4293 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_cacheflush nr 4295 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) +syscall sys_cachectl nr 4297 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) +syscall sys_getsid nr 4303 nbargs 1 types: (pid_t) args: (pid) +syscall sys_fdatasync nr 4305 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sysctl nr 4307 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_mlock nr 4309 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 4311 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 4313 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 4315 nbargs 0 types: () args: () +syscall sys_sched_setparam nr 4317 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 4319 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 4321 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 4323 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_yield nr 4325 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 4327 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 4329 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 4331 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_nanosleep nr 4333 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_mremap nr 4335 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_accept nr 4337 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_bind nr 4339 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_connect nr 4341 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_getpeername nr 4343 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getsockname nr 4345 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) diff --git a/instrumentation/syscalls/3.5.0/mips-32-syscalls-3.5.0 b/instrumentation/syscalls/3.5.0/mips-32-syscalls-3.5.0 deleted file mode 100644 index 5b62cc7b..00000000 --- a/instrumentation/syscalls/3.5.0/mips-32-syscalls-3.5.0 +++ /dev/null @@ -1,141 +0,0 @@ -syscall sys_exit nr 4003 nbargs 1 types: (int) args: (error_code) -syscall sys_read nr 4007 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 4009 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 4011 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 4013 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_waitpid nr 4015 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_creat nr 4017 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 4019 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 4021 nbargs 1 types: (const char *) args: (pathname) -syscall sys_chdir nr 4025 nbargs 1 types: (const char *) args: (filename) -syscall sys_time nr 4027 nbargs 1 types: (time_t *) args: (tloc) -syscall sys_mknod nr 4029 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_chmod nr 4031 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_lchown nr 4033 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_lseek nr 4039 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) -syscall sys_getpid nr 4041 nbargs 0 types: () args: () -syscall sys_mount nr 4043 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_oldumount nr 4045 nbargs 1 types: (char *) args: (name) -syscall sys_setuid nr 4047 nbargs 1 types: (uid_t) args: (uid) -syscall sys_getuid nr 4049 nbargs 0 types: () args: () -syscall sys_stime nr 4051 nbargs 1 types: (time_t *) args: (tptr) -syscall sys_ptrace nr 4053 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_alarm nr 4055 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_pause nr 4059 nbargs 0 types: () args: () -syscall sys_utime nr 4061 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_access nr 4067 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_nice nr 4069 nbargs 1 types: (int) args: (increment) -syscall sys_sync nr 4073 nbargs 0 types: () args: () -syscall sys_kill nr 4075 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_rename nr 4077 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 4079 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 4081 nbargs 1 types: (const char *) args: (pathname) -syscall sys_dup nr 4083 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_times nr 4087 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_brk nr 4091 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_setgid nr 4093 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getgid nr 4095 nbargs 0 types: () args: () -syscall sys_geteuid nr 4099 nbargs 0 types: () args: () -syscall sys_getegid nr 4101 nbargs 0 types: () args: () -syscall sys_umount nr 4105 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_ioctl nr 4109 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_fcntl nr 4111 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_setpgid nr 4115 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_olduname nr 4119 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_umask nr 4121 nbargs 1 types: (int) args: (mask) -syscall sys_chroot nr 4123 nbargs 1 types: (const char *) args: (filename) -syscall sys_ustat nr 4125 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_dup2 nr 4127 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_getppid nr 4129 nbargs 0 types: () args: () -syscall sys_getpgrp nr 4131 nbargs 0 types: () args: () -syscall sys_setsid nr 4133 nbargs 0 types: () args: () -syscall sys_sigaction nr 4135 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) -syscall sys_sgetmask nr 4137 nbargs 0 types: () args: () -syscall sys_ssetmask nr 4139 nbargs 1 types: (int) args: (newmask) -syscall sys_setreuid nr 4141 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 4143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_sigpending nr 4147 nbargs 1 types: (old_sigset_t *) args: (set) -syscall sys_sethostname nr 4149 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setrlimit nr 4151 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrlimit nr 4153 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 4155 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_gettimeofday nr 4157 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 4159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getgroups nr 4161 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 4163 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_symlink nr 4167 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 4171 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_uselib nr 4173 nbargs 1 types: (const char *) args: (library) -syscall sys_swapon nr 4175 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_reboot nr 4177 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_old_readdir nr 4179 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_mips_mmap nr 4181 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) -syscall sys_munmap nr 4183 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_truncate nr 4185 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 4187 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fchmod nr 4189 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_fchown nr 4191 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_getpriority nr 4193 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 4195 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_statfs nr 4199 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 4201 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_socketcall nr 4205 nbargs 2 types: (int, unsigned long *) args: (call, args) -syscall sys_syslog nr 4207 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_setitimer nr 4209 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_getitimer nr 4211 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_newstat nr 4213 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newlstat nr 4215 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 4217 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_uname nr 4219 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_vhangup nr 4223 nbargs 0 types: () args: () -syscall sys_wait4 nr 4229 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_swapoff nr 4231 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_sysinfo nr 4233 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_ipc nr 4235 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) -syscall sys_fsync nr 4237 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_setdomainname nr 4243 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_newuname nr 4245 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_adjtimex nr 4249 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_mprotect nr 4251 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_sigprocmask nr 4253 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) -syscall sys_init_module nr 4257 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 4259 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_quotactl nr 4263 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_getpgid nr 4265 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fchdir nr 4267 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_bdflush nr 4269 nbargs 2 types: (int, long) args: (func, data) -syscall sys_sysfs nr 4271 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_personality nr 4273 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_setfsuid nr 4277 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 4279 nbargs 1 types: (gid_t) args: (gid) -syscall sys_llseek nr 4281 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) -syscall sys_getdents nr 4283 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_select nr 4285 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_flock nr 4287 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_msync nr 4289 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_readv nr 4291 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 4293 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_cacheflush nr 4295 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) -syscall sys_cachectl nr 4297 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) -syscall sys_getsid nr 4303 nbargs 1 types: (pid_t) args: (pid) -syscall sys_fdatasync nr 4305 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sysctl nr 4307 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_mlock nr 4309 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 4311 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 4313 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 4315 nbargs 0 types: () args: () -syscall sys_sched_setparam nr 4317 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 4319 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 4321 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 4323 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_yield nr 4325 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 4327 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 4329 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 4331 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_nanosleep nr 4333 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_mremap nr 4335 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_accept nr 4337 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_bind nr 4339 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_connect nr 4341 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_getpeername nr 4343 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getsockname nr 4345 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) diff --git a/instrumentation/syscalls/3.5.0/mips-64-syscalls b/instrumentation/syscalls/3.5.0/mips-64-syscalls new file mode 100644 index 00000000..7753e06e --- /dev/null +++ b/instrumentation/syscalls/3.5.0/mips-64-syscalls @@ -0,0 +1,289 @@ +syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) +syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) +syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) +syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) +syscall sys_32_sigaction nr 4067 nbargs 3 types: (long, const struct sigaction32 *, struct sigaction32 *) args: (sig, act, oact) +syscall sys_sgetmask nr 4068 nbargs 0 types: () args: () +syscall sys_ssetmask nr 4069 nbargs 1 types: (int) args: (newmask) +syscall sys_uselib nr 4086 nbargs 1 types: (const char *) args: (library) +syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) +syscall sys_32_ipc nr 4117 nbargs 6 types: (u32, long, long, long, unsigned long, unsigned long) args: (call, first, second, third, ptr, fifth) +syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) +syscall sys_32_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned int, unsigned int, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) +syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) +syscall sys_32_pread nr 4200 nbargs 6 types: (unsigned long, char *, size_t, unsigned long, unsigned long, unsigned long) args: (fd, buf, count, unused, a4, a5) +syscall sys_32_pwrite nr 4201 nbargs 6 types: (unsigned int, const char *, size_t, u32, u64, u64) args: (fd, buf, count, unused, a4, a5) +syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) +syscall sys_32_truncate64 nr 4211 nbargs 4 types: (const char *, unsigned long, unsigned long, unsigned long) args: (path, __dummy, a2, a3) +syscall sys_32_ftruncate64 nr 4212 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (fd, __dummy, a2, a3) +syscall sys_32_waitid nr 4278 nbargs 5 types: (int, compat_pid_t, compat_siginfo_t *, int, struct compat_rusage *) args: (which, pid, uinfo, options, uru) +syscall sys_32_fanotify_mark nr 4337 nbargs 6 types: (int, unsigned int, u64, u64, int, const char *) args: (fanotify_fd, flags, a3, a4, dfd, pathname) +syscall sys_rt_sigaction nr 5013 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 5014 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_ioctl nr 5015 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_readv nr 5018 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 5019 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_select nr 5022 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) +syscall sys_shmctl nr 5030 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) +syscall sys_nanosleep nr 5034 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_getitimer nr 5035 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_setitimer nr 5036 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_recvfrom nr 5044 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_sendmsg nr 5045 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmsg nr 5046 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_setsockopt nr 5053 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_wait4 nr 5059 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_msgsnd nr 5067 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_msgrcv nr 5068 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_msgctl nr 5069 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) +syscall sys_fcntl nr 5070 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_getdents nr 5076 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) +syscall sys_gettimeofday nr 5094 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_getrlimit nr 5095 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 5096 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_sysinfo nr 5097 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_times nr 5098 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_ptrace nr 5099 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_rt_sigpending nr 5125 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) +syscall sys_rt_sigtimedwait nr 5126 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 5127 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_utime nr 5130 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) +syscall sys_personality nr 5132 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_ustat nr 5133 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) +syscall sys_statfs nr 5134 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 5135 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_sched_rr_get_interval nr 5145 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_sysctl nr 5152 nbargs 1 types: (struct __sysctl_args *) args: (args) +syscall sys_adjtimex nr 5154 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_setrlimit nr 5155 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_settimeofday nr 5159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_mount nr 5160 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_futex nr 5194 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_sched_setaffinity nr 5195 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 5196 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_io_setup nr 5200 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_getevents nr 5202 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_io_submit nr 5203 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_semtimedop nr 5214 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_timer_create nr 5216 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_settime nr 5217 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_gettime nr 5218 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_clock_settime nr 5221 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 5222 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 5223 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 5224 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_utimes nr 5226 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) +syscall sys_waitid nr 5237 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_futimesat nr 5251 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) +syscall sys_pselect6 nr 5260 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 5261 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_vmsplice nr 5266 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_set_robust_list nr 5268 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 5269 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_epoll_pwait nr 5272 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_utimensat nr 5275 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_signalfd nr 5276 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) +syscall sys_timerfd_gettime nr 5281 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_timerfd_settime nr 5282 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_rt_tgsigqueueinfo nr 5291 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_recvmmsg nr 5294 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_clock_adjtime nr 5300 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_sendmmsg nr 5302 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_process_vm_readv nr 5304 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_process_vm_writev nr 5305 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_read nr 6000 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 6001 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_open nr 6002 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) +syscall sys_close nr 6003 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_newstat nr 6004 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_newfstat nr 6005 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_newlstat nr 6006 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) +syscall sys_poll nr 6007 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) +syscall sys_lseek nr 6008 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) +syscall sys_mips_mmap nr 6009 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) +syscall sys_mprotect nr 6010 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_munmap nr 6011 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_brk nr 6012 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_32_rt_sigaction nr 6013 nbargs 4 types: (int, const struct sigaction32 *, struct sigaction32 *, unsigned int) args: (sig, act, oact, sigsetsize) +syscall sys_32_rt_sigprocmask nr 6014 nbargs 4 types: (int, compat_sigset_t *, compat_sigset_t *, unsigned int) args: (how, set, oset, sigsetsize) +syscall sys_access nr 6020 nbargs 2 types: (const char *, int) args: (filename, mode) +syscall sys_sched_yield nr 6023 nbargs 0 types: () args: () +syscall sys_mremap nr 6024 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_msync nr 6025 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_mincore nr 6026 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 6027 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_shmget nr 6028 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) +syscall sys_shmat nr 6029 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) +syscall sys_dup nr 6031 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_dup2 nr 6032 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) +syscall sys_pause nr 6033 nbargs 0 types: () args: () +syscall sys_alarm nr 6037 nbargs 1 types: (unsigned int) args: (seconds) +syscall sys_getpid nr 6038 nbargs 0 types: () args: () +syscall sys_32_sendfile nr 6039 nbargs 4 types: (long, long, compat_off_t *, s32) args: (out_fd, in_fd, offset, count) +syscall sys_socket nr 6040 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_connect nr 6041 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_accept nr 6042 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_sendto nr 6043 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_shutdown nr 6047 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_bind nr 6048 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_listen nr 6049 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_getsockname nr 6050 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 6051 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_socketpair nr 6052 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_getsockopt nr 6054 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_exit nr 6058 nbargs 1 types: (int) args: (error_code) +syscall sys_kill nr 6060 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_newuname nr 6061 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_semget nr 6062 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) +syscall sys_semop nr 6063 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) +syscall sys_n32_semctl nr 6064 nbargs 4 types: (int, int, int, u32) args: (semid, semnum, cmd, arg) +syscall sys_shmdt nr 6065 nbargs 1 types: (char *) args: (shmaddr) +syscall sys_msgget nr 6066 nbargs 2 types: (key_t, int) args: (key, msgflg) +syscall sys_n32_msgsnd nr 6067 nbargs 4 types: (int, u32, unsigned int, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_n32_msgrcv nr 6068 nbargs 5 types: (int, u32, size_t, int, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_flock nr 6071 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_fsync nr 6072 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_fdatasync nr 6073 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_truncate nr 6074 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 6075 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_getcwd nr 6077 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_chdir nr 6078 nbargs 1 types: (const char *) args: (filename) +syscall sys_fchdir nr 6079 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_rename nr 6080 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_mkdir nr 6081 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_rmdir nr 6082 nbargs 1 types: (const char *) args: (pathname) +syscall sys_creat nr 6083 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) +syscall sys_link nr 6084 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_unlink nr 6085 nbargs 1 types: (const char *) args: (pathname) +syscall sys_symlink nr 6086 nbargs 2 types: (const char *, const char *) args: (oldname, newname) +syscall sys_readlink nr 6087 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) +syscall sys_chmod nr 6088 nbargs 2 types: (const char *, umode_t) args: (filename, mode) +syscall sys_fchmod nr 6089 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_chown nr 6090 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_fchown nr 6091 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_lchown nr 6092 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) +syscall sys_umask nr 6093 nbargs 1 types: (int) args: (mask) +syscall sys_getuid nr 6100 nbargs 0 types: () args: () +syscall sys_syslog nr 6101 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_getgid nr 6102 nbargs 0 types: () args: () +syscall sys_setuid nr 6103 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setgid nr 6104 nbargs 1 types: (gid_t) args: (gid) +syscall sys_geteuid nr 6105 nbargs 0 types: () args: () +syscall sys_getegid nr 6106 nbargs 0 types: () args: () +syscall sys_setpgid nr 6107 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_getppid nr 6108 nbargs 0 types: () args: () +syscall sys_getpgrp nr 6109 nbargs 0 types: () args: () +syscall sys_setsid nr 6110 nbargs 0 types: () args: () +syscall sys_setreuid nr 6111 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setregid nr 6112 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_getgroups nr 6113 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 6114 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setresuid nr 6115 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 6116 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_setresgid nr 6117 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 6118 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_getpgid nr 6119 nbargs 1 types: (pid_t) args: (pid) +syscall sys_setfsuid nr 6120 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 6121 nbargs 1 types: (gid_t) args: (gid) +syscall sys_getsid nr 6122 nbargs 1 types: (pid_t) args: (pid) +syscall sys_capget nr 6123 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 6124 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_32_rt_sigpending nr 6125 nbargs 2 types: (compat_sigset_t *, unsigned int) args: (uset, sigsetsize) +syscall sys_32_rt_sigqueueinfo nr 6127 nbargs 3 types: (int, int, compat_siginfo_t *) args: (pid, sig, uinfo) +syscall sys_mknod nr 6131 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) +syscall sys_32_personality nr 6132 nbargs 1 types: (unsigned long) args: (personality) +syscall sys_sysfs nr 6136 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) +syscall sys_getpriority nr 6137 nbargs 2 types: (int, int) args: (which, who) +syscall sys_setpriority nr 6138 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_sched_setparam nr 6139 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_getparam nr 6140 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 6141 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 6142 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_get_priority_max nr 6143 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 6144 nbargs 1 types: (int) args: (policy) +syscall sys_32_sched_rr_get_interval nr 6145 nbargs 2 types: (compat_pid_t, struct compat_timespec *) args: (pid, interval) +syscall sys_mlock nr 6146 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 6147 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 6148 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 6149 nbargs 0 types: () args: () +syscall sys_vhangup nr 6150 nbargs 0 types: () args: () +syscall sys_pivot_root nr 6151 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_prctl nr 6153 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_chroot nr 6156 nbargs 1 types: (const char *) args: (filename) +syscall sys_sync nr 6157 nbargs 0 types: () args: () +syscall sys_umount nr 6161 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_swapon nr 6162 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_swapoff nr 6163 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_reboot nr 6164 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_sethostname nr 6165 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setdomainname nr 6166 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_init_module nr 6168 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 6169 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_quotactl nr 6172 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_gettid nr 6178 nbargs 0 types: () args: () +syscall sys_setxattr nr 6180 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 6181 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 6182 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 6183 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 6184 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 6185 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 6186 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 6187 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 6188 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 6189 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 6190 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 6191 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_tkill nr 6192 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_32_futex nr 6194 nbargs 6 types: (u32 *, int, u32, struct compat_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_cacheflush nr 6197 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) +syscall sys_cachectl nr 6198 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) +syscall sys_io_destroy nr 6201 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_cancel nr 6204 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_exit_group nr 6205 nbargs 1 types: (int) args: (error_code) +syscall sys_epoll_create nr 6207 nbargs 1 types: (int) args: (size) +syscall sys_epoll_ctl nr 6208 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_wait nr 6209 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) +syscall sys_remap_file_pages nr 6210 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_set_tid_address nr 6213 nbargs 1 types: (int *) args: (tidptr) +syscall sys_restart_syscall nr 6214 nbargs 0 types: () args: () +syscall sys_sendfile64 nr 6219 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_timer_getoverrun nr 6223 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_delete nr 6224 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_tgkill nr 6229 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_set_thread_area nr 6246 nbargs 1 types: (unsigned long) args: (addr) +syscall sys_inotify_init nr 6247 nbargs 0 types: () args: () +syscall sys_inotify_add_watch nr 6248 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 6249 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_openat nr 6251 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_mkdirat nr 6252 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_mknodat nr 6253 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_fchownat nr 6254 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_newfstatat nr 6256 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) +syscall sys_unlinkat nr 6257 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_renameat nr 6258 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_linkat nr 6259 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_symlinkat nr 6260 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_readlinkat nr 6261 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_fchmodat nr 6262 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_faccessat nr 6263 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_unshare nr 6266 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_splice nr 6267 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 6269 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_getcpu nr 6275 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_ioprio_set nr 6277 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 6278 nbargs 2 types: (int, int) args: (which, who) +syscall sys_eventfd nr 6282 nbargs 1 types: (unsigned int) args: (count) +syscall sys_timerfd_create nr 6284 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_signalfd4 nr 6287 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_eventfd2 nr 6288 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 6289 nbargs 1 types: (int) args: (flags) +syscall sys_dup3 nr 6290 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_pipe2 nr 6291 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_inotify_init1 nr 6292 nbargs 1 types: (int) args: (flags) +syscall sys_preadv nr 6293 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 6294 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_accept4 nr 6297 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_getdents64 nr 6299 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_prlimit64 nr 6302 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_syncfs nr 6306 nbargs 1 types: (int) args: (fd) +syscall sys_setns nr 6308 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/3.5.0/mips-64-syscalls-3.5.0 b/instrumentation/syscalls/3.5.0/mips-64-syscalls-3.5.0 deleted file mode 100644 index 7753e06e..00000000 --- a/instrumentation/syscalls/3.5.0/mips-64-syscalls-3.5.0 +++ /dev/null @@ -1,289 +0,0 @@ -syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) -syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) -syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) -syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) -syscall sys_32_sigaction nr 4067 nbargs 3 types: (long, const struct sigaction32 *, struct sigaction32 *) args: (sig, act, oact) -syscall sys_sgetmask nr 4068 nbargs 0 types: () args: () -syscall sys_ssetmask nr 4069 nbargs 1 types: (int) args: (newmask) -syscall sys_uselib nr 4086 nbargs 1 types: (const char *) args: (library) -syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) -syscall sys_32_ipc nr 4117 nbargs 6 types: (u32, long, long, long, unsigned long, unsigned long) args: (call, first, second, third, ptr, fifth) -syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) -syscall sys_32_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned int, unsigned int, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) -syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) -syscall sys_32_pread nr 4200 nbargs 6 types: (unsigned long, char *, size_t, unsigned long, unsigned long, unsigned long) args: (fd, buf, count, unused, a4, a5) -syscall sys_32_pwrite nr 4201 nbargs 6 types: (unsigned int, const char *, size_t, u32, u64, u64) args: (fd, buf, count, unused, a4, a5) -syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) -syscall sys_32_truncate64 nr 4211 nbargs 4 types: (const char *, unsigned long, unsigned long, unsigned long) args: (path, __dummy, a2, a3) -syscall sys_32_ftruncate64 nr 4212 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (fd, __dummy, a2, a3) -syscall sys_32_waitid nr 4278 nbargs 5 types: (int, compat_pid_t, compat_siginfo_t *, int, struct compat_rusage *) args: (which, pid, uinfo, options, uru) -syscall sys_32_fanotify_mark nr 4337 nbargs 6 types: (int, unsigned int, u64, u64, int, const char *) args: (fanotify_fd, flags, a3, a4, dfd, pathname) -syscall sys_rt_sigaction nr 5013 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 5014 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_ioctl nr 5015 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_readv nr 5018 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 5019 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_select nr 5022 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) -syscall sys_shmctl nr 5030 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) -syscall sys_nanosleep nr 5034 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_getitimer nr 5035 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_setitimer nr 5036 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_recvfrom nr 5044 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_sendmsg nr 5045 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmsg nr 5046 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_setsockopt nr 5053 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_wait4 nr 5059 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_msgsnd nr 5067 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_msgrcv nr 5068 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_msgctl nr 5069 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) -syscall sys_fcntl nr 5070 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_getdents nr 5076 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) -syscall sys_gettimeofday nr 5094 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_getrlimit nr 5095 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 5096 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_sysinfo nr 5097 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_times nr 5098 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_ptrace nr 5099 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_rt_sigpending nr 5125 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) -syscall sys_rt_sigtimedwait nr 5126 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 5127 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_utime nr 5130 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) -syscall sys_personality nr 5132 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_ustat nr 5133 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) -syscall sys_statfs nr 5134 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 5135 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_sched_rr_get_interval nr 5145 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_sysctl nr 5152 nbargs 1 types: (struct __sysctl_args *) args: (args) -syscall sys_adjtimex nr 5154 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_setrlimit nr 5155 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_settimeofday nr 5159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_mount nr 5160 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_futex nr 5194 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_sched_setaffinity nr 5195 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 5196 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_io_setup nr 5200 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_getevents nr 5202 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_io_submit nr 5203 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_semtimedop nr 5214 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_timer_create nr 5216 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_settime nr 5217 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_gettime nr 5218 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_clock_settime nr 5221 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 5222 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 5223 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 5224 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_utimes nr 5226 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) -syscall sys_waitid nr 5237 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_futimesat nr 5251 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) -syscall sys_pselect6 nr 5260 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 5261 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_vmsplice nr 5266 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_set_robust_list nr 5268 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 5269 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_epoll_pwait nr 5272 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_utimensat nr 5275 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_signalfd nr 5276 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) -syscall sys_timerfd_gettime nr 5281 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_timerfd_settime nr 5282 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_rt_tgsigqueueinfo nr 5291 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_recvmmsg nr 5294 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_clock_adjtime nr 5300 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_sendmmsg nr 5302 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_process_vm_readv nr 5304 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_process_vm_writev nr 5305 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_read nr 6000 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 6001 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_open nr 6002 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) -syscall sys_close nr 6003 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_newstat nr 6004 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_newfstat nr 6005 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_newlstat nr 6006 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) -syscall sys_poll nr 6007 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) -syscall sys_lseek nr 6008 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) -syscall sys_mips_mmap nr 6009 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) -syscall sys_mprotect nr 6010 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_munmap nr 6011 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_brk nr 6012 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_32_rt_sigaction nr 6013 nbargs 4 types: (int, const struct sigaction32 *, struct sigaction32 *, unsigned int) args: (sig, act, oact, sigsetsize) -syscall sys_32_rt_sigprocmask nr 6014 nbargs 4 types: (int, compat_sigset_t *, compat_sigset_t *, unsigned int) args: (how, set, oset, sigsetsize) -syscall sys_access nr 6020 nbargs 2 types: (const char *, int) args: (filename, mode) -syscall sys_sched_yield nr 6023 nbargs 0 types: () args: () -syscall sys_mremap nr 6024 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_msync nr 6025 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_mincore nr 6026 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 6027 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_shmget nr 6028 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) -syscall sys_shmat nr 6029 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) -syscall sys_dup nr 6031 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_dup2 nr 6032 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) -syscall sys_pause nr 6033 nbargs 0 types: () args: () -syscall sys_alarm nr 6037 nbargs 1 types: (unsigned int) args: (seconds) -syscall sys_getpid nr 6038 nbargs 0 types: () args: () -syscall sys_32_sendfile nr 6039 nbargs 4 types: (long, long, compat_off_t *, s32) args: (out_fd, in_fd, offset, count) -syscall sys_socket nr 6040 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_connect nr 6041 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_accept nr 6042 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_sendto nr 6043 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_shutdown nr 6047 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_bind nr 6048 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_listen nr 6049 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_getsockname nr 6050 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 6051 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_socketpair nr 6052 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_getsockopt nr 6054 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_exit nr 6058 nbargs 1 types: (int) args: (error_code) -syscall sys_kill nr 6060 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_newuname nr 6061 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_semget nr 6062 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) -syscall sys_semop nr 6063 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) -syscall sys_n32_semctl nr 6064 nbargs 4 types: (int, int, int, u32) args: (semid, semnum, cmd, arg) -syscall sys_shmdt nr 6065 nbargs 1 types: (char *) args: (shmaddr) -syscall sys_msgget nr 6066 nbargs 2 types: (key_t, int) args: (key, msgflg) -syscall sys_n32_msgsnd nr 6067 nbargs 4 types: (int, u32, unsigned int, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_n32_msgrcv nr 6068 nbargs 5 types: (int, u32, size_t, int, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_flock nr 6071 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_fsync nr 6072 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_fdatasync nr 6073 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_truncate nr 6074 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 6075 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_getcwd nr 6077 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_chdir nr 6078 nbargs 1 types: (const char *) args: (filename) -syscall sys_fchdir nr 6079 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_rename nr 6080 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_mkdir nr 6081 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_rmdir nr 6082 nbargs 1 types: (const char *) args: (pathname) -syscall sys_creat nr 6083 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) -syscall sys_link nr 6084 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_unlink nr 6085 nbargs 1 types: (const char *) args: (pathname) -syscall sys_symlink nr 6086 nbargs 2 types: (const char *, const char *) args: (oldname, newname) -syscall sys_readlink nr 6087 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) -syscall sys_chmod nr 6088 nbargs 2 types: (const char *, umode_t) args: (filename, mode) -syscall sys_fchmod nr 6089 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_chown nr 6090 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_fchown nr 6091 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_lchown nr 6092 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) -syscall sys_umask nr 6093 nbargs 1 types: (int) args: (mask) -syscall sys_getuid nr 6100 nbargs 0 types: () args: () -syscall sys_syslog nr 6101 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_getgid nr 6102 nbargs 0 types: () args: () -syscall sys_setuid nr 6103 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setgid nr 6104 nbargs 1 types: (gid_t) args: (gid) -syscall sys_geteuid nr 6105 nbargs 0 types: () args: () -syscall sys_getegid nr 6106 nbargs 0 types: () args: () -syscall sys_setpgid nr 6107 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_getppid nr 6108 nbargs 0 types: () args: () -syscall sys_getpgrp nr 6109 nbargs 0 types: () args: () -syscall sys_setsid nr 6110 nbargs 0 types: () args: () -syscall sys_setreuid nr 6111 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setregid nr 6112 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_getgroups nr 6113 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 6114 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setresuid nr 6115 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 6116 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) -syscall sys_setresgid nr 6117 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 6118 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) -syscall sys_getpgid nr 6119 nbargs 1 types: (pid_t) args: (pid) -syscall sys_setfsuid nr 6120 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 6121 nbargs 1 types: (gid_t) args: (gid) -syscall sys_getsid nr 6122 nbargs 1 types: (pid_t) args: (pid) -syscall sys_capget nr 6123 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 6124 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_32_rt_sigpending nr 6125 nbargs 2 types: (compat_sigset_t *, unsigned int) args: (uset, sigsetsize) -syscall sys_32_rt_sigqueueinfo nr 6127 nbargs 3 types: (int, int, compat_siginfo_t *) args: (pid, sig, uinfo) -syscall sys_mknod nr 6131 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) -syscall sys_32_personality nr 6132 nbargs 1 types: (unsigned long) args: (personality) -syscall sys_sysfs nr 6136 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) -syscall sys_getpriority nr 6137 nbargs 2 types: (int, int) args: (which, who) -syscall sys_setpriority nr 6138 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_sched_setparam nr 6139 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_getparam nr 6140 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 6141 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 6142 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_get_priority_max nr 6143 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 6144 nbargs 1 types: (int) args: (policy) -syscall sys_32_sched_rr_get_interval nr 6145 nbargs 2 types: (compat_pid_t, struct compat_timespec *) args: (pid, interval) -syscall sys_mlock nr 6146 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 6147 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 6148 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 6149 nbargs 0 types: () args: () -syscall sys_vhangup nr 6150 nbargs 0 types: () args: () -syscall sys_pivot_root nr 6151 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_prctl nr 6153 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_chroot nr 6156 nbargs 1 types: (const char *) args: (filename) -syscall sys_sync nr 6157 nbargs 0 types: () args: () -syscall sys_umount nr 6161 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_swapon nr 6162 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_swapoff nr 6163 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_reboot nr 6164 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_sethostname nr 6165 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setdomainname nr 6166 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_init_module nr 6168 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 6169 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_quotactl nr 6172 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_gettid nr 6178 nbargs 0 types: () args: () -syscall sys_setxattr nr 6180 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 6181 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 6182 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 6183 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 6184 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 6185 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 6186 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 6187 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 6188 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 6189 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 6190 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 6191 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_tkill nr 6192 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_32_futex nr 6194 nbargs 6 types: (u32 *, int, u32, struct compat_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_cacheflush nr 6197 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) -syscall sys_cachectl nr 6198 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) -syscall sys_io_destroy nr 6201 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_cancel nr 6204 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_exit_group nr 6205 nbargs 1 types: (int) args: (error_code) -syscall sys_epoll_create nr 6207 nbargs 1 types: (int) args: (size) -syscall sys_epoll_ctl nr 6208 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_wait nr 6209 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) -syscall sys_remap_file_pages nr 6210 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_set_tid_address nr 6213 nbargs 1 types: (int *) args: (tidptr) -syscall sys_restart_syscall nr 6214 nbargs 0 types: () args: () -syscall sys_sendfile64 nr 6219 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_timer_getoverrun nr 6223 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_delete nr 6224 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_tgkill nr 6229 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_set_thread_area nr 6246 nbargs 1 types: (unsigned long) args: (addr) -syscall sys_inotify_init nr 6247 nbargs 0 types: () args: () -syscall sys_inotify_add_watch nr 6248 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 6249 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_openat nr 6251 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_mkdirat nr 6252 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_mknodat nr 6253 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_fchownat nr 6254 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_newfstatat nr 6256 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) -syscall sys_unlinkat nr 6257 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_renameat nr 6258 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_linkat nr 6259 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_symlinkat nr 6260 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_readlinkat nr 6261 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_fchmodat nr 6262 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_faccessat nr 6263 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_unshare nr 6266 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_splice nr 6267 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 6269 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_getcpu nr 6275 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_ioprio_set nr 6277 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 6278 nbargs 2 types: (int, int) args: (which, who) -syscall sys_eventfd nr 6282 nbargs 1 types: (unsigned int) args: (count) -syscall sys_timerfd_create nr 6284 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_signalfd4 nr 6287 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_eventfd2 nr 6288 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 6289 nbargs 1 types: (int) args: (flags) -syscall sys_dup3 nr 6290 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_pipe2 nr 6291 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_inotify_init1 nr 6292 nbargs 1 types: (int) args: (flags) -syscall sys_preadv nr 6293 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 6294 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_accept4 nr 6297 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_getdents64 nr 6299 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_prlimit64 nr 6302 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_syncfs nr 6306 nbargs 1 types: (int) args: (fd) -syscall sys_setns nr 6308 nbargs 2 types: (int, int) args: (fd, nstype) diff --git a/instrumentation/syscalls/4.4.0/arm-64-syscalls b/instrumentation/syscalls/4.4.0/arm-64-syscalls new file mode 100644 index 00000000..99360cee --- /dev/null +++ b/instrumentation/syscalls/4.4.0/arm-64-syscalls @@ -0,0 +1,256 @@ +syscall sys_io_setup nr 0 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) +syscall sys_io_destroy nr 1 nbargs 1 types: (aio_context_t) args: (ctx) +syscall sys_io_submit nr 2 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) +syscall sys_io_cancel nr 3 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) +syscall sys_io_getevents nr 4 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) +syscall sys_setxattr nr 5 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_lsetxattr nr 6 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) +syscall sys_fsetxattr nr 7 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) +syscall sys_getxattr nr 8 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_lgetxattr nr 9 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) +syscall sys_fgetxattr nr 10 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) +syscall sys_listxattr nr 11 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_llistxattr nr 12 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) +syscall sys_flistxattr nr 13 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) +syscall sys_removexattr nr 14 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_lremovexattr nr 15 nbargs 2 types: (const char *, const char *) args: (pathname, name) +syscall sys_fremovexattr nr 16 nbargs 2 types: (int, const char *) args: (fd, name) +syscall sys_getcwd nr 17 nbargs 2 types: (char *, unsigned long) args: (buf, size) +syscall sys_lookup_dcookie nr 18 nbargs 3 types: (u64, char *, size_t) args: (cookie64, buf, len) +syscall sys_eventfd2 nr 19 nbargs 2 types: (unsigned int, int) args: (count, flags) +syscall sys_epoll_create1 nr 20 nbargs 1 types: (int) args: (flags) +syscall sys_epoll_ctl nr 21 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) +syscall sys_epoll_pwait nr 22 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) +syscall sys_dup nr 23 nbargs 1 types: (unsigned int) args: (fildes) +syscall sys_dup3 nr 24 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) +syscall sys_fcntl nr 25 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_inotify_init1 nr 26 nbargs 1 types: (int) args: (flags) +syscall sys_inotify_add_watch nr 27 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) +syscall sys_inotify_rm_watch nr 28 nbargs 2 types: (int, __s32) args: (fd, wd) +syscall sys_ioctl nr 29 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) +syscall sys_ioprio_set nr 30 nbargs 3 types: (int, int, int) args: (which, who, ioprio) +syscall sys_ioprio_get nr 31 nbargs 2 types: (int, int) args: (which, who) +syscall sys_flock nr 32 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) +syscall sys_mknodat nr 33 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) +syscall sys_mkdirat nr 34 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) +syscall sys_unlinkat nr 35 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) +syscall sys_symlinkat nr 36 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) +syscall sys_linkat nr 37 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_renameat nr 38 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) +syscall sys_umount nr 39 nbargs 2 types: (char *, int) args: (name, flags) +syscall sys_mount nr 40 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) +syscall sys_pivot_root nr 41 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) +syscall sys_statfs nr 43 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) +syscall sys_fstatfs nr 44 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) +syscall sys_truncate nr 45 nbargs 2 types: (const char *, long) args: (path, length) +syscall sys_ftruncate nr 46 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) +syscall sys_fallocate nr 47 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) +syscall sys_faccessat nr 48 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) +syscall sys_chdir nr 49 nbargs 1 types: (const char *) args: (filename) +syscall sys_fchdir nr 50 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_chroot nr 51 nbargs 1 types: (const char *) args: (filename) +syscall sys_fchmod nr 52 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) +syscall sys_fchmodat nr 53 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) +syscall sys_fchownat nr 54 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) +syscall sys_fchown nr 55 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) +syscall sys_openat nr 56 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) +syscall sys_close nr 57 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_vhangup nr 58 nbargs 0 types: () args: () +syscall sys_pipe2 nr 59 nbargs 2 types: (int *, int) args: (fildes, flags) +syscall sys_quotactl nr 60 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) +syscall sys_getdents64 nr 61 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) +syscall sys_lseek nr 62 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) +syscall sys_read nr 63 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) +syscall sys_write nr 64 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) +syscall sys_readv nr 65 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_writev nr 66 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) +syscall sys_pread64 nr 67 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_pwrite64 nr 68 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) +syscall sys_preadv nr 69 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_pwritev nr 70 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) +syscall sys_sendfile64 nr 71 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) +syscall sys_pselect6 nr 72 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) +syscall sys_ppoll nr 73 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) +syscall sys_signalfd4 nr 74 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) +syscall sys_vmsplice nr 75 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) +syscall sys_splice nr 76 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) +syscall sys_tee nr 77 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) +syscall sys_readlinkat nr 78 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) +syscall sys_newfstatat nr 79 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) +syscall sys_newfstat nr 80 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) +syscall sys_sync nr 81 nbargs 0 types: () args: () +syscall sys_fsync nr 82 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_fdatasync nr 83 nbargs 1 types: (unsigned int) args: (fd) +syscall sys_sync_file_range nr 84 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) +syscall sys_timerfd_create nr 85 nbargs 2 types: (int, int) args: (clockid, flags) +syscall sys_timerfd_settime nr 86 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) +syscall sys_timerfd_gettime nr 87 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) +syscall sys_utimensat nr 88 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) +syscall sys_acct nr 89 nbargs 1 types: (const char *) args: (name) +syscall sys_capget nr 90 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) +syscall sys_capset nr 91 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) +syscall sys_personality nr 92 nbargs 1 types: (unsigned int) args: (personality) +syscall sys_exit nr 93 nbargs 1 types: (int) args: (error_code) +syscall sys_exit_group nr 94 nbargs 1 types: (int) args: (error_code) +syscall sys_waitid nr 95 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) +syscall sys_set_tid_address nr 96 nbargs 1 types: (int *) args: (tidptr) +syscall sys_unshare nr 97 nbargs 1 types: (unsigned long) args: (unshare_flags) +syscall sys_futex nr 98 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) +syscall sys_set_robust_list nr 99 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) +syscall sys_get_robust_list nr 100 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) +syscall sys_nanosleep nr 101 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) +syscall sys_getitimer nr 102 nbargs 2 types: (int, struct itimerval *) args: (which, value) +syscall sys_setitimer nr 103 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) +syscall sys_init_module nr 105 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) +syscall sys_delete_module nr 106 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) +syscall sys_timer_create nr 107 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) +syscall sys_timer_gettime nr 108 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) +syscall sys_timer_getoverrun nr 109 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_timer_settime nr 110 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) +syscall sys_timer_delete nr 111 nbargs 1 types: (timer_t) args: (timer_id) +syscall sys_clock_settime nr 112 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) +syscall sys_clock_gettime nr 113 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_getres nr 114 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) +syscall sys_clock_nanosleep nr 115 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) +syscall sys_syslog nr 116 nbargs 3 types: (int, char *, int) args: (type, buf, len) +syscall sys_ptrace nr 117 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) +syscall sys_sched_setparam nr 118 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setscheduler nr 119 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) +syscall sys_sched_getscheduler nr 120 nbargs 1 types: (pid_t) args: (pid) +syscall sys_sched_getparam nr 121 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) +syscall sys_sched_setaffinity nr 122 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_getaffinity nr 123 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) +syscall sys_sched_yield nr 124 nbargs 0 types: () args: () +syscall sys_sched_get_priority_max nr 125 nbargs 1 types: (int) args: (policy) +syscall sys_sched_get_priority_min nr 126 nbargs 1 types: (int) args: (policy) +syscall sys_sched_rr_get_interval nr 127 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) +syscall sys_restart_syscall nr 128 nbargs 0 types: () args: () +syscall sys_kill nr 129 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_tkill nr 130 nbargs 2 types: (pid_t, int) args: (pid, sig) +syscall sys_tgkill nr 131 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) +syscall sys_sigaltstack nr 132 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) +syscall sys_rt_sigsuspend nr 133 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) +syscall sys_rt_sigaction nr 134 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) +syscall sys_rt_sigprocmask nr 135 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) +syscall sys_rt_sigpending nr 136 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) +syscall sys_rt_sigtimedwait nr 137 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) +syscall sys_rt_sigqueueinfo nr 138 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) +syscall sys_setpriority nr 140 nbargs 3 types: (int, int, int) args: (which, who, niceval) +syscall sys_getpriority nr 141 nbargs 2 types: (int, int) args: (which, who) +syscall sys_reboot nr 142 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) +syscall sys_setregid nr 143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) +syscall sys_setgid nr 144 nbargs 1 types: (gid_t) args: (gid) +syscall sys_setreuid nr 145 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) +syscall sys_setuid nr 146 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setresuid nr 147 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) +syscall sys_getresuid nr 148 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) +syscall sys_setresgid nr 149 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) +syscall sys_getresgid nr 150 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) +syscall sys_setfsuid nr 151 nbargs 1 types: (uid_t) args: (uid) +syscall sys_setfsgid nr 152 nbargs 1 types: (gid_t) args: (gid) +syscall sys_times nr 153 nbargs 1 types: (struct tms *) args: (tbuf) +syscall sys_setpgid nr 154 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) +syscall sys_getpgid nr 155 nbargs 1 types: (pid_t) args: (pid) +syscall sys_getsid nr 156 nbargs 1 types: (pid_t) args: (pid) +syscall sys_setsid nr 157 nbargs 0 types: () args: () +syscall sys_getgroups nr 158 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_setgroups nr 159 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) +syscall sys_newuname nr 160 nbargs 1 types: (struct new_utsname *) args: (name) +syscall sys_sethostname nr 161 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_setdomainname nr 162 nbargs 2 types: (char *, int) args: (name, len) +syscall sys_getrlimit nr 163 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_setrlimit nr 164 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) +syscall sys_getrusage nr 165 nbargs 2 types: (int, struct rusage *) args: (who, ru) +syscall sys_umask nr 166 nbargs 1 types: (int) args: (mask) +syscall sys_prctl nr 167 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_getcpu nr 168 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) +syscall sys_gettimeofday nr 169 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_settimeofday nr 170 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) +syscall sys_adjtimex nr 171 nbargs 1 types: (struct timex *) args: (txc_p) +syscall sys_getpid nr 172 nbargs 0 types: () args: () +syscall sys_getppid nr 173 nbargs 0 types: () args: () +syscall sys_getuid nr 174 nbargs 0 types: () args: () +syscall sys_geteuid nr 175 nbargs 0 types: () args: () +syscall sys_getgid nr 176 nbargs 0 types: () args: () +syscall sys_getegid nr 177 nbargs 0 types: () args: () +syscall sys_gettid nr 178 nbargs 0 types: () args: () +syscall sys_sysinfo nr 179 nbargs 1 types: (struct sysinfo *) args: (info) +syscall sys_mq_open nr 180 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) +syscall sys_mq_unlink nr 181 nbargs 1 types: (const char *) args: (u_name) +syscall sys_mq_timedsend nr 182 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) +syscall sys_mq_timedreceive nr 183 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) +syscall sys_mq_notify nr 184 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) +syscall sys_mq_getsetattr nr 185 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) +syscall sys_msgget nr 186 nbargs 2 types: (key_t, int) args: (key, msgflg) +syscall sys_msgctl nr 187 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) +syscall sys_msgrcv nr 188 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) +syscall sys_msgsnd nr 189 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) +syscall sys_semget nr 190 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) +syscall sys_semctl nr 191 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) +syscall sys_semtimedop nr 192 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) +syscall sys_semop nr 193 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) +syscall sys_shmget nr 194 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) +syscall sys_shmctl nr 195 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) +syscall sys_shmat nr 196 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) +syscall sys_shmdt nr 197 nbargs 1 types: (char *) args: (shmaddr) +syscall sys_socket nr 198 nbargs 3 types: (int, int, int) args: (family, type, protocol) +syscall sys_socketpair nr 199 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) +syscall sys_bind nr 200 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) +syscall sys_listen nr 201 nbargs 2 types: (int, int) args: (fd, backlog) +syscall sys_accept nr 202 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) +syscall sys_connect nr 203 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) +syscall sys_getsockname nr 204 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_getpeername nr 205 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) +syscall sys_sendto nr 206 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) +syscall sys_recvfrom nr 207 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) +syscall sys_setsockopt nr 208 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) +syscall sys_getsockopt nr 209 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) +syscall sys_shutdown nr 210 nbargs 2 types: (int, int) args: (fd, how) +syscall sys_sendmsg nr 211 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_recvmsg nr 212 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) +syscall sys_readahead nr 213 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) +syscall sys_brk nr 214 nbargs 1 types: (unsigned long) args: (brk) +syscall sys_munmap nr 215 nbargs 2 types: (unsigned long, size_t) args: (addr, len) +syscall sys_mremap nr 216 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) +syscall sys_add_key nr 217 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) +syscall sys_request_key nr 218 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) +syscall sys_keyctl nr 219 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) +syscall sys_execve nr 221 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) +syscall sys_fadvise64_64 nr 223 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) +syscall sys_swapon nr 224 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) +syscall sys_swapoff nr 225 nbargs 1 types: (const char *) args: (specialfile) +syscall sys_mprotect nr 226 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) +syscall sys_msync nr 227 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) +syscall sys_mlock nr 228 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_munlock nr 229 nbargs 2 types: (unsigned long, size_t) args: (start, len) +syscall sys_mlockall nr 230 nbargs 1 types: (int) args: (flags) +syscall sys_munlockall nr 231 nbargs 0 types: () args: () +syscall sys_mincore nr 232 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) +syscall sys_madvise nr 233 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) +syscall sys_remap_file_pages nr 234 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) +syscall sys_rt_tgsigqueueinfo nr 240 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) +syscall sys_perf_event_open nr 241 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) +syscall sys_accept4 nr 242 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) +syscall sys_recvmmsg nr 243 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) +syscall sys_wait4 nr 260 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) +syscall sys_prlimit64 nr 261 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) +syscall sys_fanotify_init nr 262 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) +syscall sys_fanotify_mark nr 263 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) +syscall sys_name_to_handle_at nr 264 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) +syscall sys_open_by_handle_at nr 265 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) +syscall sys_clock_adjtime nr 266 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) +syscall sys_syncfs nr 267 nbargs 1 types: (int) args: (fd) +syscall sys_setns nr 268 nbargs 2 types: (int, int) args: (fd, nstype) +syscall sys_sendmmsg nr 269 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) +syscall sys_process_vm_readv nr 270 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_process_vm_writev nr 271 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) +syscall sys_finit_module nr 273 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) +syscall sys_sched_setattr nr 274 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) +syscall sys_sched_getattr nr 275 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, size, flags) +syscall sys_renameat2 nr 276 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) +syscall sys_seccomp nr 277 nbargs 3 types: (unsigned int, unsigned int, const char *) args: (op, flags, uargs) +syscall sys_getrandom nr 278 nbargs 3 types: (char *, size_t, unsigned int) args: (buf, count, flags) +syscall sys_memfd_create nr 279 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) +syscall sys_execveat nr 281 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) +syscall sys_membarrier nr 283 nbargs 2 types: (int, int) args: (cmd, flags) +syscall sys_mlock2 nr 284 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) \ No newline at end of file diff --git a/instrumentation/syscalls/4.4.0/arm-64-syscalls-4.4.0 b/instrumentation/syscalls/4.4.0/arm-64-syscalls-4.4.0 deleted file mode 100644 index 99360cee..00000000 --- a/instrumentation/syscalls/4.4.0/arm-64-syscalls-4.4.0 +++ /dev/null @@ -1,256 +0,0 @@ -syscall sys_io_setup nr 0 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) -syscall sys_io_destroy nr 1 nbargs 1 types: (aio_context_t) args: (ctx) -syscall sys_io_submit nr 2 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) -syscall sys_io_cancel nr 3 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) -syscall sys_io_getevents nr 4 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) -syscall sys_setxattr nr 5 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_lsetxattr nr 6 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) -syscall sys_fsetxattr nr 7 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) -syscall sys_getxattr nr 8 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_lgetxattr nr 9 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) -syscall sys_fgetxattr nr 10 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) -syscall sys_listxattr nr 11 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_llistxattr nr 12 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) -syscall sys_flistxattr nr 13 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) -syscall sys_removexattr nr 14 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_lremovexattr nr 15 nbargs 2 types: (const char *, const char *) args: (pathname, name) -syscall sys_fremovexattr nr 16 nbargs 2 types: (int, const char *) args: (fd, name) -syscall sys_getcwd nr 17 nbargs 2 types: (char *, unsigned long) args: (buf, size) -syscall sys_lookup_dcookie nr 18 nbargs 3 types: (u64, char *, size_t) args: (cookie64, buf, len) -syscall sys_eventfd2 nr 19 nbargs 2 types: (unsigned int, int) args: (count, flags) -syscall sys_epoll_create1 nr 20 nbargs 1 types: (int) args: (flags) -syscall sys_epoll_ctl nr 21 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) -syscall sys_epoll_pwait nr 22 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) -syscall sys_dup nr 23 nbargs 1 types: (unsigned int) args: (fildes) -syscall sys_dup3 nr 24 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) -syscall sys_fcntl nr 25 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_inotify_init1 nr 26 nbargs 1 types: (int) args: (flags) -syscall sys_inotify_add_watch nr 27 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) -syscall sys_inotify_rm_watch nr 28 nbargs 2 types: (int, __s32) args: (fd, wd) -syscall sys_ioctl nr 29 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) -syscall sys_ioprio_set nr 30 nbargs 3 types: (int, int, int) args: (which, who, ioprio) -syscall sys_ioprio_get nr 31 nbargs 2 types: (int, int) args: (which, who) -syscall sys_flock nr 32 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) -syscall sys_mknodat nr 33 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) -syscall sys_mkdirat nr 34 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) -syscall sys_unlinkat nr 35 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) -syscall sys_symlinkat nr 36 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) -syscall sys_linkat nr 37 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_renameat nr 38 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) -syscall sys_umount nr 39 nbargs 2 types: (char *, int) args: (name, flags) -syscall sys_mount nr 40 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) -syscall sys_pivot_root nr 41 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) -syscall sys_statfs nr 43 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) -syscall sys_fstatfs nr 44 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) -syscall sys_truncate nr 45 nbargs 2 types: (const char *, long) args: (path, length) -syscall sys_ftruncate nr 46 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) -syscall sys_fallocate nr 47 nbargs 4 types: (int, int, loff_t, loff_t) args: (fd, mode, offset, len) -syscall sys_faccessat nr 48 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) -syscall sys_chdir nr 49 nbargs 1 types: (const char *) args: (filename) -syscall sys_fchdir nr 50 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_chroot nr 51 nbargs 1 types: (const char *) args: (filename) -syscall sys_fchmod nr 52 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) -syscall sys_fchmodat nr 53 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) -syscall sys_fchownat nr 54 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) -syscall sys_fchown nr 55 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) -syscall sys_openat nr 56 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) -syscall sys_close nr 57 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_vhangup nr 58 nbargs 0 types: () args: () -syscall sys_pipe2 nr 59 nbargs 2 types: (int *, int) args: (fildes, flags) -syscall sys_quotactl nr 60 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) -syscall sys_getdents64 nr 61 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) -syscall sys_lseek nr 62 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, whence) -syscall sys_read nr 63 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) -syscall sys_write nr 64 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) -syscall sys_readv nr 65 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_writev nr 66 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) -syscall sys_pread64 nr 67 nbargs 4 types: (unsigned int, char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_pwrite64 nr 68 nbargs 4 types: (unsigned int, const char *, size_t, loff_t) args: (fd, buf, count, pos) -syscall sys_preadv nr 69 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_pwritev nr 70 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) -syscall sys_sendfile64 nr 71 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) -syscall sys_pselect6 nr 72 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) -syscall sys_ppoll nr 73 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) -syscall sys_signalfd4 nr 74 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) -syscall sys_vmsplice nr 75 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) -syscall sys_splice nr 76 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) -syscall sys_tee nr 77 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) -syscall sys_readlinkat nr 78 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) -syscall sys_newfstatat nr 79 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) -syscall sys_newfstat nr 80 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) -syscall sys_sync nr 81 nbargs 0 types: () args: () -syscall sys_fsync nr 82 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_fdatasync nr 83 nbargs 1 types: (unsigned int) args: (fd) -syscall sys_sync_file_range nr 84 nbargs 4 types: (int, loff_t, loff_t, unsigned int) args: (fd, offset, nbytes, flags) -syscall sys_timerfd_create nr 85 nbargs 2 types: (int, int) args: (clockid, flags) -syscall sys_timerfd_settime nr 86 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) -syscall sys_timerfd_gettime nr 87 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) -syscall sys_utimensat nr 88 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) -syscall sys_acct nr 89 nbargs 1 types: (const char *) args: (name) -syscall sys_capget nr 90 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) -syscall sys_capset nr 91 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) -syscall sys_personality nr 92 nbargs 1 types: (unsigned int) args: (personality) -syscall sys_exit nr 93 nbargs 1 types: (int) args: (error_code) -syscall sys_exit_group nr 94 nbargs 1 types: (int) args: (error_code) -syscall sys_waitid nr 95 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) -syscall sys_set_tid_address nr 96 nbargs 1 types: (int *) args: (tidptr) -syscall sys_unshare nr 97 nbargs 1 types: (unsigned long) args: (unshare_flags) -syscall sys_futex nr 98 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) -syscall sys_set_robust_list nr 99 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) -syscall sys_get_robust_list nr 100 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) -syscall sys_nanosleep nr 101 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) -syscall sys_getitimer nr 102 nbargs 2 types: (int, struct itimerval *) args: (which, value) -syscall sys_setitimer nr 103 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) -syscall sys_init_module nr 105 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) -syscall sys_delete_module nr 106 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) -syscall sys_timer_create nr 107 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) -syscall sys_timer_gettime nr 108 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) -syscall sys_timer_getoverrun nr 109 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_timer_settime nr 110 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) -syscall sys_timer_delete nr 111 nbargs 1 types: (timer_t) args: (timer_id) -syscall sys_clock_settime nr 112 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) -syscall sys_clock_gettime nr 113 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_getres nr 114 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) -syscall sys_clock_nanosleep nr 115 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) -syscall sys_syslog nr 116 nbargs 3 types: (int, char *, int) args: (type, buf, len) -syscall sys_ptrace nr 117 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) -syscall sys_sched_setparam nr 118 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setscheduler nr 119 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) -syscall sys_sched_getscheduler nr 120 nbargs 1 types: (pid_t) args: (pid) -syscall sys_sched_getparam nr 121 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) -syscall sys_sched_setaffinity nr 122 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_getaffinity nr 123 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) -syscall sys_sched_yield nr 124 nbargs 0 types: () args: () -syscall sys_sched_get_priority_max nr 125 nbargs 1 types: (int) args: (policy) -syscall sys_sched_get_priority_min nr 126 nbargs 1 types: (int) args: (policy) -syscall sys_sched_rr_get_interval nr 127 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) -syscall sys_restart_syscall nr 128 nbargs 0 types: () args: () -syscall sys_kill nr 129 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_tkill nr 130 nbargs 2 types: (pid_t, int) args: (pid, sig) -syscall sys_tgkill nr 131 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) -syscall sys_sigaltstack nr 132 nbargs 2 types: (const stack_t *, stack_t *) args: (uss, uoss) -syscall sys_rt_sigsuspend nr 133 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) -syscall sys_rt_sigaction nr 134 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) -syscall sys_rt_sigprocmask nr 135 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) -syscall sys_rt_sigpending nr 136 nbargs 2 types: (sigset_t *, size_t) args: (uset, sigsetsize) -syscall sys_rt_sigtimedwait nr 137 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) -syscall sys_rt_sigqueueinfo nr 138 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) -syscall sys_setpriority nr 140 nbargs 3 types: (int, int, int) args: (which, who, niceval) -syscall sys_getpriority nr 141 nbargs 2 types: (int, int) args: (which, who) -syscall sys_reboot nr 142 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) -syscall sys_setregid nr 143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) -syscall sys_setgid nr 144 nbargs 1 types: (gid_t) args: (gid) -syscall sys_setreuid nr 145 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) -syscall sys_setuid nr 146 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setresuid nr 147 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) -syscall sys_getresuid nr 148 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) -syscall sys_setresgid nr 149 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) -syscall sys_getresgid nr 150 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) -syscall sys_setfsuid nr 151 nbargs 1 types: (uid_t) args: (uid) -syscall sys_setfsgid nr 152 nbargs 1 types: (gid_t) args: (gid) -syscall sys_times nr 153 nbargs 1 types: (struct tms *) args: (tbuf) -syscall sys_setpgid nr 154 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) -syscall sys_getpgid nr 155 nbargs 1 types: (pid_t) args: (pid) -syscall sys_getsid nr 156 nbargs 1 types: (pid_t) args: (pid) -syscall sys_setsid nr 157 nbargs 0 types: () args: () -syscall sys_getgroups nr 158 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_setgroups nr 159 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) -syscall sys_newuname nr 160 nbargs 1 types: (struct new_utsname *) args: (name) -syscall sys_sethostname nr 161 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_setdomainname nr 162 nbargs 2 types: (char *, int) args: (name, len) -syscall sys_getrlimit nr 163 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_setrlimit nr 164 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) -syscall sys_getrusage nr 165 nbargs 2 types: (int, struct rusage *) args: (who, ru) -syscall sys_umask nr 166 nbargs 1 types: (int) args: (mask) -syscall sys_prctl nr 167 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_getcpu nr 168 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) -syscall sys_gettimeofday nr 169 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_settimeofday nr 170 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) -syscall sys_adjtimex nr 171 nbargs 1 types: (struct timex *) args: (txc_p) -syscall sys_getpid nr 172 nbargs 0 types: () args: () -syscall sys_getppid nr 173 nbargs 0 types: () args: () -syscall sys_getuid nr 174 nbargs 0 types: () args: () -syscall sys_geteuid nr 175 nbargs 0 types: () args: () -syscall sys_getgid nr 176 nbargs 0 types: () args: () -syscall sys_getegid nr 177 nbargs 0 types: () args: () -syscall sys_gettid nr 178 nbargs 0 types: () args: () -syscall sys_sysinfo nr 179 nbargs 1 types: (struct sysinfo *) args: (info) -syscall sys_mq_open nr 180 nbargs 4 types: (const char *, int, umode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) -syscall sys_mq_unlink nr 181 nbargs 1 types: (const char *) args: (u_name) -syscall sys_mq_timedsend nr 182 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) -syscall sys_mq_timedreceive nr 183 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) -syscall sys_mq_notify nr 184 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) -syscall sys_mq_getsetattr nr 185 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) -syscall sys_msgget nr 186 nbargs 2 types: (key_t, int) args: (key, msgflg) -syscall sys_msgctl nr 187 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) -syscall sys_msgrcv nr 188 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) -syscall sys_msgsnd nr 189 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) -syscall sys_semget nr 190 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) -syscall sys_semctl nr 191 nbargs 4 types: (int, int, int, unsigned long) args: (semid, semnum, cmd, arg) -syscall sys_semtimedop nr 192 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) -syscall sys_semop nr 193 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) -syscall sys_shmget nr 194 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) -syscall sys_shmctl nr 195 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) -syscall sys_shmat nr 196 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) -syscall sys_shmdt nr 197 nbargs 1 types: (char *) args: (shmaddr) -syscall sys_socket nr 198 nbargs 3 types: (int, int, int) args: (family, type, protocol) -syscall sys_socketpair nr 199 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) -syscall sys_bind nr 200 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) -syscall sys_listen nr 201 nbargs 2 types: (int, int) args: (fd, backlog) -syscall sys_accept nr 202 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) -syscall sys_connect nr 203 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) -syscall sys_getsockname nr 204 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_getpeername nr 205 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) -syscall sys_sendto nr 206 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) -syscall sys_recvfrom nr 207 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) -syscall sys_setsockopt nr 208 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) -syscall sys_getsockopt nr 209 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) -syscall sys_shutdown nr 210 nbargs 2 types: (int, int) args: (fd, how) -syscall sys_sendmsg nr 211 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_recvmsg nr 212 nbargs 3 types: (int, struct user_msghdr *, unsigned int) args: (fd, msg, flags) -syscall sys_readahead nr 213 nbargs 3 types: (int, loff_t, size_t) args: (fd, offset, count) -syscall sys_brk nr 214 nbargs 1 types: (unsigned long) args: (brk) -syscall sys_munmap nr 215 nbargs 2 types: (unsigned long, size_t) args: (addr, len) -syscall sys_mremap nr 216 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) -syscall sys_add_key nr 217 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) -syscall sys_request_key nr 218 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) -syscall sys_keyctl nr 219 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) -syscall sys_execve nr 221 nbargs 3 types: (const char *, const char *const *, const char *const *) args: (filename, argv, envp) -syscall sys_fadvise64_64 nr 223 nbargs 4 types: (int, loff_t, loff_t, int) args: (fd, offset, len, advice) -syscall sys_swapon nr 224 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) -syscall sys_swapoff nr 225 nbargs 1 types: (const char *) args: (specialfile) -syscall sys_mprotect nr 226 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) -syscall sys_msync nr 227 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) -syscall sys_mlock nr 228 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_munlock nr 229 nbargs 2 types: (unsigned long, size_t) args: (start, len) -syscall sys_mlockall nr 230 nbargs 1 types: (int) args: (flags) -syscall sys_munlockall nr 231 nbargs 0 types: () args: () -syscall sys_mincore nr 232 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) -syscall sys_madvise nr 233 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) -syscall sys_remap_file_pages nr 234 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) -syscall sys_rt_tgsigqueueinfo nr 240 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) -syscall sys_perf_event_open nr 241 nbargs 5 types: (struct perf_event_attr *, pid_t, int, int, unsigned long) args: (attr_uptr, pid, cpu, group_fd, flags) -syscall sys_accept4 nr 242 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) -syscall sys_recvmmsg nr 243 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) -syscall sys_wait4 nr 260 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) -syscall sys_prlimit64 nr 261 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) -syscall sys_fanotify_init nr 262 nbargs 2 types: (unsigned int, unsigned int) args: (flags, event_f_flags) -syscall sys_fanotify_mark nr 263 nbargs 5 types: (int, unsigned int, __u64, int, const char *) args: (fanotify_fd, flags, mask, dfd, pathname) -syscall sys_name_to_handle_at nr 264 nbargs 5 types: (int, const char *, struct file_handle *, int *, int) args: (dfd, name, handle, mnt_id, flag) -syscall sys_open_by_handle_at nr 265 nbargs 3 types: (int, struct file_handle *, int) args: (mountdirfd, handle, flags) -syscall sys_clock_adjtime nr 266 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) -syscall sys_syncfs nr 267 nbargs 1 types: (int) args: (fd) -syscall sys_setns nr 268 nbargs 2 types: (int, int) args: (fd, nstype) -syscall sys_sendmmsg nr 269 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) -syscall sys_process_vm_readv nr 270 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_process_vm_writev nr 271 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) -syscall sys_finit_module nr 273 nbargs 3 types: (int, const char *, int) args: (fd, uargs, flags) -syscall sys_sched_setattr nr 274 nbargs 3 types: (pid_t, struct sched_attr *, unsigned int) args: (pid, uattr, flags) -syscall sys_sched_getattr nr 275 nbargs 4 types: (pid_t, struct sched_attr *, unsigned int, unsigned int) args: (pid, uattr, size, flags) -syscall sys_renameat2 nr 276 nbargs 5 types: (int, const char *, int, const char *, unsigned int) args: (olddfd, oldname, newdfd, newname, flags) -syscall sys_seccomp nr 277 nbargs 3 types: (unsigned int, unsigned int, const char *) args: (op, flags, uargs) -syscall sys_getrandom nr 278 nbargs 3 types: (char *, size_t, unsigned int) args: (buf, count, flags) -syscall sys_memfd_create nr 279 nbargs 2 types: (const char *, unsigned int) args: (uname, flags) -syscall sys_execveat nr 281 nbargs 5 types: (int, const char *, const char *const *, const char *const *, int) args: (fd, filename, argv, envp, flags) -syscall sys_membarrier nr 283 nbargs 2 types: (int, int) args: (cmd, flags) -syscall sys_mlock2 nr 284 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) \ No newline at end of file diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h deleted file mode 100644 index ca71d869..00000000 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h +++ /dev/null @@ -1,1213 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "arm-32-syscalls-3.4.25_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) -#endif -#ifndef OVERRIDE_32_geteuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) -#endif -#ifndef OVERRIDE_32_getegid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid16 -SC_LTTNG_TRACEPOINT_EVENT(getuid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid16 -SC_LTTNG_TRACEPOINT_EVENT(getgid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid16 -SC_LTTNG_TRACEPOINT_EVENT(geteuid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid16 -SC_LTTNG_TRACEPOINT_EVENT(getegid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid16 -SC_LTTNG_TRACEPOINT_EVENT(setuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid16 -SC_LTTNG_TRACEPOINT_EVENT(setgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid16 -SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid16 -SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid16 -SC_LTTNG_TRACEPOINT_EVENT(setreuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid16 -SC_LTTNG_TRACEPOINT_EVENT(setregid16, - TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_32_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_32_msgget -SC_LTTNG_TRACEPOINT_EVENT(msgget, - TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), - TP_ARGS(sc_exit(ret,) key, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fanotify_init -SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, - TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), - TP_ARGS(sc_exit(ret,) flags, event_f_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown16 -SC_LTTNG_TRACEPOINT_EVENT(fchown16, - TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setresuid16 -SC_LTTNG_TRACEPOINT_EVENT(setresuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid)) sc_inout(ctf_integer(old_uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid16 -SC_LTTNG_TRACEPOINT_EVENT(setresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_32_semget -SC_LTTNG_TRACEPOINT_EVENT(semget, - TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), - TP_ARGS(sc_exit(ret,) key, nsems, semflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) -) -#endif -#ifndef OVERRIDE_32_shmget -SC_LTTNG_TRACEPOINT_EVENT(shmget, - TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), - TP_ARGS(sc_exit(ret,) key, size, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_keyctl -SC_LTTNG_TRACEPOINT_EVENT(keyctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "arm-32-syscalls-3.4.25_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 316, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid16 -TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid16 -TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid16 -TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid16 -TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 316, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 1, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 6, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid16 -TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 34, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 37, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 41, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 45, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid16 -TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 60, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid16 -TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid16 -TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown16 -TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid16 -TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid16 -TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid16 -TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid16 -TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 220, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 244, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 248, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 250, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 253, 5) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 260, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 261, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 268, 3) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 281, 3) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 284, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 293, 2) -#endif -#ifndef OVERRIDE_TABLE_32_semget -TRACE_SYSCALL_TABLE(semget, semget, 299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_msgget -TRACE_SYSCALL_TABLE(msgget, msgget, 303, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shmget -TRACE_SYSCALL_TABLE(shmget, shmget, 307, 3) -#endif -#ifndef OVERRIDE_TABLE_32_keyctl -TRACE_SYSCALL_TABLE(keyctl, keyctl, 311, 5) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 314, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 315, 2) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 318, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 337, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 342, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 350, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 351, 1) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 356, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 357, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 358, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 360, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fanotify_init -TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 367, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 373, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 375, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h deleted file mode 100644 index e6b52878..00000000 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef CONFIG_UID16 - -#define OVERRIDE_32_getuid16 -#define OVERRIDE_32_getgid16 -#define OVERRIDE_32_geteuid16 -#define OVERRIDE_32_getegid16 -#define OVERRIDE_32_setuid16 -#define OVERRIDE_32_setgid16 -#define OVERRIDE_32_setfsuid16 -#define OVERRIDE_32_setfsgid16 -#define OVERRIDE_32_setreuid16 -#define OVERRIDE_32_setregid16 -#define OVERRIDE_32_fchown16 -#define OVERRIDE_32_setresuid16 -#define OVERRIDE_32_setresgid16 - -#define OVERRIDE_TABLE_32_getuid16 -#define OVERRIDE_TABLE_32_getgid16 -#define OVERRIDE_TABLE_32_geteuid16 -#define OVERRIDE_TABLE_32_getegid16 -#define OVERRIDE_TABLE_32_setuid16 -#define OVERRIDE_TABLE_32_setgid16 -#define OVERRIDE_TABLE_32_setreuid16 -#define OVERRIDE_TABLE_32_setregid16 -#define OVERRIDE_TABLE_32_fchown16 -#define OVERRIDE_TABLE_32_setfsuid16 -#define OVERRIDE_TABLE_32_setfsgid16 -#define OVERRIDE_TABLE_32_setresuid16 -#define OVERRIDE_TABLE_32_setresgid16 - -#endif - -#ifndef CREATE_SYSCALL_TABLE - -#if (__BYTE_ORDER == __LITTLE_ENDIAN) - -#define OVERRIDE_32_arm_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, int advice, - int32_t offset_low, int32_t offset_high, - int32_t len_low, int32_t len_high), - TP_ARGS(sc_exit(ret,) fd, advice, offset_low, offset_high, - len_low, len_high), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(int, advice, advice)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, len, - ((loff_t) len_high << 32) | len_low)) - ) -) - -#define OVERRIDE_32_sync_file_range2 -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, - TP_PROTO(sc_exit(long ret,) int fd, - unsigned int flags, - int32_t offset_low, int32_t offset_high, - int32_t nbytes_low, int32_t nbytes_high), - TP_ARGS(sc_exit(ret,) fd, flags, offset_low, offset_high, - nbytes_low, nbytes_high), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(unsigned int, flags, flags)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, nbytes, - ((loff_t) nbytes_high << 32) | nbytes_low)) - ) -) - -#else /* __BIG_ENDIAN */ - -#define OVERRIDE_32_arm_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, int advice, - int32_t offset_high, int32_t offset_low, - int32_t len_high, int32_t len_low), - TP_ARGS(sc_exit(ret,) fd, advice, offset_high, offset_low, - len_high, len_low), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(int, advice, advice)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, len, - ((loff_t) len_high << 32) | len_low)) - ) -) - -#define OVERRIDE_32_sync_file_range2 -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, - TP_PROTO(sc_exit(long ret,) int fd, - unsigned int flags, - int32_t offset_high, int32_t offset_low, - int32_t nbytes_high, int32_t nbytes_low), - TP_ARGS(sc_exit(ret,) fd, flags, offset_high, offset_low, - nbytes_high, nbytes_low), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(unsigned int, flags, flags)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, nbytes, - ((loff_t) nbytes_high << 32) | nbytes_low)) - ) -) - -#endif - -#define OVERRIDE_32_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mmap2, - TP_PROTO(sc_exit(unsigned long ret,) - unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) - sc_in(ctf_integer_hex(unsigned long, addr, addr)) - sc_in(ctf_integer(size_t, len, len)) - sc_in(ctf_integer(int, prot, prot)) - sc_in(ctf_integer(int, flags, flags)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(off_t, pgoff, pgoff)) - ) -) - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) -#define OVERRIDE_TABLE_32_mmap2 -TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) -#define OVERRIDE_TABLE_32_arm_fadvise64_64 -TRACE_SYSCALL_TABLE(arm_fadvise64_64, arm_fadvise64_64, 270, 6) -#define OVERRIDE_TABLE_32_sync_file_range2 -TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 6) - -#endif /* CREATE_SYSCALL_TABLE */ - - diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h deleted file mode 100644 index 76aab1b1..00000000 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h +++ /dev/null @@ -1,1934 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "arm-32-syscalls-3.4.25_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_acct -SC_LTTNG_TRACEPOINT_EVENT(acct, - TP_PROTO(sc_exit(long ret,) const char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_32_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, - TP_PROTO(sc_exit(long ret,) const char * u_name), - TP_ARGS(sc_exit(ret,) u_name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) -) -#endif -#ifndef OVERRIDE_32_shmdt -SC_LTTNG_TRACEPOINT_EVENT(shmdt, - TP_PROTO(sc_exit(long ret,) char * shmaddr), - TP_ARGS(sc_exit(ret,) shmaddr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups16 -SC_LTTNG_TRACEPOINT_EVENT(getgroups16, - TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups16 -SC_LTTNG_TRACEPOINT_EVENT(setgroups16, - TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) set, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(mq_notify, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(sc_exit(ret,) mqdes, u_notification), - 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))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_lchown16 -SC_LTTNG_TRACEPOINT_EVENT(lchown16, - TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - 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))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresuid16 -SC_LTTNG_TRACEPOINT_EVENT(getresuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_32_getresgid16 -SC_LTTNG_TRACEPOINT_EVENT(getresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown16 -SC_LTTNG_TRACEPOINT_EVENT(chown16, - TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), - 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))) -) -#endif -#ifndef OVERRIDE_32_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_semop -SC_LTTNG_TRACEPOINT_EVENT(semop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) -) -#endif -#ifndef OVERRIDE_32_msgctl -SC_LTTNG_TRACEPOINT_EVENT(msgctl, - TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(sc_exit(ret,) msqid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_shmat -SC_LTTNG_TRACEPOINT_EVENT(shmat, - TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), - TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_32_shmctl -SC_LTTNG_TRACEPOINT_EVENT(shmctl, - TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(sc_exit(ret,) shmid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_32_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_quotactl -SC_LTTNG_TRACEPOINT_EVENT(quotactl, - TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) cmd, special, id, addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_open -SC_LTTNG_TRACEPOINT_EVENT(mq_open, - TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), - TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) -) -#endif -#ifndef OVERRIDE_32_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_32_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(msgsnd, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_32_request_key -SC_LTTNG_TRACEPOINT_EVENT(request_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), - 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))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(msgrcv, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_32_add_key -SC_LTTNG_TRACEPOINT_EVENT(add_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "arm-32-syscalls-3.4.25_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 3, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 5, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 8, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 9, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown16 -TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 21, 5) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 33, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 38, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) -#endif -#ifndef OVERRIDE_TABLE_32_pipe -TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 43, 1) -#endif -#ifndef OVERRIDE_TABLE_32_acct -TRACE_SYSCALL_TABLE(acct, acct, 51, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 52, 2) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups16 -TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups16 -TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) -#endif -#ifndef OVERRIDE_TABLE_32_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) -#endif -#ifndef OVERRIDE_TABLE_32_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_quotactl -TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid16 -TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid16 -TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) -#endif -#ifndef OVERRIDE_TABLE_32_chown16 -TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 212, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 218, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 219, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 240, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 243, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 245, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 246, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 247, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 251, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 252, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 256, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 257, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 258, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 262, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 263, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 265, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 269, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mq_open -TRACE_SYSCALL_TABLE(mq_open, mq_open, 274, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mq_unlink -TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 275, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 276, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 277, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_notify -TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 278, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mq_getsetattr -TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 279, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 280, 5) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 282, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 283, 3) -#endif -#ifndef OVERRIDE_TABLE_32_accept -TRACE_SYSCALL_TABLE(accept, accept, 285, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 286, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 287, 3) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 288, 4) -#endif -#ifndef OVERRIDE_TABLE_32_send -TRACE_SYSCALL_TABLE(send, send, 289, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 290, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 292, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 294, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 295, 5) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 296, 3) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_semop -TRACE_SYSCALL_TABLE(semop, semop, 298, 3) -#endif -#ifndef OVERRIDE_TABLE_32_msgsnd -TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 301, 4) -#endif -#ifndef OVERRIDE_TABLE_32_msgrcv -TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 302, 5) -#endif -#ifndef OVERRIDE_TABLE_32_msgctl -TRACE_SYSCALL_TABLE(msgctl, msgctl, 304, 3) -#endif -#ifndef OVERRIDE_TABLE_32_shmat -TRACE_SYSCALL_TABLE(shmat, shmat, 305, 3) -#endif -#ifndef OVERRIDE_TABLE_32_shmdt -TRACE_SYSCALL_TABLE(shmdt, shmdt, 306, 1) -#endif -#ifndef OVERRIDE_TABLE_32_shmctl -TRACE_SYSCALL_TABLE(shmctl, shmctl, 308, 3) -#endif -#ifndef OVERRIDE_TABLE_32_add_key -TRACE_SYSCALL_TABLE(add_key, add_key, 309, 5) -#endif -#ifndef OVERRIDE_TABLE_32_request_key -TRACE_SYSCALL_TABLE(request_key, request_key, 310, 4) -#endif -#ifndef OVERRIDE_TABLE_32_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 312, 4) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 317, 3) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 322, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 323, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 324, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 325, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 326, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 327, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 328, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 329, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 330, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 331, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 332, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 333, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 334, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 335, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 336, 5) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 338, 2) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 339, 3) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 340, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 343, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 345, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 346, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 348, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 353, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 354, 2) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 355, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 359, 2) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 361, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 362, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 363, 4) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 364, 5) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 365, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 369, 4) -#endif -#ifndef OVERRIDE_TABLE_32_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 370, 5) -#endif -#ifndef OVERRIDE_TABLE_32_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 371, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 372, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 374, 4) -#endif -#ifndef OVERRIDE_TABLE_32_process_vm_readv -TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 376, 6) -#endif -#ifndef OVERRIDE_TABLE_32_process_vm_writev -TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 377, 6) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h deleted file mode 100644 index ab325c7c..00000000 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h +++ /dev/null @@ -1,42 +0,0 @@ - -#define OVERRIDE_TABLE_32_mmap2 - -# ifndef CONFIG_UID16 -# define OVERRIDE_32_getgroups16 -# define OVERRIDE_32_setgroups16 -# define OVERRIDE_32_lchown16 -# define OVERRIDE_32_getresuid16 -# define OVERRIDE_32_getresgid16 -# define OVERRIDE_32_chown16 -# endif - -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_32_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_out(ctf_user_array(int, fildes, fildes, 2)) - ) -) - -#else /* CREATE_SYSCALL_TABLE */ - -# ifndef CONFIG_UID16 -# define OVERRIDE_TABLE_32_getgroups16 -# define OVERRIDE_TABLE_32_setgroups16 -# define OVERRIDE_TABLE_32_lchown16 -# define OVERRIDE_TABLE_32_getresuid16 -# define OVERRIDE_TABLE_32_getresgid16 -# define OVERRIDE_TABLE_32_chown16 -# endif - -#define OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 11, 3) -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 120, 5) - -#endif /* CREATE_SYSCALL_TABLE */ - - diff --git a/instrumentation/syscalls/headers/arm-32-syscalls_integers.h b/instrumentation/syscalls/headers/arm-32-syscalls_integers.h new file mode 100644 index 00000000..804dcc5f --- /dev/null +++ b/instrumentation/syscalls/headers/arm-32-syscalls_integers.h @@ -0,0 +1,1218 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 3.4.25 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "arm-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) +#endif +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) +#endif +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT(getuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT(getgid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT(geteuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT(getegid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_setuid16 +SC_LTTNG_TRACEPOINT_EVENT(setuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_32_setgid16 +SC_LTTNG_TRACEPOINT_EVENT(setgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_32_setfsuid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_32_setreuid16 +SC_LTTNG_TRACEPOINT_EVENT(setreuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid16 +SC_LTTNG_TRACEPOINT_EVENT(setregid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_32_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fanotify_init +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, + TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), + TP_ARGS(sc_exit(ret,) flags, event_f_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) +) +#endif +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) +) +#endif +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fchown16 +SC_LTTNG_TRACEPOINT_EVENT(fchown16, + TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_setresuid16 +SC_LTTNG_TRACEPOINT_EVENT(setresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid)) sc_inout(ctf_integer(old_uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid16 +SC_LTTNG_TRACEPOINT_EVENT(setresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_32_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) +) +#endif +#ifndef OVERRIDE_32_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "arm-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 316, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 316, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 1, 1) +#endif +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 6, 1) +#endif +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid16 +TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) +#endif +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 34, 1) +#endif +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 37, 2) +#endif +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 41, 1) +#endif +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 45, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid16 +TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) +#endif +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 60, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid16 +TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid16 +TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown16 +TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) +#endif +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) +#endif +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 136, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid16 +TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid16 +TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) +#endif +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 143, 2) +#endif +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 144, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid16 +TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid16 +TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) +#endif +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) +#endif +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 220, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) +#endif +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 244, 1) +#endif +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 248, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 250, 1) +#endif +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 253, 5) +#endif +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 260, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 261, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 268, 3) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 281, 3) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 284, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 293, 2) +#endif +#ifndef OVERRIDE_TABLE_32_semget +TRACE_SYSCALL_TABLE(semget, semget, 299, 3) +#endif +#ifndef OVERRIDE_TABLE_32_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 303, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 307, 3) +#endif +#ifndef OVERRIDE_TABLE_32_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 311, 5) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 314, 3) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 315, 2) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 318, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 337, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 342, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 350, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 351, 1) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 356, 2) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 357, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 358, 3) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 360, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fanotify_init +TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 367, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 373, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 375, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h new file mode 100644 index 00000000..65256042 --- /dev/null +++ b/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h @@ -0,0 +1,143 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CONFIG_UID16 + +#define OVERRIDE_32_getuid16 +#define OVERRIDE_32_getgid16 +#define OVERRIDE_32_geteuid16 +#define OVERRIDE_32_getegid16 +#define OVERRIDE_32_setuid16 +#define OVERRIDE_32_setgid16 +#define OVERRIDE_32_setfsuid16 +#define OVERRIDE_32_setfsgid16 +#define OVERRIDE_32_setreuid16 +#define OVERRIDE_32_setregid16 +#define OVERRIDE_32_fchown16 +#define OVERRIDE_32_setresuid16 +#define OVERRIDE_32_setresgid16 + +#define OVERRIDE_TABLE_32_getuid16 +#define OVERRIDE_TABLE_32_getgid16 +#define OVERRIDE_TABLE_32_geteuid16 +#define OVERRIDE_TABLE_32_getegid16 +#define OVERRIDE_TABLE_32_setuid16 +#define OVERRIDE_TABLE_32_setgid16 +#define OVERRIDE_TABLE_32_setreuid16 +#define OVERRIDE_TABLE_32_setregid16 +#define OVERRIDE_TABLE_32_fchown16 +#define OVERRIDE_TABLE_32_setfsuid16 +#define OVERRIDE_TABLE_32_setfsgid16 +#define OVERRIDE_TABLE_32_setresuid16 +#define OVERRIDE_TABLE_32_setresgid16 + +#endif + +#ifndef CREATE_SYSCALL_TABLE + +#if (__BYTE_ORDER == __LITTLE_ENDIAN) + +#define OVERRIDE_32_arm_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, int advice, + int32_t offset_low, int32_t offset_high, + int32_t len_low, int32_t len_high), + TP_ARGS(sc_exit(ret,) fd, advice, offset_low, offset_high, + len_low, len_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(int, advice, advice)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, len, + ((loff_t) len_high << 32) | len_low)) + ) +) + +#define OVERRIDE_32_sync_file_range2 +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, + TP_PROTO(sc_exit(long ret,) int fd, + unsigned int flags, + int32_t offset_low, int32_t offset_high, + int32_t nbytes_low, int32_t nbytes_high), + TP_ARGS(sc_exit(ret,) fd, flags, offset_low, offset_high, + nbytes_low, nbytes_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(unsigned int, flags, flags)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, nbytes, + ((loff_t) nbytes_high << 32) | nbytes_low)) + ) +) + +#else /* __BIG_ENDIAN */ + +#define OVERRIDE_32_arm_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, int advice, + int32_t offset_high, int32_t offset_low, + int32_t len_high, int32_t len_low), + TP_ARGS(sc_exit(ret,) fd, advice, offset_high, offset_low, + len_high, len_low), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(int, advice, advice)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, len, + ((loff_t) len_high << 32) | len_low)) + ) +) + +#define OVERRIDE_32_sync_file_range2 +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, + TP_PROTO(sc_exit(long ret,) int fd, + unsigned int flags, + int32_t offset_high, int32_t offset_low, + int32_t nbytes_high, int32_t nbytes_low), + TP_ARGS(sc_exit(ret,) fd, flags, offset_high, offset_low, + nbytes_high, nbytes_low), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(unsigned int, flags, flags)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, nbytes, + ((loff_t) nbytes_high << 32) | nbytes_low)) + ) +) + +#endif + +#define OVERRIDE_32_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mmap2, + TP_PROTO(sc_exit(unsigned long ret,) + unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) + sc_in(ctf_integer_hex(unsigned long, addr, addr)) + sc_in(ctf_integer(size_t, len, len)) + sc_in(ctf_integer(int, prot, prot)) + sc_in(ctf_integer(int, flags, flags)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(off_t, pgoff, pgoff)) + ) +) + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_32_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) +#define OVERRIDE_TABLE_32_mmap2 +TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) +#define OVERRIDE_TABLE_32_arm_fadvise64_64 +TRACE_SYSCALL_TABLE(arm_fadvise64_64, arm_fadvise64_64, 270, 6) +#define OVERRIDE_TABLE_32_sync_file_range2 +TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 6) + +#endif /* CREATE_SYSCALL_TABLE */ + + diff --git a/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h b/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h new file mode 100644 index 00000000..d7dceec1 --- /dev/null +++ b/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h @@ -0,0 +1,1939 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 3.4.25 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "arm-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_32_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) +) +#endif +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) +) +#endif +#ifndef OVERRIDE_32_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_32_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) +) +#endif +#ifndef OVERRIDE_32_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) +) +#endif +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups16 +SC_LTTNG_TRACEPOINT_EVENT(getgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups16 +SC_LTTNG_TRACEPOINT_EVENT(setgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + 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))) +) +#endif +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_lchown16 +SC_LTTNG_TRACEPOINT_EVENT(lchown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + 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))) +) +#endif +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresuid16 +SC_LTTNG_TRACEPOINT_EVENT(getresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) +) +#endif +#ifndef OVERRIDE_32_getresgid16 +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown16 +SC_LTTNG_TRACEPOINT_EVENT(chown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + 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))) +) +#endif +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) +) +#endif +#ifndef OVERRIDE_32_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_32_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_32_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) +) +#endif +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_32_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + 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))) +) +#endif +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_32_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "arm-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 3, 3) +#endif +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4, 3) +#endif +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 5, 3) +#endif +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 8, 2) +#endif +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 9, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown16 +TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 21, 5) +#endif +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 33, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 38, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) +#endif +#ifndef OVERRIDE_TABLE_32_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) +#endif +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 43, 1) +#endif +#ifndef OVERRIDE_TABLE_32_acct +TRACE_SYSCALL_TABLE(acct, acct, 51, 1) +#endif +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 52, 2) +#endif +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) +#endif +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) +#endif +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups16 +TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups16 +TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) +#endif +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) +#endif +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) +#endif +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) +#endif +#ifndef OVERRIDE_TABLE_32_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) +#endif +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) +#endif +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) +#endif +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) +#endif +#ifndef OVERRIDE_TABLE_32_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) +#endif +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) +#endif +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) +#endif +#ifndef OVERRIDE_TABLE_32_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) +#endif +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) +#endif +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 142, 5) +#endif +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 145, 3) +#endif +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 146, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid16 +TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) +#endif +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 168, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid16 +TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) +#endif +#ifndef OVERRIDE_TABLE_32_chown16 +TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) +#endif +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 212, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 218, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 219, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) +#endif +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) +#endif +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) +#endif +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) +#endif +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) +#endif +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) +#endif +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 240, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 243, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 245, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 246, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 247, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 251, 4) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 252, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 256, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 257, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 258, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 259, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 262, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 263, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 265, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 269, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 274, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 275, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 276, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 277, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 278, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 279, 3) +#endif +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 280, 5) +#endif +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 282, 3) +#endif +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 283, 3) +#endif +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 285, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 286, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 287, 3) +#endif +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 288, 4) +#endif +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 289, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 290, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 292, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 294, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 295, 5) +#endif +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 296, 3) +#endif +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 297, 3) +#endif +#ifndef OVERRIDE_TABLE_32_semop +TRACE_SYSCALL_TABLE(semop, semop, 298, 3) +#endif +#ifndef OVERRIDE_TABLE_32_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 301, 4) +#endif +#ifndef OVERRIDE_TABLE_32_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 302, 5) +#endif +#ifndef OVERRIDE_TABLE_32_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 304, 3) +#endif +#ifndef OVERRIDE_TABLE_32_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 305, 3) +#endif +#ifndef OVERRIDE_TABLE_32_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 306, 1) +#endif +#ifndef OVERRIDE_TABLE_32_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 308, 3) +#endif +#ifndef OVERRIDE_TABLE_32_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 309, 5) +#endif +#ifndef OVERRIDE_TABLE_32_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 310, 4) +#endif +#ifndef OVERRIDE_TABLE_32_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 312, 4) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 317, 3) +#endif +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 322, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 323, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 324, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 325, 5) +#endif +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 326, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 327, 4) +#endif +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 328, 3) +#endif +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 329, 4) +#endif +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 330, 5) +#endif +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 331, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 332, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 333, 3) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 334, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 335, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 336, 5) +#endif +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 338, 2) +#endif +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 339, 3) +#endif +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 340, 6) +#endif +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 343, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 345, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 346, 6) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 348, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 349, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 353, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 354, 2) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 355, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 359, 2) +#endif +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 361, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 362, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 363, 4) +#endif +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 364, 5) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 365, 5) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 366, 4) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 369, 4) +#endif +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 370, 5) +#endif +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 371, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 372, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 374, 4) +#endif +#ifndef OVERRIDE_TABLE_32_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 376, 6) +#endif +#ifndef OVERRIDE_TABLE_32_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 377, 6) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h new file mode 100644 index 00000000..45351fb0 --- /dev/null +++ b/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h @@ -0,0 +1,43 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#define OVERRIDE_TABLE_32_mmap2 + +# ifndef CONFIG_UID16 +# define OVERRIDE_32_getgroups16 +# define OVERRIDE_32_setgroups16 +# define OVERRIDE_32_lchown16 +# define OVERRIDE_32_getresuid16 +# define OVERRIDE_32_getresgid16 +# define OVERRIDE_32_chown16 +# endif + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_out(ctf_user_array(int, fildes, fildes, 2)) + ) +) + +#else /* CREATE_SYSCALL_TABLE */ + +# ifndef CONFIG_UID16 +# define OVERRIDE_TABLE_32_getgroups16 +# define OVERRIDE_TABLE_32_setgroups16 +# define OVERRIDE_TABLE_32_lchown16 +# define OVERRIDE_TABLE_32_getresuid16 +# define OVERRIDE_TABLE_32_getresgid16 +# define OVERRIDE_TABLE_32_chown16 +# endif + +#define OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#define OVERRIDE_TABLE_32_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) + +#endif /* CREATE_SYSCALL_TABLE */ + + diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h b/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h deleted file mode 100644 index b033dc17..00000000 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h +++ /dev/null @@ -1,1011 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "arm-64-syscalls-4.4.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_64_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_64_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_64_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_64_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_64_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_64_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_64_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_64_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_64_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_64_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_64_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_64_msgget -SC_LTTNG_TRACEPOINT_EVENT(msgget, - TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), - TP_ARGS(sc_exit(ret,) key, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_64_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_64_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_fanotify_init -SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, - TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), - TP_ARGS(sc_exit(ret,) flags, event_f_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) -) -#endif -#ifndef OVERRIDE_64_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_64_membarrier -SC_LTTNG_TRACEPOINT_EVENT(membarrier, - TP_PROTO(sc_exit(long ret,) int cmd, int flags), - TP_ARGS(sc_exit(ret,) cmd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_64_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_64_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_64_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_64_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_64_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_64_semget -SC_LTTNG_TRACEPOINT_EVENT(semget, - TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), - TP_ARGS(sc_exit(ret,) key, nsems, semflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) -) -#endif -#ifndef OVERRIDE_64_shmget -SC_LTTNG_TRACEPOINT_EVENT(shmget, - TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), - TP_ARGS(sc_exit(ret,) key, size, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_64_readahead -SC_LTTNG_TRACEPOINT_EVENT(readahead, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), - TP_ARGS(sc_exit(ret,) fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_64_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_64_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_64_mlock2 -SC_LTTNG_TRACEPOINT_EVENT(mlock2, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fallocate -SC_LTTNG_TRACEPOINT_EVENT(fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(sc_exit(ret,) fd, mode, offset, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_64_semctl -SC_LTTNG_TRACEPOINT_EVENT(semctl, - TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_64_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_64_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_64_keyctl -SC_LTTNG_TRACEPOINT_EVENT(keyctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_64_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "arm-64-syscalls-4.4.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 58, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 81, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 124, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 128, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 157, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 172, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 173, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 174, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 175, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 176, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 177, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 178, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 231, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 58, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(sync, sync, 81, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 124, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 128, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 157, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 172, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 173, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 174, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 175, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 176, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 177, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 178, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 231, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 1, 1) -#endif -#ifndef OVERRIDE_TABLE_64_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 19, 2) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 20, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup -TRACE_SYSCALL_TABLE(dup, dup, 23, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 24, 3) -#endif -#ifndef OVERRIDE_TABLE_64_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 25, 3) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 26, 1) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 28, 2) -#endif -#ifndef OVERRIDE_TABLE_64_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 29, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 30, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 31, 2) -#endif -#ifndef OVERRIDE_TABLE_64_flock -TRACE_SYSCALL_TABLE(flock, flock, 32, 2) -#endif -#ifndef OVERRIDE_TABLE_64_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 46, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 47, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 50, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 52, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 55, 3) -#endif -#ifndef OVERRIDE_TABLE_64_close -TRACE_SYSCALL_TABLE(close, close, 57, 1) -#endif -#ifndef OVERRIDE_TABLE_64_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 62, 3) -#endif -#ifndef OVERRIDE_TABLE_64_tee -TRACE_SYSCALL_TABLE(tee, tee, 77, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 82, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 83, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 84, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 85, 2) -#endif -#ifndef OVERRIDE_TABLE_64_personality -TRACE_SYSCALL_TABLE(personality, personality, 92, 1) -#endif -#ifndef OVERRIDE_TABLE_64_exit -TRACE_SYSCALL_TABLE(exit, exit, 93, 1) -#endif -#ifndef OVERRIDE_TABLE_64_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 94, 1) -#endif -#ifndef OVERRIDE_TABLE_64_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 97, 1) -#endif -#ifndef OVERRIDE_TABLE_64_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 109, 1) -#endif -#ifndef OVERRIDE_TABLE_64_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 111, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 117, 4) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 120, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 125, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 126, 1) -#endif -#ifndef OVERRIDE_TABLE_64_kill -TRACE_SYSCALL_TABLE(kill, kill, 129, 2) -#endif -#ifndef OVERRIDE_TABLE_64_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 130, 2) -#endif -#ifndef OVERRIDE_TABLE_64_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 131, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 140, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 141, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 143, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 144, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 145, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 146, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 147, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 149, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 151, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 152, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 154, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 155, 1) -#endif -#ifndef OVERRIDE_TABLE_64_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 156, 1) -#endif -#ifndef OVERRIDE_TABLE_64_umask -TRACE_SYSCALL_TABLE(umask, umask, 166, 1) -#endif -#ifndef OVERRIDE_TABLE_64_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 167, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msgget -TRACE_SYSCALL_TABLE(msgget, msgget, 186, 2) -#endif -#ifndef OVERRIDE_TABLE_64_semget -TRACE_SYSCALL_TABLE(semget, semget, 190, 3) -#endif -#ifndef OVERRIDE_TABLE_64_semctl -TRACE_SYSCALL_TABLE(semctl, semctl, 191, 4) -#endif -#ifndef OVERRIDE_TABLE_64_shmget -TRACE_SYSCALL_TABLE(shmget, shmget, 194, 3) -#endif -#ifndef OVERRIDE_TABLE_64_socket -TRACE_SYSCALL_TABLE(socket, socket, 198, 3) -#endif -#ifndef OVERRIDE_TABLE_64_listen -TRACE_SYSCALL_TABLE(listen, listen, 201, 2) -#endif -#ifndef OVERRIDE_TABLE_64_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 210, 2) -#endif -#ifndef OVERRIDE_TABLE_64_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 213, 3) -#endif -#ifndef OVERRIDE_TABLE_64_brk -TRACE_SYSCALL_TABLE(brk, brk, 214, 1) -#endif -#ifndef OVERRIDE_TABLE_64_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 215, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 216, 5) -#endif -#ifndef OVERRIDE_TABLE_64_keyctl -TRACE_SYSCALL_TABLE(keyctl, keyctl, 219, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fadvise64_64 -TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 223, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 226, 3) -#endif -#ifndef OVERRIDE_TABLE_64_msync -TRACE_SYSCALL_TABLE(msync, msync, 227, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 228, 2) -#endif -#ifndef OVERRIDE_TABLE_64_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 229, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 230, 1) -#endif -#ifndef OVERRIDE_TABLE_64_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 233, 3) -#endif -#ifndef OVERRIDE_TABLE_64_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 234, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fanotify_init -TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 262, 2) -#endif -#ifndef OVERRIDE_TABLE_64_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 267, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setns -TRACE_SYSCALL_TABLE(setns, setns, 268, 2) -#endif -#ifndef OVERRIDE_TABLE_64_membarrier -TRACE_SYSCALL_TABLE(membarrier, membarrier, 283, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mlock2 -TRACE_SYSCALL_TABLE(mlock2, mlock2, 284, 3) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h deleted file mode 100644 index 7a5ef794..00000000 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h +++ /dev/null @@ -1,8 +0,0 @@ -/* - * this is a place-holder for arm64 integer syscall definition override. - */ -#ifndef CREATE_SYSCALL_TABLE -#else /* CREATE_SYSCALL_TABLE */ -#define OVERRIDE_TABLE_64_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 222, 6) -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h b/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h deleted file mode 100644 index f61ec756..00000000 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h +++ /dev/null @@ -1,1664 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "arm-64-syscalls-4.4.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_64_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_acct -SC_LTTNG_TRACEPOINT_EVENT(acct, - TP_PROTO(sc_exit(long ret,) const char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_64_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_64_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_64_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_64_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_64_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, - TP_PROTO(sc_exit(long ret,) const char * u_name), - TP_ARGS(sc_exit(ret,) u_name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) -) -#endif -#ifndef OVERRIDE_64_shmdt -SC_LTTNG_TRACEPOINT_EVENT(shmdt, - TP_PROTO(sc_exit(long ret,) char * shmaddr), - TP_ARGS(sc_exit(ret,) shmaddr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) -) -#endif -#ifndef OVERRIDE_64_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_64_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_64_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_64_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_64_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_64_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_64_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_64_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_64_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_64_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_64_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, - TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), - TP_ARGS(sc_exit(ret,) uss, uoss), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) -) -#endif -#ifndef OVERRIDE_64_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_64_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_64_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(mq_notify, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(sc_exit(ret,) mqdes, u_notification), - 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))) -) -#endif -#ifndef OVERRIDE_64_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_64_memfd_create -SC_LTTNG_TRACEPOINT_EVENT(memfd_create, - TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), - TP_ARGS(sc_exit(ret,) uname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_64_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_lookup_dcookie -SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, - TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), - TP_ARGS(sc_exit(ret,) cookie64, buf, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_64_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_64_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_64_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_64_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_64_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgctl -SC_LTTNG_TRACEPOINT_EVENT(msgctl, - TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(sc_exit(ret,) msqid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_semop -SC_LTTNG_TRACEPOINT_EVENT(semop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) -) -#endif -#ifndef OVERRIDE_64_shmctl -SC_LTTNG_TRACEPOINT_EVENT(shmctl, - TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(sc_exit(ret,) shmid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_shmat -SC_LTTNG_TRACEPOINT_EVENT(shmat, - TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), - TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_execve -SC_LTTNG_TRACEPOINT_EVENT(execve, - TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), - TP_ARGS(sc_exit(ret,) filename, argv, envp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) -) -#endif -#ifndef OVERRIDE_64_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_64_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_finit_module -SC_LTTNG_TRACEPOINT_EVENT(finit_module, - TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), - TP_ARGS(sc_exit(ret,) fd, uargs, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_sched_setattr -SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_seccomp -SC_LTTNG_TRACEPOINT_EVENT(seccomp, - TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), - TP_ARGS(sc_exit(ret,) op, flags, uargs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_64_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), - TP_ARGS(sc_exit(ret,) buf, count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_64_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_64_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_quotactl -SC_LTTNG_TRACEPOINT_EVENT(quotactl, - TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) cmd, special, id, addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_64_pread64 -SC_LTTNG_TRACEPOINT_EVENT(pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_64_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_64_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_64_newfstatat -SC_LTTNG_TRACEPOINT_EVENT(newfstatat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_64_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_64_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_open -SC_LTTNG_TRACEPOINT_EVENT(mq_open, - TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), - TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) -) -#endif -#ifndef OVERRIDE_64_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(msgsnd, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_64_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_64_request_key -SC_LTTNG_TRACEPOINT_EVENT(request_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getattr -SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(msgrcv, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_add_key -SC_LTTNG_TRACEPOINT_EVENT(add_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), - 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))) -) -#endif -#ifndef OVERRIDE_64_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_fanotify_mark -SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, - TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), - TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_64_renameat2 -SC_LTTNG_TRACEPOINT_EVENT(renameat2, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_execveat -SC_LTTNG_TRACEPOINT_EVENT(execveat, - TP_PROTO(sc_exit(long ret,) int fd, const char * filename, const char *const * argv, const char *const * envp, int flags), - TP_ARGS(sc_exit(ret,) fd, filename, argv, envp, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp)) sc_inout(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "arm-64-syscalls-4.4.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_64_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 0, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 2, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 3, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4, 5) -#endif -#ifndef OVERRIDE_TABLE_64_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 5, 5) -#endif -#ifndef OVERRIDE_TABLE_64_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 7, 5) -#endif -#ifndef OVERRIDE_TABLE_64_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 8, 4) -#endif -#ifndef OVERRIDE_TABLE_64_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 9, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 10, 4) -#endif -#ifndef OVERRIDE_TABLE_64_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 11, 3) -#endif -#ifndef OVERRIDE_TABLE_64_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 12, 3) -#endif -#ifndef OVERRIDE_TABLE_64_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 13, 3) -#endif -#ifndef OVERRIDE_TABLE_64_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 14, 2) -#endif -#ifndef OVERRIDE_TABLE_64_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 15, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 16, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 17, 2) -#endif -#ifndef OVERRIDE_TABLE_64_lookup_dcookie -TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 18, 3) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 21, 4) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 22, 6) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 27, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 33, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 34, 3) -#endif -#ifndef OVERRIDE_TABLE_64_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 35, 3) -#endif -#ifndef OVERRIDE_TABLE_64_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 36, 3) -#endif -#ifndef OVERRIDE_TABLE_64_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 37, 5) -#endif -#ifndef OVERRIDE_TABLE_64_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 38, 4) -#endif -#ifndef OVERRIDE_TABLE_64_umount -TRACE_SYSCALL_TABLE(umount, umount, 39, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mount -TRACE_SYSCALL_TABLE(mount, mount, 40, 5) -#endif -#ifndef OVERRIDE_TABLE_64_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 41, 2) -#endif -#ifndef OVERRIDE_TABLE_64_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 43, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 44, 2) -#endif -#ifndef OVERRIDE_TABLE_64_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 45, 2) -#endif -#ifndef OVERRIDE_TABLE_64_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 48, 3) -#endif -#ifndef OVERRIDE_TABLE_64_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 49, 1) -#endif -#ifndef OVERRIDE_TABLE_64_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 51, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 53, 3) -#endif -#ifndef OVERRIDE_TABLE_64_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 54, 5) -#endif -#ifndef OVERRIDE_TABLE_64_openat -TRACE_SYSCALL_TABLE(openat, openat, 56, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 59, 2) -#endif -#ifndef OVERRIDE_TABLE_64_quotactl -TRACE_SYSCALL_TABLE(quotactl, quotactl, 60, 4) -#endif -#ifndef OVERRIDE_TABLE_64_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 61, 3) -#endif -#ifndef OVERRIDE_TABLE_64_read -TRACE_SYSCALL_TABLE(read, read, 63, 3) -#endif -#ifndef OVERRIDE_TABLE_64_write -TRACE_SYSCALL_TABLE(write, write, 64, 3) -#endif -#ifndef OVERRIDE_TABLE_64_readv -TRACE_SYSCALL_TABLE(readv, readv, 65, 3) -#endif -#ifndef OVERRIDE_TABLE_64_writev -TRACE_SYSCALL_TABLE(writev, writev, 66, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 67, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 68, 4) -#endif -#ifndef OVERRIDE_TABLE_64_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 69, 5) -#endif -#ifndef OVERRIDE_TABLE_64_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 70, 5) -#endif -#ifndef OVERRIDE_TABLE_64_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 71, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 72, 6) -#endif -#ifndef OVERRIDE_TABLE_64_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 73, 5) -#endif -#ifndef OVERRIDE_TABLE_64_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 74, 4) -#endif -#ifndef OVERRIDE_TABLE_64_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 75, 4) -#endif -#ifndef OVERRIDE_TABLE_64_splice -TRACE_SYSCALL_TABLE(splice, splice, 76, 6) -#endif -#ifndef OVERRIDE_TABLE_64_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 78, 4) -#endif -#ifndef OVERRIDE_TABLE_64_newfstatat -TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 79, 4) -#endif -#ifndef OVERRIDE_TABLE_64_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 80, 2) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 86, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 87, 2) -#endif -#ifndef OVERRIDE_TABLE_64_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 88, 4) -#endif -#ifndef OVERRIDE_TABLE_64_acct -TRACE_SYSCALL_TABLE(acct, acct, 89, 1) -#endif -#ifndef OVERRIDE_TABLE_64_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 95, 5) -#endif -#ifndef OVERRIDE_TABLE_64_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 96, 1) -#endif -#ifndef OVERRIDE_TABLE_64_futex -TRACE_SYSCALL_TABLE(futex, futex, 98, 6) -#endif -#ifndef OVERRIDE_TABLE_64_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 99, 2) -#endif -#ifndef OVERRIDE_TABLE_64_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 100, 3) -#endif -#ifndef OVERRIDE_TABLE_64_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 101, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 102, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 103, 3) -#endif -#ifndef OVERRIDE_TABLE_64_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 105, 3) -#endif -#ifndef OVERRIDE_TABLE_64_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 106, 2) -#endif -#ifndef OVERRIDE_TABLE_64_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 107, 3) -#endif -#ifndef OVERRIDE_TABLE_64_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 108, 2) -#endif -#ifndef OVERRIDE_TABLE_64_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 110, 4) -#endif -#ifndef OVERRIDE_TABLE_64_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 112, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 113, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 114, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 115, 4) -#endif -#ifndef OVERRIDE_TABLE_64_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 116, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 118, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 119, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 121, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 122, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 123, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 127, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 132, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 133, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 134, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 135, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 136, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 137, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 138, 3) -#endif -#ifndef OVERRIDE_TABLE_64_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 142, 4) -#endif -#ifndef OVERRIDE_TABLE_64_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 148, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 150, 3) -#endif -#ifndef OVERRIDE_TABLE_64_times -TRACE_SYSCALL_TABLE(times, times, 153, 1) -#endif -#ifndef OVERRIDE_TABLE_64_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 158, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 159, 2) -#endif -#ifndef OVERRIDE_TABLE_64_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 160, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 162, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 163, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 164, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 165, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 168, 3) -#endif -#ifndef OVERRIDE_TABLE_64_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 169, 2) -#endif -#ifndef OVERRIDE_TABLE_64_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 170, 2) -#endif -#ifndef OVERRIDE_TABLE_64_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 171, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 179, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mq_open -TRACE_SYSCALL_TABLE(mq_open, mq_open, 180, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mq_unlink -TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 181, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 182, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 183, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mq_notify -TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 184, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mq_getsetattr -TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 185, 3) -#endif -#ifndef OVERRIDE_TABLE_64_msgctl -TRACE_SYSCALL_TABLE(msgctl, msgctl, 187, 3) -#endif -#ifndef OVERRIDE_TABLE_64_msgrcv -TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 188, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msgsnd -TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 189, 4) -#endif -#ifndef OVERRIDE_TABLE_64_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 192, 4) -#endif -#ifndef OVERRIDE_TABLE_64_semop -TRACE_SYSCALL_TABLE(semop, semop, 193, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmctl -TRACE_SYSCALL_TABLE(shmctl, shmctl, 195, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmat -TRACE_SYSCALL_TABLE(shmat, shmat, 196, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmdt -TRACE_SYSCALL_TABLE(shmdt, shmdt, 197, 1) -#endif -#ifndef OVERRIDE_TABLE_64_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 199, 4) -#endif -#ifndef OVERRIDE_TABLE_64_bind -TRACE_SYSCALL_TABLE(bind, bind, 200, 3) -#endif -#ifndef OVERRIDE_TABLE_64_accept -TRACE_SYSCALL_TABLE(accept, accept, 202, 3) -#endif -#ifndef OVERRIDE_TABLE_64_connect -TRACE_SYSCALL_TABLE(connect, connect, 203, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 204, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 205, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 206, 6) -#endif -#ifndef OVERRIDE_TABLE_64_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 207, 6) -#endif -#ifndef OVERRIDE_TABLE_64_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 208, 5) -#endif -#ifndef OVERRIDE_TABLE_64_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 209, 5) -#endif -#ifndef OVERRIDE_TABLE_64_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 211, 3) -#endif -#ifndef OVERRIDE_TABLE_64_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 212, 3) -#endif -#ifndef OVERRIDE_TABLE_64_add_key -TRACE_SYSCALL_TABLE(add_key, add_key, 217, 5) -#endif -#ifndef OVERRIDE_TABLE_64_request_key -TRACE_SYSCALL_TABLE(request_key, request_key, 218, 4) -#endif -#ifndef OVERRIDE_TABLE_64_execve -TRACE_SYSCALL_TABLE(execve, execve, 221, 3) -#endif -#ifndef OVERRIDE_TABLE_64_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 224, 2) -#endif -#ifndef OVERRIDE_TABLE_64_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 225, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 232, 3) -#endif -#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 240, 4) -#endif -#ifndef OVERRIDE_TABLE_64_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 241, 5) -#endif -#ifndef OVERRIDE_TABLE_64_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 242, 4) -#endif -#ifndef OVERRIDE_TABLE_64_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 243, 5) -#endif -#ifndef OVERRIDE_TABLE_64_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 260, 4) -#endif -#ifndef OVERRIDE_TABLE_64_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 261, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fanotify_mark -TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 263, 5) -#endif -#ifndef OVERRIDE_TABLE_64_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 264, 5) -#endif -#ifndef OVERRIDE_TABLE_64_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 265, 3) -#endif -#ifndef OVERRIDE_TABLE_64_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 266, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 269, 4) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_readv -TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 270, 6) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_writev -TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 271, 6) -#endif -#ifndef OVERRIDE_TABLE_64_finit_module -TRACE_SYSCALL_TABLE(finit_module, finit_module, 273, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setattr -TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 274, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getattr -TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 275, 4) -#endif -#ifndef OVERRIDE_TABLE_64_renameat2 -TRACE_SYSCALL_TABLE(renameat2, renameat2, 276, 5) -#endif -#ifndef OVERRIDE_TABLE_64_seccomp -TRACE_SYSCALL_TABLE(seccomp, seccomp, 277, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getrandom -TRACE_SYSCALL_TABLE(getrandom, getrandom, 278, 3) -#endif -#ifndef OVERRIDE_TABLE_64_memfd_create -TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 279, 2) -#endif -#ifndef OVERRIDE_TABLE_64_execveat -TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h deleted file mode 100644 index 07929729..00000000 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h +++ /dev/null @@ -1,9 +0,0 @@ -/* - * this is a place-holder for arm64 integer syscall definition override. - */ -#ifndef CREATE_SYSCALL_TABLE - -#else -#define OVERRIDE_TABLE_64_clone -TRACE_SYSCALL_TABLE(clone, clone, 220, 5) -#endif diff --git a/instrumentation/syscalls/headers/arm-64-syscalls_integers.h b/instrumentation/syscalls/headers/arm-64-syscalls_integers.h new file mode 100644 index 00000000..c67abb7c --- /dev/null +++ b/instrumentation/syscalls/headers/arm-64-syscalls_integers.h @@ -0,0 +1,1016 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 4.4.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "arm-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_64_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_64_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_64_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_64_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_64_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_64_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_64_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_64_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_64_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_64_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_64_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_64_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_64_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_64_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_fanotify_init +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, + TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), + TP_ARGS(sc_exit(ret,) flags, event_f_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) +) +#endif +#ifndef OVERRIDE_64_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_64_membarrier +SC_LTTNG_TRACEPOINT_EVENT(membarrier, + TP_PROTO(sc_exit(long ret,) int cmd, int flags), + TP_ARGS(sc_exit(ret,) cmd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_64_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_64_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_64_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_64_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_64_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_64_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) +) +#endif +#ifndef OVERRIDE_64_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_64_readahead +SC_LTTNG_TRACEPOINT_EVENT(readahead, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), + TP_ARGS(sc_exit(ret,) fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_64_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_64_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_64_mlock2 +SC_LTTNG_TRACEPOINT_EVENT(mlock2, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fallocate +SC_LTTNG_TRACEPOINT_EVENT(fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), + TP_ARGS(sc_exit(ret,) fd, mode, offset, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_64_semctl +SC_LTTNG_TRACEPOINT_EVENT(semctl, + TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_64_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_64_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_64_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_64_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "arm-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 58, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 81, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 124, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 128, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 157, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 172, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 174, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 175, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 176, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 177, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 178, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 231, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 58, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(sync, sync, 81, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 124, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 128, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 157, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 172, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 173, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 174, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 175, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 176, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 177, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 178, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 231, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 1, 1) +#endif +#ifndef OVERRIDE_TABLE_64_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 19, 2) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 20, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup +TRACE_SYSCALL_TABLE(dup, dup, 23, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 24, 3) +#endif +#ifndef OVERRIDE_TABLE_64_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 25, 3) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 26, 1) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 28, 2) +#endif +#ifndef OVERRIDE_TABLE_64_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 29, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 30, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 31, 2) +#endif +#ifndef OVERRIDE_TABLE_64_flock +TRACE_SYSCALL_TABLE(flock, flock, 32, 2) +#endif +#ifndef OVERRIDE_TABLE_64_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 46, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 47, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 50, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 52, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 55, 3) +#endif +#ifndef OVERRIDE_TABLE_64_close +TRACE_SYSCALL_TABLE(close, close, 57, 1) +#endif +#ifndef OVERRIDE_TABLE_64_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 62, 3) +#endif +#ifndef OVERRIDE_TABLE_64_tee +TRACE_SYSCALL_TABLE(tee, tee, 77, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 82, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 83, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 84, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 85, 2) +#endif +#ifndef OVERRIDE_TABLE_64_personality +TRACE_SYSCALL_TABLE(personality, personality, 92, 1) +#endif +#ifndef OVERRIDE_TABLE_64_exit +TRACE_SYSCALL_TABLE(exit, exit, 93, 1) +#endif +#ifndef OVERRIDE_TABLE_64_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 94, 1) +#endif +#ifndef OVERRIDE_TABLE_64_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 97, 1) +#endif +#ifndef OVERRIDE_TABLE_64_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 109, 1) +#endif +#ifndef OVERRIDE_TABLE_64_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 111, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 117, 4) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 120, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 125, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 126, 1) +#endif +#ifndef OVERRIDE_TABLE_64_kill +TRACE_SYSCALL_TABLE(kill, kill, 129, 2) +#endif +#ifndef OVERRIDE_TABLE_64_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 130, 2) +#endif +#ifndef OVERRIDE_TABLE_64_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 131, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 140, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 141, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 143, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 144, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 145, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 146, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 147, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 149, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 151, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 152, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 154, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 155, 1) +#endif +#ifndef OVERRIDE_TABLE_64_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 156, 1) +#endif +#ifndef OVERRIDE_TABLE_64_umask +TRACE_SYSCALL_TABLE(umask, umask, 166, 1) +#endif +#ifndef OVERRIDE_TABLE_64_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 167, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 186, 2) +#endif +#ifndef OVERRIDE_TABLE_64_semget +TRACE_SYSCALL_TABLE(semget, semget, 190, 3) +#endif +#ifndef OVERRIDE_TABLE_64_semctl +TRACE_SYSCALL_TABLE(semctl, semctl, 191, 4) +#endif +#ifndef OVERRIDE_TABLE_64_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 194, 3) +#endif +#ifndef OVERRIDE_TABLE_64_socket +TRACE_SYSCALL_TABLE(socket, socket, 198, 3) +#endif +#ifndef OVERRIDE_TABLE_64_listen +TRACE_SYSCALL_TABLE(listen, listen, 201, 2) +#endif +#ifndef OVERRIDE_TABLE_64_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 210, 2) +#endif +#ifndef OVERRIDE_TABLE_64_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 213, 3) +#endif +#ifndef OVERRIDE_TABLE_64_brk +TRACE_SYSCALL_TABLE(brk, brk, 214, 1) +#endif +#ifndef OVERRIDE_TABLE_64_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 215, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 216, 5) +#endif +#ifndef OVERRIDE_TABLE_64_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 219, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fadvise64_64 +TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 223, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 226, 3) +#endif +#ifndef OVERRIDE_TABLE_64_msync +TRACE_SYSCALL_TABLE(msync, msync, 227, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 228, 2) +#endif +#ifndef OVERRIDE_TABLE_64_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 229, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 230, 1) +#endif +#ifndef OVERRIDE_TABLE_64_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 233, 3) +#endif +#ifndef OVERRIDE_TABLE_64_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 234, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fanotify_init +TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 262, 2) +#endif +#ifndef OVERRIDE_TABLE_64_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 267, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setns +TRACE_SYSCALL_TABLE(setns, setns, 268, 2) +#endif +#ifndef OVERRIDE_TABLE_64_membarrier +TRACE_SYSCALL_TABLE(membarrier, membarrier, 283, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mlock2 +TRACE_SYSCALL_TABLE(mlock2, mlock2, 284, 3) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h new file mode 100644 index 00000000..2c9849ec --- /dev/null +++ b/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* + * this is a place-holder for arm64 integer syscall definition override. + */ +#ifndef CREATE_SYSCALL_TABLE +#else /* CREATE_SYSCALL_TABLE */ +#define OVERRIDE_TABLE_64_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 222, 6) +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h b/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h new file mode 100644 index 00000000..4dfa0b68 --- /dev/null +++ b/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h @@ -0,0 +1,1669 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 4.4.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "arm-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_64_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_64_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_64_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_64_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_64_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_64_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) +) +#endif +#ifndef OVERRIDE_64_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) +) +#endif +#ifndef OVERRIDE_64_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_64_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_64_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_64_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_64_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_64_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_64_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_64_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_64_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_64_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_64_sigaltstack +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, + TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), + TP_ARGS(sc_exit(ret,) uss, uoss), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) +) +#endif +#ifndef OVERRIDE_64_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_64_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_64_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + 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))) +) +#endif +#ifndef OVERRIDE_64_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_64_memfd_create +SC_LTTNG_TRACEPOINT_EVENT(memfd_create, + TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), + TP_ARGS(sc_exit(ret,) uname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_64_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_lookup_dcookie +SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, + TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), + TP_ARGS(sc_exit(ret,) cookie64, buf, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_64_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_64_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_64_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) +) +#endif +#ifndef OVERRIDE_64_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) +) +#endif +#ifndef OVERRIDE_64_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) +) +#endif +#ifndef OVERRIDE_64_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_execve +SC_LTTNG_TRACEPOINT_EVENT(execve, + TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), + TP_ARGS(sc_exit(ret,) filename, argv, envp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) +) +#endif +#ifndef OVERRIDE_64_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_64_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_finit_module +SC_LTTNG_TRACEPOINT_EVENT(finit_module, + TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), + TP_ARGS(sc_exit(ret,) fd, uargs, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_sched_setattr +SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_seccomp +SC_LTTNG_TRACEPOINT_EVENT(seccomp, + TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), + TP_ARGS(sc_exit(ret,) op, flags, uargs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_64_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), + TP_ARGS(sc_exit(ret,) buf, count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_64_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_64_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_64_pread64 +SC_LTTNG_TRACEPOINT_EVENT(pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_64_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_64_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_64_newfstatat +SC_LTTNG_TRACEPOINT_EVENT(newfstatat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_64_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_64_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) +) +#endif +#ifndef OVERRIDE_64_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_64_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_64_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getattr +SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + 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))) +) +#endif +#ifndef OVERRIDE_64_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_fanotify_mark +SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, + TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), + TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_64_renameat2 +SC_LTTNG_TRACEPOINT_EVENT(renameat2, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_execveat +SC_LTTNG_TRACEPOINT_EVENT(execveat, + TP_PROTO(sc_exit(long ret,) int fd, const char * filename, const char *const * argv, const char *const * envp, int flags), + TP_ARGS(sc_exit(ret,) fd, filename, argv, envp, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp)) sc_inout(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "arm-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_64_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 0, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 2, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 3, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4, 5) +#endif +#ifndef OVERRIDE_TABLE_64_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 5, 5) +#endif +#ifndef OVERRIDE_TABLE_64_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 7, 5) +#endif +#ifndef OVERRIDE_TABLE_64_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 8, 4) +#endif +#ifndef OVERRIDE_TABLE_64_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 9, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 10, 4) +#endif +#ifndef OVERRIDE_TABLE_64_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 11, 3) +#endif +#ifndef OVERRIDE_TABLE_64_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 12, 3) +#endif +#ifndef OVERRIDE_TABLE_64_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 13, 3) +#endif +#ifndef OVERRIDE_TABLE_64_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 14, 2) +#endif +#ifndef OVERRIDE_TABLE_64_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 15, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 16, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 17, 2) +#endif +#ifndef OVERRIDE_TABLE_64_lookup_dcookie +TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 18, 3) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 21, 4) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 22, 6) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 27, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 33, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 34, 3) +#endif +#ifndef OVERRIDE_TABLE_64_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 35, 3) +#endif +#ifndef OVERRIDE_TABLE_64_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 36, 3) +#endif +#ifndef OVERRIDE_TABLE_64_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 37, 5) +#endif +#ifndef OVERRIDE_TABLE_64_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 38, 4) +#endif +#ifndef OVERRIDE_TABLE_64_umount +TRACE_SYSCALL_TABLE(umount, umount, 39, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mount +TRACE_SYSCALL_TABLE(mount, mount, 40, 5) +#endif +#ifndef OVERRIDE_TABLE_64_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 41, 2) +#endif +#ifndef OVERRIDE_TABLE_64_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 43, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 44, 2) +#endif +#ifndef OVERRIDE_TABLE_64_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 45, 2) +#endif +#ifndef OVERRIDE_TABLE_64_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 48, 3) +#endif +#ifndef OVERRIDE_TABLE_64_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 49, 1) +#endif +#ifndef OVERRIDE_TABLE_64_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 51, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 53, 3) +#endif +#ifndef OVERRIDE_TABLE_64_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 54, 5) +#endif +#ifndef OVERRIDE_TABLE_64_openat +TRACE_SYSCALL_TABLE(openat, openat, 56, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 59, 2) +#endif +#ifndef OVERRIDE_TABLE_64_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 60, 4) +#endif +#ifndef OVERRIDE_TABLE_64_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 61, 3) +#endif +#ifndef OVERRIDE_TABLE_64_read +TRACE_SYSCALL_TABLE(read, read, 63, 3) +#endif +#ifndef OVERRIDE_TABLE_64_write +TRACE_SYSCALL_TABLE(write, write, 64, 3) +#endif +#ifndef OVERRIDE_TABLE_64_readv +TRACE_SYSCALL_TABLE(readv, readv, 65, 3) +#endif +#ifndef OVERRIDE_TABLE_64_writev +TRACE_SYSCALL_TABLE(writev, writev, 66, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 67, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 68, 4) +#endif +#ifndef OVERRIDE_TABLE_64_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 69, 5) +#endif +#ifndef OVERRIDE_TABLE_64_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 70, 5) +#endif +#ifndef OVERRIDE_TABLE_64_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 71, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 72, 6) +#endif +#ifndef OVERRIDE_TABLE_64_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 73, 5) +#endif +#ifndef OVERRIDE_TABLE_64_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 74, 4) +#endif +#ifndef OVERRIDE_TABLE_64_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 75, 4) +#endif +#ifndef OVERRIDE_TABLE_64_splice +TRACE_SYSCALL_TABLE(splice, splice, 76, 6) +#endif +#ifndef OVERRIDE_TABLE_64_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 78, 4) +#endif +#ifndef OVERRIDE_TABLE_64_newfstatat +TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 79, 4) +#endif +#ifndef OVERRIDE_TABLE_64_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 80, 2) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 86, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 87, 2) +#endif +#ifndef OVERRIDE_TABLE_64_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 88, 4) +#endif +#ifndef OVERRIDE_TABLE_64_acct +TRACE_SYSCALL_TABLE(acct, acct, 89, 1) +#endif +#ifndef OVERRIDE_TABLE_64_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 95, 5) +#endif +#ifndef OVERRIDE_TABLE_64_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 96, 1) +#endif +#ifndef OVERRIDE_TABLE_64_futex +TRACE_SYSCALL_TABLE(futex, futex, 98, 6) +#endif +#ifndef OVERRIDE_TABLE_64_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 99, 2) +#endif +#ifndef OVERRIDE_TABLE_64_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 100, 3) +#endif +#ifndef OVERRIDE_TABLE_64_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 101, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 102, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 103, 3) +#endif +#ifndef OVERRIDE_TABLE_64_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 105, 3) +#endif +#ifndef OVERRIDE_TABLE_64_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 106, 2) +#endif +#ifndef OVERRIDE_TABLE_64_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 107, 3) +#endif +#ifndef OVERRIDE_TABLE_64_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 108, 2) +#endif +#ifndef OVERRIDE_TABLE_64_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 110, 4) +#endif +#ifndef OVERRIDE_TABLE_64_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 112, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 113, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 114, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 115, 4) +#endif +#ifndef OVERRIDE_TABLE_64_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 116, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 118, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 119, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 121, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 122, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 123, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 127, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 132, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 133, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 134, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 135, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 136, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 137, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 138, 3) +#endif +#ifndef OVERRIDE_TABLE_64_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 142, 4) +#endif +#ifndef OVERRIDE_TABLE_64_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 148, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 150, 3) +#endif +#ifndef OVERRIDE_TABLE_64_times +TRACE_SYSCALL_TABLE(times, times, 153, 1) +#endif +#ifndef OVERRIDE_TABLE_64_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 158, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 159, 2) +#endif +#ifndef OVERRIDE_TABLE_64_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 160, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 162, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 163, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 164, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 165, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 168, 3) +#endif +#ifndef OVERRIDE_TABLE_64_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 169, 2) +#endif +#ifndef OVERRIDE_TABLE_64_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 170, 2) +#endif +#ifndef OVERRIDE_TABLE_64_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 171, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 179, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 180, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 181, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 182, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 183, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 184, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 185, 3) +#endif +#ifndef OVERRIDE_TABLE_64_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 187, 3) +#endif +#ifndef OVERRIDE_TABLE_64_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 188, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 189, 4) +#endif +#ifndef OVERRIDE_TABLE_64_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 192, 4) +#endif +#ifndef OVERRIDE_TABLE_64_semop +TRACE_SYSCALL_TABLE(semop, semop, 193, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 195, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 196, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 197, 1) +#endif +#ifndef OVERRIDE_TABLE_64_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 199, 4) +#endif +#ifndef OVERRIDE_TABLE_64_bind +TRACE_SYSCALL_TABLE(bind, bind, 200, 3) +#endif +#ifndef OVERRIDE_TABLE_64_accept +TRACE_SYSCALL_TABLE(accept, accept, 202, 3) +#endif +#ifndef OVERRIDE_TABLE_64_connect +TRACE_SYSCALL_TABLE(connect, connect, 203, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 204, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 205, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 206, 6) +#endif +#ifndef OVERRIDE_TABLE_64_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 207, 6) +#endif +#ifndef OVERRIDE_TABLE_64_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 208, 5) +#endif +#ifndef OVERRIDE_TABLE_64_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 209, 5) +#endif +#ifndef OVERRIDE_TABLE_64_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 211, 3) +#endif +#ifndef OVERRIDE_TABLE_64_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 212, 3) +#endif +#ifndef OVERRIDE_TABLE_64_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 217, 5) +#endif +#ifndef OVERRIDE_TABLE_64_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 218, 4) +#endif +#ifndef OVERRIDE_TABLE_64_execve +TRACE_SYSCALL_TABLE(execve, execve, 221, 3) +#endif +#ifndef OVERRIDE_TABLE_64_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 224, 2) +#endif +#ifndef OVERRIDE_TABLE_64_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 225, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 232, 3) +#endif +#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 240, 4) +#endif +#ifndef OVERRIDE_TABLE_64_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 241, 5) +#endif +#ifndef OVERRIDE_TABLE_64_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 242, 4) +#endif +#ifndef OVERRIDE_TABLE_64_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 243, 5) +#endif +#ifndef OVERRIDE_TABLE_64_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 260, 4) +#endif +#ifndef OVERRIDE_TABLE_64_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 261, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fanotify_mark +TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 263, 5) +#endif +#ifndef OVERRIDE_TABLE_64_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 264, 5) +#endif +#ifndef OVERRIDE_TABLE_64_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 265, 3) +#endif +#ifndef OVERRIDE_TABLE_64_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 266, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 269, 4) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 270, 6) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 271, 6) +#endif +#ifndef OVERRIDE_TABLE_64_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 273, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 274, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 275, 4) +#endif +#ifndef OVERRIDE_TABLE_64_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 276, 5) +#endif +#ifndef OVERRIDE_TABLE_64_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 277, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 278, 3) +#endif +#ifndef OVERRIDE_TABLE_64_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 279, 2) +#endif +#ifndef OVERRIDE_TABLE_64_execveat +TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h new file mode 100644 index 00000000..7899824b --- /dev/null +++ b/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* + * this is a place-holder for arm64 integer syscall definition override. + */ +#ifndef CREATE_SYSCALL_TABLE + +#else +#define OVERRIDE_TABLE_64_clone +TRACE_SYSCALL_TABLE(clone, clone, 220, 5) +#endif diff --git a/instrumentation/syscalls/headers/compat_syscalls_integers.h b/instrumentation/syscalls/headers/compat_syscalls_integers.h index fa1657d5..798893b9 100644 --- a/instrumentation/syscalls/headers/compat_syscalls_integers.h +++ b/instrumentation/syscalls/headers/compat_syscalls_integers.h @@ -1,11 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-32-syscalls-3.1.0-rc6_integers.h" +#include "x86-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-32-syscalls-3.4.25_integers.h" +#include "arm-32-syscalls_integers.h" #endif #ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls-3.0.34_integers.h" +#include "powerpc-32-syscalls_integers.h" #endif diff --git a/instrumentation/syscalls/headers/compat_syscalls_pointers.h b/instrumentation/syscalls/headers/compat_syscalls_pointers.h index 4929da9f..fdb2c6c1 100644 --- a/instrumentation/syscalls/headers/compat_syscalls_pointers.h +++ b/instrumentation/syscalls/headers/compat_syscalls_pointers.h @@ -1,11 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-32-syscalls-3.1.0-rc6_pointers.h" +#include "x86-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-32-syscalls-3.4.25_pointers.h" +#include "arm-32-syscalls_pointers.h" #endif #ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls-3.0.34_pointers.h" +#include "powerpc-32-syscalls_pointers.h" #endif diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h deleted file mode 100644 index 2c01d003..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h +++ /dev/null @@ -1,1145 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "mips-32-syscalls-3.13.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT(sgetmask, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(ssetmask, - TP_PROTO(sc_exit(long ret,) int newmask), - TP_ARGS(sc_exit(ret,) newmask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, - TP_PROTO(sc_exit(long ret,) unsigned long addr), - TP_ARGS(sc_exit(ret,) addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_32_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(cacheflush, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(sc_exit(ret,) addr, bytes, cache), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) -) -#endif -#ifndef OVERRIDE_32_sysmips -SC_LTTNG_TRACEPOINT_EVENT(sysmips, - TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), - TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, cmd, cmd)) sc_inout(ctf_integer(long, arg1, arg1)) sc_inout(ctf_integer(long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_readahead -SC_LTTNG_TRACEPOINT_EVENT(readahead, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), - TP_ARGS(sc_exit(ret,) fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_32_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fallocate -SC_LTTNG_TRACEPOINT_EVENT(fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(sc_exit(ret,) fd, mode, offset, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(off_t, offset, offset))) -) -#endif -#ifndef OVERRIDE_32_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.13.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 4006, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) -#endif -#ifndef OVERRIDE_TABLE_32_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ssetmask -TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mips_mmap -TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 4090, 6) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 4135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cacheflush -TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysmips -TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mips_mmap2 -TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate64 -TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fadvise64_64 -TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) -#endif -#ifndef OVERRIDE_TABLE_32_set_thread_area -TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h deleted file mode 100644 index 49b485bb..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h deleted file mode 100644 index 33d7d74a..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h +++ /dev/null @@ -1,1824 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "mips-32-syscalls-3.13.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_32_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_stime -SC_LTTNG_TRACEPOINT_EVENT(stime, - TP_PROTO(sc_exit(long ret,) time_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * uset), - TP_ARGS(sc_exit(ret,) uset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_32_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_socketcall -SC_LTTNG_TRACEPOINT_EVENT(socketcall, - TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), - TP_ARGS(sc_exit(ret,) call, args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, - TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), - TP_ARGS(sc_exit(ret,) uss, uoss), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) -) -#endif -#ifndef OVERRIDE_32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(truncate64, - TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - 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))) -) -#endif -#ifndef OVERRIDE_32_execve -SC_LTTNG_TRACEPOINT_EVENT(execve, - TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), - TP_ARGS(sc_exit(ret,) filename, argv, envp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), - TP_ARGS(sc_exit(ret,) sig, act, oact), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(old_readdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - 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))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_cachectl -SC_LTTNG_TRACEPOINT_EVENT(cachectl, - TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), - TP_ARGS(sc_exit(ret,) addr, nbytes, op), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_32_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(statfs64, - TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) pathname, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) fd, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_32_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_pread64 -SC_LTTNG_TRACEPOINT_EVENT(pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(ipc, - TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.13.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 4003, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4004, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 4005, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 4009, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) -#endif -#ifndef OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time -TRACE_SYSCALL_TABLE(time, time, 4013, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) -#endif -#ifndef OVERRIDE_TABLE_32_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) -#endif -#ifndef OVERRIDE_TABLE_32_stime -TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) -#endif -#ifndef OVERRIDE_TABLE_32_utime -TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 4033, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 4043, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) -#endif -#ifndef OVERRIDE_TABLE_32_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaction -TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sigsuspend -TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) -#endif -#ifndef OVERRIDE_TABLE_32_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) -#endif -#ifndef OVERRIDE_TABLE_32_old_readdir -TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socketcall -TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_uname -TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ipc -TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 4142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cachectl -TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) -#endif -#ifndef OVERRIDE_TABLE_32_accept -TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) -#endif -#ifndef OVERRIDE_TABLE_32_send -TRACE_SYSCALL_TABLE(send, send, 4178, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) -#endif -#ifndef OVERRIDE_TABLE_32_truncate64 -TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) -#endif -#ifndef OVERRIDE_TABLE_32_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) -#endif -#ifndef OVERRIDE_TABLE_32_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h deleted file mode 100644 index bcf5662f..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 4120, 0) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h deleted file mode 100644 index 430d4cf5..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h +++ /dev/null @@ -1,1109 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "mips-32-syscalls-3.18.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, - TP_PROTO(sc_exit(long ret,) unsigned long addr), - TP_ARGS(sc_exit(ret,) addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_32_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(cacheflush, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(sc_exit(ret,) addr, bytes, cache), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) -) -#endif -#ifndef OVERRIDE_32_sysmips -SC_LTTNG_TRACEPOINT_EVENT(sysmips, - TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), - TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, cmd, cmd)) sc_inout(ctf_integer(long, arg1, arg1)) sc_inout(ctf_integer(long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_readahead -SC_LTTNG_TRACEPOINT_EVENT(readahead, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), - TP_ARGS(sc_exit(ret,) fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_32_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fallocate -SC_LTTNG_TRACEPOINT_EVENT(fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(sc_exit(ret,) fd, mode, offset, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mmap -SC_LTTNG_TRACEPOINT_EVENT(mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(off_t, offset, offset))) -) -#endif -#ifndef OVERRIDE_32_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.18.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 4006, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) -#endif -#ifndef OVERRIDE_TABLE_32_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 4090, 6) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cacheflush -TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysmips -TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mips_mmap2 -TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate64 -TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fadvise64_64 -TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) -#endif -#ifndef OVERRIDE_TABLE_32_set_thread_area -TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h deleted file mode 100644 index 49b485bb..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h deleted file mode 100644 index 118eadc6..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h +++ /dev/null @@ -1,1894 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "mips-32-syscalls-3.18.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_32_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_stime -SC_LTTNG_TRACEPOINT_EVENT(stime, - TP_PROTO(sc_exit(long ret,) time_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * uset), - TP_ARGS(sc_exit(ret,) uset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_socketcall -SC_LTTNG_TRACEPOINT_EVENT(socketcall, - TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), - TP_ARGS(sc_exit(ret,) call, args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, - TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), - TP_ARGS(sc_exit(ret,) uss, uoss), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) -) -#endif -#ifndef OVERRIDE_32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(truncate64, - TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_32_memfd_create -SC_LTTNG_TRACEPOINT_EVENT(memfd_create, - TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), - TP_ARGS(sc_exit(ret,) uname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - 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))) -) -#endif -#ifndef OVERRIDE_32_execve -SC_LTTNG_TRACEPOINT_EVENT(execve, - TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), - TP_ARGS(sc_exit(ret,) filename, argv, envp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), - TP_ARGS(sc_exit(ret,) sig, act, oact), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(old_readdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - 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))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_cachectl -SC_LTTNG_TRACEPOINT_EVENT(cachectl, - TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), - TP_ARGS(sc_exit(ret,) addr, nbytes, op), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_32_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(statfs64, - TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) pathname, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) fd, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_32_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_finit_module -SC_LTTNG_TRACEPOINT_EVENT(finit_module, - TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), - TP_ARGS(sc_exit(ret,) fd, uargs, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_setattr -SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_seccomp -SC_LTTNG_TRACEPOINT_EVENT(seccomp, - TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), - TP_ARGS(sc_exit(ret,) op, flags, uargs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_32_getrandom -SC_LTTNG_TRACEPOINT_EVENT(getrandom, - TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), - TP_ARGS(sc_exit(ret,) buf, count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_recv -SC_LTTNG_TRACEPOINT_EVENT(recv, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_pread64 -SC_LTTNG_TRACEPOINT_EVENT(pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getattr -SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), - TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_renameat2 -SC_LTTNG_TRACEPOINT_EVENT(renameat2, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(ipc, - TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.18.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 4003, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4004, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 4005, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 4009, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) -#endif -#ifndef OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time -TRACE_SYSCALL_TABLE(time, time, 4013, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) -#endif -#ifndef OVERRIDE_TABLE_32_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) -#endif -#ifndef OVERRIDE_TABLE_32_stime -TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) -#endif -#ifndef OVERRIDE_TABLE_32_utime -TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 4033, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 4043, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) -#endif -#ifndef OVERRIDE_TABLE_32_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaction -TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sigsuspend -TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) -#endif -#ifndef OVERRIDE_TABLE_32_old_readdir -TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socketcall -TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_uname -TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ipc -TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 4142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cachectl -TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) -#endif -#ifndef OVERRIDE_TABLE_32_accept -TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) -#endif -#ifndef OVERRIDE_TABLE_32_recv -TRACE_SYSCALL_TABLE(recv, recv, 4175, 4) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) -#endif -#ifndef OVERRIDE_TABLE_32_send -TRACE_SYSCALL_TABLE(send, send, 4178, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) -#endif -#ifndef OVERRIDE_TABLE_32_truncate64 -TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) -#endif -#ifndef OVERRIDE_TABLE_32_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) -#endif -#ifndef OVERRIDE_TABLE_32_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) -#endif -#ifndef OVERRIDE_TABLE_32_finit_module -TRACE_SYSCALL_TABLE(finit_module, finit_module, 4348, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setattr -TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 4349, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getattr -TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 4350, 4) -#endif -#ifndef OVERRIDE_TABLE_32_renameat2 -TRACE_SYSCALL_TABLE(renameat2, renameat2, 4351, 5) -#endif -#ifndef OVERRIDE_TABLE_32_seccomp -TRACE_SYSCALL_TABLE(seccomp, seccomp, 4352, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getrandom -TRACE_SYSCALL_TABLE(getrandom, getrandom, 4353, 3) -#endif -#ifndef OVERRIDE_TABLE_32_memfd_create -TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 4354, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h deleted file mode 100644 index d7e25036..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_32_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) - -#define OVERRIDE_32_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 4120, 0) - -#define OVERRIDE_TABLE_32_sys_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 4239, 3) - -#define OVERRIDE_TABLE_32_sys_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 4240, 3) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls_integers.h new file mode 100644 index 00000000..79472f07 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls_integers.h @@ -0,0 +1,1114 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-32-syscalls 3.18.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "mips-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) unsigned long addr), + TP_ARGS(sc_exit(ret,) addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) +) +#endif +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(loff_t, length, length))) +) +#endif +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_cacheflush +SC_LTTNG_TRACEPOINT_EVENT(cacheflush, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), + TP_ARGS(sc_exit(ret,) addr, bytes, cache), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) +) +#endif +#ifndef OVERRIDE_32_sysmips +SC_LTTNG_TRACEPOINT_EVENT(sysmips, + TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), + TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, cmd, cmd)) sc_inout(ctf_integer(long, arg1, arg1)) sc_inout(ctf_integer(long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_readahead +SC_LTTNG_TRACEPOINT_EVENT(readahead, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), + TP_ARGS(sc_exit(ret,) fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_32_fadvise64_64 +SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fallocate +SC_LTTNG_TRACEPOINT_EVENT(fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), + TP_ARGS(sc_exit(ret,) fd, mode, offset, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mmap +SC_LTTNG_TRACEPOINT_EVENT(mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(off_t, offset, offset))) +) +#endif +#ifndef OVERRIDE_32_mips_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) +#endif +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) +#endif +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) +#endif +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 4006, 1) +#endif +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) +#endif +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) +#endif +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) +#endif +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) +#endif +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) +#endif +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) +#endif +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 4090, 6) +#endif +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) +#endif +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) +#endif +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) +#endif +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) +#endif +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) +#endif +#ifndef OVERRIDE_TABLE_32_cacheflush +TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysmips +TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) +#endif +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mips_mmap2 +TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate64 +TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) +#endif +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) +#endif +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) +#endif +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) +#endif +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fadvise64_64 +TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) +#endif +#ifndef OVERRIDE_TABLE_32_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) +#endif +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) +#endif +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h new file mode 100644 index 00000000..f2ec34fc --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* + * this is a place-holder for MIPS integer syscall definition override. + */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h new file mode 100644 index 00000000..27d50ce4 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h @@ -0,0 +1,1899 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-32-syscalls 3.18.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "mips-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) +) +#endif +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) +) +#endif +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * uset), + TP_ARGS(sc_exit(ret,) uset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) +) +#endif +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) +) +#endif +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) +) +#endif +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_32_sigaltstack +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, + TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), + TP_ARGS(sc_exit(ret,) uss, uoss), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) +) +#endif +#ifndef OVERRIDE_32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(truncate64, + TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) +) +#endif +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_32_memfd_create +SC_LTTNG_TRACEPOINT_EVENT(memfd_create, + TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), + TP_ARGS(sc_exit(ret,) uname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + 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))) +) +#endif +#ifndef OVERRIDE_32_execve +SC_LTTNG_TRACEPOINT_EVENT(execve, + TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), + TP_ARGS(sc_exit(ret,) filename, argv, envp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) +) +#endif +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_sigaction +SC_LTTNG_TRACEPOINT_EVENT(sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), + TP_ARGS(sc_exit(ret,) sig, act, oact), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) +) +#endif +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + 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))) +) +#endif +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_cachectl +SC_LTTNG_TRACEPOINT_EVENT(cachectl, + TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), + TP_ARGS(sc_exit(ret,) addr, nbytes, op), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) +) +#endif +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) +) +#endif +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) +) +#endif +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) +) +#endif +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_32_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_finit_module +SC_LTTNG_TRACEPOINT_EVENT(finit_module, + TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), + TP_ARGS(sc_exit(ret,) fd, uargs, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_setattr +SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_seccomp +SC_LTTNG_TRACEPOINT_EVENT(seccomp, + TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), + TP_ARGS(sc_exit(ret,) op, flags, uargs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) +) +#endif +#ifndef OVERRIDE_32_getrandom +SC_LTTNG_TRACEPOINT_EVENT(getrandom, + TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), + TP_ARGS(sc_exit(ret,) buf, count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_recv +SC_LTTNG_TRACEPOINT_EVENT(recv, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, ubuf, ubuf)) sc_inout(ctf_integer(size_t, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_pread64 +SC_LTTNG_TRACEPOINT_EVENT(pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_32_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getattr +SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), + TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_32_renameat2 +SC_LTTNG_TRACEPOINT_EVENT(renameat2, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 4003, 3) +#endif +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4004, 3) +#endif +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 4005, 3) +#endif +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) +#endif +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) +#endif +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 4009, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) +#endif +#ifndef OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) +#endif +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 4013, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) +#endif +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) +#endif +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) +#endif +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) +#endif +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 4033, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) +#endif +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 4043, 1) +#endif +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) +#endif +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigaction +TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sigsuspend +TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) +#endif +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) +#endif +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) +#endif +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) +#endif +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) +#endif +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) +#endif +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) +#endif +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) +#endif +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) +#endif +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) +#endif +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) +#endif +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) +#endif +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) +#endif +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 4142, 5) +#endif +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) +#endif +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) +#endif +#ifndef OVERRIDE_TABLE_32_cachectl +TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) +#endif +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) +#endif +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) +#endif +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) +#endif +#ifndef OVERRIDE_TABLE_32_recv +TRACE_SYSCALL_TABLE(recv, recv, 4175, 4) +#endif +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) +#endif +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 4178, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) +#endif +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) +#endif +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) +#endif +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) +#endif +#ifndef OVERRIDE_TABLE_32_truncate64 +TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) +#endif +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) +#endif +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) +#endif +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) +#endif +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) +#endif +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) +#endif +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) +#endif +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) +#endif +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) +#endif +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) +#endif +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) +#endif +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) +#endif +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) +#endif +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) +#endif +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) +#endif +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) +#endif +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) +#endif +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) +#endif +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) +#endif +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) +#endif +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) +#endif +#ifndef OVERRIDE_TABLE_32_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) +#endif +#ifndef OVERRIDE_TABLE_32_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) +#endif +#ifndef OVERRIDE_TABLE_32_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 4348, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setattr +TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 4349, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getattr +TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 4350, 4) +#endif +#ifndef OVERRIDE_TABLE_32_renameat2 +TRACE_SYSCALL_TABLE(renameat2, renameat2, 4351, 5) +#endif +#ifndef OVERRIDE_TABLE_32_seccomp +TRACE_SYSCALL_TABLE(seccomp, seccomp, 4352, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getrandom +TRACE_SYSCALL_TABLE(getrandom, getrandom, 4353, 3) +#endif +#ifndef OVERRIDE_TABLE_32_memfd_create +TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 4354, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h new file mode 100644 index 00000000..d2d6dfa8 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) + +#define OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_32_clone +TRACE_SYSCALL_TABLE(clone, clone, 4120, 0) + +#define OVERRIDE_TABLE_32_sys_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 4239, 3) + +#define OVERRIDE_TABLE_32_sys_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 4240, 3) + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h deleted file mode 100644 index c4d19538..00000000 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h +++ /dev/null @@ -1,1165 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "mips-64-syscalls-3.5.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_64_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) -#endif -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_64_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_64_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_64_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_sgetmask -SC_LTTNG_TRACEPOINT_EVENT(sgetmask, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_64_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(ssetmask, - TP_PROTO(sc_exit(long ret,) int newmask), - TP_ARGS(sc_exit(ret,) newmask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) -) -#endif -#ifndef OVERRIDE_64_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_64_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_64_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_64_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_64_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_64_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_32_personality -SC_LTTNG_TRACEPOINT_EVENT(32_personality, - TP_PROTO(sc_exit(long ret,) unsigned long personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, personality, personality))) -) -#endif -#ifndef OVERRIDE_64_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_64_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_64_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, - TP_PROTO(sc_exit(long ret,) unsigned long addr), - TP_ARGS(sc_exit(ret,) addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) -) -#endif -#ifndef OVERRIDE_64_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_64_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_64_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_64_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_64_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_64_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_64_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_msgget -SC_LTTNG_TRACEPOINT_EVENT(msgget, - TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), - TP_ARGS(sc_exit(ret,) key, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_64_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_64_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_64_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_64_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_64_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_64_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_64_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) -) -#endif -#ifndef OVERRIDE_64_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_64_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_64_shmget -SC_LTTNG_TRACEPOINT_EVENT(shmget, - TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), - TP_ARGS(sc_exit(ret,) key, size, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_64_semget -SC_LTTNG_TRACEPOINT_EVENT(semget, - TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), - TP_ARGS(sc_exit(ret,) key, nsems, semflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) -) -#endif -#ifndef OVERRIDE_64_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_64_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_64_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_64_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_64_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_64_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(cacheflush, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(sc_exit(ret,) addr, bytes, cache), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) -) -#endif -#ifndef OVERRIDE_64_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_64_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(32_ftruncate64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), - TP_ARGS(sc_exit(ret,) fd, __dummy, a2, a3), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, __dummy, __dummy)) sc_inout(ctf_integer(unsigned long, a2, a2)) sc_inout(ctf_integer(unsigned long, a3, a3))) -) -#endif -#ifndef OVERRIDE_64_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_64_n32_semctl -SC_LTTNG_TRACEPOINT_EVENT(n32_semctl, - TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, u32 arg), - TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(int, semnum, semnum)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(u32, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_n32_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(n32_msgsnd, - TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, unsigned int msgsz, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, msqid, msqid)) sc_inout(ctf_integer(u32, msgp, msgp)) sc_inout(ctf_integer(unsigned int, msgsz, msgsz)) sc_inout(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_64_n32_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(n32_msgrcv, - TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, msqid, msqid)) sc_inout(ctf_integer(u32, msgp, msgp)) sc_inout(ctf_integer(size_t, msgsz, msgsz)) sc_inout(ctf_integer(int, msgtyp, msgtyp)) sc_inout(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_64_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(32_ipc, - TP_PROTO(sc_exit(long ret,) u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, call, call)) sc_inout(ctf_integer(long, first, first)) sc_inout(ctf_integer(long, second, second)) sc_inout(ctf_integer(long, third, third)) sc_inout(ctf_integer(unsigned long, ptr, ptr)) sc_inout(ctf_integer(unsigned long, fifth, fifth))) -) -#endif -#ifndef OVERRIDE_64_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) -) -#endif -#ifndef OVERRIDE_64_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(off_t, offset, offset))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-64-syscalls-3.5.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_64_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 6023, 0) -#endif -#ifndef OVERRIDE_TABLE_64_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 6033, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 6038, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 6100, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 6102, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 6105, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 6106, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 6108, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 6109, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 6110, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 6149, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 6150, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 6157, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 6178, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 6214, 0) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 6247, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_sgetmask -TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 6023, 0) -#endif -#ifndef OVERRIDE_TABLE_64_pause -TRACE_SYSCALL_TABLE(pause, pause, 6033, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 6038, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 6100, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 6102, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 6105, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 6106, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 6108, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 6109, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 6110, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 6149, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 6150, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(sync, sync, 6157, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 6178, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 6214, 0) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 6247, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_nice -TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ssetmask -TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) -#endif -#ifndef OVERRIDE_TABLE_64_32_ipc -TRACE_SYSCALL_TABLE(32_ipc, 32_ipc, 4117, 6) -#endif -#ifndef OVERRIDE_TABLE_64_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mips_mmap2 -TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) -#endif -#ifndef OVERRIDE_TABLE_64_32_ftruncate64 -TRACE_SYSCALL_TABLE(32_ftruncate64, 32_ftruncate64, 4212, 4) -#endif -#ifndef OVERRIDE_TABLE_64_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 5015, 3) -#endif -#ifndef OVERRIDE_TABLE_64_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 5070, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 5099, 4) -#endif -#ifndef OVERRIDE_TABLE_64_personality -TRACE_SYSCALL_TABLE(personality, personality, 5132, 1) -#endif -#ifndef OVERRIDE_TABLE_64_close -TRACE_SYSCALL_TABLE(close, close, 6003, 1) -#endif -#ifndef OVERRIDE_TABLE_64_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 6008, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mips_mmap -TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 6009, 6) -#endif -#ifndef OVERRIDE_TABLE_64_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 6010, 3) -#endif -#ifndef OVERRIDE_TABLE_64_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 6011, 2) -#endif -#ifndef OVERRIDE_TABLE_64_brk -TRACE_SYSCALL_TABLE(brk, brk, 6012, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 6024, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msync -TRACE_SYSCALL_TABLE(msync, msync, 6025, 3) -#endif -#ifndef OVERRIDE_TABLE_64_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 6027, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmget -TRACE_SYSCALL_TABLE(shmget, shmget, 6028, 3) -#endif -#ifndef OVERRIDE_TABLE_64_dup -TRACE_SYSCALL_TABLE(dup, dup, 6031, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 6032, 2) -#endif -#ifndef OVERRIDE_TABLE_64_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 6037, 1) -#endif -#ifndef OVERRIDE_TABLE_64_socket -TRACE_SYSCALL_TABLE(socket, socket, 6040, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 6047, 2) -#endif -#ifndef OVERRIDE_TABLE_64_listen -TRACE_SYSCALL_TABLE(listen, listen, 6049, 2) -#endif -#ifndef OVERRIDE_TABLE_64_exit -TRACE_SYSCALL_TABLE(exit, exit, 6058, 1) -#endif -#ifndef OVERRIDE_TABLE_64_kill -TRACE_SYSCALL_TABLE(kill, kill, 6060, 2) -#endif -#ifndef OVERRIDE_TABLE_64_semget -TRACE_SYSCALL_TABLE(semget, semget, 6062, 3) -#endif -#ifndef OVERRIDE_TABLE_64_n32_semctl -TRACE_SYSCALL_TABLE(n32_semctl, n32_semctl, 6064, 4) -#endif -#ifndef OVERRIDE_TABLE_64_msgget -TRACE_SYSCALL_TABLE(msgget, msgget, 6066, 2) -#endif -#ifndef OVERRIDE_TABLE_64_n32_msgsnd -TRACE_SYSCALL_TABLE(n32_msgsnd, n32_msgsnd, 6067, 4) -#endif -#ifndef OVERRIDE_TABLE_64_n32_msgrcv -TRACE_SYSCALL_TABLE(n32_msgrcv, n32_msgrcv, 6068, 5) -#endif -#ifndef OVERRIDE_TABLE_64_flock -TRACE_SYSCALL_TABLE(flock, flock, 6071, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 6072, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 6073, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 6075, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 6079, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 6089, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 6091, 3) -#endif -#ifndef OVERRIDE_TABLE_64_umask -TRACE_SYSCALL_TABLE(umask, umask, 6093, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 6103, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 6104, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 6107, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 6111, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 6112, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 6115, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 6117, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 6119, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 6120, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 6121, 1) -#endif -#ifndef OVERRIDE_TABLE_64_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 6122, 1) -#endif -#ifndef OVERRIDE_TABLE_64_32_personality -TRACE_SYSCALL_TABLE(32_personality, 32_personality, 6132, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 6136, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 6137, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 6138, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 6142, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 6143, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 6144, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 6146, 2) -#endif -#ifndef OVERRIDE_TABLE_64_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 6147, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 6148, 1) -#endif -#ifndef OVERRIDE_TABLE_64_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 6153, 5) -#endif -#ifndef OVERRIDE_TABLE_64_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 6192, 2) -#endif -#ifndef OVERRIDE_TABLE_64_cacheflush -TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 6197, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 6201, 1) -#endif -#ifndef OVERRIDE_TABLE_64_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 6205, 1) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 6207, 1) -#endif -#ifndef OVERRIDE_TABLE_64_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 6210, 5) -#endif -#ifndef OVERRIDE_TABLE_64_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 6223, 1) -#endif -#ifndef OVERRIDE_TABLE_64_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 6224, 1) -#endif -#ifndef OVERRIDE_TABLE_64_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 6229, 3) -#endif -#ifndef OVERRIDE_TABLE_64_set_thread_area -TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 6246, 1) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 6249, 2) -#endif -#ifndef OVERRIDE_TABLE_64_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 6266, 1) -#endif -#ifndef OVERRIDE_TABLE_64_tee -TRACE_SYSCALL_TABLE(tee, tee, 6269, 4) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 6277, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 6278, 2) -#endif -#ifndef OVERRIDE_TABLE_64_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 6282, 1) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 6284, 2) -#endif -#ifndef OVERRIDE_TABLE_64_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 6288, 2) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 6289, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 6290, 3) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 6292, 1) -#endif -#ifndef OVERRIDE_TABLE_64_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 6306, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setns -TRACE_SYSCALL_TABLE(setns, setns, 6308, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h deleted file mode 100644 index 49b485bb..00000000 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h deleted file mode 100644 index 6605d913..00000000 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h +++ /dev/null @@ -1,1864 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "mips-64-syscalls-3.5.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_64_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_64_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_64_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_64_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_64_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_64_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_64_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_64_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_64_shmdt -SC_LTTNG_TRACEPOINT_EVENT(shmdt, - TP_PROTO(sc_exit(long ret,) char * shmaddr), - TP_ARGS(sc_exit(ret,) shmaddr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) -) -#endif -#ifndef OVERRIDE_64_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_64_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_64_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_64_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_64_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) set, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_64_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_64_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_64_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_64_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_64_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_64_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_64_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_64_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_64_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_64_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_64_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigpending, - TP_PROTO(sc_exit(long ret,) compat_sigset_t * uset, unsigned int sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_sigset_t *, uset, uset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_64_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(32_sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) compat_pid_t pid, struct compat_timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(struct compat_timespec *, interval, interval))) -) -#endif -#ifndef OVERRIDE_64_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_64_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - 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))) -) -#endif -#ifndef OVERRIDE_64_32_sigaction -SC_LTTNG_TRACEPOINT_EVENT(32_sigaction, - TP_PROTO(sc_exit(long ret,) long sig, const struct sigaction32 * act, struct sigaction32 * oact), - TP_ARGS(sc_exit(ret,) sig, act, oact), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact))) -) -#endif -#ifndef OVERRIDE_64_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_shmctl -SC_LTTNG_TRACEPOINT_EVENT(shmctl, - TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(sc_exit(ret,) shmid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgctl -SC_LTTNG_TRACEPOINT_EVENT(msgctl, - TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(sc_exit(ret,) msqid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_64_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_64_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_64_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_64_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_64_shmat -SC_LTTNG_TRACEPOINT_EVENT(shmat, - TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), - TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_semop -SC_LTTNG_TRACEPOINT_EVENT(semop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) -) -#endif -#ifndef OVERRIDE_64_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_64_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_64_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_64_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_64_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_64_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) int pid, int sig, compat_siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pid, pid)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo))) -) -#endif -#ifndef OVERRIDE_64_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_64_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_64_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_cachectl -SC_LTTNG_TRACEPOINT_EVENT(cachectl, - TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), - TP_ARGS(sc_exit(ret,) addr, nbytes, op), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) -) -#endif -#ifndef OVERRIDE_64_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_64_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_64_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_64_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_64_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(32_truncate64, - TP_PROTO(sc_exit(long ret,) const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), - TP_ARGS(sc_exit(ret,) path, __dummy, a2, a3), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned long, __dummy, __dummy)) sc_inout(ctf_integer(unsigned long, a2, a2)) sc_inout(ctf_integer(unsigned long, a3, a3))) -) -#endif -#ifndef OVERRIDE_64_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(msgsnd, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_64_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_64_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), - TP_ARGS(sc_exit(ret,) how, set, oset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(compat_sigset_t *, set, set)) sc_inout(ctf_integer(compat_sigset_t *, oset, oset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_64_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(32_sendfile, - TP_PROTO(sc_exit(long ret,) long out_fd, long in_fd, compat_off_t * offset, s32 count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, out_fd, out_fd)) sc_inout(ctf_integer(long, in_fd, in_fd)) sc_inout(ctf_integer(compat_off_t *, offset, offset)) sc_inout(ctf_integer(s32, count, count))) -) -#endif -#ifndef OVERRIDE_64_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_64_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_64_quotactl -SC_LTTNG_TRACEPOINT_EVENT(quotactl, - TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) cmd, special, id, addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_64_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_64_newfstatat -SC_LTTNG_TRACEPOINT_EVENT(newfstatat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_64_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_64_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(32_llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_high, offset_high)) sc_inout(ctf_integer(unsigned int, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, origin, origin))) -) -#endif -#ifndef OVERRIDE_64_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(32_waitid, - TP_PROTO(sc_exit(long ret,) int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), - TP_ARGS(sc_exit(ret,) which, pid, uinfo, options, uru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, which, which)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo)) sc_inout(ctf_integer(int, options, options)) sc_inout(ctf_integer(struct compat_rusage *, uru, uru))) -) -#endif -#ifndef OVERRIDE_64_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_64_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(msgrcv, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_32_pread -SC_LTTNG_TRACEPOINT_EVENT(32_pread, - TP_PROTO(sc_exit(long ret,) unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), - TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned long, unused, unused)) sc_inout(ctf_integer(unsigned long, a4, a4)) sc_inout(ctf_integer(unsigned long, a5, a5))) -) -#endif -#ifndef OVERRIDE_64_32_pwrite -SC_LTTNG_TRACEPOINT_EVENT(32_pwrite, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), - TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(u32, unused, unused)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(u64, a5, a5))) -) -#endif -#ifndef OVERRIDE_64_32_fanotify_mark -SC_LTTNG_TRACEPOINT_EVENT(32_fanotify_mark, - TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), - TP_ARGS(sc_exit(ret,) fanotify_fd, flags, a3, a4, dfd, pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(u64, a3, a3)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_64_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_32_futex -SC_LTTNG_TRACEPOINT_EVENT(32_futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_inout(ctf_integer(int, op, op)) sc_inout(ctf_integer(u32, val, val)) sc_inout(ctf_integer(struct compat_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_inout(ctf_integer(u32, val3, val3))) -) -#endif -#ifndef OVERRIDE_64_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-64-syscalls-3.5.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_64_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) -#endif -#ifndef OVERRIDE_TABLE_64_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) -#endif -#ifndef OVERRIDE_TABLE_64_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) -#endif -#ifndef OVERRIDE_TABLE_64_32_sigaction -TRACE_SYSCALL_TABLE(32_sigaction, 32_sigaction, 4067, 3) -#endif -#ifndef OVERRIDE_TABLE_64_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) -#endif -#ifndef OVERRIDE_TABLE_64_uname -TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) -#endif -#ifndef OVERRIDE_TABLE_64_32_llseek -TRACE_SYSCALL_TABLE(32_llseek, 32_llseek, 4140, 5) -#endif -#ifndef OVERRIDE_TABLE_64_send -TRACE_SYSCALL_TABLE(send, send, 4178, 4) -#endif -#ifndef OVERRIDE_TABLE_64_32_pread -TRACE_SYSCALL_TABLE(32_pread, 32_pread, 4200, 6) -#endif -#ifndef OVERRIDE_TABLE_64_32_pwrite -TRACE_SYSCALL_TABLE(32_pwrite, 32_pwrite, 4201, 6) -#endif -#ifndef OVERRIDE_TABLE_64_32_truncate64 -TRACE_SYSCALL_TABLE(32_truncate64, 32_truncate64, 4211, 4) -#endif -#ifndef OVERRIDE_TABLE_64_32_waitid -TRACE_SYSCALL_TABLE(32_waitid, 32_waitid, 4278, 5) -#endif -#ifndef OVERRIDE_TABLE_64_32_fanotify_mark -TRACE_SYSCALL_TABLE(32_fanotify_mark, 32_fanotify_mark, 4337, 6) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 5013, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 5014, 4) -#endif -#ifndef OVERRIDE_TABLE_64_readv -TRACE_SYSCALL_TABLE(readv, readv, 5018, 3) -#endif -#ifndef OVERRIDE_TABLE_64_writev -TRACE_SYSCALL_TABLE(writev, writev, 5019, 3) -#endif -#ifndef OVERRIDE_TABLE_64_select -TRACE_SYSCALL_TABLE(select, select, 5022, 5) -#endif -#ifndef OVERRIDE_TABLE_64_shmctl -TRACE_SYSCALL_TABLE(shmctl, shmctl, 5030, 3) -#endif -#ifndef OVERRIDE_TABLE_64_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 5034, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 5035, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 5036, 3) -#endif -#ifndef OVERRIDE_TABLE_64_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 5044, 6) -#endif -#ifndef OVERRIDE_TABLE_64_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 5045, 3) -#endif -#ifndef OVERRIDE_TABLE_64_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 5046, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 5053, 5) -#endif -#ifndef OVERRIDE_TABLE_64_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 5059, 4) -#endif -#ifndef OVERRIDE_TABLE_64_msgsnd -TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 5067, 4) -#endif -#ifndef OVERRIDE_TABLE_64_msgrcv -TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 5068, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msgctl -TRACE_SYSCALL_TABLE(msgctl, msgctl, 5069, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 5076, 3) -#endif -#ifndef OVERRIDE_TABLE_64_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 5094, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 5095, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 5096, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 5097, 1) -#endif -#ifndef OVERRIDE_TABLE_64_times -TRACE_SYSCALL_TABLE(times, times, 5098, 1) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 5125, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 5126, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 5127, 3) -#endif -#ifndef OVERRIDE_TABLE_64_utime -TRACE_SYSCALL_TABLE(utime, utime, 5130, 2) -#endif -#ifndef OVERRIDE_TABLE_64_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 5133, 2) -#endif -#ifndef OVERRIDE_TABLE_64_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 5134, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 5135, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 5145, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 5152, 1) -#endif -#ifndef OVERRIDE_TABLE_64_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 5154, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 5155, 2) -#endif -#ifndef OVERRIDE_TABLE_64_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 5159, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mount -TRACE_SYSCALL_TABLE(mount, mount, 5160, 5) -#endif -#ifndef OVERRIDE_TABLE_64_futex -TRACE_SYSCALL_TABLE(futex, futex, 5194, 6) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 5195, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 5196, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 5200, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 5202, 5) -#endif -#ifndef OVERRIDE_TABLE_64_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 5203, 3) -#endif -#ifndef OVERRIDE_TABLE_64_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 5214, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 5216, 3) -#endif -#ifndef OVERRIDE_TABLE_64_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 5217, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 5218, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 5221, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 5222, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 5223, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 5224, 4) -#endif -#ifndef OVERRIDE_TABLE_64_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 5226, 2) -#endif -#ifndef OVERRIDE_TABLE_64_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 5237, 5) -#endif -#ifndef OVERRIDE_TABLE_64_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 5251, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 5260, 6) -#endif -#ifndef OVERRIDE_TABLE_64_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 5261, 5) -#endif -#ifndef OVERRIDE_TABLE_64_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 5266, 4) -#endif -#ifndef OVERRIDE_TABLE_64_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 5268, 2) -#endif -#ifndef OVERRIDE_TABLE_64_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 5269, 3) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 5272, 6) -#endif -#ifndef OVERRIDE_TABLE_64_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 5275, 4) -#endif -#ifndef OVERRIDE_TABLE_64_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 5276, 3) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 5281, 2) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 5282, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 5291, 4) -#endif -#ifndef OVERRIDE_TABLE_64_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 5294, 5) -#endif -#ifndef OVERRIDE_TABLE_64_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 5300, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 5302, 4) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_readv -TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 5304, 6) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_writev -TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 5305, 6) -#endif -#ifndef OVERRIDE_TABLE_64_read -TRACE_SYSCALL_TABLE(read, read, 6000, 3) -#endif -#ifndef OVERRIDE_TABLE_64_write -TRACE_SYSCALL_TABLE(write, write, 6001, 3) -#endif -#ifndef OVERRIDE_TABLE_64_open -TRACE_SYSCALL_TABLE(open, open, 6002, 3) -#endif -#ifndef OVERRIDE_TABLE_64_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 6004, 2) -#endif -#ifndef OVERRIDE_TABLE_64_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 6005, 2) -#endif -#ifndef OVERRIDE_TABLE_64_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 6006, 2) -#endif -#ifndef OVERRIDE_TABLE_64_poll -TRACE_SYSCALL_TABLE(poll, poll, 6007, 3) -#endif -#ifndef OVERRIDE_TABLE_64_32_rt_sigaction -TRACE_SYSCALL_TABLE(32_rt_sigaction, 32_rt_sigaction, 6013, 4) -#endif -#ifndef OVERRIDE_TABLE_64_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(32_rt_sigprocmask, 32_rt_sigprocmask, 6014, 4) -#endif -#ifndef OVERRIDE_TABLE_64_access -TRACE_SYSCALL_TABLE(access, access, 6020, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 6026, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmat -TRACE_SYSCALL_TABLE(shmat, shmat, 6029, 3) -#endif -#ifndef OVERRIDE_TABLE_64_32_sendfile -TRACE_SYSCALL_TABLE(32_sendfile, 32_sendfile, 6039, 4) -#endif -#ifndef OVERRIDE_TABLE_64_connect -TRACE_SYSCALL_TABLE(connect, connect, 6041, 3) -#endif -#ifndef OVERRIDE_TABLE_64_accept -TRACE_SYSCALL_TABLE(accept, accept, 6042, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 6043, 6) -#endif -#ifndef OVERRIDE_TABLE_64_bind -TRACE_SYSCALL_TABLE(bind, bind, 6048, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 6050, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 6051, 3) -#endif -#ifndef OVERRIDE_TABLE_64_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 6052, 4) -#endif -#ifndef OVERRIDE_TABLE_64_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 6054, 5) -#endif -#ifndef OVERRIDE_TABLE_64_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 6061, 1) -#endif -#ifndef OVERRIDE_TABLE_64_semop -TRACE_SYSCALL_TABLE(semop, semop, 6063, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmdt -TRACE_SYSCALL_TABLE(shmdt, shmdt, 6065, 1) -#endif -#ifndef OVERRIDE_TABLE_64_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 6074, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 6077, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 6078, 1) -#endif -#ifndef OVERRIDE_TABLE_64_rename -TRACE_SYSCALL_TABLE(rename, rename, 6080, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 6081, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 6082, 1) -#endif -#ifndef OVERRIDE_TABLE_64_creat -TRACE_SYSCALL_TABLE(creat, creat, 6083, 2) -#endif -#ifndef OVERRIDE_TABLE_64_link -TRACE_SYSCALL_TABLE(link, link, 6084, 2) -#endif -#ifndef OVERRIDE_TABLE_64_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 6085, 1) -#endif -#ifndef OVERRIDE_TABLE_64_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 6086, 2) -#endif -#ifndef OVERRIDE_TABLE_64_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 6087, 3) -#endif -#ifndef OVERRIDE_TABLE_64_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 6088, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chown -TRACE_SYSCALL_TABLE(chown, chown, 6090, 3) -#endif -#ifndef OVERRIDE_TABLE_64_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 6092, 3) -#endif -#ifndef OVERRIDE_TABLE_64_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 6101, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 6113, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 6114, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 6116, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 6118, 3) -#endif -#ifndef OVERRIDE_TABLE_64_32_rt_sigpending -TRACE_SYSCALL_TABLE(32_rt_sigpending, 32_rt_sigpending, 6125, 2) -#endif -#ifndef OVERRIDE_TABLE_64_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(32_rt_sigqueueinfo, 32_rt_sigqueueinfo, 6127, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 6131, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 6139, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 6140, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 6141, 3) -#endif -#ifndef OVERRIDE_TABLE_64_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(32_sched_rr_get_interval, 32_sched_rr_get_interval, 6145, 2) -#endif -#ifndef OVERRIDE_TABLE_64_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 6151, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 6156, 1) -#endif -#ifndef OVERRIDE_TABLE_64_umount -TRACE_SYSCALL_TABLE(umount, umount, 6161, 2) -#endif -#ifndef OVERRIDE_TABLE_64_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 6162, 2) -#endif -#ifndef OVERRIDE_TABLE_64_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 6163, 1) -#endif -#ifndef OVERRIDE_TABLE_64_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 6164, 4) -#endif -#ifndef OVERRIDE_TABLE_64_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 6165, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 6166, 2) -#endif -#ifndef OVERRIDE_TABLE_64_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 6168, 3) -#endif -#ifndef OVERRIDE_TABLE_64_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 6169, 2) -#endif -#ifndef OVERRIDE_TABLE_64_quotactl -TRACE_SYSCALL_TABLE(quotactl, quotactl, 6172, 4) -#endif -#ifndef OVERRIDE_TABLE_64_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 6180, 5) -#endif -#ifndef OVERRIDE_TABLE_64_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6181, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 6182, 5) -#endif -#ifndef OVERRIDE_TABLE_64_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 6183, 4) -#endif -#ifndef OVERRIDE_TABLE_64_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 6184, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 6185, 4) -#endif -#ifndef OVERRIDE_TABLE_64_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 6186, 3) -#endif -#ifndef OVERRIDE_TABLE_64_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 6187, 3) -#endif -#ifndef OVERRIDE_TABLE_64_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 6188, 3) -#endif -#ifndef OVERRIDE_TABLE_64_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 6189, 2) -#endif -#ifndef OVERRIDE_TABLE_64_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 6190, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 6191, 2) -#endif -#ifndef OVERRIDE_TABLE_64_32_futex -TRACE_SYSCALL_TABLE(32_futex, 32_futex, 6194, 6) -#endif -#ifndef OVERRIDE_TABLE_64_cachectl -TRACE_SYSCALL_TABLE(cachectl, cachectl, 6198, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 6204, 3) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 6208, 4) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 6209, 4) -#endif -#ifndef OVERRIDE_TABLE_64_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 6213, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 6219, 4) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 6248, 3) -#endif -#ifndef OVERRIDE_TABLE_64_openat -TRACE_SYSCALL_TABLE(openat, openat, 6251, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 6252, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 6253, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 6254, 5) -#endif -#ifndef OVERRIDE_TABLE_64_newfstatat -TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 6256, 4) -#endif -#ifndef OVERRIDE_TABLE_64_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 6257, 3) -#endif -#ifndef OVERRIDE_TABLE_64_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 6258, 4) -#endif -#ifndef OVERRIDE_TABLE_64_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 6259, 5) -#endif -#ifndef OVERRIDE_TABLE_64_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 6260, 3) -#endif -#ifndef OVERRIDE_TABLE_64_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 6261, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 6262, 3) -#endif -#ifndef OVERRIDE_TABLE_64_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 6263, 3) -#endif -#ifndef OVERRIDE_TABLE_64_splice -TRACE_SYSCALL_TABLE(splice, splice, 6267, 6) -#endif -#ifndef OVERRIDE_TABLE_64_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 6275, 3) -#endif -#ifndef OVERRIDE_TABLE_64_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 6287, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 6291, 2) -#endif -#ifndef OVERRIDE_TABLE_64_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 6293, 5) -#endif -#ifndef OVERRIDE_TABLE_64_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 6294, 5) -#endif -#ifndef OVERRIDE_TABLE_64_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 6297, 4) -#endif -#ifndef OVERRIDE_TABLE_64_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 6299, 3) -#endif -#ifndef OVERRIDE_TABLE_64_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 6302, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h deleted file mode 100644 index f4c35c7e..00000000 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_64_sys_clone -TRACE_SYSCALL_TABLE(clone, clone, 5055, 0) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls_integers.h b/instrumentation/syscalls/headers/mips-64-syscalls_integers.h new file mode 100644 index 00000000..436abc1d --- /dev/null +++ b/instrumentation/syscalls/headers/mips-64-syscalls_integers.h @@ -0,0 +1,1170 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-64-syscalls 3.5.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "mips-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_64_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) +#endif +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_64_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) +) +#endif +#ifndef OVERRIDE_64_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_64_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_64_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_64_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_64_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_64_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_32_personality +SC_LTTNG_TRACEPOINT_EVENT(32_personality, + TP_PROTO(sc_exit(long ret,) unsigned long personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, personality, personality))) +) +#endif +#ifndef OVERRIDE_64_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_64_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_64_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_set_thread_area +SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, + TP_PROTO(sc_exit(long ret,) unsigned long addr), + TP_ARGS(sc_exit(ret,) addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) +) +#endif +#ifndef OVERRIDE_64_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_64_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_64_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_64_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_64_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_64_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_64_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_64_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_64_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_64_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_64_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_64_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_64_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_64_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) +) +#endif +#ifndef OVERRIDE_64_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_64_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_64_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_64_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) +) +#endif +#ifndef OVERRIDE_64_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_64_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_64_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_64_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_64_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_64_cacheflush +SC_LTTNG_TRACEPOINT_EVENT(cacheflush, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), + TP_ARGS(sc_exit(ret,) addr, bytes, cache), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) +) +#endif +#ifndef OVERRIDE_64_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_64_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_32_ftruncate64 +SC_LTTNG_TRACEPOINT_EVENT(32_ftruncate64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), + TP_ARGS(sc_exit(ret,) fd, __dummy, a2, a3), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, __dummy, __dummy)) sc_inout(ctf_integer(unsigned long, a2, a2)) sc_inout(ctf_integer(unsigned long, a3, a3))) +) +#endif +#ifndef OVERRIDE_64_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_64_n32_semctl +SC_LTTNG_TRACEPOINT_EVENT(n32_semctl, + TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, u32 arg), + TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, semid, semid)) sc_inout(ctf_integer(int, semnum, semnum)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(u32, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_n32_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(n32_msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, unsigned int msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, msqid, msqid)) sc_inout(ctf_integer(u32, msgp, msgp)) sc_inout(ctf_integer(unsigned int, msgsz, msgsz)) sc_inout(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_64_n32_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(n32_msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, msqid, msqid)) sc_inout(ctf_integer(u32, msgp, msgp)) sc_inout(ctf_integer(size_t, msgsz, msgsz)) sc_inout(ctf_integer(int, msgtyp, msgtyp)) sc_inout(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_64_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(32_ipc, + TP_PROTO(sc_exit(long ret,) u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32, call, call)) sc_inout(ctf_integer(long, first, first)) sc_inout(ctf_integer(long, second, second)) sc_inout(ctf_integer(long, third, third)) sc_inout(ctf_integer(unsigned long, ptr, ptr)) sc_inout(ctf_integer(unsigned long, fifth, fifth))) +) +#endif +#ifndef OVERRIDE_64_mips_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) +) +#endif +#ifndef OVERRIDE_64_mips_mmap +SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(off_t, offset, offset))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_64_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 6023, 0) +#endif +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 6033, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 6038, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 6100, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 6102, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 6105, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 6106, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 6108, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 6109, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 6110, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 6149, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 6150, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 6157, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 6178, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 6214, 0) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 6247, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 6023, 0) +#endif +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(pause, pause, 6033, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 6038, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 6100, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 6102, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 6105, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 6106, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 6108, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 6109, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 6110, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 6149, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 6150, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(sync, sync, 6157, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 6178, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 6214, 0) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 6247, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_nice +TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) +#endif +#ifndef OVERRIDE_TABLE_64_32_ipc +TRACE_SYSCALL_TABLE(32_ipc, 32_ipc, 4117, 6) +#endif +#ifndef OVERRIDE_TABLE_64_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mips_mmap2 +TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) +#endif +#ifndef OVERRIDE_TABLE_64_32_ftruncate64 +TRACE_SYSCALL_TABLE(32_ftruncate64, 32_ftruncate64, 4212, 4) +#endif +#ifndef OVERRIDE_TABLE_64_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 5015, 3) +#endif +#ifndef OVERRIDE_TABLE_64_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 5070, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 5099, 4) +#endif +#ifndef OVERRIDE_TABLE_64_personality +TRACE_SYSCALL_TABLE(personality, personality, 5132, 1) +#endif +#ifndef OVERRIDE_TABLE_64_close +TRACE_SYSCALL_TABLE(close, close, 6003, 1) +#endif +#ifndef OVERRIDE_TABLE_64_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 6008, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mips_mmap +TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 6009, 6) +#endif +#ifndef OVERRIDE_TABLE_64_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 6010, 3) +#endif +#ifndef OVERRIDE_TABLE_64_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 6011, 2) +#endif +#ifndef OVERRIDE_TABLE_64_brk +TRACE_SYSCALL_TABLE(brk, brk, 6012, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 6024, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msync +TRACE_SYSCALL_TABLE(msync, msync, 6025, 3) +#endif +#ifndef OVERRIDE_TABLE_64_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 6027, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 6028, 3) +#endif +#ifndef OVERRIDE_TABLE_64_dup +TRACE_SYSCALL_TABLE(dup, dup, 6031, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 6032, 2) +#endif +#ifndef OVERRIDE_TABLE_64_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 6037, 1) +#endif +#ifndef OVERRIDE_TABLE_64_socket +TRACE_SYSCALL_TABLE(socket, socket, 6040, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 6047, 2) +#endif +#ifndef OVERRIDE_TABLE_64_listen +TRACE_SYSCALL_TABLE(listen, listen, 6049, 2) +#endif +#ifndef OVERRIDE_TABLE_64_exit +TRACE_SYSCALL_TABLE(exit, exit, 6058, 1) +#endif +#ifndef OVERRIDE_TABLE_64_kill +TRACE_SYSCALL_TABLE(kill, kill, 6060, 2) +#endif +#ifndef OVERRIDE_TABLE_64_semget +TRACE_SYSCALL_TABLE(semget, semget, 6062, 3) +#endif +#ifndef OVERRIDE_TABLE_64_n32_semctl +TRACE_SYSCALL_TABLE(n32_semctl, n32_semctl, 6064, 4) +#endif +#ifndef OVERRIDE_TABLE_64_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 6066, 2) +#endif +#ifndef OVERRIDE_TABLE_64_n32_msgsnd +TRACE_SYSCALL_TABLE(n32_msgsnd, n32_msgsnd, 6067, 4) +#endif +#ifndef OVERRIDE_TABLE_64_n32_msgrcv +TRACE_SYSCALL_TABLE(n32_msgrcv, n32_msgrcv, 6068, 5) +#endif +#ifndef OVERRIDE_TABLE_64_flock +TRACE_SYSCALL_TABLE(flock, flock, 6071, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 6072, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 6073, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 6075, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 6079, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 6089, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 6091, 3) +#endif +#ifndef OVERRIDE_TABLE_64_umask +TRACE_SYSCALL_TABLE(umask, umask, 6093, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 6103, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 6104, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 6107, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 6111, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 6112, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 6115, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 6117, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 6119, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 6120, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 6121, 1) +#endif +#ifndef OVERRIDE_TABLE_64_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 6122, 1) +#endif +#ifndef OVERRIDE_TABLE_64_32_personality +TRACE_SYSCALL_TABLE(32_personality, 32_personality, 6132, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 6136, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 6137, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 6138, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 6142, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 6143, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 6144, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 6146, 2) +#endif +#ifndef OVERRIDE_TABLE_64_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 6147, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 6148, 1) +#endif +#ifndef OVERRIDE_TABLE_64_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 6153, 5) +#endif +#ifndef OVERRIDE_TABLE_64_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 6192, 2) +#endif +#ifndef OVERRIDE_TABLE_64_cacheflush +TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 6197, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 6201, 1) +#endif +#ifndef OVERRIDE_TABLE_64_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 6205, 1) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 6207, 1) +#endif +#ifndef OVERRIDE_TABLE_64_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 6210, 5) +#endif +#ifndef OVERRIDE_TABLE_64_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 6223, 1) +#endif +#ifndef OVERRIDE_TABLE_64_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 6224, 1) +#endif +#ifndef OVERRIDE_TABLE_64_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 6229, 3) +#endif +#ifndef OVERRIDE_TABLE_64_set_thread_area +TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 6246, 1) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 6249, 2) +#endif +#ifndef OVERRIDE_TABLE_64_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 6266, 1) +#endif +#ifndef OVERRIDE_TABLE_64_tee +TRACE_SYSCALL_TABLE(tee, tee, 6269, 4) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 6277, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 6278, 2) +#endif +#ifndef OVERRIDE_TABLE_64_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 6282, 1) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 6284, 2) +#endif +#ifndef OVERRIDE_TABLE_64_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 6288, 2) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 6289, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 6290, 3) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 6292, 1) +#endif +#ifndef OVERRIDE_TABLE_64_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 6306, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setns +TRACE_SYSCALL_TABLE(setns, setns, 6308, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h new file mode 100644 index 00000000..f2ec34fc --- /dev/null +++ b/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* + * this is a place-holder for MIPS integer syscall definition override. + */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h b/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h new file mode 100644 index 00000000..17d085c7 --- /dev/null +++ b/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h @@ -0,0 +1,1869 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-64-syscalls 3.5.0 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "mips-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_64_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_64_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) +) +#endif +#ifndef OVERRIDE_64_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_64_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_64_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_64_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_64_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_64_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_64_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) +) +#endif +#ifndef OVERRIDE_64_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_64_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_64_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_64_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_64_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_64_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_64_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_64_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_64_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_64_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_64_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_64_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_64_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_64_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_64_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_64_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigpending, + TP_PROTO(sc_exit(long ret,) compat_sigset_t * uset, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_sigset_t *, uset, uset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_64_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(32_sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) compat_pid_t pid, struct compat_timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(struct compat_timespec *, interval, interval))) +) +#endif +#ifndef OVERRIDE_64_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_64_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + 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))) +) +#endif +#ifndef OVERRIDE_64_32_sigaction +SC_LTTNG_TRACEPOINT_EVENT(32_sigaction, + TP_PROTO(sc_exit(long ret,) long sig, const struct sigaction32 * act, struct sigaction32 * oact), + TP_ARGS(sc_exit(ret,) sig, act, oact), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact))) +) +#endif +#ifndef OVERRIDE_64_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_64_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_64_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_64_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) +) +#endif +#ifndef OVERRIDE_64_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_64_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) +) +#endif +#ifndef OVERRIDE_64_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_64_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_64_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_64_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) +) +#endif +#ifndef OVERRIDE_64_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) +) +#endif +#ifndef OVERRIDE_64_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) int pid, int sig, compat_siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pid, pid)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo))) +) +#endif +#ifndef OVERRIDE_64_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_64_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_64_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_cachectl +SC_LTTNG_TRACEPOINT_EVENT(cachectl, + TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), + TP_ARGS(sc_exit(ret,) addr, nbytes, op), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) +) +#endif +#ifndef OVERRIDE_64_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_64_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_64_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_64_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_64_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_32_truncate64 +SC_LTTNG_TRACEPOINT_EVENT(32_truncate64, + TP_PROTO(sc_exit(long ret,) const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), + TP_ARGS(sc_exit(ret,) path, __dummy, a2, a3), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(unsigned long, __dummy, __dummy)) sc_inout(ctf_integer(unsigned long, a2, a2)) sc_inout(ctf_integer(unsigned long, a3, a3))) +) +#endif +#ifndef OVERRIDE_64_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_64_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction32 *, act, act)) sc_inout(ctf_integer(struct sigaction32 *, oact, oact)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_64_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(32_rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), + TP_ARGS(sc_exit(ret,) how, set, oset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(compat_sigset_t *, set, set)) sc_inout(ctf_integer(compat_sigset_t *, oset, oset)) sc_inout(ctf_integer(unsigned int, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_64_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(32_sendfile, + TP_PROTO(sc_exit(long ret,) long out_fd, long in_fd, compat_off_t * offset, s32 count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, out_fd, out_fd)) sc_inout(ctf_integer(long, in_fd, in_fd)) sc_inout(ctf_integer(compat_off_t *, offset, offset)) sc_inout(ctf_integer(s32, count, count))) +) +#endif +#ifndef OVERRIDE_64_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_64_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_64_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_64_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_64_newfstatat +SC_LTTNG_TRACEPOINT_EVENT(newfstatat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_64_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_64_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(32_llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_high, offset_high)) sc_inout(ctf_integer(unsigned int, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, origin, origin))) +) +#endif +#ifndef OVERRIDE_64_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(32_waitid, + TP_PROTO(sc_exit(long ret,) int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), + TP_ARGS(sc_exit(ret,) which, pid, uinfo, options, uru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, which, which)) sc_inout(ctf_integer(compat_pid_t, pid, pid)) sc_inout(ctf_integer(compat_siginfo_t *, uinfo, uinfo)) sc_inout(ctf_integer(int, options, options)) sc_inout(ctf_integer(struct compat_rusage *, uru, uru))) +) +#endif +#ifndef OVERRIDE_64_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_64_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_32_pread +SC_LTTNG_TRACEPOINT_EVENT(32_pread, + TP_PROTO(sc_exit(long ret,) unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), + TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned long, unused, unused)) sc_inout(ctf_integer(unsigned long, a4, a4)) sc_inout(ctf_integer(unsigned long, a5, a5))) +) +#endif +#ifndef OVERRIDE_64_32_pwrite +SC_LTTNG_TRACEPOINT_EVENT(32_pwrite, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), + TP_ARGS(sc_exit(ret,) fd, buf, count, unused, a4, a5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(const char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(u32, unused, unused)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(u64, a5, a5))) +) +#endif +#ifndef OVERRIDE_64_32_fanotify_mark +SC_LTTNG_TRACEPOINT_EVENT(32_fanotify_mark, + TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), + TP_ARGS(sc_exit(ret,) fanotify_fd, flags, a3, a4, dfd, pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(u64, a3, a3)) sc_inout(ctf_integer(u64, a4, a4)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_64_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_32_futex +SC_LTTNG_TRACEPOINT_EVENT(32_futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_inout(ctf_integer(int, op, op)) sc_inout(ctf_integer(u32, val, val)) sc_inout(ctf_integer(struct compat_timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_inout(ctf_integer(u32, val3, val3))) +) +#endif +#ifndef OVERRIDE_64_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "mips-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_64_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) +#endif +#ifndef OVERRIDE_TABLE_64_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) +#endif +#ifndef OVERRIDE_TABLE_64_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) +#endif +#ifndef OVERRIDE_TABLE_64_32_sigaction +TRACE_SYSCALL_TABLE(32_sigaction, 32_sigaction, 4067, 3) +#endif +#ifndef OVERRIDE_TABLE_64_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) +#endif +#ifndef OVERRIDE_TABLE_64_uname +TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) +#endif +#ifndef OVERRIDE_TABLE_64_32_llseek +TRACE_SYSCALL_TABLE(32_llseek, 32_llseek, 4140, 5) +#endif +#ifndef OVERRIDE_TABLE_64_send +TRACE_SYSCALL_TABLE(send, send, 4178, 4) +#endif +#ifndef OVERRIDE_TABLE_64_32_pread +TRACE_SYSCALL_TABLE(32_pread, 32_pread, 4200, 6) +#endif +#ifndef OVERRIDE_TABLE_64_32_pwrite +TRACE_SYSCALL_TABLE(32_pwrite, 32_pwrite, 4201, 6) +#endif +#ifndef OVERRIDE_TABLE_64_32_truncate64 +TRACE_SYSCALL_TABLE(32_truncate64, 32_truncate64, 4211, 4) +#endif +#ifndef OVERRIDE_TABLE_64_32_waitid +TRACE_SYSCALL_TABLE(32_waitid, 32_waitid, 4278, 5) +#endif +#ifndef OVERRIDE_TABLE_64_32_fanotify_mark +TRACE_SYSCALL_TABLE(32_fanotify_mark, 32_fanotify_mark, 4337, 6) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 5013, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 5014, 4) +#endif +#ifndef OVERRIDE_TABLE_64_readv +TRACE_SYSCALL_TABLE(readv, readv, 5018, 3) +#endif +#ifndef OVERRIDE_TABLE_64_writev +TRACE_SYSCALL_TABLE(writev, writev, 5019, 3) +#endif +#ifndef OVERRIDE_TABLE_64_select +TRACE_SYSCALL_TABLE(select, select, 5022, 5) +#endif +#ifndef OVERRIDE_TABLE_64_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 5030, 3) +#endif +#ifndef OVERRIDE_TABLE_64_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 5034, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 5035, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 5036, 3) +#endif +#ifndef OVERRIDE_TABLE_64_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 5044, 6) +#endif +#ifndef OVERRIDE_TABLE_64_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 5045, 3) +#endif +#ifndef OVERRIDE_TABLE_64_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 5046, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 5053, 5) +#endif +#ifndef OVERRIDE_TABLE_64_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 5059, 4) +#endif +#ifndef OVERRIDE_TABLE_64_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 5067, 4) +#endif +#ifndef OVERRIDE_TABLE_64_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 5068, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 5069, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 5076, 3) +#endif +#ifndef OVERRIDE_TABLE_64_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 5094, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 5095, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 5096, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 5097, 1) +#endif +#ifndef OVERRIDE_TABLE_64_times +TRACE_SYSCALL_TABLE(times, times, 5098, 1) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 5125, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 5126, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 5127, 3) +#endif +#ifndef OVERRIDE_TABLE_64_utime +TRACE_SYSCALL_TABLE(utime, utime, 5130, 2) +#endif +#ifndef OVERRIDE_TABLE_64_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 5133, 2) +#endif +#ifndef OVERRIDE_TABLE_64_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 5134, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 5135, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 5145, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 5152, 1) +#endif +#ifndef OVERRIDE_TABLE_64_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 5154, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 5155, 2) +#endif +#ifndef OVERRIDE_TABLE_64_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 5159, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mount +TRACE_SYSCALL_TABLE(mount, mount, 5160, 5) +#endif +#ifndef OVERRIDE_TABLE_64_futex +TRACE_SYSCALL_TABLE(futex, futex, 5194, 6) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 5195, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 5196, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 5200, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 5202, 5) +#endif +#ifndef OVERRIDE_TABLE_64_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 5203, 3) +#endif +#ifndef OVERRIDE_TABLE_64_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 5214, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 5216, 3) +#endif +#ifndef OVERRIDE_TABLE_64_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 5217, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 5218, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 5221, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 5222, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 5223, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 5224, 4) +#endif +#ifndef OVERRIDE_TABLE_64_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 5226, 2) +#endif +#ifndef OVERRIDE_TABLE_64_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 5237, 5) +#endif +#ifndef OVERRIDE_TABLE_64_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 5251, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 5260, 6) +#endif +#ifndef OVERRIDE_TABLE_64_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 5261, 5) +#endif +#ifndef OVERRIDE_TABLE_64_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 5266, 4) +#endif +#ifndef OVERRIDE_TABLE_64_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 5268, 2) +#endif +#ifndef OVERRIDE_TABLE_64_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 5269, 3) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 5272, 6) +#endif +#ifndef OVERRIDE_TABLE_64_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 5275, 4) +#endif +#ifndef OVERRIDE_TABLE_64_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 5276, 3) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 5281, 2) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 5282, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 5291, 4) +#endif +#ifndef OVERRIDE_TABLE_64_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 5294, 5) +#endif +#ifndef OVERRIDE_TABLE_64_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 5300, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 5302, 4) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 5304, 6) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 5305, 6) +#endif +#ifndef OVERRIDE_TABLE_64_read +TRACE_SYSCALL_TABLE(read, read, 6000, 3) +#endif +#ifndef OVERRIDE_TABLE_64_write +TRACE_SYSCALL_TABLE(write, write, 6001, 3) +#endif +#ifndef OVERRIDE_TABLE_64_open +TRACE_SYSCALL_TABLE(open, open, 6002, 3) +#endif +#ifndef OVERRIDE_TABLE_64_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 6004, 2) +#endif +#ifndef OVERRIDE_TABLE_64_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 6005, 2) +#endif +#ifndef OVERRIDE_TABLE_64_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 6006, 2) +#endif +#ifndef OVERRIDE_TABLE_64_poll +TRACE_SYSCALL_TABLE(poll, poll, 6007, 3) +#endif +#ifndef OVERRIDE_TABLE_64_32_rt_sigaction +TRACE_SYSCALL_TABLE(32_rt_sigaction, 32_rt_sigaction, 6013, 4) +#endif +#ifndef OVERRIDE_TABLE_64_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(32_rt_sigprocmask, 32_rt_sigprocmask, 6014, 4) +#endif +#ifndef OVERRIDE_TABLE_64_access +TRACE_SYSCALL_TABLE(access, access, 6020, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 6026, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 6029, 3) +#endif +#ifndef OVERRIDE_TABLE_64_32_sendfile +TRACE_SYSCALL_TABLE(32_sendfile, 32_sendfile, 6039, 4) +#endif +#ifndef OVERRIDE_TABLE_64_connect +TRACE_SYSCALL_TABLE(connect, connect, 6041, 3) +#endif +#ifndef OVERRIDE_TABLE_64_accept +TRACE_SYSCALL_TABLE(accept, accept, 6042, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 6043, 6) +#endif +#ifndef OVERRIDE_TABLE_64_bind +TRACE_SYSCALL_TABLE(bind, bind, 6048, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 6050, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 6051, 3) +#endif +#ifndef OVERRIDE_TABLE_64_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 6052, 4) +#endif +#ifndef OVERRIDE_TABLE_64_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 6054, 5) +#endif +#ifndef OVERRIDE_TABLE_64_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 6061, 1) +#endif +#ifndef OVERRIDE_TABLE_64_semop +TRACE_SYSCALL_TABLE(semop, semop, 6063, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 6065, 1) +#endif +#ifndef OVERRIDE_TABLE_64_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 6074, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 6077, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 6078, 1) +#endif +#ifndef OVERRIDE_TABLE_64_rename +TRACE_SYSCALL_TABLE(rename, rename, 6080, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 6081, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 6082, 1) +#endif +#ifndef OVERRIDE_TABLE_64_creat +TRACE_SYSCALL_TABLE(creat, creat, 6083, 2) +#endif +#ifndef OVERRIDE_TABLE_64_link +TRACE_SYSCALL_TABLE(link, link, 6084, 2) +#endif +#ifndef OVERRIDE_TABLE_64_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 6085, 1) +#endif +#ifndef OVERRIDE_TABLE_64_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 6086, 2) +#endif +#ifndef OVERRIDE_TABLE_64_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 6087, 3) +#endif +#ifndef OVERRIDE_TABLE_64_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 6088, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chown +TRACE_SYSCALL_TABLE(chown, chown, 6090, 3) +#endif +#ifndef OVERRIDE_TABLE_64_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 6092, 3) +#endif +#ifndef OVERRIDE_TABLE_64_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 6101, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 6113, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 6114, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 6116, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 6118, 3) +#endif +#ifndef OVERRIDE_TABLE_64_32_rt_sigpending +TRACE_SYSCALL_TABLE(32_rt_sigpending, 32_rt_sigpending, 6125, 2) +#endif +#ifndef OVERRIDE_TABLE_64_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(32_rt_sigqueueinfo, 32_rt_sigqueueinfo, 6127, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 6131, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 6139, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 6140, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 6141, 3) +#endif +#ifndef OVERRIDE_TABLE_64_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(32_sched_rr_get_interval, 32_sched_rr_get_interval, 6145, 2) +#endif +#ifndef OVERRIDE_TABLE_64_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 6151, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 6156, 1) +#endif +#ifndef OVERRIDE_TABLE_64_umount +TRACE_SYSCALL_TABLE(umount, umount, 6161, 2) +#endif +#ifndef OVERRIDE_TABLE_64_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 6162, 2) +#endif +#ifndef OVERRIDE_TABLE_64_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 6163, 1) +#endif +#ifndef OVERRIDE_TABLE_64_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 6164, 4) +#endif +#ifndef OVERRIDE_TABLE_64_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 6165, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 6166, 2) +#endif +#ifndef OVERRIDE_TABLE_64_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 6168, 3) +#endif +#ifndef OVERRIDE_TABLE_64_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 6169, 2) +#endif +#ifndef OVERRIDE_TABLE_64_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 6172, 4) +#endif +#ifndef OVERRIDE_TABLE_64_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 6180, 5) +#endif +#ifndef OVERRIDE_TABLE_64_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6181, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 6182, 5) +#endif +#ifndef OVERRIDE_TABLE_64_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 6183, 4) +#endif +#ifndef OVERRIDE_TABLE_64_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 6184, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 6185, 4) +#endif +#ifndef OVERRIDE_TABLE_64_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 6186, 3) +#endif +#ifndef OVERRIDE_TABLE_64_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 6187, 3) +#endif +#ifndef OVERRIDE_TABLE_64_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 6188, 3) +#endif +#ifndef OVERRIDE_TABLE_64_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 6189, 2) +#endif +#ifndef OVERRIDE_TABLE_64_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 6190, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 6191, 2) +#endif +#ifndef OVERRIDE_TABLE_64_32_futex +TRACE_SYSCALL_TABLE(32_futex, 32_futex, 6194, 6) +#endif +#ifndef OVERRIDE_TABLE_64_cachectl +TRACE_SYSCALL_TABLE(cachectl, cachectl, 6198, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 6204, 3) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 6208, 4) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 6209, 4) +#endif +#ifndef OVERRIDE_TABLE_64_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 6213, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 6219, 4) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 6248, 3) +#endif +#ifndef OVERRIDE_TABLE_64_openat +TRACE_SYSCALL_TABLE(openat, openat, 6251, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 6252, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 6253, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 6254, 5) +#endif +#ifndef OVERRIDE_TABLE_64_newfstatat +TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 6256, 4) +#endif +#ifndef OVERRIDE_TABLE_64_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 6257, 3) +#endif +#ifndef OVERRIDE_TABLE_64_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 6258, 4) +#endif +#ifndef OVERRIDE_TABLE_64_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 6259, 5) +#endif +#ifndef OVERRIDE_TABLE_64_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 6260, 3) +#endif +#ifndef OVERRIDE_TABLE_64_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 6261, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 6262, 3) +#endif +#ifndef OVERRIDE_TABLE_64_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 6263, 3) +#endif +#ifndef OVERRIDE_TABLE_64_splice +TRACE_SYSCALL_TABLE(splice, splice, 6267, 6) +#endif +#ifndef OVERRIDE_TABLE_64_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 6275, 3) +#endif +#ifndef OVERRIDE_TABLE_64_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 6287, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 6291, 2) +#endif +#ifndef OVERRIDE_TABLE_64_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 6293, 5) +#endif +#ifndef OVERRIDE_TABLE_64_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 6294, 5) +#endif +#ifndef OVERRIDE_TABLE_64_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 6297, 4) +#endif +#ifndef OVERRIDE_TABLE_64_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 6299, 3) +#endif +#ifndef OVERRIDE_TABLE_64_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 6302, 4) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h new file mode 100644 index 00000000..5527a15d --- /dev/null +++ b/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CREATE_SYSCALL_TABLE + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_64_sys_clone +TRACE_SYSCALL_TABLE(clone, clone, 5055, 0) + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h deleted file mode 100644 index ded32234..00000000 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h +++ /dev/null @@ -1,1065 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "powerpc-32-syscalls-3.0.34_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT(sgetmask, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(ssetmask, - TP_PROTO(sc_exit(long ret,) int newmask), - TP_ARGS(sc_exit(ret,) newmask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_signal -SC_LTTNG_TRACEPOINT_EVENT(signal, - TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), - TP_ARGS(sc_exit(ret,) sig, handler), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_32_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_keyctl -SC_LTTNG_TRACEPOINT_EVENT(keyctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "powerpc-32-syscalls-3.0.34_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 1, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 6, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) -#endif -#ifndef OVERRIDE_TABLE_32_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 34, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 37, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 41, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 45, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1) -#endif -#ifndef OVERRIDE_TABLE_32_signal -TRACE_SYSCALL_TABLE(signal, signal, 48, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 60, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ssetmask -TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3) -#endif -#ifndef OVERRIDE_TABLE_32_keyctl -TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 284, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 326, 3) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 329, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 350, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h deleted file mode 100644 index a41be136..00000000 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_32_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mmap2, - TP_PROTO(sc_exit(unsigned long ret,) - unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) - sc_in(ctf_integer_hex(unsigned long, addr, addr)) - sc_in(ctf_integer(size_t, len, len)) - sc_in(ctf_integer(int, prot, prot)) - sc_in(ctf_integer(int, flags, flags)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(off_t, pgoff, pgoff)) - ) -) - -#if (__BYTE_ORDER == __LITTLE_ENDIAN) - -#define OVERRIDE_32_sync_file_range2 -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, - TP_PROTO(sc_exit(long ret,) int fd, - unsigned int flags, - int32_t offset_low, int32_t offset_high, - int32_t nbytes_low, int32_t nbytes_high), - TP_ARGS(sc_exit(ret,) fd, flags, offset_low, offset_high, - nbytes_low, nbytes_high), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(unsigned int, flags, flags)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, nbytes, - ((loff_t) nbytes_high << 32) | nbytes_low)) - ) -) - -#else /* __BIG_ENDIAN */ - -#define OVERRIDE_32_sync_file_range2 -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, - TP_PROTO(sc_exit(long ret,) int fd, - unsigned int flags, - int32_t offset_high, int32_t offset_low, - int32_t nbytes_high, int32_t nbytes_low), - TP_ARGS(sc_exit(ret,) fd, flags, offset_high, offset_low, - nbytes_high, nbytes_low), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(unsigned int, flags, flags)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, nbytes, - ((loff_t) nbytes_high << 32) | nbytes_low)) - ) -) - -#endif - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) -#define OVERRIDE_TABLE_32_mmap2 -TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) -#define OVERRIDE_TABLE_32_sync_file_range2 -TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 308, 6) - -#endif /* CREATE_SYSCALL_TABLE */ - diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h deleted file mode 100644 index 88c19092..00000000 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h +++ /dev/null @@ -1,1934 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "powerpc-32-syscalls-3.0.34_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_32_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_stime -SC_LTTNG_TRACEPOINT_EVENT(stime, - TP_PROTO(sc_exit(long ret,) time_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_acct -SC_LTTNG_TRACEPOINT_EVENT(acct, - TP_PROTO(sc_exit(long ret,) const char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_32_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, - TP_PROTO(sc_exit(long ret,) const char * u_name), - TP_ARGS(sc_exit(ret,) u_name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_stat -SC_LTTNG_TRACEPOINT_EVENT(stat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstat -SC_LTTNG_TRACEPOINT_EVENT(fstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_lstat -SC_LTTNG_TRACEPOINT_EVENT(lstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_socketcall -SC_LTTNG_TRACEPOINT_EVENT(socketcall, - TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), - TP_ARGS(sc_exit(ret,) call, args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) set, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(mq_notify, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(sc_exit(ret,) mqdes, u_notification), - 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))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - 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))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - 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))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(old_readdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - 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))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - 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))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - 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))) -) -#endif -#ifndef OVERRIDE_32_nfsservctl -SC_LTTNG_TRACEPOINT_EVENT(nfsservctl, - TP_PROTO(sc_exit(long ret,) int cmd, struct nfsctl_arg * arg, void * res), - TP_ARGS(sc_exit(ret,) cmd, arg, res), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_32_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(statfs64, - TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) pathname, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) fd, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), - 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))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_32_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_open -SC_LTTNG_TRACEPOINT_EVENT(mq_open, - TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), - TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), - 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))) -) -#endif -#ifndef OVERRIDE_32_request_key -SC_LTTNG_TRACEPOINT_EVENT(request_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_32_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), - 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))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_32_pciconfig_read -SC_LTTNG_TRACEPOINT_EVENT(pciconfig_read, - TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), - TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_pciconfig_write -SC_LTTNG_TRACEPOINT_EVENT(pciconfig_write, - TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), - TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_add_key -SC_LTTNG_TRACEPOINT_EVENT(add_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(ipc, - TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - 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))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - 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))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "powerpc-32-syscalls-3.0.34_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 3, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 5, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 8, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 9, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time -TRACE_SYSCALL_TABLE(time, time, 13, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 16, 3) -#endif -#ifndef OVERRIDE_TABLE_32_stat -TRACE_SYSCALL_TABLE(stat, stat, 18, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 21, 5) -#endif -#ifndef OVERRIDE_TABLE_32_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) -#endif -#ifndef OVERRIDE_TABLE_32_stime -TRACE_SYSCALL_TABLE(stime, stime, 25, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fstat -TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) -#endif -#ifndef OVERRIDE_TABLE_32_utime -TRACE_SYSCALL_TABLE(utime, utime, 30, 2) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 33, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 38, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) -#endif -#ifndef OVERRIDE_TABLE_32_pipe -TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 43, 1) -#endif -#ifndef OVERRIDE_TABLE_32_acct -TRACE_SYSCALL_TABLE(acct, acct, 51, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 52, 2) -#endif -#ifndef OVERRIDE_TABLE_32_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) -#endif -#ifndef OVERRIDE_TABLE_32_old_getrlimit -TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 80, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 81, 2) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat -TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) -#endif -#ifndef OVERRIDE_TABLE_32_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) -#endif -#ifndef OVERRIDE_TABLE_32_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) -#endif -#ifndef OVERRIDE_TABLE_32_old_readdir -TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socketcall -TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_uname -TRACE_SYSCALL_TABLE(uname, uname, 109, 1) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ipc -TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 165, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 167, 3) -#endif -#ifndef OVERRIDE_TABLE_32_nfsservctl -TRACE_SYSCALL_TABLE(nfsservctl, nfsservctl, 168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 173, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 174, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 175, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 176, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 177, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 178, 2) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 181, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 182, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 186, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 190, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pciconfig_read -TRACE_SYSCALL_TABLE(pciconfig_read, pciconfig_read, 198, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pciconfig_write -TRACE_SYSCALL_TABLE(pciconfig_write, pciconfig_write, 199, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 202, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 206, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 209, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 210, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 211, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 212, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 213, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 214, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 215, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 216, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 217, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 218, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 219, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 220, 2) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 221, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 222, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 223, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 226, 4) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 227, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 229, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 230, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 231, 3) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 232, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 237, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 238, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 240, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 241, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 242, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 245, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 246, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 247, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 248, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 251, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 252, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 253, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mq_open -TRACE_SYSCALL_TABLE(mq_open, mq_open, 262, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mq_unlink -TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 263, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 264, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 265, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_notify -TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 266, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mq_getsetattr -TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 267, 3) -#endif -#ifndef OVERRIDE_TABLE_32_add_key -TRACE_SYSCALL_TABLE(add_key, add_key, 269, 5) -#endif -#ifndef OVERRIDE_TABLE_32_request_key -TRACE_SYSCALL_TABLE(request_key, request_key, 270, 4) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 272, 5) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 276, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 280, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 281, 5) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 283, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 285, 4) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 286, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 287, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 288, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 289, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 290, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 291, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 292, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 293, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 294, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 295, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 296, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 298, 3) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 300, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 302, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 303, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 304, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 305, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 311, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 312, 2) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 313, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 317, 2) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 319, 5) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 320, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 321, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 322, 4) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 325, 4) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 327, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 328, 3) -#endif -#ifndef OVERRIDE_TABLE_32_accept -TRACE_SYSCALL_TABLE(accept, accept, 330, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 331, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 332, 3) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 333, 4) -#endif -#ifndef OVERRIDE_TABLE_32_send -TRACE_SYSCALL_TABLE(send, send, 334, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 335, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 337, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 339, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 340, 5) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 341, 3) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 342, 3) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 343, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 344, 4) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 347, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 349, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h deleted file mode 100644 index 06704b90..00000000 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h +++ /dev/null @@ -1,22 +0,0 @@ -#define OVERRIDE_TABLE_32_mmap2 - -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_32_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_out(ctf_user_array(int, fildes, fildes, 2)) - ) -) - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 11, 3) -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 120, 5) - -#endif /* CREATE_SYSCALL_TABLE */ - diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h new file mode 100644 index 00000000..987d0b34 --- /dev/null +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h @@ -0,0 +1,1070 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from powerpc-32-syscalls 3.0.34 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "powerpc-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) +) +#endif +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_signal +SC_LTTNG_TRACEPOINT_EVENT(signal, + TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), + TP_ARGS(sc_exit(ret,) sig, handler), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) +) +#endif +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_32_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) +) +#endif +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "powerpc-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 1, 1) +#endif +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 6, 1) +#endif +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) +#endif +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) +#endif +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 34, 1) +#endif +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 37, 2) +#endif +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 41, 1) +#endif +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 45, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1) +#endif +#ifndef OVERRIDE_TABLE_32_signal +TRACE_SYSCALL_TABLE(signal, signal, 48, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) +#endif +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 60, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) +#endif +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) +#endif +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 136, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1) +#endif +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 143, 2) +#endif +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 144, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3) +#endif +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3) +#endif +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3) +#endif +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1) +#endif +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1) +#endif +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5) +#endif +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3) +#endif +#ifndef OVERRIDE_TABLE_32_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 284, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1) +#endif +#ifndef OVERRIDE_TABLE_32_socket +TRACE_SYSCALL_TABLE(socket, socket, 326, 3) +#endif +#ifndef OVERRIDE_TABLE_32_listen +TRACE_SYSCALL_TABLE(listen, listen, 329, 2) +#endif +#ifndef OVERRIDE_TABLE_32_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 350, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h new file mode 100644 index 00000000..770a85a7 --- /dev/null +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_32_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mmap2, + TP_PROTO(sc_exit(unsigned long ret,) + unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) + sc_in(ctf_integer_hex(unsigned long, addr, addr)) + sc_in(ctf_integer(size_t, len, len)) + sc_in(ctf_integer(int, prot, prot)) + sc_in(ctf_integer(int, flags, flags)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(off_t, pgoff, pgoff)) + ) +) + +#if (__BYTE_ORDER == __LITTLE_ENDIAN) + +#define OVERRIDE_32_sync_file_range2 +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, + TP_PROTO(sc_exit(long ret,) int fd, + unsigned int flags, + int32_t offset_low, int32_t offset_high, + int32_t nbytes_low, int32_t nbytes_high), + TP_ARGS(sc_exit(ret,) fd, flags, offset_low, offset_high, + nbytes_low, nbytes_high), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(unsigned int, flags, flags)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, nbytes, + ((loff_t) nbytes_high << 32) | nbytes_low)) + ) +) + +#else /* __BIG_ENDIAN */ + +#define OVERRIDE_32_sync_file_range2 +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, + TP_PROTO(sc_exit(long ret,) int fd, + unsigned int flags, + int32_t offset_high, int32_t offset_low, + int32_t nbytes_high, int32_t nbytes_low), + TP_ARGS(sc_exit(ret,) fd, flags, offset_high, offset_low, + nbytes_high, nbytes_low), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(unsigned int, flags, flags)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, nbytes, + ((loff_t) nbytes_high << 32) | nbytes_low)) + ) +) + +#endif + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_32_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) +#define OVERRIDE_TABLE_32_mmap2 +TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) +#define OVERRIDE_TABLE_32_sync_file_range2 +TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 308, 6) + +#endif /* CREATE_SYSCALL_TABLE */ + diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h new file mode 100644 index 00000000..0617ca92 --- /dev/null +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h @@ -0,0 +1,1939 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from powerpc-32-syscalls 3.0.34 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "powerpc-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) +) +#endif +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) +) +#endif +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_32_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) +) +#endif +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) +) +#endif +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_32_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) +) +#endif +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_stat +SC_LTTNG_TRACEPOINT_EVENT(stat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstat +SC_LTTNG_TRACEPOINT_EVENT(fstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_old_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_lstat +SC_LTTNG_TRACEPOINT_EVENT(lstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) +) +#endif +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + 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))) +) +#endif +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + 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))) +) +#endif +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + 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))) +) +#endif +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + 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))) +) +#endif +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + 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))) +) +#endif +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + 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))) +) +#endif +#ifndef OVERRIDE_32_nfsservctl +SC_LTTNG_TRACEPOINT_EVENT(nfsservctl, + TP_PROTO(sc_exit(long ret,) int cmd, struct nfsctl_arg * arg, void * res), + TP_ARGS(sc_exit(ret,) cmd, arg, res), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + 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))) +) +#endif +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_32_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + 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))) +) +#endif +#ifndef OVERRIDE_32_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_32_send +SC_LTTNG_TRACEPOINT_EVENT(send, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + 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))) +) +#endif +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_32_pciconfig_read +SC_LTTNG_TRACEPOINT_EVENT(pciconfig_read, + TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), + TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_pciconfig_write +SC_LTTNG_TRACEPOINT_EVENT(pciconfig_write, + TP_PROTO(sc_exit(long ret,) unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void * buf), + TP_ARGS(sc_exit(ret,) bus, dfn, off, len, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + 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))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + 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))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "powerpc-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 3, 3) +#endif +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4, 3) +#endif +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 5, 3) +#endif +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) +#endif +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 8, 2) +#endif +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 9, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) +#endif +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 13, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 16, 3) +#endif +#ifndef OVERRIDE_TABLE_32_stat +TRACE_SYSCALL_TABLE(stat, stat, 18, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 21, 5) +#endif +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) +#endif +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 25, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fstat +TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) +#endif +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 30, 2) +#endif +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 33, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 38, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) +#endif +#ifndef OVERRIDE_TABLE_32_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) +#endif +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 43, 1) +#endif +#ifndef OVERRIDE_TABLE_32_acct +TRACE_SYSCALL_TABLE(acct, acct, 51, 1) +#endif +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 52, 2) +#endif +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) +#endif +#ifndef OVERRIDE_TABLE_32_old_getrlimit +TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) +#endif +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) +#endif +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 80, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 81, 2) +#endif +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat +TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) +#endif +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) +#endif +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) +#endif +#ifndef OVERRIDE_TABLE_32_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) +#endif +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) +#endif +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) +#endif +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) +#endif +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 109, 1) +#endif +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) +#endif +#ifndef OVERRIDE_TABLE_32_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) +#endif +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) +#endif +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) +#endif +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) +#endif +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 142, 5) +#endif +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 145, 3) +#endif +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 146, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 165, 3) +#endif +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 167, 3) +#endif +#ifndef OVERRIDE_TABLE_32_nfsservctl +TRACE_SYSCALL_TABLE(nfsservctl, nfsservctl, 168, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 170, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 173, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 174, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 175, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 176, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 177, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 178, 2) +#endif +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 181, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 182, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 186, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 190, 2) +#endif +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) +#endif +#ifndef OVERRIDE_TABLE_32_pciconfig_read +TRACE_SYSCALL_TABLE(pciconfig_read, pciconfig_read, 198, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pciconfig_write +TRACE_SYSCALL_TABLE(pciconfig_write, pciconfig_write, 199, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 202, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 203, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 206, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 209, 5) +#endif +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 210, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 211, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 212, 4) +#endif +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 213, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 214, 4) +#endif +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 215, 3) +#endif +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 216, 3) +#endif +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 217, 3) +#endif +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 218, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 219, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 220, 2) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 221, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 222, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 223, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 226, 4) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 227, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 229, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 230, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 231, 3) +#endif +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 232, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 237, 4) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 238, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 240, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 241, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 242, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 245, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 246, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 247, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 248, 4) +#endif +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 251, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 252, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 253, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 262, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 263, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 264, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 265, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 266, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 267, 3) +#endif +#ifndef OVERRIDE_TABLE_32_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 269, 5) +#endif +#ifndef OVERRIDE_TABLE_32_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 270, 4) +#endif +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 272, 5) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 276, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 280, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 281, 5) +#endif +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 283, 6) +#endif +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 285, 4) +#endif +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 286, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 287, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 288, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 289, 5) +#endif +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 290, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 291, 4) +#endif +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 292, 3) +#endif +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 293, 4) +#endif +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 294, 5) +#endif +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 295, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 296, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 297, 3) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 298, 3) +#endif +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 299, 3) +#endif +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 300, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 302, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 303, 6) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 304, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 305, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 311, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 312, 2) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 313, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 317, 2) +#endif +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 319, 5) +#endif +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 320, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 321, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 322, 4) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 325, 4) +#endif +#ifndef OVERRIDE_TABLE_32_bind +TRACE_SYSCALL_TABLE(bind, bind, 327, 3) +#endif +#ifndef OVERRIDE_TABLE_32_connect +TRACE_SYSCALL_TABLE(connect, connect, 328, 3) +#endif +#ifndef OVERRIDE_TABLE_32_accept +TRACE_SYSCALL_TABLE(accept, accept, 330, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 331, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 332, 3) +#endif +#ifndef OVERRIDE_TABLE_32_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 333, 4) +#endif +#ifndef OVERRIDE_TABLE_32_send +TRACE_SYSCALL_TABLE(send, send, 334, 4) +#endif +#ifndef OVERRIDE_TABLE_32_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 335, 6) +#endif +#ifndef OVERRIDE_TABLE_32_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 337, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 339, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 340, 5) +#endif +#ifndef OVERRIDE_TABLE_32_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 341, 3) +#endif +#ifndef OVERRIDE_TABLE_32_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 342, 3) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 343, 5) +#endif +#ifndef OVERRIDE_TABLE_32_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 344, 4) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 347, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 349, 4) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h new file mode 100644 index 00000000..e9f6da4f --- /dev/null +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#define OVERRIDE_TABLE_32_mmap2 + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_out(ctf_user_array(int, fildes, fildes, 2)) + ) +) + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#define OVERRIDE_TABLE_32_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) + +#endif /* CREATE_SYSCALL_TABLE */ + diff --git a/instrumentation/syscalls/headers/syscalls_integers.h b/instrumentation/syscalls/headers/syscalls_integers.h index 1d50c86b..2671f66a 100644 --- a/instrumentation/syscalls/headers/syscalls_integers.h +++ b/instrumentation/syscalls/headers/syscalls_integers.h @@ -1,23 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-64-syscalls-3.10.0-rc7_integers.h" +#include "x86-64-syscalls_integers.h" #endif #ifdef CONFIG_X86_32 -#include "x86-32-syscalls-3.1.0-rc6_integers.h" +#include "x86-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM -#include "arm-32-syscalls-3.4.25_integers.h" +#include "arm-32-syscalls_integers.h" #endif #ifdef CONFIG_PPC -#include "powerpc-32-syscalls-3.0.34_integers.h" +#include "powerpc-32-syscalls_integers.h" #endif #ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls-3.18.0_integers.h" +#include "mips-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-64-syscalls-4.4.0_integers.h" +#include "arm-64-syscalls_integers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_integers_override.h b/instrumentation/syscalls/headers/syscalls_integers_override.h index 29bcefbc..b5842649 100644 --- a/instrumentation/syscalls/headers/syscalls_integers_override.h +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_mmap diff --git a/instrumentation/syscalls/headers/syscalls_pointers.h b/instrumentation/syscalls/headers/syscalls_pointers.h index d60d3801..a525a0f9 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers.h +++ b/instrumentation/syscalls/headers/syscalls_pointers.h @@ -1,23 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-64-syscalls-3.10.0-rc7_pointers.h" +#include "x86-64-syscalls_pointers.h" #endif #ifdef CONFIG_X86_32 -#include "x86-32-syscalls-3.1.0-rc6_pointers.h" +#include "x86-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM -#include "arm-32-syscalls-3.4.25_pointers.h" +#include "arm-32-syscalls_pointers.h" #endif #ifdef CONFIG_PPC -#include "powerpc-32-syscalls-3.0.34_pointers.h" +#include "powerpc-32-syscalls_pointers.h" #endif #ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls-3.18.0_pointers.h" +#include "mips-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-64-syscalls-4.4.0_pointers.h" +#include "arm-64-syscalls_pointers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index cdc56450..e6821214 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_execve diff --git a/instrumentation/syscalls/headers/syscalls_unknown.h b/instrumentation/syscalls/headers/syscalls_unknown.h index c72e7d0e..30a992a3 100644 --- a/instrumentation/syscalls/headers/syscalls_unknown.h +++ b/instrumentation/syscalls/headers/syscalls_unknown.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_SYSCALLS_UNKNOWN_H diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h deleted file mode 100644 index 9d5dba08..00000000 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h +++ /dev/null @@ -1,1209 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "x86-32-syscalls-3.1.0-rc6_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) -#endif -#ifndef OVERRIDE_32_geteuid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) -#endif -#ifndef OVERRIDE_32_getegid16 -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid16 -SC_LTTNG_TRACEPOINT_EVENT(getuid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid16 -SC_LTTNG_TRACEPOINT_EVENT(getgid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid16 -SC_LTTNG_TRACEPOINT_EVENT(geteuid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid16 -SC_LTTNG_TRACEPOINT_EVENT(getegid16, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT(sgetmask, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid16 -SC_LTTNG_TRACEPOINT_EVENT(setuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid16 -SC_LTTNG_TRACEPOINT_EVENT(setgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(ssetmask, - TP_PROTO(sc_exit(long ret,) int newmask), - TP_ARGS(sc_exit(ret,) newmask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid16 -SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid16 -SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_signal -SC_LTTNG_TRACEPOINT_EVENT(signal, - TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), - TP_ARGS(sc_exit(ret,) sig, handler), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid16 -SC_LTTNG_TRACEPOINT_EVENT(setreuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid16 -SC_LTTNG_TRACEPOINT_EVENT(setregid16, - TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fanotify_init -SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, - TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), - TP_ARGS(sc_exit(ret,) flags, event_f_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset, origin), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown16 -SC_LTTNG_TRACEPOINT_EVENT(fchown16, - TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setresuid16 -SC_LTTNG_TRACEPOINT_EVENT(setresuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid)) sc_inout(ctf_integer(old_uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid16 -SC_LTTNG_TRACEPOINT_EVENT(setresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_keyctl -SC_LTTNG_TRACEPOINT_EVENT(keyctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_mmap_pgoff -SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "x86-32-syscalls-3.1.0-rc6_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid16 -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid16 -TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 29, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 36, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid16 -TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid16 -TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid16 -TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 1, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 6, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid16 -TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) -#endif -#ifndef OVERRIDE_TABLE_32_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 34, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 37, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 41, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 45, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid16 -TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) -#endif -#ifndef OVERRIDE_TABLE_32_signal -TRACE_SYSCALL_TABLE(signal, signal, 48, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 60, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ssetmask -TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid16 -TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid16 -TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown16 -TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid16 -TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid16 -TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid16 -TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid16 -TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mmap_pgoff -TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) -#endif -#ifndef OVERRIDE_TABLE_32_keyctl -TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 315, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fanotify_init -TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 346, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h deleted file mode 100644 index df814d30..00000000 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef CONFIG_UID16 - -#define OVERRIDE_32_getuid16 -#define OVERRIDE_32_getgid16 -#define OVERRIDE_32_geteuid16 -#define OVERRIDE_32_getegid16 -#define OVERRIDE_32_setuid16 -#define OVERRIDE_32_setgid16 -#define OVERRIDE_32_setfsuid16 -#define OVERRIDE_32_setfsgid16 -#define OVERRIDE_32_setreuid16 -#define OVERRIDE_32_setregid16 -#define OVERRIDE_32_fchown16 -#define OVERRIDE_32_setresuid16 -#define OVERRIDE_32_setresgid16 - -#define OVERRIDE_TABLE_32_getuid16 -#define OVERRIDE_TABLE_32_getgid16 -#define OVERRIDE_TABLE_32_geteuid16 -#define OVERRIDE_TABLE_32_getegid16 -#define OVERRIDE_TABLE_32_setuid16 -#define OVERRIDE_TABLE_32_setgid16 -#define OVERRIDE_TABLE_32_setreuid16 -#define OVERRIDE_TABLE_32_setregid16 -#define OVERRIDE_TABLE_32_fchown16 -#define OVERRIDE_TABLE_32_setfsuid16 -#define OVERRIDE_TABLE_32_setfsgid16 -#define OVERRIDE_TABLE_32_setresuid16 -#define OVERRIDE_TABLE_32_setresgid16 - -#endif - -#ifndef CREATE_SYSCALL_TABLE - -/* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */ -#define OVERRIDE_32_mmap_pgoff -#define OVERRIDE_32_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mmap2, - TP_PROTO(sc_exit(unsigned long ret,) - unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) - sc_in(ctf_integer_hex(unsigned long, addr, addr)) - sc_in(ctf_integer(size_t, len, len)) - sc_in(ctf_integer(int, prot, prot)) - sc_in(ctf_integer(int, flags, flags)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(off_t, pgoff, pgoff)) - ) -) - -#define OVERRIDE_32_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, - int32_t offset_low, int32_t offset_high, - int32_t nbytes_low, int32_t nbytes_high, - unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, - nbytes_low, nbytes_high, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer(loff_t, offset, - ((loff_t) offset_high << 32) | offset_low)) - sc_in(ctf_integer(loff_t, nbytes, - ((loff_t) nbytes_high << 32) | nbytes_low)) - sc_in(ctf_integer(unsigned int, flags, flags)) - ) -) - -#else /* #ifndef CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) - -/* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */ -#define OVERRIDE_TABLE_32_mmap_pgoff -#define OVERRIDE_TABLE_32_mmap2 -TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) - -#define OVERRIDE_TABLE_32_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 314, 6) - -#endif /* #else #ifndef CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h deleted file mode 100644 index 19d9adea..00000000 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h +++ /dev/null @@ -1,1864 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_32_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_stime -SC_LTTNG_TRACEPOINT_EVENT(stime, - TP_PROTO(sc_exit(long ret,) time_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_acct -SC_LTTNG_TRACEPOINT_EVENT(acct, - TP_PROTO(sc_exit(long ret,) const char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_old_select -SC_LTTNG_TRACEPOINT_EVENT(old_select, - TP_PROTO(sc_exit(long ret,) struct sel_arg_struct * arg), - TP_ARGS(sc_exit(ret,) arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct sel_arg_struct *, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_32_old_mmap -SC_LTTNG_TRACEPOINT_EVENT(old_mmap, - TP_PROTO(sc_exit(long ret,) struct mmap_arg_struct * arg), - TP_ARGS(sc_exit(ret,) arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct mmap_arg_struct *, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, - TP_PROTO(sc_exit(long ret,) const char * u_name), - TP_ARGS(sc_exit(ret,) u_name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_stat -SC_LTTNG_TRACEPOINT_EVENT(stat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstat -SC_LTTNG_TRACEPOINT_EVENT(fstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups16 -SC_LTTNG_TRACEPOINT_EVENT(getgroups16, - TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups16 -SC_LTTNG_TRACEPOINT_EVENT(setgroups16, - TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_lstat -SC_LTTNG_TRACEPOINT_EVENT(lstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_socketcall -SC_LTTNG_TRACEPOINT_EVENT(socketcall, - TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), - TP_ARGS(sc_exit(ret,) call, args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) set, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(mq_notify, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(sc_exit(ret,) mqdes, u_notification), - 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))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - 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))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - 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))) -) -#endif -#ifndef OVERRIDE_32_lchown16 -SC_LTTNG_TRACEPOINT_EVENT(lchown16, - TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(old_readdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - 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))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresuid16 -SC_LTTNG_TRACEPOINT_EVENT(getresuid16, - TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresgid16 -SC_LTTNG_TRACEPOINT_EVENT(getresgid16, - TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown16 -SC_LTTNG_TRACEPOINT_EVENT(chown16, - TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - 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))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - 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))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_32_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(statfs64, - TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) pathname, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) fd, sz, buf), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), - 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))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_quotactl -SC_LTTNG_TRACEPOINT_EVENT(quotactl, - TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) cmd, special, id, addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_open -SC_LTTNG_TRACEPOINT_EVENT(mq_open, - TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), - TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), - 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))) -) -#endif -#ifndef OVERRIDE_32_kexec_load -SC_LTTNG_TRACEPOINT_EVENT(kexec_load, - TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), - TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, entry, entry)) sc_in(ctf_integer(unsigned long, nr_segments, nr_segments)) sc_in(ctf_integer(struct kexec_segment *, segments, segments)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_request_key -SC_LTTNG_TRACEPOINT_EVENT(request_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - 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))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - 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))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), - 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))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_32_add_key -SC_LTTNG_TRACEPOINT_EVENT(add_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), - 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))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(ipc, - TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - 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))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 3, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 5, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 8, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 9, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time -TRACE_SYSCALL_TABLE(time, time, 13, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown16 -TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) -#endif -#ifndef OVERRIDE_TABLE_32_stat -TRACE_SYSCALL_TABLE(stat, stat, 18, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 21, 5) -#endif -#ifndef OVERRIDE_TABLE_32_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) -#endif -#ifndef OVERRIDE_TABLE_32_stime -TRACE_SYSCALL_TABLE(stime, stime, 25, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fstat -TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) -#endif -#ifndef OVERRIDE_TABLE_32_utime -TRACE_SYSCALL_TABLE(utime, utime, 30, 2) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 33, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 38, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) -#endif -#ifndef OVERRIDE_TABLE_32_pipe -TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 43, 1) -#endif -#ifndef OVERRIDE_TABLE_32_acct -TRACE_SYSCALL_TABLE(acct, acct, 51, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 52, 2) -#endif -#ifndef OVERRIDE_TABLE_32_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) -#endif -#ifndef OVERRIDE_TABLE_32_old_getrlimit -TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups16 -TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups16 -TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) -#endif -#ifndef OVERRIDE_TABLE_32_old_select -TRACE_SYSCALL_TABLE(old_select, old_select, 82, 1) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat -TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) -#endif -#ifndef OVERRIDE_TABLE_32_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) -#endif -#ifndef OVERRIDE_TABLE_32_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) -#endif -#ifndef OVERRIDE_TABLE_32_old_readdir -TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) -#endif -#ifndef OVERRIDE_TABLE_32_old_mmap -TRACE_SYSCALL_TABLE(old_mmap, old_mmap, 90, 1) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socketcall -TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_uname -TRACE_SYSCALL_TABLE(uname, uname, 109, 1) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ipc -TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_quotactl -TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid16 -TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid16 -TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) -#endif -#ifndef OVERRIDE_TABLE_32_chown16 -TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 212, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 217, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 218, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 220, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 240, 6) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 247, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 248, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 249, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 255, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 256, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 258, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 259, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 260, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 261, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 265, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 266, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 267, 4) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 268, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 269, 3) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 271, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mq_open -TRACE_SYSCALL_TABLE(mq_open, mq_open, 277, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mq_unlink -TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 278, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 279, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 280, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mq_notify -TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 281, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mq_getsetattr -TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 282, 3) -#endif -#ifndef OVERRIDE_TABLE_32_kexec_load -TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 283, 4) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 284, 5) -#endif -#ifndef OVERRIDE_TABLE_32_add_key -TRACE_SYSCALL_TABLE(add_key, add_key, 286, 5) -#endif -#ifndef OVERRIDE_TABLE_32_request_key -TRACE_SYSCALL_TABLE(request_key, request_key, 287, 4) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 292, 3) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 295, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 296, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 297, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 298, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 300, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 301, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 302, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 303, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 304, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 305, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 306, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 307, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 308, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 309, 5) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 311, 2) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 312, 3) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 313, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 316, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 319, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 320, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 325, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 326, 2) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 327, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 331, 2) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 333, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 334, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 335, 4) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 336, 5) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 337, 5) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 343, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h deleted file mode 100644 index 7c804a67..00000000 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h +++ /dev/null @@ -1,43 +0,0 @@ - -#ifndef CREATE_SYSCALL_TABLE - -# ifndef CONFIG_UID16 -# define OVERRIDE_32_getgroups16 -# define OVERRIDE_32_setgroups16 -# define OVERRIDE_32_lchown16 -# define OVERRIDE_32_getresuid16 -# define OVERRIDE_32_getresgid16 -# define OVERRIDE_32_chown16 -# endif - -#define OVERRIDE_32_pipe -#define OVERRIDE_64_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_out(ctf_user_array(int, fildes, fildes, 2)) - ) -) - -#else /* CREATE_SYSCALL_TABLE */ - -# ifndef CONFIG_UID16 -# define OVERRIDE_TABLE_32_getgroups16 -# define OVERRIDE_TABLE_32_setgroups16 -# define OVERRIDE_TABLE_32_lchown16 -# define OVERRIDE_TABLE_32_getresuid16 -# define OVERRIDE_TABLE_32_getresgid16 -# define OVERRIDE_TABLE_32_chown16 -# endif - -#define OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 11, 3) -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 120, 5) -#define OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) - -#endif /* CREATE_SYSCALL_TABLE */ - - diff --git a/instrumentation/syscalls/headers/x86-32-syscalls_integers.h b/instrumentation/syscalls/headers/x86-32-syscalls_integers.h new file mode 100644 index 00000000..6df00c4b --- /dev/null +++ b/instrumentation/syscalls/headers/x86-32-syscalls_integers.h @@ -0,0 +1,1214 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 3.1.0-rc6 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "x86-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) +#endif +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) +#endif +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid16 +SC_LTTNG_TRACEPOINT_EVENT(getuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid16 +SC_LTTNG_TRACEPOINT_EVENT(getgid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid16 +SC_LTTNG_TRACEPOINT_EVENT(geteuid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid16 +SC_LTTNG_TRACEPOINT_EVENT(getegid16, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sgetmask +SC_LTTNG_TRACEPOINT_EVENT(sgetmask, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_32_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_32_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_setuid16 +SC_LTTNG_TRACEPOINT_EVENT(setuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_32_nice +SC_LTTNG_TRACEPOINT_EVENT(nice, + TP_PROTO(sc_exit(long ret,) int increment), + TP_ARGS(sc_exit(ret,) increment), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) +) +#endif +#ifndef OVERRIDE_32_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_32_setgid16 +SC_LTTNG_TRACEPOINT_EVENT(setgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_32_ssetmask +SC_LTTNG_TRACEPOINT_EVENT(ssetmask, + TP_PROTO(sc_exit(long ret,) int newmask), + TP_ARGS(sc_exit(ret,) newmask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) +) +#endif +#ifndef OVERRIDE_32_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_32_setfsuid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid16 +SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_32_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_32_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_32_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_32_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_32_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_32_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_32_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_32_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_32_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_signal +SC_LTTNG_TRACEPOINT_EVENT(signal, + TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), + TP_ARGS(sc_exit(ret,) sig, handler), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) +) +#endif +#ifndef OVERRIDE_32_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_32_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_32_setreuid16 +SC_LTTNG_TRACEPOINT_EVENT(setreuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid16 +SC_LTTNG_TRACEPOINT_EVENT(setregid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_32_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_32_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_bdflush +SC_LTTNG_TRACEPOINT_EVENT(bdflush, + TP_PROTO(sc_exit(long ret,) int func, long data), + TP_ARGS(sc_exit(ret,) func, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) +) +#endif +#ifndef OVERRIDE_32_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_32_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_32_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_32_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_32_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_32_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_32_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_fanotify_init +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, + TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), + TP_ARGS(sc_exit(ret,) flags, event_f_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) +) +#endif +#ifndef OVERRIDE_32_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_32_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset, origin), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) +) +#endif +#ifndef OVERRIDE_32_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_fchown16 +SC_LTTNG_TRACEPOINT_EVENT(fchown16, + TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_32_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_32_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_32_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_setresuid16 +SC_LTTNG_TRACEPOINT_EVENT(setresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid)) sc_inout(ctf_integer(old_uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid16 +SC_LTTNG_TRACEPOINT_EVENT(setresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_32_fcntl64 +SC_LTTNG_TRACEPOINT_EVENT(fcntl64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_32_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_32_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_32_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_32_mmap_pgoff +SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "x86-32-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid16 +TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_32_pause +TRACE_SYSCALL_TABLE(pause, pause, 29, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sync +TRACE_SYSCALL_TABLE(sync, sync, 36, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid16 +TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid16 +TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid16 +TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) +#endif +#ifndef OVERRIDE_TABLE_32_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sgetmask +TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) +#endif +#ifndef OVERRIDE_TABLE_32_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_32_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_32_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) +#endif +#ifndef OVERRIDE_TABLE_32_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) +#endif +#ifndef OVERRIDE_TABLE_32_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) +#endif +#ifndef OVERRIDE_TABLE_32_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_32_exit +TRACE_SYSCALL_TABLE(exit, exit, 1, 1) +#endif +#ifndef OVERRIDE_TABLE_32_close +TRACE_SYSCALL_TABLE(close, close, 6, 1) +#endif +#ifndef OVERRIDE_TABLE_32_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid16 +TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) +#endif +#ifndef OVERRIDE_TABLE_32_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) +#endif +#ifndef OVERRIDE_TABLE_32_nice +TRACE_SYSCALL_TABLE(nice, nice, 34, 1) +#endif +#ifndef OVERRIDE_TABLE_32_kill +TRACE_SYSCALL_TABLE(kill, kill, 37, 2) +#endif +#ifndef OVERRIDE_TABLE_32_dup +TRACE_SYSCALL_TABLE(dup, dup, 41, 1) +#endif +#ifndef OVERRIDE_TABLE_32_brk +TRACE_SYSCALL_TABLE(brk, brk, 45, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid16 +TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) +#endif +#ifndef OVERRIDE_TABLE_32_signal +TRACE_SYSCALL_TABLE(signal, signal, 48, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) +#endif +#ifndef OVERRIDE_TABLE_32_umask +TRACE_SYSCALL_TABLE(umask, umask, 60, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ssetmask +TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid16 +TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid16 +TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) +#endif +#ifndef OVERRIDE_TABLE_32_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown16 +TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) +#endif +#ifndef OVERRIDE_TABLE_32_bdflush +TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) +#endif +#ifndef OVERRIDE_TABLE_32_personality +TRACE_SYSCALL_TABLE(personality, personality, 136, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid16 +TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid16 +TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) +#endif +#ifndef OVERRIDE_TABLE_32_flock +TRACE_SYSCALL_TABLE(flock, flock, 143, 2) +#endif +#ifndef OVERRIDE_TABLE_32_msync +TRACE_SYSCALL_TABLE(msync, msync, 144, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) +#endif +#ifndef OVERRIDE_TABLE_32_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid16 +TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid16 +TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) +#endif +#ifndef OVERRIDE_TABLE_32_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mmap_pgoff +TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) +#endif +#ifndef OVERRIDE_TABLE_32_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fcntl64 +TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) +#endif +#ifndef OVERRIDE_TABLE_32_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) +#endif +#ifndef OVERRIDE_TABLE_32_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1) +#endif +#ifndef OVERRIDE_TABLE_32_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5) +#endif +#ifndef OVERRIDE_TABLE_32_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) +#endif +#ifndef OVERRIDE_TABLE_32_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3) +#endif +#ifndef OVERRIDE_TABLE_32_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) +#endif +#ifndef OVERRIDE_TABLE_32_tee +TRACE_SYSCALL_TABLE(tee, tee, 315, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) +#endif +#ifndef OVERRIDE_TABLE_32_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1) +#endif +#ifndef OVERRIDE_TABLE_32_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fanotify_init +TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) +#endif +#ifndef OVERRIDE_TABLE_32_setns +TRACE_SYSCALL_TABLE(setns, setns, 346, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h new file mode 100644 index 00000000..d40360b1 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h @@ -0,0 +1,87 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CONFIG_UID16 + +#define OVERRIDE_32_getuid16 +#define OVERRIDE_32_getgid16 +#define OVERRIDE_32_geteuid16 +#define OVERRIDE_32_getegid16 +#define OVERRIDE_32_setuid16 +#define OVERRIDE_32_setgid16 +#define OVERRIDE_32_setfsuid16 +#define OVERRIDE_32_setfsgid16 +#define OVERRIDE_32_setreuid16 +#define OVERRIDE_32_setregid16 +#define OVERRIDE_32_fchown16 +#define OVERRIDE_32_setresuid16 +#define OVERRIDE_32_setresgid16 + +#define OVERRIDE_TABLE_32_getuid16 +#define OVERRIDE_TABLE_32_getgid16 +#define OVERRIDE_TABLE_32_geteuid16 +#define OVERRIDE_TABLE_32_getegid16 +#define OVERRIDE_TABLE_32_setuid16 +#define OVERRIDE_TABLE_32_setgid16 +#define OVERRIDE_TABLE_32_setreuid16 +#define OVERRIDE_TABLE_32_setregid16 +#define OVERRIDE_TABLE_32_fchown16 +#define OVERRIDE_TABLE_32_setfsuid16 +#define OVERRIDE_TABLE_32_setfsgid16 +#define OVERRIDE_TABLE_32_setresuid16 +#define OVERRIDE_TABLE_32_setresgid16 + +#endif + +#ifndef CREATE_SYSCALL_TABLE + +/* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */ +#define OVERRIDE_32_mmap_pgoff +#define OVERRIDE_32_mmap2 +SC_LTTNG_TRACEPOINT_EVENT(mmap2, + TP_PROTO(sc_exit(unsigned long ret,) + unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + unsigned long fd, unsigned long pgoff), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), + TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) + sc_in(ctf_integer_hex(unsigned long, addr, addr)) + sc_in(ctf_integer(size_t, len, len)) + sc_in(ctf_integer(int, prot, prot)) + sc_in(ctf_integer(int, flags, flags)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(off_t, pgoff, pgoff)) + ) +) + +#define OVERRIDE_32_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, + int32_t offset_low, int32_t offset_high, + int32_t nbytes_low, int32_t nbytes_high, + unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, + nbytes_low, nbytes_high, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer(loff_t, offset, + ((loff_t) offset_high << 32) | offset_low)) + sc_in(ctf_integer(loff_t, nbytes, + ((loff_t) nbytes_high << 32) | nbytes_low)) + sc_in(ctf_integer(unsigned int, flags, flags)) + ) +) + +#else /* #ifndef CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_32_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) + +/* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */ +#define OVERRIDE_TABLE_32_mmap_pgoff +#define OVERRIDE_TABLE_32_mmap2 +TRACE_SYSCALL_TABLE(mmap2, mmap2, 192, 6) + +#define OVERRIDE_TABLE_32_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 314, 6) + +#endif /* #else #ifndef CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h b/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h new file mode 100644 index 00000000..bf667f22 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h @@ -0,0 +1,1869 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 3.1.0-rc6 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "x86-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_32_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) +) +#endif +#ifndef OVERRIDE_32_oldumount +SC_LTTNG_TRACEPOINT_EVENT(oldumount, + TP_PROTO(sc_exit(long ret,) char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_stime +SC_LTTNG_TRACEPOINT_EVENT(stime, + TP_PROTO(sc_exit(long ret,) time_t * tptr), + TP_ARGS(sc_exit(ret,) tptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) +) +#endif +#ifndef OVERRIDE_32_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_32_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_32_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_32_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_olduname +SC_LTTNG_TRACEPOINT_EVENT(olduname, + TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_32_sigpending +SC_LTTNG_TRACEPOINT_EVENT(sigpending, + TP_PROTO(sc_exit(long ret,) old_sigset_t * set), + TP_ARGS(sc_exit(ret,) set), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) +) +#endif +#ifndef OVERRIDE_32_old_select +SC_LTTNG_TRACEPOINT_EVENT(old_select, + TP_PROTO(sc_exit(long ret,) struct sel_arg_struct * arg), + TP_ARGS(sc_exit(ret,) arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct sel_arg_struct *, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_uselib +SC_LTTNG_TRACEPOINT_EVENT(uselib, + TP_PROTO(sc_exit(long ret,) const char * library), + TP_ARGS(sc_exit(ret,) library), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) +) +#endif +#ifndef OVERRIDE_32_old_mmap +SC_LTTNG_TRACEPOINT_EVENT(old_mmap, + TP_PROTO(sc_exit(long ret,) struct mmap_arg_struct * arg), + TP_ARGS(sc_exit(ret,) arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct mmap_arg_struct *, arg, arg))) +) +#endif +#ifndef OVERRIDE_32_uname +SC_LTTNG_TRACEPOINT_EVENT(uname, + TP_PROTO(sc_exit(long ret,) struct old_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_32_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_32_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_32_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_32_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_32_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_32_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) +) +#endif +#ifndef OVERRIDE_32_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_stat +SC_LTTNG_TRACEPOINT_EVENT(stat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstat +SC_LTTNG_TRACEPOINT_EVENT(fstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_32_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_32_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_32_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_old_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(old_getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_32_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups16 +SC_LTTNG_TRACEPOINT_EVENT(getgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups16 +SC_LTTNG_TRACEPOINT_EVENT(setgroups16, + TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, gidsetsize, gidsetsize)) sc_inout(ctf_integer(old_gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_32_lstat +SC_LTTNG_TRACEPOINT_EVENT(lstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_32_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_32_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_socketcall +SC_LTTNG_TRACEPOINT_EVENT(socketcall, + TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), + TP_ARGS(sc_exit(ret,) call, args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) +) +#endif +#ifndef OVERRIDE_32_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_32_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_32_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_32_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) set, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_32_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_stat64 +SC_LTTNG_TRACEPOINT_EVENT(stat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_lstat64 +SC_LTTNG_TRACEPOINT_EVENT(lstat64, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_32_fstat64 +SC_LTTNG_TRACEPOINT_EVENT(fstat64, + TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_32_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_32_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_32_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_32_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_32_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + 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))) +) +#endif +#ifndef OVERRIDE_32_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_32_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_32_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitpid +SC_LTTNG_TRACEPOINT_EVENT(waitpid, + TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), + TP_ARGS(sc_exit(ret,) pid, stat_addr, options), + 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))) +) +#endif +#ifndef OVERRIDE_32_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + 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))) +) +#endif +#ifndef OVERRIDE_32_lchown16 +SC_LTTNG_TRACEPOINT_EVENT(lchown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_old_readdir +SC_LTTNG_TRACEPOINT_EVENT(old_readdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_32_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_32_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), + TP_ARGS(sc_exit(ret,) how, nset, oset), + 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))) +) +#endif +#ifndef OVERRIDE_32_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresuid16 +SC_LTTNG_TRACEPOINT_EVENT(getresuid16, + TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t *, ruid, ruid)) sc_inout(ctf_integer(old_uid_t *, euid, euid)) sc_inout(ctf_integer(old_uid_t *, suid, suid))) +) +#endif +#ifndef OVERRIDE_32_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresgid16 +SC_LTTNG_TRACEPOINT_EVENT(getresgid16, + TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t *, rgid, rgid)) sc_inout(ctf_integer(old_gid_t *, egid, egid)) sc_inout(ctf_integer(old_gid_t *, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_32_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown16 +SC_LTTNG_TRACEPOINT_EVENT(chown16, + TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_32_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + 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))) +) +#endif +#ifndef OVERRIDE_32_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + 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))) +) +#endif +#ifndef OVERRIDE_32_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_32_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_32_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_32_statfs64 +SC_LTTNG_TRACEPOINT_EVENT(statfs64, + TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) pathname, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstatfs64 +SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), + TP_ARGS(sc_exit(ret,) fd, sz, buf), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + 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))) +) +#endif +#ifndef OVERRIDE_32_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_32_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_32_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_32_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_32_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_32_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_32_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile +SC_LTTNG_TRACEPOINT_EVENT(sendfile, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_32_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + 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))) +) +#endif +#ifndef OVERRIDE_32_kexec_load +SC_LTTNG_TRACEPOINT_EVENT(kexec_load, + TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), + TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, entry, entry)) sc_in(ctf_integer(unsigned long, nr_segments, nr_segments)) sc_in(ctf_integer(struct kexec_segment *, segments, segments)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_32_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + 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))) +) +#endif +#ifndef OVERRIDE_32_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + 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))) +) +#endif +#ifndef OVERRIDE_32_fstatat64 +SC_LTTNG_TRACEPOINT_EVENT(fstatat64, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_32_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_32_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_32_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_32_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_32_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_32_llseek +SC_LTTNG_TRACEPOINT_EVENT(llseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), + TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), + 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))) +) +#endif +#ifndef OVERRIDE_32_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_32_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_32_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + 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))) +) +#endif +#ifndef OVERRIDE_32_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_32_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_32_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_32_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_32_ipc +SC_LTTNG_TRACEPOINT_EVENT(ipc, + TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), + TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), + 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))) +) +#endif +#ifndef OVERRIDE_32_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_32_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_32_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_32_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "x86-32-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_32_read +TRACE_SYSCALL_TABLE(read, read, 3, 3) +#endif +#ifndef OVERRIDE_TABLE_32_write +TRACE_SYSCALL_TABLE(write, write, 4, 3) +#endif +#ifndef OVERRIDE_TABLE_32_open +TRACE_SYSCALL_TABLE(open, open, 5, 3) +#endif +#ifndef OVERRIDE_TABLE_32_waitpid +TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) +#endif +#ifndef OVERRIDE_TABLE_32_creat +TRACE_SYSCALL_TABLE(creat, creat, 8, 2) +#endif +#ifndef OVERRIDE_TABLE_32_link +TRACE_SYSCALL_TABLE(link, link, 9, 2) +#endif +#ifndef OVERRIDE_TABLE_32_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) +#endif +#ifndef OVERRIDE_TABLE_32_time +TRACE_SYSCALL_TABLE(time, time, 13, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown16 +TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) +#endif +#ifndef OVERRIDE_TABLE_32_stat +TRACE_SYSCALL_TABLE(stat, stat, 18, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mount +TRACE_SYSCALL_TABLE(mount, mount, 21, 5) +#endif +#ifndef OVERRIDE_TABLE_32_oldumount +TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) +#endif +#ifndef OVERRIDE_TABLE_32_stime +TRACE_SYSCALL_TABLE(stime, stime, 25, 1) +#endif +#ifndef OVERRIDE_TABLE_32_fstat +TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) +#endif +#ifndef OVERRIDE_TABLE_32_utime +TRACE_SYSCALL_TABLE(utime, utime, 30, 2) +#endif +#ifndef OVERRIDE_TABLE_32_access +TRACE_SYSCALL_TABLE(access, access, 33, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rename +TRACE_SYSCALL_TABLE(rename, rename, 38, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) +#endif +#ifndef OVERRIDE_TABLE_32_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) +#endif +#ifndef OVERRIDE_TABLE_32_times +TRACE_SYSCALL_TABLE(times, times, 43, 1) +#endif +#ifndef OVERRIDE_TABLE_32_acct +TRACE_SYSCALL_TABLE(acct, acct, 51, 1) +#endif +#ifndef OVERRIDE_TABLE_32_umount +TRACE_SYSCALL_TABLE(umount, umount, 52, 2) +#endif +#ifndef OVERRIDE_TABLE_32_olduname +TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) +#endif +#ifndef OVERRIDE_TABLE_32_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sigpending +TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) +#endif +#ifndef OVERRIDE_TABLE_32_old_getrlimit +TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) +#endif +#ifndef OVERRIDE_TABLE_32_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) +#endif +#ifndef OVERRIDE_TABLE_32_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups16 +TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups16 +TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) +#endif +#ifndef OVERRIDE_TABLE_32_old_select +TRACE_SYSCALL_TABLE(old_select, old_select, 82, 1) +#endif +#ifndef OVERRIDE_TABLE_32_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat +TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) +#endif +#ifndef OVERRIDE_TABLE_32_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) +#endif +#ifndef OVERRIDE_TABLE_32_uselib +TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) +#endif +#ifndef OVERRIDE_TABLE_32_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) +#endif +#ifndef OVERRIDE_TABLE_32_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) +#endif +#ifndef OVERRIDE_TABLE_32_old_readdir +TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) +#endif +#ifndef OVERRIDE_TABLE_32_old_mmap +TRACE_SYSCALL_TABLE(old_mmap, old_mmap, 90, 1) +#endif +#ifndef OVERRIDE_TABLE_32_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) +#endif +#ifndef OVERRIDE_TABLE_32_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) +#endif +#ifndef OVERRIDE_TABLE_32_socketcall +TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) +#endif +#ifndef OVERRIDE_TABLE_32_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) +#endif +#ifndef OVERRIDE_TABLE_32_uname +TRACE_SYSCALL_TABLE(uname, uname, 109, 1) +#endif +#ifndef OVERRIDE_TABLE_32_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) +#endif +#ifndef OVERRIDE_TABLE_32_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) +#endif +#ifndef OVERRIDE_TABLE_32_ipc +TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) +#endif +#ifndef OVERRIDE_TABLE_32_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) +#endif +#ifndef OVERRIDE_TABLE_32_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) +#endif +#ifndef OVERRIDE_TABLE_32_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sigprocmask +TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) +#endif +#ifndef OVERRIDE_TABLE_32_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) +#endif +#ifndef OVERRIDE_TABLE_32_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) +#endif +#ifndef OVERRIDE_TABLE_32_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) +#endif +#ifndef OVERRIDE_TABLE_32_llseek +TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) +#endif +#ifndef OVERRIDE_TABLE_32_select +TRACE_SYSCALL_TABLE(select, select, 142, 5) +#endif +#ifndef OVERRIDE_TABLE_32_readv +TRACE_SYSCALL_TABLE(readv, readv, 145, 3) +#endif +#ifndef OVERRIDE_TABLE_32_writev +TRACE_SYSCALL_TABLE(writev, writev, 146, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) +#endif +#ifndef OVERRIDE_TABLE_32_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid16 +TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) +#endif +#ifndef OVERRIDE_TABLE_32_poll +TRACE_SYSCALL_TABLE(poll, poll, 168, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid16 +TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) +#endif +#ifndef OVERRIDE_TABLE_32_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) +#endif +#ifndef OVERRIDE_TABLE_32_chown16 +TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile +TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) +#endif +#ifndef OVERRIDE_TABLE_32_stat64 +TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lstat64 +TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fstat64 +TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) +#endif +#ifndef OVERRIDE_TABLE_32_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) +#endif +#ifndef OVERRIDE_TABLE_32_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) +#endif +#ifndef OVERRIDE_TABLE_32_chown +TRACE_SYSCALL_TABLE(chown, chown, 212, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 217, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 218, 3) +#endif +#ifndef OVERRIDE_TABLE_32_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 220, 3) +#endif +#ifndef OVERRIDE_TABLE_32_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) +#endif +#ifndef OVERRIDE_TABLE_32_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) +#endif +#ifndef OVERRIDE_TABLE_32_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) +#endif +#ifndef OVERRIDE_TABLE_32_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) +#endif +#ifndef OVERRIDE_TABLE_32_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) +#endif +#ifndef OVERRIDE_TABLE_32_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) +#endif +#ifndef OVERRIDE_TABLE_32_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) +#endif +#ifndef OVERRIDE_TABLE_32_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) +#endif +#ifndef OVERRIDE_TABLE_32_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) +#endif +#ifndef OVERRIDE_TABLE_32_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) +#endif +#ifndef OVERRIDE_TABLE_32_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) +#endif +#ifndef OVERRIDE_TABLE_32_futex +TRACE_SYSCALL_TABLE(futex, futex, 240, 6) +#endif +#ifndef OVERRIDE_TABLE_32_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) +#endif +#ifndef OVERRIDE_TABLE_32_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2) +#endif +#ifndef OVERRIDE_TABLE_32_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 247, 5) +#endif +#ifndef OVERRIDE_TABLE_32_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 248, 3) +#endif +#ifndef OVERRIDE_TABLE_32_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 249, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 255, 4) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 256, 4) +#endif +#ifndef OVERRIDE_TABLE_32_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 258, 1) +#endif +#ifndef OVERRIDE_TABLE_32_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 259, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 260, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 261, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 264, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 265, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 266, 2) +#endif +#ifndef OVERRIDE_TABLE_32_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 267, 4) +#endif +#ifndef OVERRIDE_TABLE_32_statfs64 +TRACE_SYSCALL_TABLE(statfs64, statfs64, 268, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatfs64 +TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 269, 3) +#endif +#ifndef OVERRIDE_TABLE_32_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 271, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 277, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 278, 1) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 279, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 280, 5) +#endif +#ifndef OVERRIDE_TABLE_32_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 281, 2) +#endif +#ifndef OVERRIDE_TABLE_32_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 282, 3) +#endif +#ifndef OVERRIDE_TABLE_32_kexec_load +TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 283, 4) +#endif +#ifndef OVERRIDE_TABLE_32_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 284, 5) +#endif +#ifndef OVERRIDE_TABLE_32_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 286, 5) +#endif +#ifndef OVERRIDE_TABLE_32_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 287, 4) +#endif +#ifndef OVERRIDE_TABLE_32_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 292, 3) +#endif +#ifndef OVERRIDE_TABLE_32_openat +TRACE_SYSCALL_TABLE(openat, openat, 295, 4) +#endif +#ifndef OVERRIDE_TABLE_32_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 296, 3) +#endif +#ifndef OVERRIDE_TABLE_32_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 297, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 298, 5) +#endif +#ifndef OVERRIDE_TABLE_32_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 299, 3) +#endif +#ifndef OVERRIDE_TABLE_32_fstatat64 +TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 300, 4) +#endif +#ifndef OVERRIDE_TABLE_32_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 301, 3) +#endif +#ifndef OVERRIDE_TABLE_32_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 302, 4) +#endif +#ifndef OVERRIDE_TABLE_32_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 303, 5) +#endif +#ifndef OVERRIDE_TABLE_32_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 304, 3) +#endif +#ifndef OVERRIDE_TABLE_32_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 305, 4) +#endif +#ifndef OVERRIDE_TABLE_32_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 306, 3) +#endif +#ifndef OVERRIDE_TABLE_32_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 307, 3) +#endif +#ifndef OVERRIDE_TABLE_32_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 308, 6) +#endif +#ifndef OVERRIDE_TABLE_32_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 309, 5) +#endif +#ifndef OVERRIDE_TABLE_32_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 311, 2) +#endif +#ifndef OVERRIDE_TABLE_32_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 312, 3) +#endif +#ifndef OVERRIDE_TABLE_32_splice +TRACE_SYSCALL_TABLE(splice, splice, 313, 6) +#endif +#ifndef OVERRIDE_TABLE_32_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 316, 4) +#endif +#ifndef OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) +#endif +#ifndef OVERRIDE_TABLE_32_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 319, 6) +#endif +#ifndef OVERRIDE_TABLE_32_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 320, 4) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 325, 4) +#endif +#ifndef OVERRIDE_TABLE_32_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 326, 2) +#endif +#ifndef OVERRIDE_TABLE_32_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 327, 4) +#endif +#ifndef OVERRIDE_TABLE_32_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 331, 2) +#endif +#ifndef OVERRIDE_TABLE_32_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 333, 5) +#endif +#ifndef OVERRIDE_TABLE_32_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 334, 5) +#endif +#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 335, 4) +#endif +#ifndef OVERRIDE_TABLE_32_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 336, 5) +#endif +#ifndef OVERRIDE_TABLE_32_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 337, 5) +#endif +#ifndef OVERRIDE_TABLE_32_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4) +#endif +#ifndef OVERRIDE_TABLE_32_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 343, 2) +#endif +#ifndef OVERRIDE_TABLE_32_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h new file mode 100644 index 00000000..d97138b9 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h @@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CREATE_SYSCALL_TABLE + +# ifndef CONFIG_UID16 +# define OVERRIDE_32_getgroups16 +# define OVERRIDE_32_setgroups16 +# define OVERRIDE_32_lchown16 +# define OVERRIDE_32_getresuid16 +# define OVERRIDE_32_getresgid16 +# define OVERRIDE_32_chown16 +# endif + +#define OVERRIDE_32_pipe +#define OVERRIDE_64_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_out(ctf_user_array(int, fildes, fildes, 2)) + ) +) + +#else /* CREATE_SYSCALL_TABLE */ + +# ifndef CONFIG_UID16 +# define OVERRIDE_TABLE_32_getgroups16 +# define OVERRIDE_TABLE_32_setgroups16 +# define OVERRIDE_TABLE_32_lchown16 +# define OVERRIDE_TABLE_32_getresuid16 +# define OVERRIDE_TABLE_32_getresgid16 +# define OVERRIDE_TABLE_32_chown16 +# endif + +#define OVERRIDE_TABLE_32_execve +TRACE_SYSCALL_TABLE(execve, execve, 11, 3) +#define OVERRIDE_TABLE_32_clone +TRACE_SYSCALL_TABLE(clone, clone, 120, 5) +#define OVERRIDE_TABLE_32_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) + +#endif /* CREATE_SYSCALL_TABLE */ + + diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h deleted file mode 100644 index f7cf7c1d..00000000 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h +++ /dev/null @@ -1,1099 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "x86-64-syscalls-3.10.0-rc7_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_64_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_64_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_64_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_64_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_64_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_64_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_64_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_64_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_64_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_64_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_64_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_64_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_64_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_64_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_64_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_64_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_64_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_64_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_64_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_64_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_64_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_64_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_64_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_msgget -SC_LTTNG_TRACEPOINT_EVENT(msgget, - TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), - TP_ARGS(sc_exit(ret,) key, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_64_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_64_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_64_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_64_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_64_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_64_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_64_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_64_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fanotify_init -SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, - TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), - TP_ARGS(sc_exit(ret,) flags, event_f_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) -) -#endif -#ifndef OVERRIDE_64_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_64_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_64_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - 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_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_64_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - 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_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_64_shmget -SC_LTTNG_TRACEPOINT_EVENT(shmget, - TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), - TP_ARGS(sc_exit(ret,) key, size, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - 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))) -) -#endif -#ifndef OVERRIDE_64_semget -SC_LTTNG_TRACEPOINT_EVENT(semget, - TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), - TP_ARGS(sc_exit(ret,) key, nsems, semflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) -) -#endif -#ifndef OVERRIDE_64_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_64_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_64_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_64_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_64_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_64_readahead -SC_LTTNG_TRACEPOINT_EVENT(readahead, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), - TP_ARGS(sc_exit(ret,) fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_64_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_64_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_semctl -SC_LTTNG_TRACEPOINT_EVENT(semctl, - TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_64_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_64_fadvise64 -SC_LTTNG_TRACEPOINT_EVENT(fadvise64, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_64_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_fallocate -SC_LTTNG_TRACEPOINT_EVENT(fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(sc_exit(ret,) fd, mode, offset, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_64_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_64_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_keyctl -SC_LTTNG_TRACEPOINT_EVENT(keyctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_64_mmap -SC_LTTNG_TRACEPOINT_EVENT(mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(unsigned long, off, off))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "x86-64-syscalls-3.10.0-rc7_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_64_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 34, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 39, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 102, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 104, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 107, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 108, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 110, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 112, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 152, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 162, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 186, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 219, 0) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 253, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 24, 0) -#endif -#ifndef OVERRIDE_TABLE_64_pause -TRACE_SYSCALL_TABLE(pause, pause, 34, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 39, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 102, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 104, 0) -#endif -#ifndef OVERRIDE_TABLE_64_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 107, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 108, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 110, 0) -#endif -#ifndef OVERRIDE_TABLE_64_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 111, 0) -#endif -#ifndef OVERRIDE_TABLE_64_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 112, 0) -#endif -#ifndef OVERRIDE_TABLE_64_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 152, 0) -#endif -#ifndef OVERRIDE_TABLE_64_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 153, 0) -#endif -#ifndef OVERRIDE_TABLE_64_sync -TRACE_SYSCALL_TABLE(sync, sync, 162, 0) -#endif -#ifndef OVERRIDE_TABLE_64_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 186, 0) -#endif -#ifndef OVERRIDE_TABLE_64_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 219, 0) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 253, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_64_close -TRACE_SYSCALL_TABLE(close, close, 3, 1) -#endif -#ifndef OVERRIDE_TABLE_64_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 8, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mmap -TRACE_SYSCALL_TABLE(mmap, mmap, 9, 6) -#endif -#ifndef OVERRIDE_TABLE_64_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 10, 3) -#endif -#ifndef OVERRIDE_TABLE_64_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 11, 2) -#endif -#ifndef OVERRIDE_TABLE_64_brk -TRACE_SYSCALL_TABLE(brk, brk, 12, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 16, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 25, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msync -TRACE_SYSCALL_TABLE(msync, msync, 26, 3) -#endif -#ifndef OVERRIDE_TABLE_64_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 28, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmget -TRACE_SYSCALL_TABLE(shmget, shmget, 29, 3) -#endif -#ifndef OVERRIDE_TABLE_64_dup -TRACE_SYSCALL_TABLE(dup, dup, 32, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 33, 2) -#endif -#ifndef OVERRIDE_TABLE_64_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 37, 1) -#endif -#ifndef OVERRIDE_TABLE_64_socket -TRACE_SYSCALL_TABLE(socket, socket, 41, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 48, 2) -#endif -#ifndef OVERRIDE_TABLE_64_listen -TRACE_SYSCALL_TABLE(listen, listen, 50, 2) -#endif -#ifndef OVERRIDE_TABLE_64_exit -TRACE_SYSCALL_TABLE(exit, exit, 60, 1) -#endif -#ifndef OVERRIDE_TABLE_64_kill -TRACE_SYSCALL_TABLE(kill, kill, 62, 2) -#endif -#ifndef OVERRIDE_TABLE_64_semget -TRACE_SYSCALL_TABLE(semget, semget, 64, 3) -#endif -#ifndef OVERRIDE_TABLE_64_semctl -TRACE_SYSCALL_TABLE(semctl, semctl, 66, 4) -#endif -#ifndef OVERRIDE_TABLE_64_msgget -TRACE_SYSCALL_TABLE(msgget, msgget, 68, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 72, 3) -#endif -#ifndef OVERRIDE_TABLE_64_flock -TRACE_SYSCALL_TABLE(flock, flock, 73, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 74, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 75, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 77, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 81, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 91, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 93, 3) -#endif -#ifndef OVERRIDE_TABLE_64_umask -TRACE_SYSCALL_TABLE(umask, umask, 95, 1) -#endif -#ifndef OVERRIDE_TABLE_64_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 101, 4) -#endif -#ifndef OVERRIDE_TABLE_64_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 105, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 106, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 109, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 113, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 114, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 117, 3) -#endif -#ifndef OVERRIDE_TABLE_64_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 119, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 121, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 122, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 123, 1) -#endif -#ifndef OVERRIDE_TABLE_64_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 124, 1) -#endif -#ifndef OVERRIDE_TABLE_64_personality -TRACE_SYSCALL_TABLE(personality, personality, 135, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 139, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 140, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 141, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 145, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 146, 1) -#endif -#ifndef OVERRIDE_TABLE_64_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 147, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 149, 2) -#endif -#ifndef OVERRIDE_TABLE_64_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 150, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 151, 1) -#endif -#ifndef OVERRIDE_TABLE_64_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 157, 5) -#endif -#ifndef OVERRIDE_TABLE_64_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 187, 3) -#endif -#ifndef OVERRIDE_TABLE_64_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 200, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 207, 1) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 213, 1) -#endif -#ifndef OVERRIDE_TABLE_64_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 216, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fadvise64 -TRACE_SYSCALL_TABLE(fadvise64, fadvise64, 221, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 225, 1) -#endif -#ifndef OVERRIDE_TABLE_64_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 226, 1) -#endif -#ifndef OVERRIDE_TABLE_64_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 231, 1) -#endif -#ifndef OVERRIDE_TABLE_64_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 234, 3) -#endif -#ifndef OVERRIDE_TABLE_64_keyctl -TRACE_SYSCALL_TABLE(keyctl, keyctl, 250, 5) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 251, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 252, 2) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 255, 2) -#endif -#ifndef OVERRIDE_TABLE_64_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 272, 1) -#endif -#ifndef OVERRIDE_TABLE_64_tee -TRACE_SYSCALL_TABLE(tee, tee, 276, 4) -#endif -#ifndef OVERRIDE_TABLE_64_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 277, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 283, 2) -#endif -#ifndef OVERRIDE_TABLE_64_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 284, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 285, 4) -#endif -#ifndef OVERRIDE_TABLE_64_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 290, 2) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 291, 1) -#endif -#ifndef OVERRIDE_TABLE_64_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 292, 3) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 294, 1) -#endif -#ifndef OVERRIDE_TABLE_64_fanotify_init -TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 300, 2) -#endif -#ifndef OVERRIDE_TABLE_64_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 306, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setns -TRACE_SYSCALL_TABLE(setns, setns, 308, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h deleted file mode 100644 index 5f971e70..00000000 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for x86_64 integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h deleted file mode 100644 index 9d9a1b5c..00000000 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h +++ /dev/null @@ -1,1924 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "x86-64-syscalls-3.10.0-rc7_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_64_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_64_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_64_shmdt -SC_LTTNG_TRACEPOINT_EVENT(shmdt, - TP_PROTO(sc_exit(long ret,) char * shmaddr), - TP_ARGS(sc_exit(ret,) shmaddr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) -) -#endif -#ifndef OVERRIDE_64_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_64_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_64_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_64_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_64_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_64_acct -SC_LTTNG_TRACEPOINT_EVENT(acct, - TP_PROTO(sc_exit(long ret,) const char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_swapoff -SC_LTTNG_TRACEPOINT_EVENT(swapoff, - TP_PROTO(sc_exit(long ret,) const char * specialfile), - TP_ARGS(sc_exit(ret,) specialfile), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) -) -#endif -#ifndef OVERRIDE_64_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_64_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_64_mq_unlink -SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, - TP_PROTO(sc_exit(long ret,) const char * u_name), - TP_ARGS(sc_exit(ret,) u_name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) -) -#endif -#ifndef OVERRIDE_64_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_64_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - 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))) -) -#endif -#ifndef OVERRIDE_64_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_64_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_64_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_64_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_64_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_64_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_64_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_64_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_64_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, - TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), - TP_ARGS(sc_exit(ret,) uss, uoss), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) -) -#endif -#ifndef OVERRIDE_64_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_64_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_64_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - 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))) -) -#endif -#ifndef OVERRIDE_64_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - 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))) -) -#endif -#ifndef OVERRIDE_64_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - 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))) -) -#endif -#ifndef OVERRIDE_64_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_swapon -SC_LTTNG_TRACEPOINT_EVENT(swapon, - TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), - TP_ARGS(sc_exit(ret,) specialfile, swap_flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_64_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_64_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - 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))) -) -#endif -#ifndef OVERRIDE_64_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_64_mq_notify -SC_LTTNG_TRACEPOINT_EVENT(mq_notify, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), - TP_ARGS(sc_exit(ret,) mqdes, u_notification), - 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))) -) -#endif -#ifndef OVERRIDE_64_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_64_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - 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))) -) -#endif -#ifndef OVERRIDE_64_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_64_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - 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))) -) -#endif -#ifndef OVERRIDE_64_shmat -SC_LTTNG_TRACEPOINT_EVENT(shmat, - TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), - TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) -) -#endif -#ifndef OVERRIDE_64_shmctl -SC_LTTNG_TRACEPOINT_EVENT(shmctl, - TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), - TP_ARGS(sc_exit(ret,) shmid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - 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))) -) -#endif -#ifndef OVERRIDE_64_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - 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))) -) -#endif -#ifndef OVERRIDE_64_semop -SC_LTTNG_TRACEPOINT_EVENT(semop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) -) -#endif -#ifndef OVERRIDE_64_msgctl -SC_LTTNG_TRACEPOINT_EVENT(msgctl, - TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), - TP_ARGS(sc_exit(ret,) msqid, cmd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) -) -#endif -#ifndef OVERRIDE_64_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_64_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_64_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - 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))) -) -#endif -#ifndef OVERRIDE_64_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - 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))) -) -#endif -#ifndef OVERRIDE_64_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_64_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_64_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_64_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - 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))) -) -#endif -#ifndef OVERRIDE_64_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - 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))) -) -#endif -#ifndef OVERRIDE_64_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_setaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_sched_getaffinity -SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), - TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - 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))) -) -#endif -#ifndef OVERRIDE_64_lookup_dcookie -SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, - TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), - TP_ARGS(sc_exit(ret,) cookie64, buf, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_64_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - 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))) -) -#endif -#ifndef OVERRIDE_64_set_mempolicy -SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy, - TP_PROTO(sc_exit(long ret,) int mode, unsigned long * nmask, unsigned long maxnode), - TP_ARGS(sc_exit(ret,) mode, nmask, maxnode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode))) -) -#endif -#ifndef OVERRIDE_64_mq_getsetattr -SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, - TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), - TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), - 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))) -) -#endif -#ifndef OVERRIDE_64_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - 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))) -) -#endif -#ifndef OVERRIDE_64_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - 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))) -) -#endif -#ifndef OVERRIDE_64_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - 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))) -) -#endif -#ifndef OVERRIDE_64_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - 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))) -) -#endif -#ifndef OVERRIDE_64_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - 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))) -) -#endif -#ifndef OVERRIDE_64_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - 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))) -) -#endif -#ifndef OVERRIDE_64_finit_module -SC_LTTNG_TRACEPOINT_EVENT(finit_module, - TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), - TP_ARGS(sc_exit(ret,) fd, uargs, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_pread64 -SC_LTTNG_TRACEPOINT_EVENT(pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_64_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_64_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - 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))) -) -#endif -#ifndef OVERRIDE_64_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - 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))) -) -#endif -#ifndef OVERRIDE_64_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgsnd -SC_LTTNG_TRACEPOINT_EVENT(msgsnd, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - 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))) -) -#endif -#ifndef OVERRIDE_64_quotactl -SC_LTTNG_TRACEPOINT_EVENT(quotactl, - TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), - TP_ARGS(sc_exit(ret,) cmd, special, id, addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) -) -#endif -#ifndef OVERRIDE_64_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - 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))) -) -#endif -#ifndef OVERRIDE_64_semtimedop -SC_LTTNG_TRACEPOINT_EVENT(semtimedop, - TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), - TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_64_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - 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))) -) -#endif -#ifndef OVERRIDE_64_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_open -SC_LTTNG_TRACEPOINT_EVENT(mq_open, - TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), - TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) -) -#endif -#ifndef OVERRIDE_64_kexec_load -SC_LTTNG_TRACEPOINT_EVENT(kexec_load, - TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), - TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, entry, entry)) sc_in(ctf_integer(unsigned long, nr_segments, nr_segments)) sc_in(ctf_integer(struct kexec_segment *, segments, segments)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_request_key -SC_LTTNG_TRACEPOINT_EVENT(request_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), - TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), - 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))) -) -#endif -#ifndef OVERRIDE_64_migrate_pages -SC_LTTNG_TRACEPOINT_EVENT(migrate_pages, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long maxnode, const unsigned long * old_nodes, const unsigned long * new_nodes), - TP_ARGS(sc_exit(ret,) pid, maxnode, old_nodes, new_nodes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(const unsigned long *, old_nodes, old_nodes)) sc_in(ctf_integer(const unsigned long *, new_nodes, new_nodes))) -) -#endif -#ifndef OVERRIDE_64_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_64_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_64_newfstatat -SC_LTTNG_TRACEPOINT_EVENT(newfstatat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_64_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - 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))) -) -#endif -#ifndef OVERRIDE_64_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - 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))) -) -#endif -#ifndef OVERRIDE_64_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - 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))) -) -#endif -#ifndef OVERRIDE_64_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - 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))) -) -#endif -#ifndef OVERRIDE_64_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - 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))) -) -#endif -#ifndef OVERRIDE_64_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - 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))) -) -#endif -#ifndef OVERRIDE_64_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - 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))) -) -#endif -#ifndef OVERRIDE_64_msgrcv -SC_LTTNG_TRACEPOINT_EVENT(msgrcv, - TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), - TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) -) -#endif -#ifndef OVERRIDE_64_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - 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))) -) -#endif -#ifndef OVERRIDE_64_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_get_mempolicy -SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy, - TP_PROTO(sc_exit(long ret,) int * policy, unsigned long * nmask, unsigned long maxnode, unsigned long addr, unsigned long flags), - TP_ARGS(sc_exit(ret,) policy, nmask, maxnode, addr, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, policy, policy)) sc_out(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_mq_timedsend -SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_mq_timedreceive -SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, - 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), - TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - 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))) -) -#endif -#ifndef OVERRIDE_64_add_key -SC_LTTNG_TRACEPOINT_EVENT(add_key, - TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), - TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), - 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))) -) -#endif -#ifndef OVERRIDE_64_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - 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))) -) -#endif -#ifndef OVERRIDE_64_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - 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))) -) -#endif -#ifndef OVERRIDE_64_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - 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))) -) -#endif -#ifndef OVERRIDE_64_fanotify_mark -SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, - TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), - TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_64_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_64_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_64_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - 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))) -) -#endif -#ifndef OVERRIDE_64_mbind -SC_LTTNG_TRACEPOINT_EVENT(mbind, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, unsigned long * nmask, unsigned long maxnode, unsigned flags), - TP_ARGS(sc_exit(ret,) start, len, mode, nmask, maxnode, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, mode, mode)) sc_in(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - 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))) -) -#endif -#ifndef OVERRIDE_64_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - 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), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - 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))) -) -#endif -#ifndef OVERRIDE_64_move_pages -SC_LTTNG_TRACEPOINT_EVENT(move_pages, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long nr_pages, const void * * pages, const int * nodes, int * status, int flags), - TP_ARGS(sc_exit(ret,) pid, nr_pages, pages, nodes, status, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned long, nr_pages, nr_pages)) sc_in(ctf_integer(const void * *, pages, pages)) sc_in(ctf_integer(const int *, nodes, nodes)) sc_out(ctf_integer(int *, status, status)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - 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))) -) -#endif -#ifndef OVERRIDE_64_process_vm_readv -SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_64_process_vm_writev -SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, - TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), - TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "x86-64-syscalls-3.10.0-rc7_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_64_read -TRACE_SYSCALL_TABLE(read, read, 0, 3) -#endif -#ifndef OVERRIDE_TABLE_64_write -TRACE_SYSCALL_TABLE(write, write, 1, 3) -#endif -#ifndef OVERRIDE_TABLE_64_open -TRACE_SYSCALL_TABLE(open, open, 2, 3) -#endif -#ifndef OVERRIDE_TABLE_64_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 4, 2) -#endif -#ifndef OVERRIDE_TABLE_64_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 5, 2) -#endif -#ifndef OVERRIDE_TABLE_64_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 6, 2) -#endif -#ifndef OVERRIDE_TABLE_64_poll -TRACE_SYSCALL_TABLE(poll, poll, 7, 3) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 13, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 14, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 17, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 18, 4) -#endif -#ifndef OVERRIDE_TABLE_64_readv -TRACE_SYSCALL_TABLE(readv, readv, 19, 3) -#endif -#ifndef OVERRIDE_TABLE_64_writev -TRACE_SYSCALL_TABLE(writev, writev, 20, 3) -#endif -#ifndef OVERRIDE_TABLE_64_access -TRACE_SYSCALL_TABLE(access, access, 21, 2) -#endif -#ifndef OVERRIDE_TABLE_64_pipe -TRACE_SYSCALL_TABLE(pipe, pipe, 22, 1) -#endif -#ifndef OVERRIDE_TABLE_64_select -TRACE_SYSCALL_TABLE(select, select, 23, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 27, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmat -TRACE_SYSCALL_TABLE(shmat, shmat, 30, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmctl -TRACE_SYSCALL_TABLE(shmctl, shmctl, 31, 3) -#endif -#ifndef OVERRIDE_TABLE_64_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 35, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 36, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 38, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 40, 4) -#endif -#ifndef OVERRIDE_TABLE_64_connect -TRACE_SYSCALL_TABLE(connect, connect, 42, 3) -#endif -#ifndef OVERRIDE_TABLE_64_accept -TRACE_SYSCALL_TABLE(accept, accept, 43, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 44, 6) -#endif -#ifndef OVERRIDE_TABLE_64_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 45, 6) -#endif -#ifndef OVERRIDE_TABLE_64_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 46, 3) -#endif -#ifndef OVERRIDE_TABLE_64_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 47, 3) -#endif -#ifndef OVERRIDE_TABLE_64_bind -TRACE_SYSCALL_TABLE(bind, bind, 49, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 51, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 52, 3) -#endif -#ifndef OVERRIDE_TABLE_64_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 53, 4) -#endif -#ifndef OVERRIDE_TABLE_64_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 54, 5) -#endif -#ifndef OVERRIDE_TABLE_64_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 55, 5) -#endif -#ifndef OVERRIDE_TABLE_64_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 61, 4) -#endif -#ifndef OVERRIDE_TABLE_64_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 63, 1) -#endif -#ifndef OVERRIDE_TABLE_64_semop -TRACE_SYSCALL_TABLE(semop, semop, 65, 3) -#endif -#ifndef OVERRIDE_TABLE_64_shmdt -TRACE_SYSCALL_TABLE(shmdt, shmdt, 67, 1) -#endif -#ifndef OVERRIDE_TABLE_64_msgsnd -TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 69, 4) -#endif -#ifndef OVERRIDE_TABLE_64_msgrcv -TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 70, 5) -#endif -#ifndef OVERRIDE_TABLE_64_msgctl -TRACE_SYSCALL_TABLE(msgctl, msgctl, 71, 3) -#endif -#ifndef OVERRIDE_TABLE_64_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 76, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 78, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 79, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 80, 1) -#endif -#ifndef OVERRIDE_TABLE_64_rename -TRACE_SYSCALL_TABLE(rename, rename, 82, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 83, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 84, 1) -#endif -#ifndef OVERRIDE_TABLE_64_creat -TRACE_SYSCALL_TABLE(creat, creat, 85, 2) -#endif -#ifndef OVERRIDE_TABLE_64_link -TRACE_SYSCALL_TABLE(link, link, 86, 2) -#endif -#ifndef OVERRIDE_TABLE_64_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 87, 1) -#endif -#ifndef OVERRIDE_TABLE_64_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 88, 2) -#endif -#ifndef OVERRIDE_TABLE_64_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 89, 3) -#endif -#ifndef OVERRIDE_TABLE_64_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 90, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chown -TRACE_SYSCALL_TABLE(chown, chown, 92, 3) -#endif -#ifndef OVERRIDE_TABLE_64_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 94, 3) -#endif -#ifndef OVERRIDE_TABLE_64_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 96, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 97, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 98, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 99, 1) -#endif -#ifndef OVERRIDE_TABLE_64_times -TRACE_SYSCALL_TABLE(times, times, 100, 1) -#endif -#ifndef OVERRIDE_TABLE_64_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 115, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 116, 2) -#endif -#ifndef OVERRIDE_TABLE_64_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 118, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 120, 3) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 127, 2) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 128, 4) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 129, 3) -#endif -#ifndef OVERRIDE_TABLE_64_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 130, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 131, 2) -#endif -#ifndef OVERRIDE_TABLE_64_utime -TRACE_SYSCALL_TABLE(utime, utime, 132, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 133, 3) -#endif -#ifndef OVERRIDE_TABLE_64_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 136, 2) -#endif -#ifndef OVERRIDE_TABLE_64_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 137, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 138, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 142, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 143, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 144, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 148, 2) -#endif -#ifndef OVERRIDE_TABLE_64_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 155, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 156, 1) -#endif -#ifndef OVERRIDE_TABLE_64_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 159, 1) -#endif -#ifndef OVERRIDE_TABLE_64_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 160, 2) -#endif -#ifndef OVERRIDE_TABLE_64_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 161, 1) -#endif -#ifndef OVERRIDE_TABLE_64_acct -TRACE_SYSCALL_TABLE(acct, acct, 163, 1) -#endif -#ifndef OVERRIDE_TABLE_64_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 164, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mount -TRACE_SYSCALL_TABLE(mount, mount, 165, 5) -#endif -#ifndef OVERRIDE_TABLE_64_umount -TRACE_SYSCALL_TABLE(umount, umount, 166, 2) -#endif -#ifndef OVERRIDE_TABLE_64_swapon -TRACE_SYSCALL_TABLE(swapon, swapon, 167, 2) -#endif -#ifndef OVERRIDE_TABLE_64_swapoff -TRACE_SYSCALL_TABLE(swapoff, swapoff, 168, 1) -#endif -#ifndef OVERRIDE_TABLE_64_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 169, 4) -#endif -#ifndef OVERRIDE_TABLE_64_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 170, 2) -#endif -#ifndef OVERRIDE_TABLE_64_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 171, 2) -#endif -#ifndef OVERRIDE_TABLE_64_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 175, 3) -#endif -#ifndef OVERRIDE_TABLE_64_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 176, 2) -#endif -#ifndef OVERRIDE_TABLE_64_quotactl -TRACE_SYSCALL_TABLE(quotactl, quotactl, 179, 4) -#endif -#ifndef OVERRIDE_TABLE_64_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 188, 5) -#endif -#ifndef OVERRIDE_TABLE_64_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 189, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 190, 5) -#endif -#ifndef OVERRIDE_TABLE_64_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 191, 4) -#endif -#ifndef OVERRIDE_TABLE_64_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 192, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 193, 4) -#endif -#ifndef OVERRIDE_TABLE_64_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 194, 3) -#endif -#ifndef OVERRIDE_TABLE_64_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 195, 3) -#endif -#ifndef OVERRIDE_TABLE_64_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 196, 3) -#endif -#ifndef OVERRIDE_TABLE_64_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 197, 2) -#endif -#ifndef OVERRIDE_TABLE_64_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 198, 2) -#endif -#ifndef OVERRIDE_TABLE_64_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 199, 2) -#endif -#ifndef OVERRIDE_TABLE_64_time -TRACE_SYSCALL_TABLE(time, time, 201, 1) -#endif -#ifndef OVERRIDE_TABLE_64_futex -TRACE_SYSCALL_TABLE(futex, futex, 202, 6) -#endif -#ifndef OVERRIDE_TABLE_64_sched_setaffinity -TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 203, 3) -#endif -#ifndef OVERRIDE_TABLE_64_sched_getaffinity -TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 204, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 206, 2) -#endif -#ifndef OVERRIDE_TABLE_64_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 208, 5) -#endif -#ifndef OVERRIDE_TABLE_64_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 209, 3) -#endif -#ifndef OVERRIDE_TABLE_64_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 210, 3) -#endif -#ifndef OVERRIDE_TABLE_64_lookup_dcookie -TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 212, 3) -#endif -#ifndef OVERRIDE_TABLE_64_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3) -#endif -#ifndef OVERRIDE_TABLE_64_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 218, 1) -#endif -#ifndef OVERRIDE_TABLE_64_semtimedop -TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 220, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 222, 3) -#endif -#ifndef OVERRIDE_TABLE_64_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 223, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 224, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 227, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 228, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 229, 2) -#endif -#ifndef OVERRIDE_TABLE_64_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 230, 4) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 232, 4) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 233, 4) -#endif -#ifndef OVERRIDE_TABLE_64_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 235, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mbind -TRACE_SYSCALL_TABLE(mbind, mbind, 237, 6) -#endif -#ifndef OVERRIDE_TABLE_64_set_mempolicy -TRACE_SYSCALL_TABLE(set_mempolicy, set_mempolicy, 238, 3) -#endif -#ifndef OVERRIDE_TABLE_64_get_mempolicy -TRACE_SYSCALL_TABLE(get_mempolicy, get_mempolicy, 239, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mq_open -TRACE_SYSCALL_TABLE(mq_open, mq_open, 240, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mq_unlink -TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 241, 1) -#endif -#ifndef OVERRIDE_TABLE_64_mq_timedsend -TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 242, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mq_timedreceive -TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 243, 5) -#endif -#ifndef OVERRIDE_TABLE_64_mq_notify -TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 244, 2) -#endif -#ifndef OVERRIDE_TABLE_64_mq_getsetattr -TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 245, 3) -#endif -#ifndef OVERRIDE_TABLE_64_kexec_load -TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 246, 4) -#endif -#ifndef OVERRIDE_TABLE_64_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 247, 5) -#endif -#ifndef OVERRIDE_TABLE_64_add_key -TRACE_SYSCALL_TABLE(add_key, add_key, 248, 5) -#endif -#ifndef OVERRIDE_TABLE_64_request_key -TRACE_SYSCALL_TABLE(request_key, request_key, 249, 4) -#endif -#ifndef OVERRIDE_TABLE_64_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 254, 3) -#endif -#ifndef OVERRIDE_TABLE_64_migrate_pages -TRACE_SYSCALL_TABLE(migrate_pages, migrate_pages, 256, 4) -#endif -#ifndef OVERRIDE_TABLE_64_openat -TRACE_SYSCALL_TABLE(openat, openat, 257, 4) -#endif -#ifndef OVERRIDE_TABLE_64_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 258, 3) -#endif -#ifndef OVERRIDE_TABLE_64_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 259, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 260, 5) -#endif -#ifndef OVERRIDE_TABLE_64_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 261, 3) -#endif -#ifndef OVERRIDE_TABLE_64_newfstatat -TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 262, 4) -#endif -#ifndef OVERRIDE_TABLE_64_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 263, 3) -#endif -#ifndef OVERRIDE_TABLE_64_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 264, 4) -#endif -#ifndef OVERRIDE_TABLE_64_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 265, 5) -#endif -#ifndef OVERRIDE_TABLE_64_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 266, 3) -#endif -#ifndef OVERRIDE_TABLE_64_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 267, 4) -#endif -#ifndef OVERRIDE_TABLE_64_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 268, 3) -#endif -#ifndef OVERRIDE_TABLE_64_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 269, 3) -#endif -#ifndef OVERRIDE_TABLE_64_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 270, 6) -#endif -#ifndef OVERRIDE_TABLE_64_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 271, 5) -#endif -#ifndef OVERRIDE_TABLE_64_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 273, 2) -#endif -#ifndef OVERRIDE_TABLE_64_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 274, 3) -#endif -#ifndef OVERRIDE_TABLE_64_splice -TRACE_SYSCALL_TABLE(splice, splice, 275, 6) -#endif -#ifndef OVERRIDE_TABLE_64_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 278, 4) -#endif -#ifndef OVERRIDE_TABLE_64_move_pages -TRACE_SYSCALL_TABLE(move_pages, move_pages, 279, 6) -#endif -#ifndef OVERRIDE_TABLE_64_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 280, 4) -#endif -#ifndef OVERRIDE_TABLE_64_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 281, 6) -#endif -#ifndef OVERRIDE_TABLE_64_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 282, 3) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 286, 4) -#endif -#ifndef OVERRIDE_TABLE_64_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 287, 2) -#endif -#ifndef OVERRIDE_TABLE_64_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 288, 4) -#endif -#ifndef OVERRIDE_TABLE_64_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 289, 4) -#endif -#ifndef OVERRIDE_TABLE_64_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 293, 2) -#endif -#ifndef OVERRIDE_TABLE_64_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 295, 5) -#endif -#ifndef OVERRIDE_TABLE_64_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 296, 5) -#endif -#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 297, 4) -#endif -#ifndef OVERRIDE_TABLE_64_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 298, 5) -#endif -#ifndef OVERRIDE_TABLE_64_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 299, 5) -#endif -#ifndef OVERRIDE_TABLE_64_fanotify_mark -TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 301, 5) -#endif -#ifndef OVERRIDE_TABLE_64_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 302, 4) -#endif -#ifndef OVERRIDE_TABLE_64_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 303, 5) -#endif -#ifndef OVERRIDE_TABLE_64_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 304, 3) -#endif -#ifndef OVERRIDE_TABLE_64_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 305, 2) -#endif -#ifndef OVERRIDE_TABLE_64_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 307, 4) -#endif -#ifndef OVERRIDE_TABLE_64_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 309, 3) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_readv -TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 310, 6) -#endif -#ifndef OVERRIDE_TABLE_64_process_vm_writev -TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 311, 6) -#endif -#ifndef OVERRIDE_TABLE_64_finit_module -TRACE_SYSCALL_TABLE(finit_module, finit_module, 313, 3) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h deleted file mode 100644 index 6bf5291c..00000000 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h +++ /dev/null @@ -1,174 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#define OVERRIDE_64_connect -SC_LTTNG_TRACEPOINT_EVENT_CODE(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - TP_locvar( - __typeof__(uservaddr->sa_family) sa_family; - uint16_t dport; - uint32_t v4addr; - uint16_t v6addr[8]; - unsigned int v4addr_len, v6addr_len; - ), - TP_code_pre( - sc_in( - memset(tp_locvar, 0, sizeof(*tp_locvar)); - if (addrlen < sizeof(tp_locvar->sa_family)) - goto skip_code; - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sa_family, - &uservaddr->sa_family, sizeof(tp_locvar->sa_family)); - switch (tp_locvar->sa_family) { - case AF_INET: - if (addrlen < sizeof(struct sockaddr_in)) - goto skip_code; - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->dport, - &((struct sockaddr_in __user *) uservaddr)->sin_port, - sizeof(tp_locvar->dport)); - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->v4addr, - &((struct sockaddr_in __user *) uservaddr)->sin_addr.s_addr, - sizeof(tp_locvar->v4addr)); - tp_locvar->v4addr_len = 4; - break; - case AF_INET6: - if (addrlen < sizeof(struct sockaddr_in6)) - goto skip_code; - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->dport, - &((struct sockaddr_in6 __user *) uservaddr)->sin6_port, - sizeof(tp_locvar->dport)); - if (lib_ring_buffer_copy_from_user_check_nofault(tp_locvar->v6addr, - &((struct sockaddr_in6 __user *) uservaddr)->sin6_addr.in6_u.u6_addr8, - sizeof(tp_locvar->v6addr))) - memset(tp_locvar->v6addr, 0, sizeof(tp_locvar->v6addr)); - tp_locvar->v6addr_len = 8; - break; - } - skip_code: - ) - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer_hex(struct sockaddr *, uservaddr, uservaddr)) - sc_in(ctf_integer_hex(int, addrlen, addrlen)) - sc_in(ctf_integer(unsigned short, family, tp_locvar->sa_family)) - sc_in(ctf_integer_network(uint16_t, dport, tp_locvar->dport)) - sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) - sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) - ), - TP_code_post() -) - -#define LTTNG_SYSCALL_ACCEPT_locvar \ - __typeof__(upeer_sockaddr->sa_family) sa_family;\ - uint16_t sport; \ - uint32_t v4addr; \ - uint16_t v6addr[8]; \ - int v4addr_len, v6addr_len; \ - int uaddr_len; - -#define LTTNG_SYSCALL_ACCEPT_code_pre \ - sc_inout( \ - memset(tp_locvar, 0, sizeof(*tp_locvar)); \ - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->uaddr_len, \ - upeer_addrlen, sizeof(tp_locvar->uaddr_len)); \ - ) \ - sc_out( \ - if (tp_locvar->uaddr_len < sizeof(tp_locvar->sa_family)) \ - goto skip_code; \ - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sa_family, \ - &upeer_sockaddr->sa_family, sizeof(tp_locvar->sa_family)); \ - switch (tp_locvar->sa_family) { \ - case AF_INET: \ - if (tp_locvar->uaddr_len < sizeof(struct sockaddr_in)) \ - goto skip_code; \ - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sport, \ - &((struct sockaddr_in __user *) upeer_sockaddr)->sin_port, \ - sizeof(tp_locvar->sport)); \ - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->v4addr, \ - &((struct sockaddr_in __user *) upeer_sockaddr)->sin_addr.s_addr, \ - sizeof(tp_locvar->v4addr)); \ - tp_locvar->v4addr_len = 4; \ - break; \ - case AF_INET6: \ - if (tp_locvar->uaddr_len < sizeof(struct sockaddr_in6)) \ - goto skip_code; \ - (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sport, \ - &((struct sockaddr_in6 __user *) upeer_sockaddr)->sin6_port, \ - sizeof(tp_locvar->sport)); \ - if (lib_ring_buffer_copy_from_user_check_nofault(tp_locvar->v6addr, \ - &((struct sockaddr_in6 __user *) upeer_sockaddr)->sin6_addr.in6_u.u6_addr8, \ - sizeof(tp_locvar->v6addr))) \ - memset(tp_locvar->v6addr, 0, sizeof(tp_locvar->v6addr)); \ - tp_locvar->v6addr_len = 8; \ - break; \ - } \ - skip_code: \ - ) - -#define OVERRIDE_64_accept -SC_LTTNG_TRACEPOINT_EVENT_CODE(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * upeer_sockaddr, int __user * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - TP_locvar( - LTTNG_SYSCALL_ACCEPT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_ACCEPT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer_hex(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) - sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len)) - sc_out(ctf_integer(unsigned short, family, tp_locvar->sa_family)) - sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport)) - sc_out(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) - sc_out(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) - ), - TP_code_post() -) - -#define OVERRIDE_64_accept4 -SC_LTTNG_TRACEPOINT_EVENT_CODE(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * upeer_sockaddr, int __user * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - TP_locvar( - LTTNG_SYSCALL_ACCEPT_locvar - ), - TP_code_pre( - LTTNG_SYSCALL_ACCEPT_code_pre - ), - TP_FIELDS( - sc_exit(ctf_integer(long, ret, ret)) - sc_in(ctf_integer(int, fd, fd)) - sc_in(ctf_integer_hex(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) - sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len)) - sc_in(ctf_integer_hex(int, flags, flags)) - sc_out(ctf_integer(unsigned short, family, tp_locvar->sa_family)) - sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport)) - sc_out(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) - sc_out(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) - ), - TP_code_post() -) - -#define OVERRIDE_64_pipe -SC_LTTNG_TRACEPOINT_EVENT(pipe, - TP_PROTO(sc_exit(long ret,) int * fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) - sc_out(ctf_user_array(int, fildes, fildes, 2)) - ) -) - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_64_clone -TRACE_SYSCALL_TABLE(clone, clone, 56, 5) -#define OVERRIDE_TABLE_64_execve -TRACE_SYSCALL_TABLE(execve, execve, 59, 3) -#define OVERRIDE_TABLE_64_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 309, 3) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls_integers.h b/instrumentation/syscalls/headers/x86-64-syscalls_integers.h new file mode 100644 index 00000000..57b5d1c1 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-64-syscalls_integers.h @@ -0,0 +1,1104 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 3.10.0-rc7 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_INTEGERS_H + +#include +#include +#include "x86-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, + TP_FIELDS() +) +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) +#endif +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) +#endif +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) +#endif +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) +#endif +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_sched_yield +SC_LTTNG_TRACEPOINT_EVENT(sched_yield, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_pause +SC_LTTNG_TRACEPOINT_EVENT(pause, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getpid +SC_LTTNG_TRACEPOINT_EVENT(getpid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getuid +SC_LTTNG_TRACEPOINT_EVENT(getuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getgid +SC_LTTNG_TRACEPOINT_EVENT(getgid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_geteuid +SC_LTTNG_TRACEPOINT_EVENT(geteuid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getegid +SC_LTTNG_TRACEPOINT_EVENT(getegid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getppid +SC_LTTNG_TRACEPOINT_EVENT(getppid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_getpgrp +SC_LTTNG_TRACEPOINT_EVENT(getpgrp, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_setsid +SC_LTTNG_TRACEPOINT_EVENT(setsid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_munlockall +SC_LTTNG_TRACEPOINT_EVENT(munlockall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_vhangup +SC_LTTNG_TRACEPOINT_EVENT(vhangup, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_sync +SC_LTTNG_TRACEPOINT_EVENT(sync, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_gettid +SC_LTTNG_TRACEPOINT_EVENT(gettid, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_restart_syscall +SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#ifndef OVERRIDE_64_inotify_init +SC_LTTNG_TRACEPOINT_EVENT(inotify_init, + TP_PROTO(sc_exit(long ret)), + TP_ARGS(sc_exit(ret)), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) +) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_64_close +SC_LTTNG_TRACEPOINT_EVENT(close, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_brk +SC_LTTNG_TRACEPOINT_EVENT(brk, + TP_PROTO(sc_exit(long ret,) unsigned long brk), + TP_ARGS(sc_exit(ret,) brk), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) +) +#endif +#ifndef OVERRIDE_64_dup +SC_LTTNG_TRACEPOINT_EVENT(dup, + TP_PROTO(sc_exit(long ret,) unsigned int fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_64_alarm +SC_LTTNG_TRACEPOINT_EVENT(alarm, + TP_PROTO(sc_exit(long ret,) unsigned int seconds), + TP_ARGS(sc_exit(ret,) seconds), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) +) +#endif +#ifndef OVERRIDE_64_exit +SC_LTTNG_TRACEPOINT_EVENT(exit, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_fsync +SC_LTTNG_TRACEPOINT_EVENT(fsync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fdatasync +SC_LTTNG_TRACEPOINT_EVENT(fdatasync, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_fchdir +SC_LTTNG_TRACEPOINT_EVENT(fchdir, + TP_PROTO(sc_exit(long ret,) unsigned int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_umask +SC_LTTNG_TRACEPOINT_EVENT(umask, + TP_PROTO(sc_exit(long ret,) int mask), + TP_ARGS(sc_exit(ret,) mask), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) +) +#endif +#ifndef OVERRIDE_64_setuid +SC_LTTNG_TRACEPOINT_EVENT(setuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setgid +SC_LTTNG_TRACEPOINT_EVENT(setgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_getpgid +SC_LTTNG_TRACEPOINT_EVENT(getpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_setfsuid +SC_LTTNG_TRACEPOINT_EVENT(setfsuid, + TP_PROTO(sc_exit(long ret,) uid_t uid), + TP_ARGS(sc_exit(ret,) uid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) +) +#endif +#ifndef OVERRIDE_64_setfsgid +SC_LTTNG_TRACEPOINT_EVENT(setfsgid, + TP_PROTO(sc_exit(long ret,) gid_t gid), + TP_ARGS(sc_exit(ret,) gid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) +) +#endif +#ifndef OVERRIDE_64_getsid +SC_LTTNG_TRACEPOINT_EVENT(getsid, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_personality +SC_LTTNG_TRACEPOINT_EVENT(personality, + TP_PROTO(sc_exit(long ret,) unsigned int personality), + TP_ARGS(sc_exit(ret,) personality), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) +) +#endif +#ifndef OVERRIDE_64_sched_getscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid), + TP_ARGS(sc_exit(ret,) pid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_max +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_sched_get_priority_min +SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, + TP_PROTO(sc_exit(long ret,) int policy), + TP_ARGS(sc_exit(ret,) policy), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) +) +#endif +#ifndef OVERRIDE_64_mlockall +SC_LTTNG_TRACEPOINT_EVENT(mlockall, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_io_destroy +SC_LTTNG_TRACEPOINT_EVENT(io_destroy, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx), + TP_ARGS(sc_exit(ret,) ctx), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) +) +#endif +#ifndef OVERRIDE_64_epoll_create +SC_LTTNG_TRACEPOINT_EVENT(epoll_create, + TP_PROTO(sc_exit(long ret,) int size), + TP_ARGS(sc_exit(ret,) size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) +) +#endif +#ifndef OVERRIDE_64_timer_getoverrun +SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_timer_delete +SC_LTTNG_TRACEPOINT_EVENT(timer_delete, + TP_PROTO(sc_exit(long ret,) timer_t timer_id), + TP_ARGS(sc_exit(ret,) timer_id), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) +) +#endif +#ifndef OVERRIDE_64_exit_group +SC_LTTNG_TRACEPOINT_EVENT(exit_group, + TP_PROTO(sc_exit(long ret,) int error_code), + TP_ARGS(sc_exit(ret,) error_code), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) +) +#endif +#ifndef OVERRIDE_64_unshare +SC_LTTNG_TRACEPOINT_EVENT(unshare, + TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), + TP_ARGS(sc_exit(ret,) unshare_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) +) +#endif +#ifndef OVERRIDE_64_eventfd +SC_LTTNG_TRACEPOINT_EVENT(eventfd, + TP_PROTO(sc_exit(long ret,) unsigned int count), + TP_ARGS(sc_exit(ret,) count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) +) +#endif +#ifndef OVERRIDE_64_epoll_create1 +SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_inotify_init1 +SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, + TP_PROTO(sc_exit(long ret,) int flags), + TP_ARGS(sc_exit(ret,) flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_syncfs +SC_LTTNG_TRACEPOINT_EVENT(syncfs, + TP_PROTO(sc_exit(long ret,) int fd), + TP_ARGS(sc_exit(ret,) fd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) +) +#endif +#ifndef OVERRIDE_64_munmap +SC_LTTNG_TRACEPOINT_EVENT(munmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), + TP_ARGS(sc_exit(ret,) addr, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_dup2 +SC_LTTNG_TRACEPOINT_EVENT(dup2, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), + TP_ARGS(sc_exit(ret,) oldfd, newfd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) +) +#endif +#ifndef OVERRIDE_64_shutdown +SC_LTTNG_TRACEPOINT_EVENT(shutdown, + TP_PROTO(sc_exit(long ret,) int fd, int how), + TP_ARGS(sc_exit(ret,) fd, how), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) +) +#endif +#ifndef OVERRIDE_64_listen +SC_LTTNG_TRACEPOINT_EVENT(listen, + TP_PROTO(sc_exit(long ret,) int fd, int backlog), + TP_ARGS(sc_exit(ret,) fd, backlog), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) +) +#endif +#ifndef OVERRIDE_64_kill +SC_LTTNG_TRACEPOINT_EVENT(kill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_msgget +SC_LTTNG_TRACEPOINT_EVENT(msgget, + TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), + TP_ARGS(sc_exit(ret,) key, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_flock +SC_LTTNG_TRACEPOINT_EVENT(flock, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), + TP_ARGS(sc_exit(ret,) fd, cmd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) +) +#endif +#ifndef OVERRIDE_64_ftruncate +SC_LTTNG_TRACEPOINT_EVENT(ftruncate, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), + TP_ARGS(sc_exit(ret,) fd, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) +) +#endif +#ifndef OVERRIDE_64_fchmod +SC_LTTNG_TRACEPOINT_EVENT(fchmod, + TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), + TP_ARGS(sc_exit(ret,) fd, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_setpgid +SC_LTTNG_TRACEPOINT_EVENT(setpgid, + TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), + TP_ARGS(sc_exit(ret,) pid, pgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) +) +#endif +#ifndef OVERRIDE_64_setreuid +SC_LTTNG_TRACEPOINT_EVENT(setreuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), + TP_ARGS(sc_exit(ret,) ruid, euid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) +) +#endif +#ifndef OVERRIDE_64_setregid +SC_LTTNG_TRACEPOINT_EVENT(setregid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), + TP_ARGS(sc_exit(ret,) rgid, egid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) +) +#endif +#ifndef OVERRIDE_64_getpriority +SC_LTTNG_TRACEPOINT_EVENT(getpriority, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_mlock +SC_LTTNG_TRACEPOINT_EVENT(mlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_munlock +SC_LTTNG_TRACEPOINT_EVENT(munlock, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), + TP_ARGS(sc_exit(ret,) start, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_tkill +SC_LTTNG_TRACEPOINT_EVENT(tkill, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) pid, sig), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) +) +#endif +#ifndef OVERRIDE_64_ioprio_get +SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, + TP_PROTO(sc_exit(long ret,) int which, int who), + TP_ARGS(sc_exit(ret,) which, who), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) +) +#endif +#ifndef OVERRIDE_64_inotify_rm_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, + TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), + TP_ARGS(sc_exit(ret,) fd, wd), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) +) +#endif +#ifndef OVERRIDE_64_timerfd_create +SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, + TP_PROTO(sc_exit(long ret,) int clockid, int flags), + TP_ARGS(sc_exit(ret,) clockid, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_eventfd2 +SC_LTTNG_TRACEPOINT_EVENT(eventfd2, + TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), + TP_ARGS(sc_exit(ret,) count, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fanotify_init +SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, + TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), + TP_ARGS(sc_exit(ret,) flags, event_f_flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) +) +#endif +#ifndef OVERRIDE_64_setns +SC_LTTNG_TRACEPOINT_EVENT(setns, + TP_PROTO(sc_exit(long ret,) int fd, int nstype), + TP_ARGS(sc_exit(ret,) fd, nstype), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) +) +#endif +#ifndef OVERRIDE_64_lseek +SC_LTTNG_TRACEPOINT_EVENT(lseek, + TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), + TP_ARGS(sc_exit(ret,) fd, offset, whence), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) +) +#endif +#ifndef OVERRIDE_64_mprotect +SC_LTTNG_TRACEPOINT_EVENT(mprotect, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), + TP_ARGS(sc_exit(ret,) start, len, prot), + 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_in(ctf_integer(unsigned long, prot, prot))) +) +#endif +#ifndef OVERRIDE_64_ioctl +SC_LTTNG_TRACEPOINT_EVENT(ioctl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_msync +SC_LTTNG_TRACEPOINT_EVENT(msync, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), + TP_ARGS(sc_exit(ret,) start, len, flags), + 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_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_madvise +SC_LTTNG_TRACEPOINT_EVENT(madvise, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), + TP_ARGS(sc_exit(ret,) start, len_in, behavior), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) +) +#endif +#ifndef OVERRIDE_64_shmget +SC_LTTNG_TRACEPOINT_EVENT(shmget, + TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), + TP_ARGS(sc_exit(ret,) key, size, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_socket +SC_LTTNG_TRACEPOINT_EVENT(socket, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), + TP_ARGS(sc_exit(ret,) family, type, protocol), + 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))) +) +#endif +#ifndef OVERRIDE_64_semget +SC_LTTNG_TRACEPOINT_EVENT(semget, + TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), + TP_ARGS(sc_exit(ret,) key, nsems, semflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) +) +#endif +#ifndef OVERRIDE_64_fcntl +SC_LTTNG_TRACEPOINT_EVENT(fcntl, + TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) fd, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_fchown +SC_LTTNG_TRACEPOINT_EVENT(fchown, + TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) fd, user, group), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) +) +#endif +#ifndef OVERRIDE_64_setresuid +SC_LTTNG_TRACEPOINT_EVENT(setresuid, + TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), + TP_ARGS(sc_exit(ret,) ruid, euid, suid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) +) +#endif +#ifndef OVERRIDE_64_setresgid +SC_LTTNG_TRACEPOINT_EVENT(setresgid, + TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), + TP_ARGS(sc_exit(ret,) rgid, egid, sgid), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) +) +#endif +#ifndef OVERRIDE_64_sysfs +SC_LTTNG_TRACEPOINT_EVENT(sysfs, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), + TP_ARGS(sc_exit(ret,) option, arg1, arg2), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) +) +#endif +#ifndef OVERRIDE_64_setpriority +SC_LTTNG_TRACEPOINT_EVENT(setpriority, + TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), + TP_ARGS(sc_exit(ret,) which, who, niceval), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) +) +#endif +#ifndef OVERRIDE_64_readahead +SC_LTTNG_TRACEPOINT_EVENT(readahead, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), + TP_ARGS(sc_exit(ret,) fd, offset, count), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) +) +#endif +#ifndef OVERRIDE_64_tgkill +SC_LTTNG_TRACEPOINT_EVENT(tgkill, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), + TP_ARGS(sc_exit(ret,) tgid, pid, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_ioprio_set +SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, + TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), + TP_ARGS(sc_exit(ret,) which, who, ioprio), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) +) +#endif +#ifndef OVERRIDE_64_dup3 +SC_LTTNG_TRACEPOINT_EVENT(dup3, + TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), + TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_semctl +SC_LTTNG_TRACEPOINT_EVENT(semctl, + TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), + TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) +) +#endif +#ifndef OVERRIDE_64_ptrace +SC_LTTNG_TRACEPOINT_EVENT(ptrace, + TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), + TP_ARGS(sc_exit(ret,) request, pid, addr, data), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) +) +#endif +#ifndef OVERRIDE_64_fadvise64 +SC_LTTNG_TRACEPOINT_EVENT(fadvise64, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice), + TP_ARGS(sc_exit(ret,) fd, offset, len, advice), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, advice, advice))) +) +#endif +#ifndef OVERRIDE_64_tee +SC_LTTNG_TRACEPOINT_EVENT(tee, + TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), + TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_sync_file_range +SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, + TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_fallocate +SC_LTTNG_TRACEPOINT_EVENT(fallocate, + TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), + TP_ARGS(sc_exit(ret,) fd, mode, offset, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_mremap +SC_LTTNG_TRACEPOINT_EVENT(mremap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), + TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) +) +#endif +#ifndef OVERRIDE_64_prctl +SC_LTTNG_TRACEPOINT_EVENT(prctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_64_remap_file_pages +SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), + TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_keyctl +SC_LTTNG_TRACEPOINT_EVENT(keyctl, + TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), + TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) +) +#endif +#ifndef OVERRIDE_64_mmap +SC_LTTNG_TRACEPOINT_EVENT(mmap, + TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), + TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(unsigned long, off, off))) +) +#endif + +#endif /* _TRACE_SYSCALLS_INTEGERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "x86-64-syscalls_integers_override.h" +#include "syscalls_integers_override.h" + +#ifdef SC_ENTER +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 34, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 39, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 102, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 104, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 107, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 108, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 110, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 112, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 152, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 162, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 186, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 219, 0) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 253, 0) +#endif +#else /* #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_sched_yield +TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 24, 0) +#endif +#ifndef OVERRIDE_TABLE_64_pause +TRACE_SYSCALL_TABLE(pause, pause, 34, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpid +TRACE_SYSCALL_TABLE(getpid, getpid, 39, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getuid +TRACE_SYSCALL_TABLE(getuid, getuid, 102, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getgid +TRACE_SYSCALL_TABLE(getgid, getgid, 104, 0) +#endif +#ifndef OVERRIDE_TABLE_64_geteuid +TRACE_SYSCALL_TABLE(geteuid, geteuid, 107, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getegid +TRACE_SYSCALL_TABLE(getegid, getegid, 108, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getppid +TRACE_SYSCALL_TABLE(getppid, getppid, 110, 0) +#endif +#ifndef OVERRIDE_TABLE_64_getpgrp +TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 111, 0) +#endif +#ifndef OVERRIDE_TABLE_64_setsid +TRACE_SYSCALL_TABLE(setsid, setsid, 112, 0) +#endif +#ifndef OVERRIDE_TABLE_64_munlockall +TRACE_SYSCALL_TABLE(munlockall, munlockall, 152, 0) +#endif +#ifndef OVERRIDE_TABLE_64_vhangup +TRACE_SYSCALL_TABLE(vhangup, vhangup, 153, 0) +#endif +#ifndef OVERRIDE_TABLE_64_sync +TRACE_SYSCALL_TABLE(sync, sync, 162, 0) +#endif +#ifndef OVERRIDE_TABLE_64_gettid +TRACE_SYSCALL_TABLE(gettid, gettid, 186, 0) +#endif +#ifndef OVERRIDE_TABLE_64_restart_syscall +TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 219, 0) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init +TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 253, 0) +#endif +#endif /* else #ifdef SC_ENTER */ +#ifndef OVERRIDE_TABLE_64_close +TRACE_SYSCALL_TABLE(close, close, 3, 1) +#endif +#ifndef OVERRIDE_TABLE_64_lseek +TRACE_SYSCALL_TABLE(lseek, lseek, 8, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mmap +TRACE_SYSCALL_TABLE(mmap, mmap, 9, 6) +#endif +#ifndef OVERRIDE_TABLE_64_mprotect +TRACE_SYSCALL_TABLE(mprotect, mprotect, 10, 3) +#endif +#ifndef OVERRIDE_TABLE_64_munmap +TRACE_SYSCALL_TABLE(munmap, munmap, 11, 2) +#endif +#ifndef OVERRIDE_TABLE_64_brk +TRACE_SYSCALL_TABLE(brk, brk, 12, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ioctl +TRACE_SYSCALL_TABLE(ioctl, ioctl, 16, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mremap +TRACE_SYSCALL_TABLE(mremap, mremap, 25, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msync +TRACE_SYSCALL_TABLE(msync, msync, 26, 3) +#endif +#ifndef OVERRIDE_TABLE_64_madvise +TRACE_SYSCALL_TABLE(madvise, madvise, 28, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmget +TRACE_SYSCALL_TABLE(shmget, shmget, 29, 3) +#endif +#ifndef OVERRIDE_TABLE_64_dup +TRACE_SYSCALL_TABLE(dup, dup, 32, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup2 +TRACE_SYSCALL_TABLE(dup2, dup2, 33, 2) +#endif +#ifndef OVERRIDE_TABLE_64_alarm +TRACE_SYSCALL_TABLE(alarm, alarm, 37, 1) +#endif +#ifndef OVERRIDE_TABLE_64_socket +TRACE_SYSCALL_TABLE(socket, socket, 41, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shutdown +TRACE_SYSCALL_TABLE(shutdown, shutdown, 48, 2) +#endif +#ifndef OVERRIDE_TABLE_64_listen +TRACE_SYSCALL_TABLE(listen, listen, 50, 2) +#endif +#ifndef OVERRIDE_TABLE_64_exit +TRACE_SYSCALL_TABLE(exit, exit, 60, 1) +#endif +#ifndef OVERRIDE_TABLE_64_kill +TRACE_SYSCALL_TABLE(kill, kill, 62, 2) +#endif +#ifndef OVERRIDE_TABLE_64_semget +TRACE_SYSCALL_TABLE(semget, semget, 64, 3) +#endif +#ifndef OVERRIDE_TABLE_64_semctl +TRACE_SYSCALL_TABLE(semctl, semctl, 66, 4) +#endif +#ifndef OVERRIDE_TABLE_64_msgget +TRACE_SYSCALL_TABLE(msgget, msgget, 68, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fcntl +TRACE_SYSCALL_TABLE(fcntl, fcntl, 72, 3) +#endif +#ifndef OVERRIDE_TABLE_64_flock +TRACE_SYSCALL_TABLE(flock, flock, 73, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fsync +TRACE_SYSCALL_TABLE(fsync, fsync, 74, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fdatasync +TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 75, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ftruncate +TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 77, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fchdir +TRACE_SYSCALL_TABLE(fchdir, fchdir, 81, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fchmod +TRACE_SYSCALL_TABLE(fchmod, fchmod, 91, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fchown +TRACE_SYSCALL_TABLE(fchown, fchown, 93, 3) +#endif +#ifndef OVERRIDE_TABLE_64_umask +TRACE_SYSCALL_TABLE(umask, umask, 95, 1) +#endif +#ifndef OVERRIDE_TABLE_64_ptrace +TRACE_SYSCALL_TABLE(ptrace, ptrace, 101, 4) +#endif +#ifndef OVERRIDE_TABLE_64_setuid +TRACE_SYSCALL_TABLE(setuid, setuid, 105, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setgid +TRACE_SYSCALL_TABLE(setgid, setgid, 106, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setpgid +TRACE_SYSCALL_TABLE(setpgid, setpgid, 109, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setreuid +TRACE_SYSCALL_TABLE(setreuid, setreuid, 113, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setregid +TRACE_SYSCALL_TABLE(setregid, setregid, 114, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setresuid +TRACE_SYSCALL_TABLE(setresuid, setresuid, 117, 3) +#endif +#ifndef OVERRIDE_TABLE_64_setresgid +TRACE_SYSCALL_TABLE(setresgid, setresgid, 119, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpgid +TRACE_SYSCALL_TABLE(getpgid, getpgid, 121, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setfsuid +TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 122, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setfsgid +TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 123, 1) +#endif +#ifndef OVERRIDE_TABLE_64_getsid +TRACE_SYSCALL_TABLE(getsid, getsid, 124, 1) +#endif +#ifndef OVERRIDE_TABLE_64_personality +TRACE_SYSCALL_TABLE(personality, personality, 135, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sysfs +TRACE_SYSCALL_TABLE(sysfs, sysfs, 139, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpriority +TRACE_SYSCALL_TABLE(getpriority, getpriority, 140, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setpriority +TRACE_SYSCALL_TABLE(setpriority, setpriority, 141, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getscheduler +TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 145, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_max +TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 146, 1) +#endif +#ifndef OVERRIDE_TABLE_64_sched_get_priority_min +TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 147, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mlock +TRACE_SYSCALL_TABLE(mlock, mlock, 149, 2) +#endif +#ifndef OVERRIDE_TABLE_64_munlock +TRACE_SYSCALL_TABLE(munlock, munlock, 150, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mlockall +TRACE_SYSCALL_TABLE(mlockall, mlockall, 151, 1) +#endif +#ifndef OVERRIDE_TABLE_64_prctl +TRACE_SYSCALL_TABLE(prctl, prctl, 157, 5) +#endif +#ifndef OVERRIDE_TABLE_64_readahead +TRACE_SYSCALL_TABLE(readahead, readahead, 187, 3) +#endif +#ifndef OVERRIDE_TABLE_64_tkill +TRACE_SYSCALL_TABLE(tkill, tkill, 200, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_destroy +TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 207, 1) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_create +TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 213, 1) +#endif +#ifndef OVERRIDE_TABLE_64_remap_file_pages +TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 216, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fadvise64 +TRACE_SYSCALL_TABLE(fadvise64, fadvise64, 221, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timer_getoverrun +TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 225, 1) +#endif +#ifndef OVERRIDE_TABLE_64_timer_delete +TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 226, 1) +#endif +#ifndef OVERRIDE_TABLE_64_exit_group +TRACE_SYSCALL_TABLE(exit_group, exit_group, 231, 1) +#endif +#ifndef OVERRIDE_TABLE_64_tgkill +TRACE_SYSCALL_TABLE(tgkill, tgkill, 234, 3) +#endif +#ifndef OVERRIDE_TABLE_64_keyctl +TRACE_SYSCALL_TABLE(keyctl, keyctl, 250, 5) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_set +TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 251, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ioprio_get +TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 252, 2) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_rm_watch +TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 255, 2) +#endif +#ifndef OVERRIDE_TABLE_64_unshare +TRACE_SYSCALL_TABLE(unshare, unshare, 272, 1) +#endif +#ifndef OVERRIDE_TABLE_64_tee +TRACE_SYSCALL_TABLE(tee, tee, 276, 4) +#endif +#ifndef OVERRIDE_TABLE_64_sync_file_range +TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 277, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_create +TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 283, 2) +#endif +#ifndef OVERRIDE_TABLE_64_eventfd +TRACE_SYSCALL_TABLE(eventfd, eventfd, 284, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fallocate +TRACE_SYSCALL_TABLE(fallocate, fallocate, 285, 4) +#endif +#ifndef OVERRIDE_TABLE_64_eventfd2 +TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 290, 2) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_create1 +TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 291, 1) +#endif +#ifndef OVERRIDE_TABLE_64_dup3 +TRACE_SYSCALL_TABLE(dup3, dup3, 292, 3) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_init1 +TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 294, 1) +#endif +#ifndef OVERRIDE_TABLE_64_fanotify_init +TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 300, 2) +#endif +#ifndef OVERRIDE_TABLE_64_syncfs +TRACE_SYSCALL_TABLE(syncfs, syncfs, 306, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setns +TRACE_SYSCALL_TABLE(setns, setns, 308, 2) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h new file mode 100644 index 00000000..ba5f5b1e --- /dev/null +++ b/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* + * this is a place-holder for x86_64 integer syscall definition override. + */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h b/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h new file mode 100644 index 00000000..ad438367 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h @@ -0,0 +1,1929 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 3.10.0-rc7 */ + +#ifndef CREATE_SYSCALL_TABLE + +#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_POINTERS_H + +#include +#include +#include "x86-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_64_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes))) +) +#endif +#ifndef OVERRIDE_64_newuname +SC_LTTNG_TRACEPOINT_EVENT(newuname, + TP_PROTO(sc_exit(long ret,) struct new_utsname * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) +) +#endif +#ifndef OVERRIDE_64_shmdt +SC_LTTNG_TRACEPOINT_EVENT(shmdt, + TP_PROTO(sc_exit(long ret,) char * shmaddr), + TP_ARGS(sc_exit(ret,) shmaddr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) +) +#endif +#ifndef OVERRIDE_64_chdir +SC_LTTNG_TRACEPOINT_EVENT(chdir, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_rmdir +SC_LTTNG_TRACEPOINT_EVENT(rmdir, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_unlink +SC_LTTNG_TRACEPOINT_EVENT(unlink, + TP_PROTO(sc_exit(long ret,) const char * pathname), + TP_ARGS(sc_exit(ret,) pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_sysinfo +SC_LTTNG_TRACEPOINT_EVENT(sysinfo, + TP_PROTO(sc_exit(long ret,) struct sysinfo * info), + TP_ARGS(sc_exit(ret,) info), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) +) +#endif +#ifndef OVERRIDE_64_times +SC_LTTNG_TRACEPOINT_EVENT(times, + TP_PROTO(sc_exit(long ret,) struct tms * tbuf), + TP_ARGS(sc_exit(ret,) tbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) +) +#endif +#ifndef OVERRIDE_64_sysctl +SC_LTTNG_TRACEPOINT_EVENT(sysctl, + TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), + TP_ARGS(sc_exit(ret,) args), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) +) +#endif +#ifndef OVERRIDE_64_adjtimex +SC_LTTNG_TRACEPOINT_EVENT(adjtimex, + TP_PROTO(sc_exit(long ret,) struct timex * txc_p), + TP_ARGS(sc_exit(ret,) txc_p), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) +) +#endif +#ifndef OVERRIDE_64_chroot +SC_LTTNG_TRACEPOINT_EVENT(chroot, + TP_PROTO(sc_exit(long ret,) const char * filename), + TP_ARGS(sc_exit(ret,) filename), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) +) +#endif +#ifndef OVERRIDE_64_acct +SC_LTTNG_TRACEPOINT_EVENT(acct, + TP_PROTO(sc_exit(long ret,) const char * name), + TP_ARGS(sc_exit(ret,) name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_swapoff +SC_LTTNG_TRACEPOINT_EVENT(swapoff, + TP_PROTO(sc_exit(long ret,) const char * specialfile), + TP_ARGS(sc_exit(ret,) specialfile), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) +) +#endif +#ifndef OVERRIDE_64_time +SC_LTTNG_TRACEPOINT_EVENT(time, + TP_PROTO(sc_exit(long ret,) time_t * tloc), + TP_ARGS(sc_exit(ret,) tloc), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) +) +#endif +#ifndef OVERRIDE_64_set_tid_address +SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, + TP_PROTO(sc_exit(long ret,) int * tidptr), + TP_ARGS(sc_exit(ret,) tidptr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) +) +#endif +#ifndef OVERRIDE_64_mq_unlink +SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, + TP_PROTO(sc_exit(long ret,) const char * u_name), + TP_ARGS(sc_exit(ret,) u_name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) +) +#endif +#ifndef OVERRIDE_64_newstat +SC_LTTNG_TRACEPOINT_EVENT(newstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_64_newfstat +SC_LTTNG_TRACEPOINT_EVENT(newfstat, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) fd, statbuf), + 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))) +) +#endif +#ifndef OVERRIDE_64_newlstat +SC_LTTNG_TRACEPOINT_EVENT(newlstat, + TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), + TP_ARGS(sc_exit(ret,) filename, statbuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) +) +#endif +#ifndef OVERRIDE_64_access +SC_LTTNG_TRACEPOINT_EVENT(access, + TP_PROTO(sc_exit(long ret,) const char * filename, int mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(nanosleep, + TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_getitimer +SC_LTTNG_TRACEPOINT_EVENT(getitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), + TP_ARGS(sc_exit(ret,) which, value), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) +) +#endif +#ifndef OVERRIDE_64_truncate +SC_LTTNG_TRACEPOINT_EVENT(truncate, + TP_PROTO(sc_exit(long ret,) const char * path, long length), + TP_ARGS(sc_exit(ret,) path, length), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) +) +#endif +#ifndef OVERRIDE_64_getcwd +SC_LTTNG_TRACEPOINT_EVENT(getcwd, + TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), + TP_ARGS(sc_exit(ret,) buf, size), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) +) +#endif +#ifndef OVERRIDE_64_rename +SC_LTTNG_TRACEPOINT_EVENT(rename, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_mkdir +SC_LTTNG_TRACEPOINT_EVENT(mkdir, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_creat +SC_LTTNG_TRACEPOINT_EVENT(creat, + TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_link +SC_LTTNG_TRACEPOINT_EVENT(link, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_symlink +SC_LTTNG_TRACEPOINT_EVENT(symlink, + TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) +) +#endif +#ifndef OVERRIDE_64_chmod +SC_LTTNG_TRACEPOINT_EVENT(chmod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_gettimeofday +SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_getrlimit +SC_LTTNG_TRACEPOINT_EVENT(getrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_getrusage +SC_LTTNG_TRACEPOINT_EVENT(getrusage, + TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), + TP_ARGS(sc_exit(ret,) who, ru), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) +) +#endif +#ifndef OVERRIDE_64_getgroups +SC_LTTNG_TRACEPOINT_EVENT(getgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_setgroups +SC_LTTNG_TRACEPOINT_EVENT(setgroups, + TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), + TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) +) +#endif +#ifndef OVERRIDE_64_rt_sigpending +SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, + TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uset, sigsetsize), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) +) +#endif +#ifndef OVERRIDE_64_rt_sigsuspend +SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, + TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) unewset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_sigaltstack +SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, + TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), + TP_ARGS(sc_exit(ret,) uss, uoss), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) +) +#endif +#ifndef OVERRIDE_64_utime +SC_LTTNG_TRACEPOINT_EVENT(utime, + TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), + TP_ARGS(sc_exit(ret,) filename, times), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) +) +#endif +#ifndef OVERRIDE_64_ustat +SC_LTTNG_TRACEPOINT_EVENT(ustat, + TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), + TP_ARGS(sc_exit(ret,) dev, ubuf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) +) +#endif +#ifndef OVERRIDE_64_statfs +SC_LTTNG_TRACEPOINT_EVENT(statfs, + TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), + TP_ARGS(sc_exit(ret,) pathname, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_fstatfs +SC_LTTNG_TRACEPOINT_EVENT(fstatfs, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), + TP_ARGS(sc_exit(ret,) fd, buf), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setparam +SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getparam +SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_rr_get_interval +SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, + TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), + TP_ARGS(sc_exit(ret,) pid, interval), + 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))) +) +#endif +#ifndef OVERRIDE_64_pivot_root +SC_LTTNG_TRACEPOINT_EVENT(pivot_root, + TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), + TP_ARGS(sc_exit(ret,) new_root, put_old), + 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))) +) +#endif +#ifndef OVERRIDE_64_setrlimit +SC_LTTNG_TRACEPOINT_EVENT(setrlimit, + TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), + TP_ARGS(sc_exit(ret,) resource, rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_settimeofday +SC_LTTNG_TRACEPOINT_EVENT(settimeofday, + TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), + TP_ARGS(sc_exit(ret,) tv, tz), + 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))) +) +#endif +#ifndef OVERRIDE_64_umount +SC_LTTNG_TRACEPOINT_EVENT(umount, + TP_PROTO(sc_exit(long ret,) char * name, int flags), + TP_ARGS(sc_exit(ret,) name, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_swapon +SC_LTTNG_TRACEPOINT_EVENT(swapon, + TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), + TP_ARGS(sc_exit(ret,) specialfile, swap_flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_sethostname +SC_LTTNG_TRACEPOINT_EVENT(sethostname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_setdomainname +SC_LTTNG_TRACEPOINT_EVENT(setdomainname, + TP_PROTO(sc_exit(long ret,) char * name, int len), + TP_ARGS(sc_exit(ret,) name, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) +) +#endif +#ifndef OVERRIDE_64_delete_module +SC_LTTNG_TRACEPOINT_EVENT(delete_module, + TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), + TP_ARGS(sc_exit(ret,) name_user, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_removexattr +SC_LTTNG_TRACEPOINT_EVENT(removexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_lremovexattr +SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), + TP_ARGS(sc_exit(ret,) pathname, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_fremovexattr +SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name), + TP_ARGS(sc_exit(ret,) fd, name), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) +) +#endif +#ifndef OVERRIDE_64_io_setup +SC_LTTNG_TRACEPOINT_EVENT(io_setup, + TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), + TP_ARGS(sc_exit(ret,) nr_events, ctxp), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_gettime +SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), + TP_ARGS(sc_exit(ret,) timer_id, setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_settime +SC_LTTNG_TRACEPOINT_EVENT(clock_settime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_gettime +SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_getres +SC_LTTNG_TRACEPOINT_EVENT(clock_getres, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), + TP_ARGS(sc_exit(ret,) which_clock, tp), + 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))) +) +#endif +#ifndef OVERRIDE_64_utimes +SC_LTTNG_TRACEPOINT_EVENT(utimes, + TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) filename, utimes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) +) +#endif +#ifndef OVERRIDE_64_mq_notify +SC_LTTNG_TRACEPOINT_EVENT(mq_notify, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), + TP_ARGS(sc_exit(ret,) mqdes, u_notification), + 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))) +) +#endif +#ifndef OVERRIDE_64_set_robust_list +SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, + TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), + TP_ARGS(sc_exit(ret,) head, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_timerfd_gettime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, + TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, otmr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) +) +#endif +#ifndef OVERRIDE_64_pipe2 +SC_LTTNG_TRACEPOINT_EVENT(pipe2, + TP_PROTO(sc_exit(long ret,) int * fildes, int flags), + TP_ARGS(sc_exit(ret,) fildes, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_clock_adjtime +SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), + TP_ARGS(sc_exit(ret,) which_clock, utx), + 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))) +) +#endif +#ifndef OVERRIDE_64_read +SC_LTTNG_TRACEPOINT_EVENT(read, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_write +SC_LTTNG_TRACEPOINT_EVENT(write, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), + TP_ARGS(sc_exit(ret,) fd, buf, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_open +SC_LTTNG_TRACEPOINT_EVENT(open, + TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_poll +SC_LTTNG_TRACEPOINT_EVENT(poll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), + TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) +) +#endif +#ifndef OVERRIDE_64_readv +SC_LTTNG_TRACEPOINT_EVENT(readv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_writev +SC_LTTNG_TRACEPOINT_EVENT(writev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), + TP_ARGS(sc_exit(ret,) fd, vec, vlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_mincore +SC_LTTNG_TRACEPOINT_EVENT(mincore, + TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), + TP_ARGS(sc_exit(ret,) start, len, vec), + 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))) +) +#endif +#ifndef OVERRIDE_64_shmat +SC_LTTNG_TRACEPOINT_EVENT(shmat, + TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), + TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) +) +#endif +#ifndef OVERRIDE_64_shmctl +SC_LTTNG_TRACEPOINT_EVENT(shmctl, + TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), + TP_ARGS(sc_exit(ret,) shmid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_setitimer +SC_LTTNG_TRACEPOINT_EVENT(setitimer, + TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), + TP_ARGS(sc_exit(ret,) which, value, ovalue), + 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))) +) +#endif +#ifndef OVERRIDE_64_connect +SC_LTTNG_TRACEPOINT_EVENT(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept +SC_LTTNG_TRACEPOINT_EVENT(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_recvmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, msg, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_bind +SC_LTTNG_TRACEPOINT_EVENT(bind, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockname +SC_LTTNG_TRACEPOINT_EVENT(getsockname, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_getpeername +SC_LTTNG_TRACEPOINT_EVENT(getpeername, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), + TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), + 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))) +) +#endif +#ifndef OVERRIDE_64_semop +SC_LTTNG_TRACEPOINT_EVENT(semop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) +) +#endif +#ifndef OVERRIDE_64_msgctl +SC_LTTNG_TRACEPOINT_EVENT(msgctl, + TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), + TP_ARGS(sc_exit(ret,) msqid, cmd, buf), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) +) +#endif +#ifndef OVERRIDE_64_getdents +SC_LTTNG_TRACEPOINT_EVENT(getdents, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_readlink +SC_LTTNG_TRACEPOINT_EVENT(readlink, + TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) path, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_64_chown +SC_LTTNG_TRACEPOINT_EVENT(chown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_64_lchown +SC_LTTNG_TRACEPOINT_EVENT(lchown, + TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), + TP_ARGS(sc_exit(ret,) filename, user, group), + 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))) +) +#endif +#ifndef OVERRIDE_64_syslog +SC_LTTNG_TRACEPOINT_EVENT(syslog, + TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), + TP_ARGS(sc_exit(ret,) type, buf, len), + 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))) +) +#endif +#ifndef OVERRIDE_64_getresuid +SC_LTTNG_TRACEPOINT_EVENT(getresuid, + TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), + TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) +) +#endif +#ifndef OVERRIDE_64_getresgid +SC_LTTNG_TRACEPOINT_EVENT(getresgid, + TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), + TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) +) +#endif +#ifndef OVERRIDE_64_rt_sigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_mknod +SC_LTTNG_TRACEPOINT_EVENT(mknod, + TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_64_sched_setscheduler +SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, + TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), + TP_ARGS(sc_exit(ret,) pid, policy, param), + 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))) +) +#endif +#ifndef OVERRIDE_64_init_module +SC_LTTNG_TRACEPOINT_EVENT(init_module, + TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), + TP_ARGS(sc_exit(ret,) umod, len, uargs), + 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))) +) +#endif +#ifndef OVERRIDE_64_listxattr +SC_LTTNG_TRACEPOINT_EVENT(listxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_llistxattr +SC_LTTNG_TRACEPOINT_EVENT(llistxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), + TP_ARGS(sc_exit(ret,) pathname, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_flistxattr +SC_LTTNG_TRACEPOINT_EVENT(flistxattr, + TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), + TP_ARGS(sc_exit(ret,) fd, list, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_setaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_sched_getaffinity +SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), + TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_submit +SC_LTTNG_TRACEPOINT_EVENT(io_submit, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), + TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_cancel +SC_LTTNG_TRACEPOINT_EVENT(io_cancel, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), + TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), + 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))) +) +#endif +#ifndef OVERRIDE_64_lookup_dcookie +SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, + TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), + TP_ARGS(sc_exit(ret,) cookie64, buf, len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len))) +) +#endif +#ifndef OVERRIDE_64_getdents64 +SC_LTTNG_TRACEPOINT_EVENT(getdents64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), + TP_ARGS(sc_exit(ret,) fd, dirent, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_timer_create +SC_LTTNG_TRACEPOINT_EVENT(timer_create, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), + TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), + 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))) +) +#endif +#ifndef OVERRIDE_64_set_mempolicy +SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy, + TP_PROTO(sc_exit(long ret,) int mode, unsigned long * nmask, unsigned long maxnode), + TP_ARGS(sc_exit(ret,) mode, nmask, maxnode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode))) +) +#endif +#ifndef OVERRIDE_64_mq_getsetattr +SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, + TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), + TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), + 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))) +) +#endif +#ifndef OVERRIDE_64_inotify_add_watch +SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, + TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), + TP_ARGS(sc_exit(ret,) fd, pathname, mask), + 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))) +) +#endif +#ifndef OVERRIDE_64_mkdirat +SC_LTTNG_TRACEPOINT_EVENT(mkdirat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, pathname, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_futimesat +SC_LTTNG_TRACEPOINT_EVENT(futimesat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes), + 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))) +) +#endif +#ifndef OVERRIDE_64_unlinkat +SC_LTTNG_TRACEPOINT_EVENT(unlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), + TP_ARGS(sc_exit(ret,) dfd, pathname, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_symlinkat +SC_LTTNG_TRACEPOINT_EVENT(symlinkat, + TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchmodat +SC_LTTNG_TRACEPOINT_EVENT(fchmodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_faccessat +SC_LTTNG_TRACEPOINT_EVENT(faccessat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), + TP_ARGS(sc_exit(ret,) dfd, filename, mode), + 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))) +) +#endif +#ifndef OVERRIDE_64_get_robust_list +SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, + TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), + TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), + 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))) +) +#endif +#ifndef OVERRIDE_64_signalfd +SC_LTTNG_TRACEPOINT_EVENT(signalfd, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), + 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))) +) +#endif +#ifndef OVERRIDE_64_open_by_handle_at +SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, + TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), + TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_getcpu +SC_LTTNG_TRACEPOINT_EVENT(getcpu, + TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), + TP_ARGS(sc_exit(ret,) cpup, nodep, unused), + 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))) +) +#endif +#ifndef OVERRIDE_64_finit_module +SC_LTTNG_TRACEPOINT_EVENT(finit_module, + TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), + TP_ARGS(sc_exit(ret,) fd, uargs, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_rt_sigaction +SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, + TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_sigprocmask +SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, + TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_pread64 +SC_LTTNG_TRACEPOINT_EVENT(pread64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_64_pwrite64 +SC_LTTNG_TRACEPOINT_EVENT(pwrite64, + TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), + TP_ARGS(sc_exit(ret,) fd, buf, count, pos), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) +) +#endif +#ifndef OVERRIDE_64_sendfile64 +SC_LTTNG_TRACEPOINT_EVENT(sendfile64, + TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), + TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), + 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))) +) +#endif +#ifndef OVERRIDE_64_socketpair +SC_LTTNG_TRACEPOINT_EVENT(socketpair, + TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), + TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), + 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))) +) +#endif +#ifndef OVERRIDE_64_wait4 +SC_LTTNG_TRACEPOINT_EVENT(wait4, + TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgsnd +SC_LTTNG_TRACEPOINT_EVENT(msgsnd, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_rt_sigtimedwait +SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, + TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_reboot +SC_LTTNG_TRACEPOINT_EVENT(reboot, + TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), + TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), + 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))) +) +#endif +#ifndef OVERRIDE_64_quotactl +SC_LTTNG_TRACEPOINT_EVENT(quotactl, + TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), + TP_ARGS(sc_exit(ret,) cmd, special, id, addr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) +) +#endif +#ifndef OVERRIDE_64_getxattr +SC_LTTNG_TRACEPOINT_EVENT(getxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_lgetxattr +SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) pathname, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_fgetxattr +SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), + TP_ARGS(sc_exit(ret,) fd, name, value, size), + 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))) +) +#endif +#ifndef OVERRIDE_64_semtimedop +SC_LTTNG_TRACEPOINT_EVENT(semtimedop, + TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), + TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) +) +#endif +#ifndef OVERRIDE_64_timer_settime +SC_LTTNG_TRACEPOINT_EVENT(timer_settime, + TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), + TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), + 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))) +) +#endif +#ifndef OVERRIDE_64_clock_nanosleep +SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, + TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), + TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_wait +SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_epoll_ctl +SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, + TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), + TP_ARGS(sc_exit(ret,) epfd, op, fd, event), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_open +SC_LTTNG_TRACEPOINT_EVENT(mq_open, + TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), + TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) +) +#endif +#ifndef OVERRIDE_64_kexec_load +SC_LTTNG_TRACEPOINT_EVENT(kexec_load, + TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), + TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, entry, entry)) sc_in(ctf_integer(unsigned long, nr_segments, nr_segments)) sc_in(ctf_integer(struct kexec_segment *, segments, segments)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_request_key +SC_LTTNG_TRACEPOINT_EVENT(request_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), + TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), + 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))) +) +#endif +#ifndef OVERRIDE_64_migrate_pages +SC_LTTNG_TRACEPOINT_EVENT(migrate_pages, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long maxnode, const unsigned long * old_nodes, const unsigned long * new_nodes), + TP_ARGS(sc_exit(ret,) pid, maxnode, old_nodes, new_nodes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(const unsigned long *, old_nodes, old_nodes)) sc_in(ctf_integer(const unsigned long *, new_nodes, new_nodes))) +) +#endif +#ifndef OVERRIDE_64_openat +SC_LTTNG_TRACEPOINT_EVENT(openat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), + TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) +) +#endif +#ifndef OVERRIDE_64_mknodat +SC_LTTNG_TRACEPOINT_EVENT(mknodat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), + TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) +) +#endif +#ifndef OVERRIDE_64_newfstatat +SC_LTTNG_TRACEPOINT_EVENT(newfstatat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_64_renameat +SC_LTTNG_TRACEPOINT_EVENT(renameat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), + 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))) +) +#endif +#ifndef OVERRIDE_64_readlinkat +SC_LTTNG_TRACEPOINT_EVENT(readlinkat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), + TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), + 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))) +) +#endif +#ifndef OVERRIDE_64_vmsplice +SC_LTTNG_TRACEPOINT_EVENT(vmsplice, + TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_utimensat +SC_LTTNG_TRACEPOINT_EVENT(utimensat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), + TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_timerfd_settime +SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, + TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), + TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), + 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))) +) +#endif +#ifndef OVERRIDE_64_accept4 +SC_LTTNG_TRACEPOINT_EVENT(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_signalfd4 +SC_LTTNG_TRACEPOINT_EVENT(signalfd4, + TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), + TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_rt_tgsigqueueinfo +SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, + TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), + TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), + 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))) +) +#endif +#ifndef OVERRIDE_64_prlimit64 +SC_LTTNG_TRACEPOINT_EVENT(prlimit64, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), + TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), + 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))) +) +#endif +#ifndef OVERRIDE_64_sendmmsg +SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_select +SC_LTTNG_TRACEPOINT_EVENT(select, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), + 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))) +) +#endif +#ifndef OVERRIDE_64_setsockopt +SC_LTTNG_TRACEPOINT_EVENT(setsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_getsockopt +SC_LTTNG_TRACEPOINT_EVENT(getsockopt, + TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), + TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), + 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))) +) +#endif +#ifndef OVERRIDE_64_msgrcv +SC_LTTNG_TRACEPOINT_EVENT(msgrcv, + TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), + TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) +) +#endif +#ifndef OVERRIDE_64_mount +SC_LTTNG_TRACEPOINT_EVENT(mount, + TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), + TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), + 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))) +) +#endif +#ifndef OVERRIDE_64_setxattr +SC_LTTNG_TRACEPOINT_EVENT(setxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_lsetxattr +SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, + TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_fsetxattr +SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, + TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), + TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_io_getevents +SC_LTTNG_TRACEPOINT_EVENT(io_getevents, + TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_get_mempolicy +SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy, + TP_PROTO(sc_exit(long ret,) int * policy, unsigned long * nmask, unsigned long maxnode, unsigned long addr, unsigned long flags), + TP_ARGS(sc_exit(ret,) policy, nmask, maxnode, addr, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, policy, policy)) sc_out(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_mq_timedsend +SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_mq_timedreceive +SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, + 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), + TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_waitid +SC_LTTNG_TRACEPOINT_EVENT(waitid, + TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), + TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), + 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))) +) +#endif +#ifndef OVERRIDE_64_add_key +SC_LTTNG_TRACEPOINT_EVENT(add_key, + TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), + TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), + 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))) +) +#endif +#ifndef OVERRIDE_64_fchownat +SC_LTTNG_TRACEPOINT_EVENT(fchownat, + TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), + TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), + 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))) +) +#endif +#ifndef OVERRIDE_64_linkat +SC_LTTNG_TRACEPOINT_EVENT(linkat, + TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), + TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_ppoll +SC_LTTNG_TRACEPOINT_EVENT(ppoll, + TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_preadv +SC_LTTNG_TRACEPOINT_EVENT(preadv, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_pwritev +SC_LTTNG_TRACEPOINT_EVENT(pwritev, + TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), + TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), + 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))) +) +#endif +#ifndef OVERRIDE_64_perf_event_open +SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, + TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), + TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_recvmmsg +SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, + TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), + TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), + 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))) +) +#endif +#ifndef OVERRIDE_64_fanotify_mark +SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, + TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), + TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) +) +#endif +#ifndef OVERRIDE_64_name_to_handle_at +SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, + TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), + TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) +) +#endif +#ifndef OVERRIDE_64_sendto +SC_LTTNG_TRACEPOINT_EVENT(sendto, + TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), + TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_recvfrom +SC_LTTNG_TRACEPOINT_EVENT(recvfrom, + TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), + TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) +) +#endif +#ifndef OVERRIDE_64_futex +SC_LTTNG_TRACEPOINT_EVENT(futex, + TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), + TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), + 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))) +) +#endif +#ifndef OVERRIDE_64_mbind +SC_LTTNG_TRACEPOINT_EVENT(mbind, + TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, unsigned long * nmask, unsigned long maxnode, unsigned flags), + TP_ARGS(sc_exit(ret,) start, len, mode, nmask, maxnode, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, mode, mode)) sc_in(ctf_integer(unsigned long *, nmask, nmask)) sc_in(ctf_integer(unsigned long, maxnode, maxnode)) sc_in(ctf_integer(unsigned, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_pselect6 +SC_LTTNG_TRACEPOINT_EVENT(pselect6, + TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), + TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), + 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))) +) +#endif +#ifndef OVERRIDE_64_splice +SC_LTTNG_TRACEPOINT_EVENT(splice, + 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), + TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), + 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))) +) +#endif +#ifndef OVERRIDE_64_move_pages +SC_LTTNG_TRACEPOINT_EVENT(move_pages, + TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long nr_pages, const void * * pages, const int * nodes, int * status, int flags), + TP_ARGS(sc_exit(ret,) pid, nr_pages, pages, nodes, status, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned long, nr_pages, nr_pages)) sc_in(ctf_integer(const void * *, pages, pages)) sc_in(ctf_integer(const int *, nodes, nodes)) sc_out(ctf_integer(int *, status, status)) sc_in(ctf_integer(int, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_epoll_pwait +SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, + TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), + TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), + 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))) +) +#endif +#ifndef OVERRIDE_64_process_vm_readv +SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif +#ifndef OVERRIDE_64_process_vm_writev +SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, + TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), + TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) +) +#endif + +#endif /* _TRACE_SYSCALLS_POINTERS_H */ + +/* This part must be outside protection */ +#include + +#else /* CREATE_SYSCALL_TABLE */ + +#include "x86-64-syscalls_pointers_override.h" +#include "syscalls_pointers_override.h" + +#ifndef OVERRIDE_TABLE_64_read +TRACE_SYSCALL_TABLE(read, read, 0, 3) +#endif +#ifndef OVERRIDE_TABLE_64_write +TRACE_SYSCALL_TABLE(write, write, 1, 3) +#endif +#ifndef OVERRIDE_TABLE_64_open +TRACE_SYSCALL_TABLE(open, open, 2, 3) +#endif +#ifndef OVERRIDE_TABLE_64_newstat +TRACE_SYSCALL_TABLE(newstat, newstat, 4, 2) +#endif +#ifndef OVERRIDE_TABLE_64_newfstat +TRACE_SYSCALL_TABLE(newfstat, newfstat, 5, 2) +#endif +#ifndef OVERRIDE_TABLE_64_newlstat +TRACE_SYSCALL_TABLE(newlstat, newlstat, 6, 2) +#endif +#ifndef OVERRIDE_TABLE_64_poll +TRACE_SYSCALL_TABLE(poll, poll, 7, 3) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigaction +TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 13, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigprocmask +TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 14, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pread64 +TRACE_SYSCALL_TABLE(pread64, pread64, 17, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pwrite64 +TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 18, 4) +#endif +#ifndef OVERRIDE_TABLE_64_readv +TRACE_SYSCALL_TABLE(readv, readv, 19, 3) +#endif +#ifndef OVERRIDE_TABLE_64_writev +TRACE_SYSCALL_TABLE(writev, writev, 20, 3) +#endif +#ifndef OVERRIDE_TABLE_64_access +TRACE_SYSCALL_TABLE(access, access, 21, 2) +#endif +#ifndef OVERRIDE_TABLE_64_pipe +TRACE_SYSCALL_TABLE(pipe, pipe, 22, 1) +#endif +#ifndef OVERRIDE_TABLE_64_select +TRACE_SYSCALL_TABLE(select, select, 23, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mincore +TRACE_SYSCALL_TABLE(mincore, mincore, 27, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmat +TRACE_SYSCALL_TABLE(shmat, shmat, 30, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmctl +TRACE_SYSCALL_TABLE(shmctl, shmctl, 31, 3) +#endif +#ifndef OVERRIDE_TABLE_64_nanosleep +TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 35, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getitimer +TRACE_SYSCALL_TABLE(getitimer, getitimer, 36, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setitimer +TRACE_SYSCALL_TABLE(setitimer, setitimer, 38, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sendfile64 +TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 40, 4) +#endif +#ifndef OVERRIDE_TABLE_64_connect +TRACE_SYSCALL_TABLE(connect, connect, 42, 3) +#endif +#ifndef OVERRIDE_TABLE_64_accept +TRACE_SYSCALL_TABLE(accept, accept, 43, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sendto +TRACE_SYSCALL_TABLE(sendto, sendto, 44, 6) +#endif +#ifndef OVERRIDE_TABLE_64_recvfrom +TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 45, 6) +#endif +#ifndef OVERRIDE_TABLE_64_sendmsg +TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 46, 3) +#endif +#ifndef OVERRIDE_TABLE_64_recvmsg +TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 47, 3) +#endif +#ifndef OVERRIDE_TABLE_64_bind +TRACE_SYSCALL_TABLE(bind, bind, 49, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getsockname +TRACE_SYSCALL_TABLE(getsockname, getsockname, 51, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getpeername +TRACE_SYSCALL_TABLE(getpeername, getpeername, 52, 3) +#endif +#ifndef OVERRIDE_TABLE_64_socketpair +TRACE_SYSCALL_TABLE(socketpair, socketpair, 53, 4) +#endif +#ifndef OVERRIDE_TABLE_64_setsockopt +TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 54, 5) +#endif +#ifndef OVERRIDE_TABLE_64_getsockopt +TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 55, 5) +#endif +#ifndef OVERRIDE_TABLE_64_wait4 +TRACE_SYSCALL_TABLE(wait4, wait4, 61, 4) +#endif +#ifndef OVERRIDE_TABLE_64_newuname +TRACE_SYSCALL_TABLE(newuname, newuname, 63, 1) +#endif +#ifndef OVERRIDE_TABLE_64_semop +TRACE_SYSCALL_TABLE(semop, semop, 65, 3) +#endif +#ifndef OVERRIDE_TABLE_64_shmdt +TRACE_SYSCALL_TABLE(shmdt, shmdt, 67, 1) +#endif +#ifndef OVERRIDE_TABLE_64_msgsnd +TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 69, 4) +#endif +#ifndef OVERRIDE_TABLE_64_msgrcv +TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 70, 5) +#endif +#ifndef OVERRIDE_TABLE_64_msgctl +TRACE_SYSCALL_TABLE(msgctl, msgctl, 71, 3) +#endif +#ifndef OVERRIDE_TABLE_64_truncate +TRACE_SYSCALL_TABLE(truncate, truncate, 76, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getdents +TRACE_SYSCALL_TABLE(getdents, getdents, 78, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getcwd +TRACE_SYSCALL_TABLE(getcwd, getcwd, 79, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chdir +TRACE_SYSCALL_TABLE(chdir, chdir, 80, 1) +#endif +#ifndef OVERRIDE_TABLE_64_rename +TRACE_SYSCALL_TABLE(rename, rename, 82, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mkdir +TRACE_SYSCALL_TABLE(mkdir, mkdir, 83, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rmdir +TRACE_SYSCALL_TABLE(rmdir, rmdir, 84, 1) +#endif +#ifndef OVERRIDE_TABLE_64_creat +TRACE_SYSCALL_TABLE(creat, creat, 85, 2) +#endif +#ifndef OVERRIDE_TABLE_64_link +TRACE_SYSCALL_TABLE(link, link, 86, 2) +#endif +#ifndef OVERRIDE_TABLE_64_unlink +TRACE_SYSCALL_TABLE(unlink, unlink, 87, 1) +#endif +#ifndef OVERRIDE_TABLE_64_symlink +TRACE_SYSCALL_TABLE(symlink, symlink, 88, 2) +#endif +#ifndef OVERRIDE_TABLE_64_readlink +TRACE_SYSCALL_TABLE(readlink, readlink, 89, 3) +#endif +#ifndef OVERRIDE_TABLE_64_chmod +TRACE_SYSCALL_TABLE(chmod, chmod, 90, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chown +TRACE_SYSCALL_TABLE(chown, chown, 92, 3) +#endif +#ifndef OVERRIDE_TABLE_64_lchown +TRACE_SYSCALL_TABLE(lchown, lchown, 94, 3) +#endif +#ifndef OVERRIDE_TABLE_64_gettimeofday +TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 96, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrlimit +TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 97, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getrusage +TRACE_SYSCALL_TABLE(getrusage, getrusage, 98, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sysinfo +TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 99, 1) +#endif +#ifndef OVERRIDE_TABLE_64_times +TRACE_SYSCALL_TABLE(times, times, 100, 1) +#endif +#ifndef OVERRIDE_TABLE_64_syslog +TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getgroups +TRACE_SYSCALL_TABLE(getgroups, getgroups, 115, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setgroups +TRACE_SYSCALL_TABLE(setgroups, setgroups, 116, 2) +#endif +#ifndef OVERRIDE_TABLE_64_getresuid +TRACE_SYSCALL_TABLE(getresuid, getresuid, 118, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getresgid +TRACE_SYSCALL_TABLE(getresgid, getresgid, 120, 3) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigpending +TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 127, 2) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigtimedwait +TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 128, 4) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo +TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 129, 3) +#endif +#ifndef OVERRIDE_TABLE_64_rt_sigsuspend +TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 130, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sigaltstack +TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 131, 2) +#endif +#ifndef OVERRIDE_TABLE_64_utime +TRACE_SYSCALL_TABLE(utime, utime, 132, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mknod +TRACE_SYSCALL_TABLE(mknod, mknod, 133, 3) +#endif +#ifndef OVERRIDE_TABLE_64_ustat +TRACE_SYSCALL_TABLE(ustat, ustat, 136, 2) +#endif +#ifndef OVERRIDE_TABLE_64_statfs +TRACE_SYSCALL_TABLE(statfs, statfs, 137, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fstatfs +TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 138, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setparam +TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 142, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getparam +TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 143, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setscheduler +TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 144, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_rr_get_interval +TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 148, 2) +#endif +#ifndef OVERRIDE_TABLE_64_pivot_root +TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 155, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sysctl +TRACE_SYSCALL_TABLE(sysctl, sysctl, 156, 1) +#endif +#ifndef OVERRIDE_TABLE_64_adjtimex +TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 159, 1) +#endif +#ifndef OVERRIDE_TABLE_64_setrlimit +TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 160, 2) +#endif +#ifndef OVERRIDE_TABLE_64_chroot +TRACE_SYSCALL_TABLE(chroot, chroot, 161, 1) +#endif +#ifndef OVERRIDE_TABLE_64_acct +TRACE_SYSCALL_TABLE(acct, acct, 163, 1) +#endif +#ifndef OVERRIDE_TABLE_64_settimeofday +TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 164, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mount +TRACE_SYSCALL_TABLE(mount, mount, 165, 5) +#endif +#ifndef OVERRIDE_TABLE_64_umount +TRACE_SYSCALL_TABLE(umount, umount, 166, 2) +#endif +#ifndef OVERRIDE_TABLE_64_swapon +TRACE_SYSCALL_TABLE(swapon, swapon, 167, 2) +#endif +#ifndef OVERRIDE_TABLE_64_swapoff +TRACE_SYSCALL_TABLE(swapoff, swapoff, 168, 1) +#endif +#ifndef OVERRIDE_TABLE_64_reboot +TRACE_SYSCALL_TABLE(reboot, reboot, 169, 4) +#endif +#ifndef OVERRIDE_TABLE_64_sethostname +TRACE_SYSCALL_TABLE(sethostname, sethostname, 170, 2) +#endif +#ifndef OVERRIDE_TABLE_64_setdomainname +TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 171, 2) +#endif +#ifndef OVERRIDE_TABLE_64_init_module +TRACE_SYSCALL_TABLE(init_module, init_module, 175, 3) +#endif +#ifndef OVERRIDE_TABLE_64_delete_module +TRACE_SYSCALL_TABLE(delete_module, delete_module, 176, 2) +#endif +#ifndef OVERRIDE_TABLE_64_quotactl +TRACE_SYSCALL_TABLE(quotactl, quotactl, 179, 4) +#endif +#ifndef OVERRIDE_TABLE_64_setxattr +TRACE_SYSCALL_TABLE(setxattr, setxattr, 188, 5) +#endif +#ifndef OVERRIDE_TABLE_64_lsetxattr +TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 189, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fsetxattr +TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 190, 5) +#endif +#ifndef OVERRIDE_TABLE_64_getxattr +TRACE_SYSCALL_TABLE(getxattr, getxattr, 191, 4) +#endif +#ifndef OVERRIDE_TABLE_64_lgetxattr +TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 192, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fgetxattr +TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 193, 4) +#endif +#ifndef OVERRIDE_TABLE_64_listxattr +TRACE_SYSCALL_TABLE(listxattr, listxattr, 194, 3) +#endif +#ifndef OVERRIDE_TABLE_64_llistxattr +TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 195, 3) +#endif +#ifndef OVERRIDE_TABLE_64_flistxattr +TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 196, 3) +#endif +#ifndef OVERRIDE_TABLE_64_removexattr +TRACE_SYSCALL_TABLE(removexattr, removexattr, 197, 2) +#endif +#ifndef OVERRIDE_TABLE_64_lremovexattr +TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 198, 2) +#endif +#ifndef OVERRIDE_TABLE_64_fremovexattr +TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 199, 2) +#endif +#ifndef OVERRIDE_TABLE_64_time +TRACE_SYSCALL_TABLE(time, time, 201, 1) +#endif +#ifndef OVERRIDE_TABLE_64_futex +TRACE_SYSCALL_TABLE(futex, futex, 202, 6) +#endif +#ifndef OVERRIDE_TABLE_64_sched_setaffinity +TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 203, 3) +#endif +#ifndef OVERRIDE_TABLE_64_sched_getaffinity +TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 204, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_setup +TRACE_SYSCALL_TABLE(io_setup, io_setup, 206, 2) +#endif +#ifndef OVERRIDE_TABLE_64_io_getevents +TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 208, 5) +#endif +#ifndef OVERRIDE_TABLE_64_io_submit +TRACE_SYSCALL_TABLE(io_submit, io_submit, 209, 3) +#endif +#ifndef OVERRIDE_TABLE_64_io_cancel +TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 210, 3) +#endif +#ifndef OVERRIDE_TABLE_64_lookup_dcookie +TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 212, 3) +#endif +#ifndef OVERRIDE_TABLE_64_getdents64 +TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3) +#endif +#ifndef OVERRIDE_TABLE_64_set_tid_address +TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 218, 1) +#endif +#ifndef OVERRIDE_TABLE_64_semtimedop +TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 220, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timer_create +TRACE_SYSCALL_TABLE(timer_create, timer_create, 222, 3) +#endif +#ifndef OVERRIDE_TABLE_64_timer_settime +TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 223, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timer_gettime +TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 224, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_settime +TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 227, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_gettime +TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 228, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_getres +TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 229, 2) +#endif +#ifndef OVERRIDE_TABLE_64_clock_nanosleep +TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 230, 4) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_wait +TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 232, 4) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_ctl +TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 233, 4) +#endif +#ifndef OVERRIDE_TABLE_64_utimes +TRACE_SYSCALL_TABLE(utimes, utimes, 235, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mbind +TRACE_SYSCALL_TABLE(mbind, mbind, 237, 6) +#endif +#ifndef OVERRIDE_TABLE_64_set_mempolicy +TRACE_SYSCALL_TABLE(set_mempolicy, set_mempolicy, 238, 3) +#endif +#ifndef OVERRIDE_TABLE_64_get_mempolicy +TRACE_SYSCALL_TABLE(get_mempolicy, get_mempolicy, 239, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mq_open +TRACE_SYSCALL_TABLE(mq_open, mq_open, 240, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mq_unlink +TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 241, 1) +#endif +#ifndef OVERRIDE_TABLE_64_mq_timedsend +TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 242, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mq_timedreceive +TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 243, 5) +#endif +#ifndef OVERRIDE_TABLE_64_mq_notify +TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 244, 2) +#endif +#ifndef OVERRIDE_TABLE_64_mq_getsetattr +TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 245, 3) +#endif +#ifndef OVERRIDE_TABLE_64_kexec_load +TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 246, 4) +#endif +#ifndef OVERRIDE_TABLE_64_waitid +TRACE_SYSCALL_TABLE(waitid, waitid, 247, 5) +#endif +#ifndef OVERRIDE_TABLE_64_add_key +TRACE_SYSCALL_TABLE(add_key, add_key, 248, 5) +#endif +#ifndef OVERRIDE_TABLE_64_request_key +TRACE_SYSCALL_TABLE(request_key, request_key, 249, 4) +#endif +#ifndef OVERRIDE_TABLE_64_inotify_add_watch +TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 254, 3) +#endif +#ifndef OVERRIDE_TABLE_64_migrate_pages +TRACE_SYSCALL_TABLE(migrate_pages, migrate_pages, 256, 4) +#endif +#ifndef OVERRIDE_TABLE_64_openat +TRACE_SYSCALL_TABLE(openat, openat, 257, 4) +#endif +#ifndef OVERRIDE_TABLE_64_mkdirat +TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 258, 3) +#endif +#ifndef OVERRIDE_TABLE_64_mknodat +TRACE_SYSCALL_TABLE(mknodat, mknodat, 259, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fchownat +TRACE_SYSCALL_TABLE(fchownat, fchownat, 260, 5) +#endif +#ifndef OVERRIDE_TABLE_64_futimesat +TRACE_SYSCALL_TABLE(futimesat, futimesat, 261, 3) +#endif +#ifndef OVERRIDE_TABLE_64_newfstatat +TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 262, 4) +#endif +#ifndef OVERRIDE_TABLE_64_unlinkat +TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 263, 3) +#endif +#ifndef OVERRIDE_TABLE_64_renameat +TRACE_SYSCALL_TABLE(renameat, renameat, 264, 4) +#endif +#ifndef OVERRIDE_TABLE_64_linkat +TRACE_SYSCALL_TABLE(linkat, linkat, 265, 5) +#endif +#ifndef OVERRIDE_TABLE_64_symlinkat +TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 266, 3) +#endif +#ifndef OVERRIDE_TABLE_64_readlinkat +TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 267, 4) +#endif +#ifndef OVERRIDE_TABLE_64_fchmodat +TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 268, 3) +#endif +#ifndef OVERRIDE_TABLE_64_faccessat +TRACE_SYSCALL_TABLE(faccessat, faccessat, 269, 3) +#endif +#ifndef OVERRIDE_TABLE_64_pselect6 +TRACE_SYSCALL_TABLE(pselect6, pselect6, 270, 6) +#endif +#ifndef OVERRIDE_TABLE_64_ppoll +TRACE_SYSCALL_TABLE(ppoll, ppoll, 271, 5) +#endif +#ifndef OVERRIDE_TABLE_64_set_robust_list +TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 273, 2) +#endif +#ifndef OVERRIDE_TABLE_64_get_robust_list +TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 274, 3) +#endif +#ifndef OVERRIDE_TABLE_64_splice +TRACE_SYSCALL_TABLE(splice, splice, 275, 6) +#endif +#ifndef OVERRIDE_TABLE_64_vmsplice +TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 278, 4) +#endif +#ifndef OVERRIDE_TABLE_64_move_pages +TRACE_SYSCALL_TABLE(move_pages, move_pages, 279, 6) +#endif +#ifndef OVERRIDE_TABLE_64_utimensat +TRACE_SYSCALL_TABLE(utimensat, utimensat, 280, 4) +#endif +#ifndef OVERRIDE_TABLE_64_epoll_pwait +TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 281, 6) +#endif +#ifndef OVERRIDE_TABLE_64_signalfd +TRACE_SYSCALL_TABLE(signalfd, signalfd, 282, 3) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_settime +TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 286, 4) +#endif +#ifndef OVERRIDE_TABLE_64_timerfd_gettime +TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 287, 2) +#endif +#ifndef OVERRIDE_TABLE_64_accept4 +TRACE_SYSCALL_TABLE(accept4, accept4, 288, 4) +#endif +#ifndef OVERRIDE_TABLE_64_signalfd4 +TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 289, 4) +#endif +#ifndef OVERRIDE_TABLE_64_pipe2 +TRACE_SYSCALL_TABLE(pipe2, pipe2, 293, 2) +#endif +#ifndef OVERRIDE_TABLE_64_preadv +TRACE_SYSCALL_TABLE(preadv, preadv, 295, 5) +#endif +#ifndef OVERRIDE_TABLE_64_pwritev +TRACE_SYSCALL_TABLE(pwritev, pwritev, 296, 5) +#endif +#ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo +TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 297, 4) +#endif +#ifndef OVERRIDE_TABLE_64_perf_event_open +TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 298, 5) +#endif +#ifndef OVERRIDE_TABLE_64_recvmmsg +TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 299, 5) +#endif +#ifndef OVERRIDE_TABLE_64_fanotify_mark +TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 301, 5) +#endif +#ifndef OVERRIDE_TABLE_64_prlimit64 +TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 302, 4) +#endif +#ifndef OVERRIDE_TABLE_64_name_to_handle_at +TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 303, 5) +#endif +#ifndef OVERRIDE_TABLE_64_open_by_handle_at +TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 304, 3) +#endif +#ifndef OVERRIDE_TABLE_64_clock_adjtime +TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 305, 2) +#endif +#ifndef OVERRIDE_TABLE_64_sendmmsg +TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 307, 4) +#endif +#ifndef OVERRIDE_TABLE_64_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 309, 3) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_readv +TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 310, 6) +#endif +#ifndef OVERRIDE_TABLE_64_process_vm_writev +TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 311, 6) +#endif +#ifndef OVERRIDE_TABLE_64_finit_module +TRACE_SYSCALL_TABLE(finit_module, finit_module, 313, 3) +#endif + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h new file mode 100644 index 00000000..93fa7b57 --- /dev/null +++ b/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h @@ -0,0 +1,176 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + +#ifndef CREATE_SYSCALL_TABLE + +#define OVERRIDE_64_connect +SC_LTTNG_TRACEPOINT_EVENT_CODE(connect, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * uservaddr, int addrlen), + TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), + TP_locvar( + __typeof__(uservaddr->sa_family) sa_family; + uint16_t dport; + uint32_t v4addr; + uint16_t v6addr[8]; + unsigned int v4addr_len, v6addr_len; + ), + TP_code_pre( + sc_in( + memset(tp_locvar, 0, sizeof(*tp_locvar)); + if (addrlen < sizeof(tp_locvar->sa_family)) + goto skip_code; + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sa_family, + &uservaddr->sa_family, sizeof(tp_locvar->sa_family)); + switch (tp_locvar->sa_family) { + case AF_INET: + if (addrlen < sizeof(struct sockaddr_in)) + goto skip_code; + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->dport, + &((struct sockaddr_in __user *) uservaddr)->sin_port, + sizeof(tp_locvar->dport)); + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->v4addr, + &((struct sockaddr_in __user *) uservaddr)->sin_addr.s_addr, + sizeof(tp_locvar->v4addr)); + tp_locvar->v4addr_len = 4; + break; + case AF_INET6: + if (addrlen < sizeof(struct sockaddr_in6)) + goto skip_code; + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->dport, + &((struct sockaddr_in6 __user *) uservaddr)->sin6_port, + sizeof(tp_locvar->dport)); + if (lib_ring_buffer_copy_from_user_check_nofault(tp_locvar->v6addr, + &((struct sockaddr_in6 __user *) uservaddr)->sin6_addr.in6_u.u6_addr8, + sizeof(tp_locvar->v6addr))) + memset(tp_locvar->v6addr, 0, sizeof(tp_locvar->v6addr)); + tp_locvar->v6addr_len = 8; + break; + } + skip_code: + ) + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer_hex(struct sockaddr *, uservaddr, uservaddr)) + sc_in(ctf_integer_hex(int, addrlen, addrlen)) + sc_in(ctf_integer(unsigned short, family, tp_locvar->sa_family)) + sc_in(ctf_integer_network(uint16_t, dport, tp_locvar->dport)) + sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) + sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) + ), + TP_code_post() +) + +#define LTTNG_SYSCALL_ACCEPT_locvar \ + __typeof__(upeer_sockaddr->sa_family) sa_family;\ + uint16_t sport; \ + uint32_t v4addr; \ + uint16_t v6addr[8]; \ + int v4addr_len, v6addr_len; \ + int uaddr_len; + +#define LTTNG_SYSCALL_ACCEPT_code_pre \ + sc_inout( \ + memset(tp_locvar, 0, sizeof(*tp_locvar)); \ + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->uaddr_len, \ + upeer_addrlen, sizeof(tp_locvar->uaddr_len)); \ + ) \ + sc_out( \ + if (tp_locvar->uaddr_len < sizeof(tp_locvar->sa_family)) \ + goto skip_code; \ + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sa_family, \ + &upeer_sockaddr->sa_family, sizeof(tp_locvar->sa_family)); \ + switch (tp_locvar->sa_family) { \ + case AF_INET: \ + if (tp_locvar->uaddr_len < sizeof(struct sockaddr_in)) \ + goto skip_code; \ + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sport, \ + &((struct sockaddr_in __user *) upeer_sockaddr)->sin_port, \ + sizeof(tp_locvar->sport)); \ + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->v4addr, \ + &((struct sockaddr_in __user *) upeer_sockaddr)->sin_addr.s_addr, \ + sizeof(tp_locvar->v4addr)); \ + tp_locvar->v4addr_len = 4; \ + break; \ + case AF_INET6: \ + if (tp_locvar->uaddr_len < sizeof(struct sockaddr_in6)) \ + goto skip_code; \ + (void) lib_ring_buffer_copy_from_user_check_nofault(&tp_locvar->sport, \ + &((struct sockaddr_in6 __user *) upeer_sockaddr)->sin6_port, \ + sizeof(tp_locvar->sport)); \ + if (lib_ring_buffer_copy_from_user_check_nofault(tp_locvar->v6addr, \ + &((struct sockaddr_in6 __user *) upeer_sockaddr)->sin6_addr.in6_u.u6_addr8, \ + sizeof(tp_locvar->v6addr))) \ + memset(tp_locvar->v6addr, 0, sizeof(tp_locvar->v6addr)); \ + tp_locvar->v6addr_len = 8; \ + break; \ + } \ + skip_code: \ + ) + +#define OVERRIDE_64_accept +SC_LTTNG_TRACEPOINT_EVENT_CODE(accept, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * upeer_sockaddr, int __user * upeer_addrlen), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), + TP_locvar( + LTTNG_SYSCALL_ACCEPT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_ACCEPT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer_hex(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) + sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len)) + sc_out(ctf_integer(unsigned short, family, tp_locvar->sa_family)) + sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport)) + sc_out(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) + sc_out(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) + ), + TP_code_post() +) + +#define OVERRIDE_64_accept4 +SC_LTTNG_TRACEPOINT_EVENT_CODE(accept4, + TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr __user * upeer_sockaddr, int __user * upeer_addrlen, int flags), + TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), + TP_locvar( + LTTNG_SYSCALL_ACCEPT_locvar + ), + TP_code_pre( + LTTNG_SYSCALL_ACCEPT_code_pre + ), + TP_FIELDS( + sc_exit(ctf_integer(long, ret, ret)) + sc_in(ctf_integer(int, fd, fd)) + sc_in(ctf_integer_hex(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) + sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len)) + sc_in(ctf_integer_hex(int, flags, flags)) + sc_out(ctf_integer(unsigned short, family, tp_locvar->sa_family)) + sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport)) + sc_out(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) + sc_out(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) + ), + TP_code_post() +) + +#define OVERRIDE_64_pipe +SC_LTTNG_TRACEPOINT_EVENT(pipe, + TP_PROTO(sc_exit(long ret,) int * fildes), + TP_ARGS(sc_exit(ret,) fildes), + TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + sc_out(ctf_user_array(int, fildes, fildes, 2)) + ) +) + +#else /* CREATE_SYSCALL_TABLE */ + +#define OVERRIDE_TABLE_64_clone +TRACE_SYSCALL_TABLE(clone, clone, 56, 5) +#define OVERRIDE_TABLE_64_execve +TRACE_SYSCALL_TABLE(execve, execve, 59, 3) +#define OVERRIDE_TABLE_64_getcpu +TRACE_SYSCALL_TABLE(getcpu, getcpu, 309, 3) + +#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index 0096c69b..772e6dc7 100755 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -7,17 +7,17 @@ # example usage: # # lttng-syscalls-generate-headers.sh -# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 64 -# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 64 +# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls 64 +# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls 64 CLASS=$1 -INPUTDIR=$2 +VERSIONDIR=$2 INPUTFILE=$3 BITNESS=$4 -INPUT=${INPUTDIR}/${INPUTFILE} +INPUT=${VERSIONDIR}/${INPUTFILE} HEADER=headers/${INPUTFILE}_${CLASS}.h -if [ x"$INPUTDIR" = x"" ]; then +if [ x"$VERSIONDIR" = x"" ]; then echo "Error: Please specify input directory as second argument" >&2 exit 1 fi @@ -74,6 +74,8 @@ echo "/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ +/* Generated from ${INPUTFILE} ${VERSIONDIR} */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_${CLASSCAP}_H) || defined(TRACE_HEADER_MULTI_READ)